Run out of space on /boot - (woe is me!)

Hi Everyone,

Is there anyway of getting around this apart from reinstalling?

Recently my update has been failing and I have only just been able to look into it. It is something to do with the kernel. I have found that it requires 12mb of space and I only appear to have 11 mb left.

My understanding apparently incorrectly was that /boot size did not change, so 100 mb would cover it? If there is another way of increasing the space on this partition without re installing, please let me know.

nappy@linux-zimh:~> df -h Filesystem      
Size  Used Avail Use% Mounted on 
/dev/sda7        15G  5.7G  8.2G  42% / dev
tmpfs        1.6G   16K  1.6G   1% /dev 
tmpfs           1.6G   88K  1.6G   1% /dev/shm 
tmpfs           1.6G  3.7M  1.6G   1% /run 
tmpfs           1.6G     0  1.6G   0% /sys/fs/cgroup 
tmpfs           1.6G  3.7M  1.6G   1% /var/run 
tmpfs           1.6G  3.7M  1.6G   1% /var/lock 
/dev/sda6        94M   83M  4.7M  95% /boot 
/dev/sda9       170G   80G   82G  50% /mydisk 
/dev/sda8       246G   36G  210G  15%  /home              

Thank you for your help in advance.

Regards

Nappy

Disable multi kernel support and delete all but your current working kernel

You forgot to tell which version of openSUSE this is about.

Not very many people have a separate /boot here and thus will not run into your problem. (But of course there can be reasons to have a separate /boot).

BTW, I run openSUSE 13.1 and

boven:~ # du -hs /boot
83M     /boot
boven:~ # 

and it has two kernels atm (the default IIRC).
And one kernl:

boven:/boot # du -h *11-desktop*
2.6M    System.map-3.11.10-11-desktop
140K    config-3.11.10-11-desktop
22M     initrd-3.11.10-11-desktop
260K    symvers-3.11.10-11-desktop.gz
4.0K    sysctl.conf-3.11.10-11-desktop
5.8M    vmlinux-3.11.10-11-desktop.gz
5.0M    vmlinuz-3.11.10-11-desktop

Which, when added up, is about 36M.

It looks as if you have also one older kernel kept (which is the default IIRC). You could use YaST > Software > Software Management to remove it. Searchh for kernel-desktop (my case, you can have a different kernel-…), select it and use the Verion tab below. Then you will have at least the space for the next kernel update.

Thank you, but I don’t know how to do that.

Really sorry, pardon my manners I should know better. OpenSuse 13.1

Yast Software Management

Enter “kernel” in the search box. Click “search”

Click the “Versions” tab.

Then, on the listed versions, you can delete them. As I recall, the first time you click, it is flagged for re-install. A second click flags for deletion. Make sure that you do not delete the current kernel.

On 2014-06-03 11:16, caf4926 wrote:
>
> Disable multi kernel support and delete all but your current working
> kernel

Or, uninstall the new bootsplash thingy, plymouth.
YaST, search for packages by that name, mark for removal, and taboo it.

You will probably need to also run “mkinitrd” in a terminal as root.

That package adds a lot to the initrd image (doubles), and if you have
several kernel versions, more.

Of course, booting is not so nice then… but I like those cute text
messages flowing. :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Before I press the wrong buttons and get into more of a state, please see screenshot below:

(Not able to insert picture)
See here:
https://www.flickr.com/photos/39355512@N00/14151896568/

Do I want a red ‘x’ in the two bottom ones? Then accept?

Thanks.

On 2014-06-03 18:56, nappy501 wrote:

> (Not able to insert picture)

We use susepaste.org

> See here:
> https://www.flickr.com/photos/39355512@N00/14151896568/
>
> Do I want a red ‘x’ in the two bottom ones? Then accept?

Correct.

Or… you could simply run “purge-kernels” (try first with “–test”). It
should have run automatically, actually.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

By default openSUSE keeps 2 kernels but you have to supply room for 3.
How it works:

  1. assuming you have 2 installed a new kernel arrives
  2. You now have 3 kernels
  3. You successfully boot to the new kernel and then the oldest kernel is emoved leaving you again with 2 kenels

Having multiple kernels helps becaues you can always fall back to an older one if a newer gives you problems

You need more then 100 meg now I’d estimate at minimum 200 meg

You can control the multi-kernels here

/etc/zypp/zypp.conf

On 2014-06-03 19:26, gogalthorp wrote:

> You need more then 100 meg now I’d estimate at minimum 200 meg

I have 200, and it is barely enough if plymouth is installed. I had to
remove it.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Thank you all so much for your help. I think it is all sorted now. I ‘x’ the two bottom ones ‘accepted’. I was then able to run the update and it worked this time. I have checked the /boot partition and it is at 83M. I don’t want to change the size of my partitions before the next OpenSuse comes out, so I think I will have to keep only the last kernel.

I will read through all the replies again to see how to control multi-kernels, I am not sure I got it on first reading.

Regards

Nappy

Ok, fine yoou sorted it out. And when it is time to rethink abbout partition sizes for your next openSUSE version installation, also rethink about why you wanted a separate /boot file system in the first place.