LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   USB Pendrive (https://www.linuxquestions.org/questions/mandriva-30/usb-pendrive-133909/)

d4d4n9 01-12-2004 03:16 AM

USB Pendrive
 
Hi all,
I would like to know how to hotplug USB Pendrive after MDK9.2 loaded with KDE environment. If I forgot to attache the Pendrive before booting, I can not mount it and even if it is mounted, I can not go into its directory.
Is there any line to be added to fstab or other setting file to make it plug and play ?
Thanks in advance.

Amri

d4d4n9 02-01-2004 08:37 PM

Hi all,
I still do not know how to hot plug USB pendrive after MDK9.2 finished to load system. When I issue command "mount /dev/sda1 /mnt/removable" as root, it looked the this device was mounted, but I can not open directory in it. I have to re-booting with USB pendrive already attached :(
Is there a way to overcome this problem ?
Thanks in advance.

Crito 02-02-2004 02:55 AM

After rebooting with pen drive in, edit fstab and remove kudzu option from the supermount line. It'll then behave just like the floppy and CD-ROM do.

d4d4n9 02-02-2004 08:00 PM

Thanks Crito,
I will try your advice and back to you with result.

d4d4n9 02-03-2004 02:45 AM

Hi Crito,
I have looked into by box and this is my /etc/fstab :

== fstab ====

/dev/hda8 / ext3 defaults 1 1
/dev/hda7 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hda10 /home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdd,fs=udf:iso9660,ro,--,iocharset=iso8859-1 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,sync,codepage=850,iocharset=iso8859-1 0 0
/dev/hda1 /mnt/win_c vfat umask=0,codepage=850,iocharset=iso8859-1 0 0
/dev/sda1 /mnt/removable vfat umask=0,codepage=850,iocharset=iso8859-1 0 0
/dev/hda5 /mnt/win_d vfat umask=0,codepage=850,iocharset=iso8859-1 0 0
none /proc proc defaults 0 0
/dev/hda9 /usr ext3 defaults 1 2
/dev/hda6 swap swap defaults 0 0

== end of fstab ====

As you can see above, there is no reference to kudzu.
What should I do next ?
Thanks in advance.

Crito 02-03-2004 03:16 AM

That's because kudzu deletes the entry automagically (very annoying.) You said it works when you boot with the pen drive in. If you check while it's working, I believe you'll see a supermount entry in fstab for it. If not, here's the line from my fstab:

none /mnt/removable supermount dev=/dev/sda1,fs=ext2:vfat,--,codepage=850,iocharset=iso8859-1 0 0

If the mount point doesn't already exist you'll need to create it manually.

Crito 02-03-2004 03:27 AM

Just noticed you already have an fstab entry for /dev/sda1. If you want to use supermount with your pen drive you'll need to delete that line. If you don't want to use supermount, then I suggest you use the boards search function to peruse the dozen similar threads in the hardware forum, as your problem isn't Mandrake specific.

d4d4n9 02-03-2004 08:44 PM

Thanks Crito, really appreciate your helps on linux.
Will do what you advised and inform you the result :)


All times are GMT -5. The time now is 12:36 AM.