[PVE-User] PVE 3.4 upgrade problem - grub can't be installed your core.img is unusually large

Dietmar Maurer dietmar at proxmox.com
Fri Feb 20 16:13:39 CET 2015



> On February 20, 2015 at 4:04 PM Eneko Lacunza <elacunza at binovo.es> wrote:
> 
> 
> On 20/02/15 15:52, Dietmar Maurer wrote:
> >> Strange, it is much smaller here:
> >>
> >> # ls -l /boot/grub/i386-pc/*.img
> >> -rw-r--r-- 1 root root   512 Jan 29 11:18 /boot/grub/i386-pc/boot.img
> >> -rw-r--r-- 1 root root 25485 Jan 29 11:18 /boot/grub/i386-pc/core.img
> >>
> >> Do you have/use some special grub setup?
> > Or do you use software RAID (md raid)?
> >
> >
> >
> No mdraid either :) The machine that has mdraid does have GPT partition 
> table and there weren't problems with it. :)
> In fact it is loading more modules but core is smaller:
> 
> # LANG=C grub-install -v /dev/sdb 2>&1 |grep reading
> grub-install: info: reading /usr/lib/grub/i386-pc/kernel.img.
> grub-install: info: reading /usr/lib/grub/i386-pc/fshelp.mod.
> grub-install: info: reading /usr/lib/grub/i386-pc/ext2.mod.
> grub-install: info: reading /usr/lib/grub/i386-pc/diskfilter.mod.
> grub-install: info: reading /usr/lib/grub/i386-pc/lvm.mod.
> grub-install: info: reading /usr/lib/grub/i386-pc/part_gpt.mod.
> grub-install: info: reading /usr/lib/grub/i386-pc/mdraid1x.mod.
> grub-install: info: reading /usr/lib/grub/i386-pc/biosdisk.mod.
> grub-install: info: reading /usr/lib/grub/i386-pc/lzma_decompress.img.
> grub-install: info: reading /usr/lib/grub/i386-pc/diskboot.img.
> grub-install: info: reading /boot/grub/i386-pc/boot.img.
> grub-install: info: reading /boot/grub/i386-pc/core.img.
> 
> # ls -l /boot/grub/i386-pc/core.img
> -rw-r--r-- 1 root root 32677 feb 20 16:01 /boot/grub/i386-pc/core.img

I get the foowowing on a standard POVE installation:

# grub-install -v /dev/sda 2>&1 |grep reading
grub-install: info: reading /usr/lib/grub/i386-pc/kernel.img.
grub-install: info: reading /usr/lib/grub/i386-pc/fshelp.mod.
grub-install: info: reading /usr/lib/grub/i386-pc/ext2.mod.
grub-install: info: reading /usr/lib/grub/i386-pc/part_msdos.mod.
grub-install: info: reading /usr/lib/grub/i386-pc/biosdisk.mod.
grub-install: info: reading /usr/lib/grub/i386-pc/lzma_decompress.img.
grub-install: info: reading /usr/lib/grub/i386-pc/diskboot.img.
grub-install: info: reading /boot/grub/i386-pc/boot.img.
grub-install: info: reading /boot/grub/i386-pc/core.img.

There is no mdraid1x.mod and no lvm.mod, because we always used a 
separate boot partition.

I guess you installed that system manually, and boot directly into LVM?




More information about the pve-user mailing list