View Single Post
  #10 (permalink)  
Old 02-Jul-2009, 17:44
ken_yap ken_yap is online now
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,232
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: Installing GRUB after removing HDD

Quote:
Originally Posted by ken_yap View Post
mount /dev/sda5 /media/root
mount /dev/sda6 /media/root/boot
grub-install blah blah
Ah yes, re Swerdna's point, the last line cannot be business as usual. You should use:

grub-install --root-directory=/media/root /dev/sda

not a partition. This will install in the MBR.
Reply With Quote