LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   F7 Disk Label Question (https://www.linuxquestions.org/questions/fedora-35/f7-disk-label-question-563069/)

punt 06-19-2007 06:11 PM

F7 Disk Label Question
 
Hi,

I upgraded to F7 and am running into a strange issue that seems to be related to the Kernel (FC6 kernel boots, F7 does not).

When I read the upgrade page at Ioncannon, it mentioned specific release notes to define disks that may not have labels.

I have a second hard drive in this box. It has always been defined as such:

Code:

/dev/hdb1              /backup                ext3    defaults        1 2
When I booted up to it, however, it failed on me.

Code:

fsck.ext3: no such file or directory while trying to open /dev/hdb1
So I tried to work with the labels as suggested.

Code:

# /sbin/blkid
/dev/hda1: LABEL="/boot" UUID="d013bf1d-24a6-4783-9a76-9ee868545878" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda2: LABEL="/usr" UUID="5099995d-25d4-492b-a112-2e4593fd1098" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda3: LABEL="/" UUID="32487332-43d4-4891-bde4-dcb7ddf69c62" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda5: LABEL="/var" UUID="b42303bf-217e-4dae-8c9e-74c8a15b6cf1" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda6: LABEL="/home" UUID="19a96e70-8322-42bf-b27f-11902d45cfb3" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda7: LABEL="ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ" UUID="beb8c208-5f4e-4c28-8635-1072806ecb05" TYPE="swap"
/dev/hdb1: LABEL="/backup" UUID="0a06ff14-b26d-4008-9ae6-679d9c760456" SEC_TYPE="ext2" TYPE="ext3"

I seem to have the label defined properly from what I can determine. But I don't know what belongs in my fstab now and that seems to be causing this bootup problem. What do I do?

Thanks in advance.

punt 06-20-2007 06:26 AM

Nobody knows?

syg00 06-20-2007 06:56 AM

You have to change the line in fstab as the referenced page at ioncannon states.

punt 06-20-2007 08:06 AM

ioncannon says this:

Code:

LABEL=/boot            /boot                  ext3    defaults        1 2
I used variations of these, and it failed for me.

Code:

/dev/hdb1              /backup                ext3    defaults        1 2
LABEL=/backup          /dev/hdb1              ext3    defaults        1 2

So basically I am asking rather than making me assume what I should put -- what exactly should I be using?

neo_cool_XIIK 06-20-2007 01:40 PM

off the top of my mind ...i believe that the labeling system now labels even idea hrd drives as serial ones 'cause of kernel changes, so hdb would be sdb, read the release notes

syg00 06-20-2007 04:00 PM

Quote:

Originally Posted by ioncannon
edit your /etc/fstab to use the label on boot instead of the device.

Then follows an example, which you quoted above. The device specification needs to change, not the mount-point. Try this:
Code:

LABEL=/backup          /backup              ext3    defaults        1 2
This appears to be Fedoras way around the name change introduced with the libata changes in 2.6.19 - I've never liked their use of labels in the past, and this will only make things worse.

punt 06-20-2007 04:32 PM

syg00: thanks. Exactly what I needed.

I agree with the confusion related to this. I wish it remained consistent for sake of simplicity.


All times are GMT -5. The time now is 08:45 AM.