Re: [gentoo-user] Re: No room left on /boot
> You don't need a /boot partition ;-) > > /boot is just a directory here. Worked like that for years and years. > > Yeah you just need to have a partitiion, filesystem and hardware that grub can see, right? This is practically everything tho, eg for filesystems; https://www.gnu.org/software/grub/manual/grub.html#Filesystems
[gentoo-user] Re: No room left on /boot
On 03/05/2017 11:33 PM, the...@sys-concept.com wrote: When I installed the system I followed standard, installation instructions, and allocated disk space accordingly in Gentoo installation instruction manual. I think it wasn't enough. What I my options to reduce kernel size or increase /boot partition? You don't need a /boot partition ;-) /boot is just a directory here. Worked like that for years and years.
Re: [gentoo-user] Re: No room left on /boot
On 03/06/2017 12:05 AM, Kai Krakow wrote: > Am Sun, 5 Mar 2017 14:33:03 -0700 > schrieb the...@sys-concept.com: > >> After upgrading my machine. I rebooted, everything went as planned. >> So I decided to upgrade to a newer kernel. I was using: >> linux-3.10.7-gentoo-r1 >> >> and decided to switch to: >> linux-4.9.6-gentoo-r1 >> >> I've done kernel upgrade many, many times so it was a routine >> procedure. When I re-booted the last thing on the screen were letter: >> >> "GRUB" and blank screen, not even a kernel selection. >> I scramble, boot strap the system and copied two file in /boot/ >> kernel-old --> kernel-current >> System.map-old --> System.map-current >> >> I was under impression that something is wrong with the current >> (newest kernel). But it seems to me I run out of room on the /boot >> partition. >> >> ll -h /boot/ >> total 17M >> lrwxrwxrwx 1 root root1 Dec 17 2011 boot -> . >> -rw-r--r-- 1 root root 109K Mar 5 10:20 config-current >> -rw-r--r-- 1 root root 90K Mar 5 10:13 config-old >> drwxr-xr-x 5 root root 1.0K Mar 5 11:48 grub >> -rw-r--r-- 1 root root 5.5M Mar 5 11:03 kernel-current >> -rw-r--r-- 1 root root 5.5M Mar 5 10:12 kernel-old >> drwx-- 2 root root 12K Dec 17 2011 lost+found >> -rw-r--r-- 1 root root 2.9M Mar 5 11:03 System.map-current >> -rw-r--r-- 1 root root 2.9M Mar 5 10:12 System.map-old >> >> df -h >> /dev/sda130M 29M 0 100% /boot > > Please have a look a lost+found and clear the contents. 12k size for a > directory node that should be empty looks a bit too big to me. > > But I recommend to bump that size of the partition up, really. 32M is > so 1990s. It is empty. I can delete the dir. but it will not gain me much space. I've move the *-old to a root dir not know and copied just new kernel to /boot ll -alh /boot/lost+found/ total 13K drwx-- 2 root root 12K Dec 17 2011 . drwxr-xr-x 4 root root 1.0K Mar 5 17:20 .. -- Thelma
[gentoo-user] Re: No room left on /boot
Am Sun, 5 Mar 2017 14:33:03 -0700 schrieb the...@sys-concept.com: > After upgrading my machine. I rebooted, everything went as planned. > So I decided to upgrade to a newer kernel. I was using: > linux-3.10.7-gentoo-r1 > > and decided to switch to: > linux-4.9.6-gentoo-r1 > > I've done kernel upgrade many, many times so it was a routine > procedure. When I re-booted the last thing on the screen were letter: > > "GRUB" and blank screen, not even a kernel selection. > I scramble, boot strap the system and copied two file in /boot/ > kernel-old --> kernel-current > System.map-old --> System.map-current > > I was under impression that something is wrong with the current > (newest kernel). But it seems to me I run out of room on the /boot > partition. > > ll -h /boot/ > total 17M > lrwxrwxrwx 1 root root1 Dec 17 2011 boot -> . > -rw-r--r-- 1 root root 109K Mar 5 10:20 config-current > -rw-r--r-- 1 root root 90K Mar 5 10:13 config-old > drwxr-xr-x 5 root root 1.0K Mar 5 11:48 grub > -rw-r--r-- 1 root root 5.5M Mar 5 11:03 kernel-current > -rw-r--r-- 1 root root 5.5M Mar 5 10:12 kernel-old > drwx-- 2 root root 12K Dec 17 2011 lost+found > -rw-r--r-- 1 root root 2.9M Mar 5 11:03 System.map-current > -rw-r--r-- 1 root root 2.9M Mar 5 10:12 System.map-old > > df -h > /dev/sda130M 29M 0 100% /boot Please have a look a lost+found and clear the contents. 12k size for a directory node that should be empty looks a bit too big to me. But I recommend to bump that size of the partition up, really. 32M is so 1990s. -- Regards, Kai Replies to list-only preferred.