Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.