Gentoo Archives: gentoo-user

From: wabe <wabenbau@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub-0.97-r16 and profile 17.0 change
Date: Wed, 06 Dec 2017 02:00:38
Message-Id: 20171206025824.425c0277@hal9000.localdomain
In Reply to: Re: [gentoo-user] grub-0.97-r16 and profile 17.0 change by Mick
1 Mick <michaelkintzios@×××××.com> wrote:
2
3 > On Tuesday, 5 December 2017 02:20:14 GMT wabe wrote:
4 > > Daniel Frey <djqfrey@×××××.com> wrote:
5 > > > On 12/03/17 07:12, Mick wrote:
6 > > > > On 03-12-2017 ,10:57:33, Peter Humphrey wrote:
7 > > > >> On Saturday, 2 December 2017 12:30:57 GMT Mick wrote:
8 > > > >>> I'm getting this error after I changed my profile as per
9 > > > >>> '2017-11-30-new-17-
10 > > > >>>
11 > > > >>> profiles' news item:
12 > > > >>>>>> Compiling source
13 > > > >>>>>> in /data/tmp_var/portage/sys-boot/grub-0.97-r16/work/
14 > > > >>
15 > > > >> [...]
16 > > > >>
17 > > > >>> However, sys-boot/grub-0.97-r17 installed fine once keyworded
18 > > > >>> on this (mostly) stable system. This may save time for
19 > > > >>> others who come across the same problem.
20 > > > >>
21 > > > >> It has. Thanks Mick.
22 > > > >>
23 > > > >> -- >> Regards,
24 > > > >> Peter.
25 > > > >>
26 > > > > > Unfortunately, an older system with only 50MB /boot partition
27 > > > > > did not
28 > > > >
29 > > > > have enough space to allow sys-boot/grub-0.97-r17 to install
30 > > > > all its files and fs drivers. I ended up restoring /boot from
31 > > > > a back up. YMMV. I have a 250MB /boot partition and have the
32 > > > > same problem, and I only have one kernel installed at ~5MB.
33 > > >
34 > > > I wonder how much space it needs in total now...
35 > > >
36 > > > Dan
37 > >
38 > > I'm using a hardened system with grub-0.97-r16 and have a 93MB boot
39 > > partition. It contains eight kernels each about 6.7MB in size and
40 > > the associated System.map files each about 2.2MB in size and I have
41 > > still 13MB free space in boot.
42 > >
43 > > How could this be?
44 > >
45 > > --
46 > > Regards
47 > > wabe
48 >
49 > Quite inexplicable ...
50 >
51 > My kernel is 7.1M, System.map 3.4M and config is 114K. I usually
52 > leave a total of three kernels and associated files in my ext2
53 > 46M /boot partition and they all used to fit in there. I tried to
54 > install grub-0.97-r16 on this system a number of times, each time
55 > removing another spare kernel until I was left with the latest kernel
56 > and each time it failed to install completely due to running out of
57 > disk space.
58 >
59 > These are the contents of my old /boot/grub/ as restored from a back
60 > up:
61 >
62 > # ls -la /boot/grub/
63 > total 1958
64 > drwxr-xr-x 2 root root 1024 Dec 3 14:07 .
65 > drwxr-xr-x 4 root root 1024 Dec 3 11:58 ..
66 > -rw-r--r-- 1 root root 12506 Nov 27 2016 ascii.h
67 > -rw-r--r-- 1 root root 5000 Nov 27 2016 ascii.pf2
68 > -rw-r--r-- 1 root root 197 Feb 27 2010 default
69 > -rw-r--r-- 1 root root 30 Feb 27 2010 device.map
70 > -rw-r--r-- 1 root root 10036 Dec 10 2016 e2fs_stage1_5
71 > -rw-r--r-- 1 root root 52151 Nov 27 2016 euro.pf2
72 > -rw-r--r-- 1 root root 9236 Dec 10 2016 fat_stage1_5
73 > -rw-r--r-- 1 root root 8564 Dec 10 2016 ffs_stage1_5
74 > -rw-r--r-- 1 root root 8947 Nov 27 2016 grub-mkconfig_lib
75 > -rw-r--r-- 1 root root 809 Dec 3 14:07 grub.conf
76 > -rw-r--r-- 1 root root 8564 Dec 10 2016 iso9660_stage1_5
77 > -rw-r--r-- 1 root root 10208 Dec 10 2016 jfs_stage1_5
78 > lrwxrwxrwx 1 root root 9 Feb 27 2010 menu.lst -> grub.conf
79 > -rw-r--r-- 1 root root 8724 Dec 10 2016 minix_stage1_5
80 > -rw-r--r-- 1 root root 11252 Dec 10 2016 reiserfs_stage1_5
81 > -rw-r--r-- 1 root root 33856 Dec 10 2016 splash.xpm.gz
82 > -rw-r--r-- 1 root root 512 Dec 10 2016 stage1
83 > -rw-r--r-- 1 root root 118712 Dec 10 2016 stage2
84 > -rw-r--r-- 1 root root 118712 Dec 20 2015 stage2.old
85 > -rw-r--r-- 1 root root 118712 Dec 10 2016 stage2_eltorito
86 > -rw-r--r-- 1 root root 8852 Dec 10 2016 ufs2_stage1_5
87 > -rw-r--r-- 1 root root 1363292 Nov 27 2016 unicode.pf2
88 > -rw-r--r-- 1 root root 8212 Dec 10 2016 vstafs_stage1_5
89 > -rw-r--r-- 1 root root 49238 Nov 27 2016 widthspec.h
90 > -rw-r--r-- 1 root root 10874 Dec 10 2016 xfs_stage1_5
91 >
92 > Installing grub-0.97-r16 would run out of disk space while trying to
93 > copy the stage2 file.
94
95
96 Strange, indeed.
97
98 # ls -alh /boot/grub/
99 total 505K
100 drwxr-xr-x 2 root root 1,0K 22. Nov 03:51 .
101 dr-x------ 4 root root 1,0K 22. Okt 20:51 ..
102 -rw-r--r-- 1 root root 197 7. Dez 2016 default
103 -rw-r--r-- 1 root root 15 28. Dez 2014 device.map
104 -rw-r--r-- 1 root root 11K 26. Apr 2017 e2fs_stage1_5
105 -rw-r--r-- 1 root root 9,3K 26. Apr 2017 fat_stage1_5
106 -rw-r--r-- 1 root root 8,7K 26. Apr 2017 ffs_stage1_5
107 -rw------- 1 root root 7,9K 4. Mär 2014 grub.cfg
108 -rw-r--r-- 1 root root 514 22. Nov 03:50 grub.conf
109 -rw-r--r-- 1 root root 8,7K 26. Apr 2017 iso9660_stage1_5
110 -rw-r--r-- 1 root root 11K 26. Apr 2017 jfs_stage1_5
111 lrwxrwxrwx 1 root root 9 11. Mär 2012 menu.lst -> grub.conf
112 -rw-r--r-- 1 root root 8,9K 26. Apr 2017 minix_stage1_5
113 -rw-r--r-- 1 root root 12K 26. Apr 2017 reiserfs_stage1_5
114 -rw-r--r-- 1 root root 34K 26. Apr 2017 splash.xpm.gz
115 -rw-r--r-- 1 root root 512 26. Apr 2017 stage1
116 -rw-r--r-- 1 root root 119K 26. Apr 2017 stage2
117 -rw-r--r-- 1 root root 119K 26. Apr 2017 stage2_eltorito
118 -rw-r--r-- 1 root root 119K 7. Dez 2016 stage2.old
119 -rw-r--r-- 1 root root 8,9K 26. Apr 2017 ufs2_stage1_5
120 -rw-r--r-- 1 root root 8,3K 26. Apr 2017 vstafs_stage1_5
121 -rw-r--r-- 1 root root 11K 26. Apr 2017 xfs_stage1_5
122
123 $ eix sys-boot/grub
124 [I] sys-boot/grub
125 Available versions:
126 (0) 0.97-r16{tbz2} ~0.97-r17
127 (2) [m]2.02(2/2.02)^st [m]**9999(2/9999)^st
128 {custom-cflags debug device-mapper doc efiemu +fonts libzfs mount multislot ncurses netboot nls sdl static test +themes truetype GRUB_PLATFORMS="coreboot efi-32 efi-64 emu ieee1275 loongson multiboot pc qemu qemu-mips uboot xen xen-32"}
129 Installed versions: 0.97-r16{tbz2}(09:05:23 26.04.2017)(ncurses -custom-cflags -netboot -static)
130 Homepage: https://www.gnu.org/software/grub/
131 Description: GNU GRUB boot loader
132
133 * sys-boot/grub-static
134 Available versions: 0.96-r1 0.97 0.97-r6 0.97-r9 0.97-r10 0.97-r12
135 Homepage: https://www.gnu.org/software/grub/
136 Description: GNU GRUB Legacy boot loader (static build)
137
138 Found 2 matches
139
140 --
141 Regards
142 wabe