I've got a server with a dead/dieing HDD. I bought another HDD and have been trying to simply copy everything from one drive to the other (HDDs are different sizes, so dd wouldn't work). I've been able to copy all of the content, but the problem is that I can't get Grub to install correctly. When I boot from the new drive, All I get is
From googling, I know that this means that Grub can't load its first stage. So I d/l'ed Knoppix to rescue the system. Knoppix sees the drive just fine, can mount, read, write, etc. to the drive just fine. I then go into the Grub shell:
Code:
grub> root (hd0,0)
Filesystem type is ext2fs, partition type0x83
grub> find /grub/menu.lst
(hd0,0)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 16 sectors are embeded
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2 /grub/menu.lst"... succeeded
Done.
grub> quit
# init 6
INIT: switching to runlevel: 6
...
Now the system runs through the POST process, the screen clears as if its going to go to Grub, then it reboots. This cycle repeats infinitely as far as I can tell. Going to do some more googling, but I though I'd ask for help here too. TIA.