Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
Hi there.
I want to install a second drive (with data and SO RH 8) in my linux RH 9, and when I try to do so, I have problems at boot time. Of course I set the second drive like a slave disk, and I also try to install the 2nd disk in the 2nd IDE channel. But is still not working.
Here are some of the errors that appear on screen:
Activating swap partitions: swapon /dev/hda9: No such drive (there is no 9 on hda, only on the 2nd drive)
after fsck.jfs I can see:
The current device is /dev/hda10 (there is no 10 on hda!!!)
Superblock is corrupt and cannot be repaired because both primary and secondary copies are corrupt
FSCK CANNOT CONTINUE
***An error ocurred during the file system check
***Dropping you to a shell; the system will reboot
***when you leave the shell
On the shell I executed mount command and I saw that / points to /dev/hdd8 (my 2nd drive)
FSTAB was like this:
LABEL=/ /
LABEL=/boot /boot
but I changed to:
/dev/hda2/ /
/dev/hda1/ /
following a paper encountered in Internet.
Do you tell me what is going on?
Thanks.
Tito
Undo your fstab changes, reboot, and you should be back to where you were before. The second drive will not be mounted, so manually do that, verify that you can read it, etc, and then modify your fstab. -- J.W.
Redhat uses partition labels for identification, hence the label=/. Consider labels as relative addresses and /dev/ha2 an absolute address. If you move partitions or drives around the OS can always find the labels but not the /dev/hda if it does not remain the same.
So seeing how you have two RHs loaded you now have two partitions with the same label, hence the duplicate label errors.
Your first post eludes that the partitions on the 2nd drive are formatted as jfs but the first is ext3. The superblock errors might be attributed to that fact since the OS expected ext3.
nop
There are less errors than before, but it is not booting well.
Others errors (see my first post) are showing on screen.
Am I clearly enough with my explanation?
Thanks.
Tito
I'm going to take an educated guess hoping others might know more... If the OS was try to fix the hdd8 (jfs?) partition on the 2nd drive as ext3 it might of corrupted the file system. Can you still mount the partitions on the 2nd drive?
I didn't try to mount anything because booting is not finishing correctly.
I can add if I connect only the 1st disk, all is working ok, and if I connect the 2nd disk in its own original PC, everything is ok too.
The problem appears when I try to connect both disks in the same PC.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.