/hda to /sda - help!
Hi,
I'm trying to move my linux server to a new machine, this machine only supports SATA drives rather than the PATA of my old machine. I've cloned the disk image to the new SATA drive, but when I boot Fedora FC5 I get the following error and then a kernel panic: Trying to resume from /dev/hda3 Unable to access resume device (/dev/hda3) I've edited grub.conf and fstab (and did a grub-install /dev/sda), but I still have the error. I can get into the partition using the rescue CD to perform edits. Would anyone be kind enough to point me in the direction of what I need to do to fix this? |
You must have missed something in grub.conf or menu.lst. It's probably a parameter of the kernel, look for "resume=/dev/hda3".
|
Hi,
I did a cat /boot/grub/* |grep rescue with no result, also the same with hda - nothing. |
try "grep -R resume /boot" or "grep -R hda /boot"
|
It reported nothing of any significance for 'resume' and nothing at all for 'hda'.
This is driving me crazy! |
If it helps:
fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225290 bytes Device Boot Start End Blocks id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 30393 244027350 83 Linux /dev/sda3 30394 30515 979965 82 Linux swap / Solaris more /boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/sda more /boot/grub/grub.conf # grub.conf generated by anaconda # ... # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda2 #boot=/dev/sda default=0 timeout=10 splashimage=(hd0,0)/grub/splash.xpm.gz title Fedora Core (2.6.17-1.2187_FC5) root (hd0,0) kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=LABEL=/ rhgb initrd /initrd-2.6.17-1.2187_FC5.img |
This is the result of the boot:
Code:
Mounting sysfs filesystem |
fstab:
Code:
LABEL=/ / ext3 defaults 1 1 |
Okay, in the end I used the FC5 DVD and did an 'upgrade' overwriting the boot records. As far as I can see it didn't change a thing in the files, but it worked.
|
Fedora uses the partition/Filesystem label with Grub to dictate which partition is which FS (/,/boot, etc). Likely, these didn't transfer with your image move.
You'll notice that the device column in your fstab uses labels, rather than device names to specify what is what (except the swap partition). Booting with a live CD and changing those to the actual device names would probably have solved this issue for you :) -- Shade |
All times are GMT -5. The time now is 11:03 AM. |