>From Damien Robert, the Wed 01 Aug 2012 at 16:37:39 (-0700):
> > If you use the force flag with grub-install, it will find  the space at the
> > end of the disk and use it (block lists).
> 
> I thought that the --force flag use as block lists the blocks where the
> core.img reside in the /boot partition (so in my case ext4 inside lvm). So
> that any change in the /boot filesystem could break the block list.

Anyway it does not seems to try to use block lists:

/usr/sbin/grub-bios-setup: info: Partition 0 starts from 63.
/usr/sbin/grub-bios-setup: info: /dev/dm-1 is an LVM.
/usr/sbin/grub-bios-setup: info: guessed root_dev `lvm/MainGroup-slash' from 
dir `/boot/grub/i386-pc'.
/usr/sbin/grub-bios-setup: info: setting the root device to 
`lvm/MainGroup-slash'.
/usr/sbin/grub-bios-setup: warning: your core.img is unusually large.  It won't 
fit in the embedding area.
/usr/sbin/grub-bios-setup: error: embedding is not possible, but this is 
required for RAID and LVM install.
+ exit 1
zsh: exit 1     sudo grub-install --target=i386-pc --recheck --debug --force 
/dev/sda

$ grub-install -v
grub-install (GRUB) 2.00



_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to