Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: No room left on /boot
Date: Mon, 06 Mar 2017 13:17:37
Message-Id: 062cd925-ebfb-3744-5dc8-1229c2c29450@sys-concept.com
In Reply to: [gentoo-user] Re: No room left on /boot by Kai Krakow
1 On 03/06/2017 12:05 AM, Kai Krakow wrote:
2 > Am Sun, 5 Mar 2017 14:33:03 -0700
3 > schrieb thelma@×××××××××××.com:
4 >
5 >> After upgrading my machine. I rebooted, everything went as planned.
6 >> So I decided to upgrade to a newer kernel. I was using:
7 >> linux-3.10.7-gentoo-r1
8 >>
9 >> and decided to switch to:
10 >> linux-4.9.6-gentoo-r1
11 >>
12 >> I've done kernel upgrade many, many times so it was a routine
13 >> procedure. When I re-booted the last thing on the screen were letter:
14 >>
15 >> "GRUB" and blank screen, not even a kernel selection.
16 >> I scramble, boot strap the system and copied two file in /boot/
17 >> kernel-old --> kernel-current
18 >> System.map-old --> System.map-current
19 >>
20 >> I was under impression that something is wrong with the current
21 >> (newest kernel). But it seems to me I run out of room on the /boot
22 >> partition.
23 >>
24 >> ll -h /boot/
25 >> total 17M
26 >> lrwxrwxrwx 1 root root 1 Dec 17 2011 boot -> .
27 >> -rw-r--r-- 1 root root 109K Mar 5 10:20 config-current
28 >> -rw-r--r-- 1 root root 90K Mar 5 10:13 config-old
29 >> drwxr-xr-x 5 root root 1.0K Mar 5 11:48 grub
30 >> -rw-r--r-- 1 root root 5.5M Mar 5 11:03 kernel-current
31 >> -rw-r--r-- 1 root root 5.5M Mar 5 10:12 kernel-old
32 >> drwx------ 2 root root 12K Dec 17 2011 lost+found
33 >> -rw-r--r-- 1 root root 2.9M Mar 5 11:03 System.map-current
34 >> -rw-r--r-- 1 root root 2.9M Mar 5 10:12 System.map-old
35 >>
36 >> df -h
37 >> /dev/sda1 30M 29M 0 100% /boot
38 >
39 > Please have a look a lost+found and clear the contents. 12k size for a
40 > directory node that should be empty looks a bit too big to me.
41 >
42 > But I recommend to bump that size of the partition up, really. 32M is
43 > so 1990s.
44
45 It is empty. I can delete the dir. but it will not gain me much space.
46 I've move the *-old to a root dir not know and copied just new kernel to
47 /boot
48
49 ll -alh /boot/lost+found/
50 total 13K
51 drwx------ 2 root root 12K Dec 17 2011 .
52 drwxr-xr-x 4 root root 1.0K Mar 5 17:20 ..
53
54 --
55 Thelma