LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-12-2004, 03:16 AM   #1
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Rep: Reputation: 30
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
 
Old 02-01-2004, 08:37 PM   #2
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Original Poster
Rep: Reputation: 30
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.
 
Old 02-02-2004, 02:55 AM   #3
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.

Last edited by Crito; 02-02-2004 at 02:56 AM.
 
Old 02-02-2004, 08:00 PM   #4
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Original Poster
Rep: Reputation: 30
Thanks Crito,
I will try your advice and back to you with result.
 
Old 02-03-2004, 02:45 AM   #5
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Original Poster
Rep: Reputation: 30
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.
 
Old 02-03-2004, 03:16 AM   #6
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.
 
Old 02-03-2004, 03:27 AM   #7
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
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.

Last edited by Crito; 02-03-2004 at 07:49 AM.
 
Old 02-03-2004, 08:44 PM   #8
d4d4n9
Member
 
Registered: Oct 2003
Distribution: Mandrake 10.1, Knoppix 3.7
Posts: 153

Original Poster
Rep: Reputation: 30
Thanks Crito, really appreciate your helps on linux.
Will do what you advised and inform you the result
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb pendrive for users c.m.klaij Slackware 4 09-26-2005 02:41 AM
USB Pendrive DarkAsHell Linux - Hardware 3 04-07-2005 03:26 PM
cant unmoun usb pendrive? dwarf007 Linux - Newbie 2 09-20-2004 09:38 AM
USB pendrive help jojotx0 Fedora 12 09-14-2004 02:49 AM
usb pendrive mount eg72 Linux - Hardware 1 05-16-2004 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration