Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to Rhyd6,eyeball08,Wondergirly,bofh,johnstevens77, for Donating to support the site

Ubuntu Linux (20.04) kernel upgrades constrained by /boot size

Seek assistance with all types of tech. - computer, phone, TV, heating controls etc.
malakoffee
Lemon Pip
Posts: 96
Joined: November 4th, 2016, 9:14 pm
Has thanked: 71 times
Been thanked: 34 times

Ubuntu Linux (20.04) kernel upgrades constrained by /boot size

#358449

Postby malakoffee » November 20th, 2020, 2:38 pm

It's got a 30Gb SSD as storage - the boot partition was set to 240 Mbytes by the default Ubuntu installation ( maybe 5 years ago ).

The recent kernel upgrades have been blocked by lack of free space in /boot - requiring 130Mbytes free space to proceed.

Thus, I have been following various suggestions to free up space in /boot - by deleting previous, abandoned, kernel version components.

This time I cannot resolve it using prescribed methods.

It may now be time to buy a new SSD - 120 Gb perhaps and to explicitly configure a much larger /boot partition.

The current(old) SSD is connected to the MoBo by SATA2 . . . . which is probably ancient history by now.

Hopefully a new "SATA3" SSD will be backwards compatible ??

- Buy the SSD
- Use gparted to manually configure
- Clone the old SSD onto the new SSD
. . . . . . what could possibly go wrong ?? . . . . .

JohnB
Lemon Quarter
Posts: 2509
Joined: January 15th, 2017, 9:20 am
Has thanked: 696 times
Been thanked: 1008 times

Re: Ubuntu Linux (20.04) kernel upgrades constrained by /boot size

#358459

Postby JohnB » November 20th, 2020, 2:52 pm

Be aware that UEFI may confuse things over what you are used to. It replaces the good old MBR (master boot record), and really needs a clean disk to do its stuff on

GrahamPlatt
Lemon Quarter
Posts: 2087
Joined: November 4th, 2016, 9:40 am
Has thanked: 1041 times
Been thanked: 842 times

Re: Ubuntu Linux (20.04) kernel upgrades constrained by /boot size

#358460

Postby GrahamPlatt » November 20th, 2020, 2:53 pm

What prescribed methods are you using. Synaptic should do this.
And if you clone the old drive to the new, you'll end up with the same sized boot partition

malakoffee
Lemon Pip
Posts: 96
Joined: November 4th, 2016, 9:14 pm
Has thanked: 71 times
Been thanked: 34 times

Re: Ubuntu Linux (20.04) kernel upgrades constrained by /boot size

#358477

Postby malakoffee » November 20th, 2020, 3:32 pm

Thanks . .

It sounds safer to get the new SSD and do a fresh install of Ubuntu 20.04.1 - manually configuring the partitions at install time.

Then transfer my User Data over once the new SSD is up and running.

UEFI - Thanks, I'm aware of this complication, but otherwise very wary of touching anything to do with it.

Previous attempts to remove redundant component in /boot ( & associated other actions ) :-

- sudo apt autoremove
- initramfs.conf - set COMPRESS=xy
- sudo -apt get purge {linux-image . . (non-current-versions) } <<< often feeding params from grep or whatever

- synaptic
I'm running 5.4.0.53 now, there are still a couple of 52 kernel components visible :-
linux-modules-5.4.0.52-generic . . . . . . with the 53 component also present
linux-image-unsigned-5.4.0.52-generic . . . . . . with NO 53 component present !!

i'm very wary of deleting those as I don't whether 53 can use the older 52 components.

JohnB
Lemon Quarter
Posts: 2509
Joined: January 15th, 2017, 9:20 am
Has thanked: 696 times
Been thanked: 1008 times

Re: Ubuntu Linux (20.04) kernel upgrades constrained by /boot size

#358494

Postby JohnB » November 20th, 2020, 3:55 pm

When I battled too small a partition for /, I used symlinks, but it was a constant struggle. For my Mint 20 done this month, I have on a 120Gb SSD: 500Mb EFI partition, 40Gb partition for /, 20Gb for swap. I keep /home/john on a separate disk (I used to keep just parts of it, and symlink them in, but . files in it get very big, so it seemed best to keep the whole thing separate.

Infrasonic
Lemon Quarter
Posts: 4489
Joined: November 4th, 2016, 2:25 pm
Has thanked: 648 times
Been thanked: 1266 times

Re: Ubuntu Linux (20.04) kernel upgrades constrained by /boot size

#358510

Postby Infrasonic » November 20th, 2020, 4:24 pm

malakoffee wrote:...Hopefully a new "SATA3" SSD will be backwards compatible ??...


Should be fine.
SATA/PCIe/USB et al are all designed to be backwards compatible, as long as there aren't any MB/Chipset oddities.
Might be worth doing a search first to see if there's any known issues there with your MB model number.


Return to “Technology - Computers, TV, Phones etc.”

Who is online

Users browsing this forum: No registered users and 42 guests