Grub2 mkconfig

Adam Williamson awilliam at redhat.com
Thu Feb 23 20:27:01 UTC 2012


On Thu, 2012-02-23 at 14:14 -0600, Chris Adams wrote:
> Once upon a time, Adam Williamson <awilliam at redhat.com> said:
> > On Thu, 2012-02-23 at 09:40 -0600, Chris Adams wrote:
> > > That's what I used to do, but it didn't work for me with F16 and GRUB2.
> > > I get a warning that I shouldn't install GRUB2 to a partition and then
> > > an error about there not being enough space.
> > 
> > You can use --force to make grub2 install to a partition.
> 
> If I run "grub2-install /dev/sda6", I get:
> 
> /sbin/grub2-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..
> /sbin/grub2-setup: error: embedding is not possible, but this is required for cross-disk install.
> 
> --force makes no difference.
> 
> /dev/sda6 is actually part of a software RAID1; "grub2-install /dev/md3"
> segfaults.  Somebody else has already put this in BZ as 788830.

Yep, sounds like the RAID thing is your issue, not the
install-to-partition thing. I'm not sure if grub2 is actually capable of
being written to the first sector of a RAID device at all. pjones may
know.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net



More information about the test mailing list