LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   fsck.ext3: unable to resolve 'LABEL=/' (https://www.linuxquestions.org/questions/linux-newbie-8/fsck-ext3-unable-to-resolve-label%3D-654947/)

av.dubey 07-10-2008 04:25 PM

fsck.ext3: unable to resolve 'LABEL=/'
 
iam having fedora 8 installed on my lap alng with vista but now its not booting ...i dont know why..
iam gettin this error

fsck ext3: Unable to reslve 'LABEL=/'

***an error occurred during the file system check.
***Dropping you to a shell;the system will reboot
***when you leave the shell

can neone plzz help me out..

my fdisk -l output is as follows

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1958 15727603+ 7 HPFS/NTFS
/dev/sda2 1959 9728 62412525 f W95 Ext'd (LBA)
/dev/sda5 1959 4569 20972826 7 HPFS/NTFS
/dev/sda6 4570 6481 15358108+ b W95 FAT32
/dev/sda7 6482 6494 104391 83 Linux
/dev/sda8 6495 6752 2072353+ 82 Linux swap / Solaris
/dev/sda9 6753 9728 23904688+ 83 Linux

and output of my /etc/fstab file is

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda8 swap swap defaults 0 0

forrestt 07-10-2008 04:53 PM

Try running the following from the shell:

Code:

/sbin/e2label /dev/sda9 /
/sbin/e2label /dev/sda7 /boot

HTH

Forrest

av.dubey 07-11-2008 02:41 AM

thanks yaar..i don know wat happenned i updated with my cd and it all got correct...
neway thanks .
but may i know wat r these commands for..

forrestt 07-11-2008 09:27 AM

The e2label command puts a label on a partition. The first parameter specifies the partition, and the second specifies the label.

HTH

Forrest

ngwasuma 01-15-2010 05:36 AM

Quote:

Originally Posted by forrestt (Post 3210504)
Try running the following from the shell:

Code:

/sbin/e2label /dev/sda9 /
/sbin/e2label /dev/sda7 /boot

HTH

Forrest

Thanks a million times. It works for me on FC5.

managementguy 04-28-2010 05:23 AM

I have a requirement making iso. so when user install user which I don't know what will be his drive type hda/sda/ etc.

/cat/etc/fstab
LABEL=/ /flash ext3 defaults 0 2
LABEL=/boot /boot ext3 defaults 1 2
/dev/ram0 / squashfs defaults 1 0
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0

grub.conf is also having LABEL = / and no drive name.

I am not assigning anywhere lable i.e excuting e2label and label both / and /boot.

Now when I try to install it will give following error

fsck.ext3: Unable to resolve 'LABEL=/
fsck.ext3: Unable to resolve 'LABEL=/boot
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell
Give root password for maintenance
(or type Control-D to continue):

If I give ctrl+d and reboot next time its not giving this error and its working properly even if i check for label I found that / is already labeled as expected but b/boot not. Can anyone tell me why is this error resoving on boot automatically.


All times are GMT -5. The time now is 03:56 AM.