Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 184.108.40.206, KDE 3.5.8 and KDE 4.0 beta, Plu
Boot up with the FC CD and use the boot option of ' linux rescue '. Then allow it to mount existing partitions and goto it and edit the file. Just to make sure you have it right you define the LABEL in /etc/mtab file? If not the partition needs to be define there before LABEL can be used. To me it would make better since just to define the /dev point right in /etc/fstab. Example:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda9 / ext3 defaults 1 1
/dev/hda2 /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda6 /dvdrw ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
none /proc proc defaults 0 0
# /dev/hda10 /sharevfat vfat defaults 0 0
/dev/hda5 /storage1 ext3 defaults 1 2
/dev/hda12 /storage2 ext3 defaults 1 2
none /sys sysfs defaults 0 0
/dev/hda3 /usr ext3 defaults 1 2
/dev/hda7 /var ext3 defaults 1 2
/dev/hda11 swap swap defaults 0 0
# /dev/hdd /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
# /dev/hdc /media/cdrecorder1 auto pamconsole,exec,noauto,managed 0 0
# /dev/sda1 /media/usbdisk vfat pamconsole,noatime,sync,exec,noauto,managed 0 0
# Mounting of other local partitions
/dev/hda10 /sharevfat vfat umask=000,users,auto,owner,rw,dirsync 0 0
/dev/hda1 /winxp ntfs umask=000,users,noauto,owner,rw 0 0
/dev/cdrom /mnt/cdrom auto noauto,owner,rw 0 0
/dev/cdrom1 /mnt/cdrom1 auto noauto,owner,rw 0 0
/dev/scd0 /mnt/cdrom2 auto noauto,owner,rw 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
# SD Block Mounts on local USB, Firewire, and Scsi using sync which is slow
# /dev/sda1 /mnt/sda1 auto umask=000,users,noauto,owner,rw,sync,dirsync 0 0
# SD Block Mounts on local USB, Firewire, and Scsi
/dev/sda1 /mnt/sd_block/sda1 auto umask=000,users,noauto,owner,rw,dirsync 0 0
/dev/sdb1 /mnt/sd_block/sdb1 auto umask=000,users,noauto,owner,rw,dirsync 0 0
/dev/sdc1 /mnt/sd_block/sdc1 auto
One option is to boot to rescue mode and edit the /etc/fstab file. The / partition will be mounted at /mnt/sysimage. /etc/mtab will not tell you anything unless the filesystem is mounted which it will not do since you have an error.
In maintenance mode (the dropping to shell part) you can remount the filesystem with rw permissions using the following command.
mount -n -o remount,rw /
You should now be able to edit the /etc/fstab and fix your error.