LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   moving bootable drive from /dev/hde to /dev/hda (https://www.linuxquestions.org/questions/red-hat-31/moving-bootable-drive-from-dev-hde-to-dev-hda-412879/)

chromedog 02-08-2006 01:33 AM

moving bootable drive from /dev/hde to /dev/hda
 
in a nutshell... after a motherboard upgrade, boot drive is on a different drive letter and doesn't get past fsk.

i have upgraded my server from an ABIT BP6 to an ASUS CUV4XD. in doing this, the CentOS 4.2 boot drive is now on /dev/hda instead of /dev/hde. when it boots, it gets past the first part, then starts running the rc3 scripts.

Setting hostname kaneda [ OK ]
Checking root filesystem
fsck.ext3: /dev/hde4:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

No such file or directory while trying to open /dev/hde4 [FAILED]

the last line shows it is trying to fsk the partition in it's old drive, hde, when it is now hda.

i have modified grub.conf and devices.map in /boot/grub, as well as changing the labels in fstab to all point to /dev/hda...

it seems that i am missing something simple that is causing the fsk to look in the wrong place. any ideas??

regards,
david

WHY? the BP6 has 2x ATA33 and 2x ATA66 drive connectors, while the CUV4XD only has 2x ATA100. the hard drive was originally on the third (but first ATA66) connector as the master (/dev/hde). now it is on the first connector as primary master (/dev/hda).

satinet 02-08-2006 04:31 AM

maybe disable fsck in /etc/fstab and boot. maybe then things will work with a reboot....


All times are GMT -5. The time now is 12:48 PM.