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.
Allocating More Space to /boot
-
- New to forums
- Posts: 1
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Jul 10, 2015 2:51 pm
Re: Allocating More Space to /boot
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.
Before doing this you should be sure to backup any important data.
Re: Allocating More Space to /boot
Hey, Dongus! I remember shaking your hand at Shanghai Garden.
Re: Allocating More Space to /boot
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.
Re: Allocating More Space to /boot
Yes, you could.
Newer Ubuntu 14.04 and 16.04 installs don't have this problem, since they use a single partition.
Newer Ubuntu 14.04 and 16.04 installs don't have this problem, since they use a single partition.
-
- This is my homepage
- Posts: 97
- Joined: Wed Dec 02, 2015 10:56 pm
Re: Allocating More Space to /boot
Actually I still have this problem on Ubuntu 16.04. Each time I update I need to delete older kernel images.Edge100x wrote:Yes, you could.
Newer Ubuntu 14.04 and 16.04 installs don't have this problem, since they use a single partition.
Re: Allocating More Space to /boot
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).
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).
-
- This is my homepage
- Posts: 97
- Joined: Wed Dec 02, 2015 10:56 pm
Re: Allocating More Space to /boot
hmm aren't I already using your premade 16.04?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).
Re: Allocating More Space to /boot
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.