help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embedding core.img in an empty partition


From: Damien Robert
Subject: Re: Embedding core.img in an empty partition
Date: Wed, 1 Aug 2012 16:57:13 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

>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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]