LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How reliable is USB for (https://www.linuxquestions.org/questions/linux-newbie-8/how-reliable-is-usb-for-4175520430/)

MBA Whore 09-28-2014 09:10 PM

How reliable is USB for
 
I have a desktop running Win7. I want to install 2 or 3 Linux distros on USB then plug the USB whenever I need to use Linux.

I expect to use it once per week.

How reliable is USB for this purpose? I've heard USB memory is unstable so I am concerned. I would use ext4.

If USB memory is reliable and stable, then is there anything else I should know before doing this project?

TenTenths 09-29-2014 01:59 AM

With USB storage you kinda get what you pay for. If you pay $8 for a no-name 128Gb USB key then don't expect it to work or be reliable or anything! (As it's more likely to be a tiny key giving back false geometry)

Depending on your usage wouldn't just using MS's Virtual PC be an option and just fire up the virtual instances of Linux as you need them?

Of course there will now be people jumping in with the reverse "M$ is evil, blank Win7 go Linux all the way and if you must deal with the devil then run Win7 in virtualbox"

What I would strongly suggest is that once you've got your USB keys running make use of some form of clone software (clonezilla?) and store an image of your USB key either on your computer or on another USB key, that way if you do start having any problems you can just restore your image rather than having to rebuild.

MBA Whore 09-29-2014 11:47 AM

Yes, that makes sense. My main desire is to separate Windows and Linux. I submitted a similar question (thread) several years ago but I wanted to see if anything has changed. My main concern is if USB ext4 would be stable and reliable. Basically: Portable, reliable and decent speed are what I want.

TenTenths 09-29-2014 11:49 AM

Just shutdown properly before you unplug USB keys and you should be fine.

linus72 09-29-2014 01:24 PM

Personally I would use EXT2, have heard bad things about ext3/4 on usb
The usb I have with ext2 is a 2GB Kingston and it's old but never had any problems with it and have put all kinds of distros through it, etc.
I use Grub Legacy also with Plop bootmanager too

jefro 09-29-2014 03:52 PM

As above, usb's are subject to shock, esd and just plain old cheapness.

A rugged mechanical usb drive may be a more stable solution but it only takes a drop or two.

MBA Whore 09-29-2014 05:46 PM

How would I put multiple OS on it? I assume I would use grub, correct?

qlue 09-29-2014 06:01 PM

I have run Linux from both USB Flash drives as well as external USB HDDs.
I find that ext4 works without issues on flash memory, though there are some tweaks that are often recommended for your /etc/fstab file. (it's the same tweaks used for SSD though I don't recall off hand the exact changes)
I suggest you don't put swap on a flash drive though, some are slower than others and swap serves little purpose on a slow drive.

As has already been said, get good quality flash drives from a reputable vendor. There are a lot of fake brand flash drives out there and many of the no-name generics are made from the flash chips that were sold off as factory rejects by the big boys.

USB HDDs actually work better though, and the 2.5" 1TB type draws power from the USB port and has ample space.
I've also dropped mine more times than I can remember and it's shown no signs of trouble. (though I do have it backed up if it does fail)

Soadyheid 09-29-2014 06:58 PM

I haven't tried this myself but know HP engineers who use Pendrive Linux to hold their firmware upgrade and disgnostic ISOs.
You can obviously use it to hold different Linux ISOs as well (er... that's what it's really for!)

Play Bonny!

:hattip:

notKlaatu 09-29-2014 07:03 PM

I have a Slax USB drive, which I purchased from http://slax.org, on my keychain. I carry it everywhere I go and have laundered it by accident once. I use it on friends' machines, at hotels (both on my laptop and on the public computers in the lobby), I have taught classes on programming and animation using it as my OS, and I have written a 200 page book on it. In short, I cannot recommend it highly enough.

jefro 09-29-2014 08:10 PM

I was a big fan of pendrive linux at one time. Still a good choice but all I ever do now is use real installs.

I tend to use a virtual machine to load to usb's.

or

To be safe you would want to remove internal drives and then just load to the usb as if it were a real drive.


All times are GMT -5. The time now is 02:51 PM.