Hi,
I have just upgraded the hard drive in my T60p laptop, using my tried and tested method of:
a) .tar.bz2 up all filesystems to a safe place
b) swap the old drive out
c) recreate all the partitions on the new drive (as ext4)
d) set the "bootable" flag on /dev/sda1 (/boot)
e) update all filesystem UUIDs in /etc/fstab and grub.conf
f) reinstall grub
However, the T60p is refusing to boot off the new drive. It boots successfully off the Fedora 14 Live! CD, and all new partitions are then fully visible with all their contents intact. However, if I try rebooting without the Live! CD then there's a flicker of activity on the disk light and then the boot stops with a blank screen and a flashing cursor, without ever having reached the GRUB menu.
The Live! CD has an option to boot off the local drive, and this doesn't work for me either. The new drive also appears correctly in the BIOS's list of bootable devices.
I am thinking that there must be something wrong with how I am using GRUB:
a) Mount the root filesystem on /mnt/root
b) Mount all other filesystems, including /sys, /proc and /dev, into /mnt/root
c) chroot /mnt/root
d) grub
grub> root (hd0,0)
grub> find /grub/stage1
grub> setup (hd0)
grub> quit
e) exit
f) unmount all filesystems, and reboot.
However, this isn't working. Can anyone spot anything that I might be missing, please? I've already tried both "setup (hd0)" and "setup(hd0,0)" without success, and have confirmed that GRUB supports ext4 partitions in Fedora 14.
Thanks for any assistance here,
Cheers,
Chris
I have just upgraded the hard drive in my T60p laptop, using my tried and tested method of:
a) .tar.bz2 up all filesystems to a safe place
b) swap the old drive out
c) recreate all the partitions on the new drive (as ext4)
d) set the "bootable" flag on /dev/sda1 (/boot)
e) update all filesystem UUIDs in /etc/fstab and grub.conf
f) reinstall grub
However, the T60p is refusing to boot off the new drive. It boots successfully off the Fedora 14 Live! CD, and all new partitions are then fully visible with all their contents intact. However, if I try rebooting without the Live! CD then there's a flicker of activity on the disk light and then the boot stops with a blank screen and a flashing cursor, without ever having reached the GRUB menu.
The Live! CD has an option to boot off the local drive, and this doesn't work for me either. The new drive also appears correctly in the BIOS's list of bootable devices.
I am thinking that there must be something wrong with how I am using GRUB:
a) Mount the root filesystem on /mnt/root
b) Mount all other filesystems, including /sys, /proc and /dev, into /mnt/root
c) chroot /mnt/root
d) grub
grub> root (hd0,0)
grub> find /grub/stage1
grub> setup (hd0)
grub> quit
e) exit
f) unmount all filesystems, and reboot.
However, this isn't working. Can anyone spot anything that I might be missing, please? I've already tried both "setup (hd0)" and "setup(hd0,0)" without success, and have confirmed that GRUB supports ext4 partitions in Fedora 14.
Thanks for any assistance here,
Cheers,
Chris
Comment