Results 1 to 6 of 6

Thread: Howto HDD installation on a USB key

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2013-Aug
    Location
    lost in space
    Posts
    580

    Post Howto Install HDD Kali on a USB Key

    This, to install Kali Linux on a USB key(pendrive) just like on a hard disk drive(HDD). This installation permits for core files to be updated, such as drivers. If you do not need to update core files, keep using the standard LiveUSB method. This will be a work in progress as new and better ways will surface with users input/pointers.

    Updated 12 Feb 2015. Now using the 'Graphical Install' from the Kali boot menu.

    Updated 5 July 2014. Now using ext4 non-journaling filesystem..

    http://en.wikipedia.org/wiki/Ext2
    " ext2 is still the filesystem of choice for flash-based storage media (such as SD cards, and USB flash drives), since its lack of a journal increases performance and minimizes the number of writes, and flash devices have a limited number of write cycles. Recent kernels, however, support a journal-less mode of ext4, which would offer the same benefit, along with a number of ext4-specific benefits. "

    Steps 21-32 added to disable journaling on ext4 partition.

    This installation method requires to physically unplug the hard disk drive(HDD) before the installation process, as I could not find a way to prevent GRUB(or the installation program) from writing on HDD boot sector, making my Windows installation dependent on the newly created Kali USB key to start it, and when I fixed the boot sector with the Windows7 installation disk with 'fixmbr', then Kali wouldn’t start on that USB key. Welcome to the Wonderful world of Linux...

    The second post below, is a straight-to-the-point guide. You might want to refer to the official Kali Linux Hard Disk Install also, as it is for the most part the same procedure.

    For this installation you will need:

    Two(2) USB keys(pendrives). One (USB key A) with KaliLinux already installed on it as a normal LiveUSB, the other one (USB key B) empty, formatted as:

    • The first partition is a Primary, FAT32, to permit usage under Windows. If you do not intend on using that USB key in Windows, you do not need to create a FAT32 partition.
    • The second partition is a Primary, Ext4, to install Kali on. A basic installation without updates is about 8Gb, so 14Gb in size or greater is recommended to allow for updates and software installations.
    • The third partition is a Logical, Linux swap. That last partition(Linux swap) must be equal or greater than the amount of RAM on the system(computer).

    *a 32Gb USB 3.0 pendrive comes to mind here*



    Good luck!
    Last edited by Quest; 2015-02-12 at 16:22.
    Kali Linux USB Installation using LinuxLive USB Creator
    Howto Install HDD Kali on a USB Key
    Clean your laptop fan | basic knowledge

Similar Threads

  1. [HowTo] Installation procedure of OpenVAS on Kali Linux 2022.1
    By wingcommander'99 in forum How-To Archive
    Replies: 6
    Last Post: 2023-04-07, 07:20
  2. Howto live usb on a uefi32 and X64 HW :confused:
    By snoopy1949 in forum General Archive
    Replies: 3
    Last Post: 2016-12-27, 06:49
  3. Howto frankenScript
    By Quest in forum How-To Archive
    Replies: 255
    Last Post: 2016-02-09, 23:37
  4. Kali 2.0 USB persistent: old howto no more valid
    By ovosodo in forum Installing Archive
    Replies: 5
    Last Post: 2015-08-15, 09:45

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •