Linux - installing ...
 

  You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more

[Closed] Linux - installing on USB

15 Posts
11 Users
0 Reactions
56 Views
Posts: 91000
Free Member
Topic starter
 

Seems to be a little tricky to get a definitive answer on this from google so I'm asking you lot.

I want to install to a USB stick, so I can run Windows normally, but boot from the USB stick to get Linux independent of the Windows and its HD.

To do this, it looks like I can simply boot from another USB and install to the target USB as if it were a normal HD. Does that sound right?


 
Posted : 24/06/2015 4:02 pm
Posts: 1454
Full Member
 

Basically yes, just be very careful to put the bootloader on the USB drive.


 
Posted : 24/06/2015 4:09 pm
Posts: 8819
Full Member
 

If you are using a linux machine or a Mac to make the bootable stick, you can use dd to put it on.

The command is something like: dd if=<location of linux.iso> of=<path of linux stick, /dev/sdb or something>

it will take a while and you should check the location of the USB stick using mount beforehand.


 
Posted : 24/06/2015 4:18 pm
Posts: 2256
Free Member
 

I use unetbootin for this, nice and easy.


 
Posted : 24/06/2015 4:21 pm
Posts: 6257
Full Member
 

There's a program that does all the hard work for you, with instructions here: [url= http://www.pendrivelinux.com/ ]http://www.pendrivelinux.com/[/url]


 
Posted : 24/06/2015 4:21 pm
Posts: 91000
Free Member
Topic starter
 

Unetbootin creates installation USBs from ISOs doens't it? I want to actually install the distro onto the usb, not just create an installation disk.


 
Posted : 24/06/2015 4:33 pm
Posts: 0
Free Member
 

You can just install onto the USB and select that as a target disk.

If you are paranoid just pull your physical disk whilst installing so you don't accidentally delete your data.

You could **** around with the MBR however as its a removable drive I would just boot, hit f12 to enter bios -> f8 for boot menu then boot off the usb stick.

Have you thought about using virtualbox and put the vdisk on the USB? As that's much easier


 
Posted : 24/06/2015 5:34 pm
Posts: 91000
Free Member
Topic starter
 

This is an Intel Atom 520 1.3GHz. Virtualbox did work, but it was ludicrously slow 🙂


 
Posted : 24/06/2015 8:01 pm
Posts: 0
Free Member
 

last time I checked they told you how to run the OS from the USB stick on the actual website of the distro


 
Posted : 24/06/2015 9:58 pm
Posts: 1712
Free Member
 

[url= https://rufus.akeo.ie/ ]https://rufus.akeo.ie/[/url] is my new goto USB iso writing program - many others have not been as reliable(?)


 
Posted : 24/06/2015 10:05 pm
Posts: 7887
Free Member
 

If you use it a lot, like leaving it in all the time and booting from it, you'll burn the NAND out much faster than in normal use.


 
Posted : 24/06/2015 10:59 pm
Posts: 7887
Free Member
 

Unetbootin585 seems to work for me.


 
Posted : 24/06/2015 11:00 pm
Posts: 1646
Full Member
 

Second pendrivelinux it will either download the selected distro (decent choice) and install it to a USB with the option for the spare space on the USB for storage or do the same from a pre-downloaded distro on your hard disk.


 
Posted : 24/06/2015 11:47 pm
Posts: 0
Free Member
 

I use unetbootin a few times a work for this and it just works

If you use it a lot, like leaving it in all the time and booting from it, you'll burn the NAND out much faster than in normal use.

Old article but things have only gotten better:
http://www.zdnet.com/article/usb-drive-life-fact-or-fiction/

If you are using a branded USB then you will be OK for 60,000,000,000 writes, so you should be OK. If you are worried follow the same guidelines as SSDs:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch-ssd.html

If you are running Linux on SSD you also need to be aware of https://blog.algolia.com/when-solid-state-drives-are-not-that-solid/


 
Posted : 26/06/2015 12:30 pm
Posts: 7887
Free Member
 

Cool. Good find. I may now do it - a portable computer!


 
Posted : 26/06/2015 1:03 pm
Posts: 0
Free Member
 

I found it to be incredibly slow when running off a USB stick. Swapped out for a small SSD and its like lightning.


 
Posted : 26/06/2015 1:43 pm

6 DAYS LEFT
We are currently at 95% of our target!