Re: Which FS for USB Flash Drive



On Tue, Jan 27, 2009 at 11:07 AM, Kushal Koolwal
<kushalkoolwal@xxxxxxxxxxx> wrote:
Hi,

Does anybody have any experience with installing Debian (say Lenny) on USB
flash drives? I would like to install Debian on my PQI 4 GB USB flash drive
but I am not sure which filesystem to use - ext2, ext3, XFS?

I just grabbed a 4G USB and did my standard home install on it. I
think I went with ext3, but after reading the rest of this thread, may
change that.

Some issues that I came across:

I got confused during one installation and accidentally installed grub
on my internal harddrive rather than the flash drive. Since this is a
work laptop with an encrypted harddrive, wiping out the boot parittion
made the primary system unbootable and had to reinstall that. Whoops.

With my upgraded laptop, boot order changed from the time I booted
from the install CD to to when I boot from the flash drive. I had to
end up tweaking grub to point to the correct partition.

I have some typical laptop issues that I think are not related to USB:
had to install wired because I have to use non-free firmware to get
wireless working, and since I run with /home mounted via NFS.
Regularly my system tries to load the automount maps before wireless
is up; I end up logging in as root once to reload them before logging
in as my real user.

Something to consider is: do you want swap on your flash drive or
not? Don't you need swap in order to suspend? That could possibly
speed up subsequent boot times. Personally I've not had success with
suspend, but I can't remember right now if I set up swap on the flash
drive or not.

The biggest problem I have is, generally I'm using the flash in my
laptop, and it sticks out quite a bit. I suspect I'll break it before
I wear out the write cycles. If I ever come across the right CF or
whatever media for a decent price, I might go ahead and purchase that,
just so it's more internal the the system.

The second biggest problem is the stupid thing flashes this bright
blue light every once in a while, which is really annoying when the SO
is trying to go to sleep.

So, I'm running a laptop off of USB flash with /home mounted over NFS.
It's not going to win any performance benchmarks, but I'm satisfied
with it.

mrc


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: updating USB flash drive MBR to allow boot
    ... I cannot make a bootable USB drive. ... -Some USB flash drives are notorious for having problems with corrupted ... we will install the mbr package and use it to create the new mbr on the ... Type *sudo apt-get install mbr* ...
    (Fedora)
  • Usb 1 not working after xp upgrade
    ... I have a HP F1711N laptop, second hand, that came with ME preloaded. ... the only one I have is USB! ... Clean install means you need to ... > Did you upgrade the BIOS before the XP upgrade? ...
    (microsoft.public.windowsxp.hardware)
  • RE: Re: lenny on x86
    ... I have the one laptop that I have been working ... this one doesn't have a lan connection, nor wireless, nor a USB port, ... might as well install to one of the hard drives that I had pulled out. ...
    (Debian-User)
  • USB detected but not installed
    ... Logitech Wheelmouse USB. ... Hardware detected, windows tries to install ... Laptop 2 HP Windows XP Pro 512mb 60gb harddrive ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Cannot install any new USB devices
    ... I am trying to install a D-link DUB-H4 USB 4-port controller on a Compaq ... same laptop, e.g. memory card readers, USB hard drives, etc. ... Compaq Presario R4000 laptop with Windows XP Pro SP2 ...
    (microsoft.public.windowsxp.hardware)