On 03/05/2017 03:57 PM, Dale wrote: > the...@sys-concept.com wrote: >> On 03/05/2017 02:33 PM, the...@sys-concept.com wrote: >>> 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. >>> >> [snip] >>> -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 >> [snip] [snip] > > > I'm pretty sure grub uses that file. I've never tested the theory. > > Why such a small /boot? My OS is installed on a fairly small 160GB hard > drive. I made /boot about 400MBs and later wished it was bigger. I > later wanted to put a ISO image there for sysrescue. If I were to set > up a new system now with that same size or larger drive, I'd likely make > /boot 1GB and maybe even 2GBs in size. The amount of space is not that > large compared to the size of the hard drive. If one is pressed to save > space that bad on a system, maybe they need a larger drive?? > > You mentioned following a guide on that size. I have to ask, just how > old was that guide? I looked at the Gentoo install guide, it suggests > 128MBs for /boot, which I think is to small. Whatever guide you were > using, it must be old and need some updating. I'm not sure I'd follow > that one until it was. > > Dale > > :-) :-)
The System.map is needed, especially by VirtualBox so getting rid of this file is not a good idea. Yes, now it the /boot partition is 128MB but back few years ago was 30MB If I'll be redoing it I'll make it 1GB -- Thelma