LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-12-2006, 06:00 PM   #1
pm02368
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Rep: Reputation: 0
fsck.ext3: Unable to resolve 'LABEL=


Hi Guru's,
I recently Installed Fedore Core 5 and created few partitions but messed-up one label in /etc/fstab file. When I did reboot, it says -

fsck.ext3: Unable to resolve 'LABEL=/home/load'

*** An error occured during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
..etc

When I log in there as root, I can see the wrong label in /etc/fstab file but can't edit the file. It is read only. How do I fix the file?

Thanks in advance.
 
Old 09-12-2006, 06:18 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
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:
Code:
# 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
Brian1

Last edited by Brian1; 09-12-2006 at 06:19 PM.
 
Old 09-12-2006, 07:03 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,850

Rep: Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736Reputation: 736
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.
 
Old 09-12-2006, 07:07 PM   #4
pm02368
LQ Newbie
 
Registered: Mar 2004
Posts: 9

Original Poster
Rep: Reputation: 0
fsck.ext3: Unable to resolve 'LABEL=

Yes! It worked. I appreciate prompt response.

Thanks
 
Old 09-12-2006, 07:15 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Glad to be of help and see you have it back up and working.

Brian1
 
  


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
Getting Error "fsck.ext3 Unable to resolve 'LABEL=boot'" during Booting... salil.mehta Fedora 3 08-21-2006 08:39 AM
Unable to resolve LABEL - New SATA drive thoalex Linux - General 3 04-14-2005 02:59 PM
fsck.ext3: Unable to resolve 'LABEL=/home' Azzath Linux - General 14 04-03-2005 04:45 AM
fsck.ext3 unable to resolve 'LABEL=/home yeehi Linux - General 2 10-20-2004 08:15 AM
fsck in ext3? recurrente Linux - Newbie 3 03-21-2002 05:15 AM


All times are GMT -5. The time now is 07:30 PM.

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