grub and swapping out drive
I want to install grub to (hd1) so that it is ready to be used as (hd0).
I have Debian 3.1r0a up. On /dev/hda2 (hd0,1) is my root. On /dev/sda2
(hd1,1) is a cloned root. I want to remove the IDE disk at /dev/hda and
boot from /dev/sda2 which will then be (hd0,1). I have no floppy drive.
By cloned I mean (modulo typos):
fdisk /dev/sda;
mke2fs -j /dev/sda2;
mount /dev/sda2 /mnt;
cd /;
cp -ax . /mnt;
grub-install \(hd1\);
grub gives me "Hard Disk Error".
What is the grub invocation I need?
Thanks.
rir
Reply to: