[Ilugc] Fwd: Grub problem

  • From: lgp171188@xxxxxxxxx (Guruprasad)
  • Date: Thu, 28 Apr 2011 20:25:14 +0530

Hi,

On Thu, Apr 28, 2011 at 8:20 PM, balaji sivanath <starbala2008 at gmail.com> 
wrote:

when using the following command
sudo grub-install --root-directory=/mnt /dev/sdX (used correct drive name)
i got error that "warn: Attempting to install GRUB to a partition
instead of the MBR. ?This is a BAD idea..

Are you giving /dev/sdX as something like /dev/sda which will
represent the whole hard disk and hence will install grub in the MBR
or something like /dev/sda1 which means the grub will be installed to
the partition specified. The former will make sure that grub is loaded
when you boot. For the latter to work, you must chainload the grub
installed to the partition from the one installed to MBR.

Thanks & Regards,
Guruprasad

Other related posts: