LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-09-2005, 03:42 PM   #1
thoalex
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Unable to resolve LABEL - New SATA drive


Hiya,

I put a new SATA drive in my machine today and I'm having a little problem with the mount. I created the filesystem with the following command:

mkfs.ext3 -L /r2 /dev/sda

and then I put this in /etc/fstab

LABEL=/r2 /r2 ext3 defaults 1 2

but on boot I get the message "Unable to resolve LABEL=/r2"

If I comment it the LABEL out of /etc/fstab and wait for the box to boot and then do a mount /r2 it mounts fine.

My guess is that it doesn't "see" the SATA drive at the correct point in the boot process.

Can anyone help?

Thanks
Thoalex
 
Old 04-10-2005, 08:34 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: FreeBSD, NetBSD
Posts: 1,446

Rep: Reputation: 46
I suspect this is an issue with your choice of label. Why did you use /r2 instead of something more "readable" like SATA2 or whatever?

Like below:
mkfs.ext3 -L SATA2 /dev/sda

LABEL=SATA2 /r2 ext3 defaults 1 2

EDIT: You can always use tunefs to change the label without reformating... if you think this might be an issue and could help.

I just am not sure about / in a label... although I can't seem to find a prohibition against it.

Last edited by frob23; 04-10-2005 at 08:37 AM.
 
Old 04-10-2005, 01:50 PM   #3
thoalex
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Well, the reason I chose it is that's what the system has chosen when it was installed.

For example, this is the fstab entry for /boot

LABEL=/boot1 /boot ext3 defaults 1 2

the LABEL isn't the issue however as this doesn't work either

/dev/sda1 /r1 ext3 defaults 1 2
 
Old 04-14-2005, 02:59 PM   #4
thoalex
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
*bump* I still haven't figured this out yet. Currently I've stuck a "mount -a" in /etc/rc.d/rc.local
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
fsck.ext3: Unable to resolve 'LABEL=/home' Azzath Linux - General 14 04-03-2005 04:45 AM
Unable to install Mandrake 10.1 on SATA drive. Please help. T3 Rules Mandriva 3 02-11-2005 09:56 PM
I'm unable to install Slackware 10 in a SATA Hard Drive christian_delaf Slackware - Installation 8 01-05-2005 11:11 AM
fsck.ext3 unable to resolve 'LABEL=/home yeehi Linux - General 2 10-20-2004 08:15 AM
Unable to install Fedora on SATA drive ahuebel Linux - Hardware 0 02-12-2004 11:50 AM


All times are GMT -5. The time now is 11:46 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
Open Source Consulting | Domain Registration