[vox-tech] Problem Reinstalling GRUB2

Eric Lin notapplicable.haha at gmail.com
Sat Apr 30 22:38:44 PDT 2011


On Sat, Apr 30, 2011 at 10:25:04PM -0700, Bob Scofield wrote:
>  grub-install --boot-directory=/boot /dev/sda1
> 
> This command generated this error message:
> 
> "/usr/sbin/grub-setup: warn: Attempting to install GRUB to a
> partitionless disk or to a partition.  This is a BAD idea..
> /usr/sbin/grub-setup: error: embedding is not possible, but this is
> required for cross-disk install."
> 
> I don't really know where my computer boots from; the MBR on the Windows
> partition, or /dev/sdb2.  I think it boots from the MBR.
> 
> Can anyone explain how I can reinstall GRUB to work from my main Linux
> system on /dev/sdb2?

Try installing to /dev/sda instead of /dev/sda1. That'll install grub to
your first hard drive's MBR.

> 
> Thank you.
> 
> Bob
> 
> _______________________________________________
> vox-tech mailing list
> vox-tech at lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

Eric


More information about the vox-tech mailing list