Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-06-2003, 10:21 AM   #1
LQ Newbie
Registered: Apr 2003
Posts: 15

Rep: Reputation: 0
Mounting USB-Stick - entry in fstab disappears at reboot???


I'm using my USB-Stick with RH 9.0. Everything works fine, I made a directory /mnt/usb and an corresponding entry in my /etc/fstab.
But when I reboot the machine, the directory dissappears and the entry in my fstab is missing. Why???

Other entrys in my fstab I made manually stay there and the network-drives are mounted at bootup as I requested. So why does this entry disappear and, even stranger, why does the directory disappear?

Greetings, rot
Old 08-06-2003, 08:04 PM   #2
Registered: Feb 2003
Posts: 119

Rep: Reputation: 15
missing directory

I love a mystery. How are you creating a directory and entry in etc/fstab. (CLI or GUI)
You are doing all this as root, right?
Before you reboot, are you verifying that the directory and fstab entry are in place?
Of course, this is no help, I'm just trying to understand how this could occur.
Old 08-06-2003, 09:12 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Lightbulb Kudzu

If you have Kudzu on at system startup, it will update the fstab and your USB entries will be removed.

Use the chkconfig command to verify:
chkconfig --list kudzu
Kudzu detects and configures new and/or changed hardware on a system.
So if you don't add new hardware, you can turn it off.
Old 08-06-2003, 10:01 PM   #4
Registered: Jul 2003
Posts: 37

Rep: Reputation: 15
Here is my fstab entry for rh9.0. This dosen't get removed and I have kudzu running. I think the noauto may be responsible for this.

/dev/sda1 /mnt/usbdr vfat noauto,users,rw 0 0

Once the usb drive is plugged in just right click on the desktop choose drives/usbdr

Last edited by Sornen; 08-06-2003 at 10:08 PM.
Old 08-06-2003, 10:57 PM   #5
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
noauto only specifies that the relevant partition is not mounted at boot up - noauto has no bearing on whether an entry actually stays in /etc/fstab or not.
Old 08-07-2003, 03:37 AM   #6
LQ Newbie
Registered: Apr 2003
Posts: 15

Original Poster
Rep: Reputation: 0

I think, I got the problem...

First: I'm creating the directory /mnt/usb with mkdir as root. Then I edit the /etc/fstab with vi (also as root) and add the following entry:

/dev/sda1 /mnt/usb auto noauto,owner,kudzu 0 0

I simply copied the entry from the floppy, but now I will try to leave the "kudzu" entry. I can tell you tomorrow, if this solves the problem...

But there remains one question: Why does the floppy-entry stay

Thanks for your help,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a usb stick oookiezooo Linux - Newbie 15 04-13-2005 12:09 PM
USB Device Fstab Entry Campy19 Linux - Hardware 4 01-07-2005 09:34 AM
mounting a USB stick.. kurrupt Linux - Hardware 2 01-01-2005 01:13 AM
How to put a permanent entry in fstab for usb pen drive zulfilee Linux - General 4 08-31-2004 11:36 PM
usb fstab entry won't mount r/w Kilka Linux - Hardware 4 07-27-2004 11:05 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:40 PM.

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