[SWLUG] USB memory with Debian/Stable

Dave Cridland dave at cridland.net
Fri Feb 4 09:11:37 UTC 2005


On Wed Feb  2 23:01:03 2005, Dafydd Harries wrote:
> Ar 02/02/2005 am 18:55, ysgrifennodd Mark Summerfield:
> > Hi,
> > 
> > I've just bought a usb memory stick. I have two distros on my system,
> > Debian/Stable and Fedora Core 2. The memory stick works fine with FC2, I
> > just had to add this line to /etc/fstab:
> > 
> > /dev/sda1  /usb auto    rw,user,noauto 0 0
> > 
> > and I can now do "mount /usb" and "umount /usb" with no problems.
> > 
> > However, I use Debian 99% of the time and so I want to use the usb
> > memory from Debian. Unfortunately I don't know how to do this. I added
> > the same line to Debian's /etc/fstab and when I tried mounting /usb I
> > got the message:
> > 
> > mount: the kernel does not recognize /dev/sda1 as a block device
> >        (maybe `insmod driver'?)
> > 
> > so then I tried insmod (as superuser) but both usb-ohci and usb-storage
> > complained about unresolved symbols.
> 
> Try using "modprobe" rather than "insmod", as this will load
> dependencies as well.

With a hotplug enabled kernel (which the Debian stock kernels are), and hotplug installed [apt-get install hotplug], then things should Just Work[TM]. They do for me, at any rate, on both architectures of Debian I use.

Dave.



More information about the Swlug mailing list