[ltp] Re: Installing USB flash drive

Daniel Pittman linux-thinkpad@linux-thinkpad.org
Tue, 06 Apr 2004 14:16:01 +1000


On Mon, 5 Apr 2004, Mendel Cooper wrote:
> There has been a thread her about booting from a USB flash drive. 
> Well, how about beginning at a simpler level? How about just plain
> installing one of these thingies?
> 
> I haven't bought a flash drive yet. They should work with Linux, from
> everything I've read and heard. But . . .
> 
> Is there anything that needs to be done to get Linux to recognize
> the hardware? Any changes to the config scripts, such as
> /etc/modules.conf? Any installation scripts needed?

Your kernel will need SCSI disk support, and USB mass storage support,
for this to work.  Most distributions have this in their default kernel,
so that should be fine.

All the required modules *should* automatically load if you have the
right kernel features turned on, so that should be fine, in my
experience.

Then you should have that disk available as a new SCSI disk to your
kernel.  The one risk is removal: you need to make sure you sync,
unmount and then remove the device; Linux doesn't do anything special to
make removal of them "safe"...

     Daniel

-- 
Censorship is the strongest drive in human nature; sex is a weak second.
        -- Phil Kerby