[SWLUG] USB memory with Debian/Stable

Mark Summerfield mark.summerfield at uku.co.uk
Fri Feb 4 18:43:20 UTC 2005


On Friday 04 February 2005 09:11, Dave Cridland wrote:
> 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.

I tried apt-get install hotplug and it installed fine. But what happens
next? I mean, when I put in the usb memory stick how does debian know it
has been inserted, and where to I access it from? Is there some special
mount point for example?

Thanks!

-- 
Mark.



More information about the Swlug mailing list