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

grub-install problem after trixie upgrade



I have just upgraded from bookworm to trixie. An AMD FX (64 bit) machine.

The main disk is 2 disks in a RAID-1 pair (mirroring). The boot partition is
/dev/md0 that is built thus:

md0 : active raid1 sda1[0] sdb1[1]
      510976 blocks super 1.2 [2/2] [UU]

I get an error installing grub. I do not understand it let alone know how to
fix it. Note that the error happens for sda but not sdb:

	# grub-install --target=i386-pc  /dev/sda
	Installing for i386-pc platform.
	grub-install: warning: You have a short MBR gap and use advanced config. Please increase post-MBR gap..
	grub-install: warning: your core.img is unusually large.  It won't fit in the embedding area.
	grub-install: error: embedding is not possible, but this is required for RAID and LVM install.
	# grub-install --target=i386-pc  /dev/sdb
	Installing for i386-pc platform.
	Installation finished. No error reported.


My core.img:
	-rw-r--r-- 1 root root 33386 Aug 11 01:14 /boot/grub/i386-pc/core.img

The disks are DOS partition table format not GUID as the hardware/BIOS does not
understand GUID - I bought it in 2012.

There might be some clues here but I cannot reach it: https://lists.gnu.org/archive/html/grub-devel/2020-03/msg00134.html

Can anyone offer any illumination ?

Thanks

Another problem is that it is 500 MB, trixie recommends that it should be 768
MB; a problem that I shall worry about another day.

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>


Reply to: