LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 06-19-2007, 06:11 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Rep: Reputation: 30
Red face 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.
 
Old 06-20-2007, 06:26 AM   #2
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
Nobody knows?
 
Old 06-20-2007, 06:56 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,794

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
You have to change the line in fstab as the referenced page at ioncannon states.
 
Old 06-20-2007, 08:06 AM   #4
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
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?
 
Old 06-20-2007, 01:40 PM   #5
neo_cool_XIIK
Member
 
Registered: Dec 2004
Location: Bulgaria, Plovdiv
Distribution: DSM, Fedora 9, Fedora12, Fedora 15
Posts: 66

Rep: Reputation: 15
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
 
Old 06-20-2007, 04:00 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,794

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
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.
 
Old 06-20-2007, 04:32 PM   #7
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
syg00: thanks. Exactly what I needed.

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


Reply

Tags
f7, fedora, fstab, labels, upgrade


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 5 label disk eyt Linux - Hardware 3 10-19-2006 02:03 PM
How to change the label of a disk dtournas Red Hat 0 08-17-2004 08:02 AM
Disk label problem Juniper34 *BSD 2 08-21-2003 06:01 AM
Disk label strangeness? MadCactus Linux - General 2 08-13-2003 12:24 PM
Disk Label Editor Philo *BSD 13 07-06-2003 08:27 AM


All times are GMT -5. The time now is 12:13 AM.

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