LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   update fstab failed ?... pleas it emergency state (https://www.linuxquestions.org/questions/linux-newbie-8/update-fstab-failed-pleas-it-emergency-state-767845/)

linux trainer 11-09-2009 02:07 AM

update fstab failed ?... pleas it emergency state
 
Hi
Its my first question here....ok

the problem:
when i observe my system (linux Redhat 4...) during boot process i notes that update fstab [Failed]

then when the booting is finshed and the file system is mounting ,here i try to copy some fiels to my external hard (which i mounting it without any problem) a massege is appear saied >>> read only

the questions:
1-how can i fix the update fstab failed?
2-when i try to chmod 777 /mnt dosent work... why ?

thanx for all

JamesChamberlain 11-09-2009 05:32 AM

Quote:

Originally Posted by linux trainer (Post 3749995)
Hi
Its my first question here....ok

the problem:
when i observe my system (linux Redhat 4...) during boot process i notes that update fstab [Failed]

then when the booting is finshed and the file system is mounting ,here i try to copy some fiels to my external hard (which i mounting it without any problem) a massege is appear saied >>> read only

the questions:
1-how can i fix the update fstab failed?
2-when i try to chmod 777 /mnt dosent work... why ?

thanx for all

To edit fstab in filesystem recovery mode you need to remount your root filesystem, read-write. When you've entered your root password in fs recovery mode, do:

mount -o remount,rw /

Your root filesystem will be read write then, you can then go ahead and edit /etc/fstab.conf with vim, vi or whatever.

Do you know where you've made a mistake in the fstab.conf ?


Also, this is good practice..:

Whenever you make a change to fstab, if you do:

mount -a

afterwards, this will force the system to re-read the fstab.conf file. If you have an error, make sure u fix this error before you reboot, or you'll be thrown straight back into a recovery shell :)

linux trainer 11-09-2009 09:52 AM

THANX JamesChamberlain FOR YOUR HELP

With all due respect and appreciation.

JamesChamberlain 11-09-2009 09:59 AM

Quote:

Originally Posted by linux trainer (Post 3750388)
THANX JamesChamberlain FOR YOUR HELP

With all due respect and appreciation.

That's okay, I hope it's fixed your problems :)


All times are GMT -5. The time now is 12:39 AM.