LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-14-2005, 02:19 AM   #1
Kamikazee
Member
 
Registered: May 2005
Location: Aus
Distribution: SimplyMEPIS 3.3
Posts: 107

Rep: Reputation: 15
/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.
 
Old 07-14-2005, 03:02 AM   #2
Hosiah
Member
 
Registered: Sep 2004
Location: Des Moines, Iowa
Distribution: Slackware, Mandriva, Debian derivatives, +BSD/ Solaris/ Minix/ plan9/ GNU/HURD...
Posts: 185

Rep: Reputation: 30
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.
 
Old 07-14-2005, 03:53 AM   #3
Kamikazee
Member
 
Registered: May 2005
Location: Aus
Distribution: SimplyMEPIS 3.3
Posts: 107

Original Poster
Rep: Reputation: 15
No.. Its not running from the live cd

no, noone else has access to my machine.

hmmm...
 
Old 07-14-2005, 04:35 AM   #4
Michael Johnson
Member
 
Registered: Jul 2005
Location: Wagga Wagga, Australia
Posts: 262

Rep: Reputation: 30
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
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Immortal fstab entries tmoorman Mandriva 1 02-05-2005 02:52 AM
Remount using fstab entries keimdf Linux - Newbie 5 12-22-2004 06:48 AM
fstab file entries what do they mean? bgagnon Suse/Novell 2 11-12-2004 02:23 PM
Suse 9.1: Not all entries in fstab are mounted at boot. why? BrianK Linux - General 9 08-23-2004 01:45 PM
Entries in /etc/fstab kamransoomro84 Linux - General 6 05-05-2004 09:32 AM


All times are GMT -5. The time now is 10:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration