LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 01-19-2004, 12:25 PM   #1
adamdino
LQ Newbie
 
Registered: Jan 2004
Location: Merry Old England
Distribution: Red Hat 9.0
Posts: 4

Rep: Reputation: 0
Thumbs down RH 9.0 - Unaccessable HDD


Firstly, let me introduce myself.
My name is Adam, i'm a Systems Admin at a small manuafacturing company in Staffordshire, England. I'm a Windows-Boy, born and raised, but i'm giving linux a go now, i'm really impressed and i wanna make it work for my home storage system.

<cut to the chase>

I decided to give Red Hat 9.0 a try, I was a bit n00bish and mounted the boot partition by mistake, when trying to mount another HDD. Of course this threw up problems upon re-boot.
I started afresh, with no problems, added my second drive, no worries.

The problem now is, accessing the data on the old system disk. I physically attach the drive, boot up RH 9.0 and i get a duplicate label problem.
I'm assuming this is the system throwing a wobbly when it see's 2 partitions with the same label.

I assume i can re-name the /boot partition on my new system drive with e2label, ammend fstab and all will be well, no conflicting names, either that or re-name the old partition on my old system disk, but how can i do that when i can't boot?

Am i thinking in the right direction?
THANK YOU!
 
Old 01-19-2004, 02:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Rather than relying on labels just edit your bootloader config and /etc/fstab and use proper device/partition names like /dev/hda1 etc rather than lables.
 
Old 01-19-2004, 03:53 PM   #3
adamdino
LQ Newbie
 
Registered: Jan 2004
Location: Merry Old England
Distribution: Red Hat 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, but remember, i'm a linux n00b, how would i go about that, or can you point me to a webpage that tells me how to do that?
(I'm using GRUB by the way)

Thanks David_Ross

Adam.

Last edited by adamdino; 01-19-2004 at 03:56 PM.
 
Old 01-19-2004, 04:25 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
In grub.conf replace "root=LABEL=/" with "root=/dev/hda5" assuming hda5 is your / partition. Then in /etc/fstab change the first column to use entries like /dev/hdaX rather than LABEL values.
 
Old 01-19-2004, 05:48 PM   #5
adamdino
LQ Newbie
 
Registered: Jan 2004
Location: Merry Old England
Distribution: Red Hat 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
David.

Words cannot express how thankfull I am for your speedy and helpfull reply!
I've now been able to mount my other system disk and all is working great!

May I also add, what everyone in this community is doing is great, enabling the masses to take advantage of this amazing alternative to MicroShaft!

Why R H 9.0 (and others?) uses /LABEL i do not know, the way in now have it configured is so much more simple to use and understand.

Thanks again.
Adam.
 
Old 01-19-2004, 06:04 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Thanks for your support.

I have no idea why some distros are now using LABEL values, since I have multiple bootin OS's I very rarely use them.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM
USB Thumb drive unaccessable davide879 Linux - Hardware 12 05-22-2005 07:09 PM
/var/lib/init.d/softlevel unaccessable even to root!!?? PeaceTank Linux - Software 2 03-13-2005 08:12 PM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 01:45 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration