View Single Post
  #11 (permalink)  
Old 03-Jul-2009, 15:09
rks171 rks171 is offline
Student Penguin
 
Join Date: Jun 2009
Location: State College, PA USA
Posts: 65
rks171 hasn't been rated much yet
Default Re: Installing GRUB after removing HDD

Quote:
You didn't say what kind of drive sda was, is it SATA?
sda is SATA, sdb is IDE

Quote:
You didn't say what the mount points of sda[567] are.
sda5 is /
sda6 is swap
sda7 is /home

I didn't create a partition for /boot. Sources I checked didn't list it as necessary and it wasn't mentioned in another installation thread I was talking in.

Quote:
mount /dev/sda5 /media/root
mount /dev/sda6 /media/root/boot
grub-install blah blah...
grub-install --root-directory=/media/root /dev/sda
I took these steps except I didn't mount /boot since I don't have a separate partition for it. Do I need to mount the /boot directory or something?

Quote:
Seems to me to indicate that you've put the Grub boot code for sda onto a high partition rather than in the MBR.
Yes, this is certainly the case. I remember checking off MBR during install, but it must have put it in MBR of sdb instead of sda. As previously discussed, I tried to reinstall grub on sda with sdb disconnected, but I get the same error. I believe I'll try ken_yap's suggestion of installing grub to /dev/sda instead of any particular partition and see what that does.
Reply With Quote