[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Will not boot after Disk upgrade from hda to sda



Hi All,

I am normally quite good with grub but currently I am struggling with
a disk upgrade on my brothers PC.

He has purchased a pci sata card, and added a new 1TB drive.

I have used dd to copy the boot sector to the new drive, then used
clonezilla and copied hda1 (/boot) to sda1, and copied hda3 (/) to
sda3. hda2 is swap and has been recreate as sda2.

I edited the /boot/grub/menu.lst from

title Fedora (2.6.23.1-42.fc8)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.23.1-42.fc8.img
to
title Fedora (2.6.23.1-42.fc8)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.23.1-42.fc8 ro root=/dev/sda3 rhgb quiet
        initrd /boot/initrd-2.6.23.1-42.fc8.img

I change the device.map from

(hd0)     /dev/hda
to
(hd0)     /dev/sda

and edited fstab from

LABEL=/                 /                       ext3    defaults        1 1
to
/dev/sda3                /                       ext3    defaults        1 1

I have checked with e2label that all partitions are correctly named as well.

Is there something else I have missed?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]