Gentoo Archives: gentoo-user

From: nunojsilva@×××××××.pt
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: grub 0.97-r18 fails sanity check, stage2 larger than 1MB
Date: Wed, 26 Jan 2022 08:52:28
Message-Id: ssr23s$23c$1@ciao.gmane.io
In Reply to: Re: [gentoo-user] grub 0.97-r18 fails sanity check, stage2 larger than 1MB by "Andreas K. Huettel"
1 On 2022-01-25, Andreas K. Huettel wrote:
2
3 > Am Freitag, 21. Januar 2022, 16:46:17 CET schrieb Skippy:
4 >> I think emerge wants to rebuild grub because of a changed USE flag.
5 >>
6 >> [ebuild R ] sys-boot/grub-0.97-r18::Skippy USE="ncurses
7 >> -custom-cflags -netboot -static" KERNEL="(-linux%*)" 0 KiB
8 >>
9 >> When doing so it fails.
10 >>
11 >> * Sanity check failed: stage2
12 >> (/var/tmp/portage/sys-boot/grub-0.97-r18/work/grub-0.97/stage2/stage2)
13 >> is larger than 1MB (268959736 bytes)!
14 >
15 > It's clearly not fitting into a beer can anymore.
16
17 But 256 MB where it shouldn't exceed 1 MB?
18
19 > grub-0.97 is historical software. Please consider using something a bit fresher.
20
21
22 --
23 Nuno Silva