Allocating More Space to /boot

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
Dongus
New to forums
New to forums
Posts: 1
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jul 10, 2015 2:51 pm

Allocating More Space to /boot

Post by Dongus »

Hi,
So when I try and upgrade Ubuntu it tells be there is not enough space left in /boot, I have to delete the files there everytime I upgrade my OS. So if anyone could tell me how to allocate a a GiB of space from /home to /boot that would be great.

Thanks
-Dongus

P.S.
John if you are reading this I am the guy who held the door open for you at the restaurent in China Town in Seattle.
User avatar
Spray
Former staff
Former staff
Posts: 630
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

Re: Allocating More Space to /boot

Post by Spray »

One way of doing this in our system is to boot your VDS using the GParted CD via the Server Control tab. Once that's booted, you can use the GUI to shrink the /home or / partition, move it to the right, then expand the /boot partition. This process will take quite a while because of the shift right of the partition, which moves all of the data over slightly.

Before doing this you should be sure to backup any important data.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Allocating More Space to /boot

Post by Edge100x »

Hey, Dongus! I remember shaking your hand at Shanghai Garden.
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Allocating More Space to /boot

Post by hakkuo23 »

Couldn't you remove old kernels from the boot partition to free up space? At least that's what I do when I run into this issue.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Allocating More Space to /boot

Post by Edge100x »

Yes, you could.

Newer Ubuntu 14.04 and 16.04 installs don't have this problem, since they use a single partition.
It'sRandinator
This is my homepage
This is my homepage
Posts: 97
Joined: Wed Dec 02, 2015 10:56 pm

Re: Allocating More Space to /boot

Post by It'sRandinator »

Edge100x wrote:Yes, you could.

Newer Ubuntu 14.04 and 16.04 installs don't have this problem, since they use a single partition.
Actually I still have this problem on Ubuntu 16.04. Each time I update I need to delete older kernel images.
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Allocating More Space to /boot

Post by Edge100x »

I meant when using our premade images here. Our current premade Ubuntu 16.04 image only has a single partition (and has since June). It appears that I was mistaken about our default partition configuration for 14.04, but I also remember that it has less of a problem with old cruft taking significant space.

The command to clean up old kernels should be given after updating using apt-get. It is:

sudo apt-get autoremove

However, it may not work if you've already gotten the space error. If you do, just manually delete anything that doesn't match the running kernel version and newer (you can see the kernel version with uname -r).
It'sRandinator
This is my homepage
This is my homepage
Posts: 97
Joined: Wed Dec 02, 2015 10:56 pm

Re: Allocating More Space to /boot

Post by It'sRandinator »

Edge100x wrote:I meant when using our premade images here. Our current premade Ubuntu 16.04 image only has a single partition (and has since June).
hmm aren't I already using your premade 16.04?
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Allocating More Space to /boot

Post by Edge100x »

It'sRandinator, I can't tell what you are running or when you installed it from here. You should be able to tell what you are running by looking at the "Server control" page in the control panel, and when you installed it based on your memory of when you clicked it.
Post Reply