LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /etc/fstab -- adding entries every boot (http://www.linuxquestions.org/questions/linux-newbie-8/etc-fstab-adding-entries-every-boot-343041/)

Kamikazee 07-14-2005 02:19 AM

/etc/fstab -- adding entries every boot
 
Hey All.

Everytime i boot up my computer I have to edit the /etc/fstab file to add an entry for my usb device (/dev/sda1) . It all works great. but then when i reboot its gone, and i have to add it agian?

HELP

thanx in advance.

Hosiah 07-14-2005 03:02 AM

Um, pardon me for the obvious question................
You wouldn't happen to be running Mepis live from CD, would you? With no permanent storage for it to save to between runs?

My only other guess is that something re-writes fstab on shutdown/startup. That sounds like trouble! Can anybody be accessing your machine who removes the line you add?

I run Mepis strictly as a live distro, so I wouldn't be any help with creating persistent files and making them initialize on boot.

Kamikazee 07-14-2005 03:53 AM

No.. Its not running from the live cd ;)

no, noone else has access to my machine.

hmmm...

Michael Johnson 07-14-2005 04:35 AM

You need to udev and hotplug support setup and the following lines in your /etc/ftab. Hopefully this will allow everything to be mounted when it's detected.

none /proc/bus/usb usbfs auto,devmode=0666 0 0
/dev/devpts /dev/pts devpts gid=5,mode=620 0 0
/dev/shm /dev/shm tmpfs defaults 0 0
/dev/sys /sys sysfs defaults 0 0


All times are GMT -5. The time now is 01:53 AM.