/etc/fstab -- adding entries every boot
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?
thanx in advance.
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.
No.. Its not running from the live cd ;)
no, noone else has access to my machine.
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.|