How to install on USB

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
bkarlan

How to install on USB

Post by bkarlan »

I have a fast 32GB USB drive. I want to use it entirely for Linux. I have read the installation instructions and they say to ask the forum for procedures to install it to the drive. I have queried this forum and do not see specific instructions so i am asking here. If this is a duplicate, I apologize and you can direct me to the proper forum. I am an experienced Windows user and I have the mere basics of Linux down at this point.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
karlchen
Level 23
Level 23
Posts: 18211
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: How to install on USB

Post by karlchen »

Hello, bkarian.

As I understand you wish to perform a full Linux Mint 13 installation on the USB drive like one usually does on an internal harddisk. If this is true then the installation process basically will not be different.

Make sure that your machine can boot from the USB drive. I.e. it should offer a key like e.g.<F12> during the early boot phase which allows you to choose which device to boot from. Some choice like:
(1) Boot from internal harddisk
(2) Boot from DVD/CD drive
(3) Boot from USB device
  • In order to install you insert the Mint live DVD and boot from it.
  • Inside the live system you determine the device name which Mint gives to your USB drive. It might be /dev/sdb or /dev/sdc or /dev/sde (which s true for one of my machines.) Write down this device name. You will need it during the installation in order to specify the right target for your installation.
  • Click the icon to "Install Linux Mint".
  • When you see the choice to
    + install Mint on the whole harddisk, replacing Windows
    + install Mint on the harddisk alongside Windows
    + something else
    you select "something else".
  • Next you select your USB drive as the target.
  • Let us assume your device name is /dev/sde. (Replace all occurences of /dev/sde by the device name on your machine in the steps below)
  • You select to install on /dev/sde1 and mount this as /.
  • You might divide your USB drive into two partitions e.g.
    + /dev/sde1 mounted on / for the OS and the software, size 10 GB or more
    + /dev/sde2 mounted on /home, size 15 GB or more
    + /dev/sde3 as swap device
  • Make sure that the filesystem type is set to ext4. For a USB drive ext3 may be an acceptable choice, too. (NTFS or FAT32 or FAT are not.)
    The swap device will simply be type "swap". It will not be formatted during the installation.
  • You need not devide the drive into several partitions, you can just install Mint to /dev/sde1 mounted as /
  • Whatever you do, make sure that all targets are located on /dev/sde.
  • This is true in particular for Grub. Make sure it will be installed on /dev/sde. (No partition number, directly to the drive's master boot record)
  • The rest of the installation steps will be identical to the steps which you would perform if you installed on the internal harddisk
Once the installation is through and the installer tells you to reboot, make sure to press the magic key (<F12> or whatever it is on your machine) and select to boot from the USB drive.
Keep my fingers crossed that Mint will come up fine.

Good luck.
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
caribriz

Re: How to install on USB

Post by caribriz »

In addition to karl's comprehensive instructions, you may wish to have a look at this illustrated tutorial
by forum member usbtux to do a full install of Linux Mint on a usb flash drive.
http://usbtux.hostzi.com/flash_install

As well: tutorials on live usb and other installs:
http://usbtux.hostzi.com/How_to

caribriz
Brahim Salem

Re: How to install on USB

Post by Brahim Salem »

Locked

Return to “Installation & Boot”