Results 1 to 6 of 6
this is going to seem like a stupid question, but how do you save the fstab file when editing with vi /etc/fstab...
- 03-29-2007 #1Just Joined!
- Join Date
- Mar 2007
- Posts
- 4
how do you save fstab file?
this is going to seem like a stupid question, but how do you save the fstab file when editing with vi /etc/fstab
- 03-29-2007 #2
you must be logged in as root OR gain root privileges in terminal/konsole using sudo or su.
which distro are you using?It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-29-2007 #3Just Joined!
- Join Date
- Mar 2007
- Posts
- 4
I am using Fedora Core 5.
I inserted a bad line in fstab and now the system wont boot up..
It asks for root password to do maintenance, but the fstab file displays as read-only.
Help!
- 03-29-2007 #4
boot up from Installation CD/DVD and execute 'linux rescue' at boot: prompt. this will drop you at shell session. execute this
edit fstab file and reboot.Code:chroot /mnt/sysimage vi /etc/fstab
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-29-2007 #5Just Joined!
- Join Date
- Mar 2007
- Posts
- 4
how do you save it though?
- 03-29-2007 #6
press i, edit file. press full colon ( : ). x and press 'Enter' key to save file.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote