Will not boot after Disk upgrade from hda to sda

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

 



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?

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux