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

Migrating from an IDE hard drive to a SATA drive (Debian 3.1r0a AMD64)



Hi,

I'm trying to move my entire installation from a 10GB IDE drive to a 250GB Western Digital SATA drive. I built a new 2.6.17.8 kernel, and it detects the SATA drive. I've mounted it, partitioned and formatted it to ext3, and copied everything on my IDE drive to it. However, when I try to use GRUB to setup the master boot record, I get this:

#grub
grub>root (hd1,0)
Filesystem type is ext2fs, partition type 0x83
grub>setup(hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 16 sectors are embedded
succeeded
Segmentation fault

I've edited my /boot/grub/device.map and my /boot/grub/menu.lst. The device.map looks like this:

(hd0)       /dev/sda

I've set all of the root= flags in the menu.lst to /dev/sda1. Now I have no idea what to do. Any ideas? Thanks in advance.



Reply to: