resizing /boot partition in order to upgrade to Gusty
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
resizing /boot partition in order to upgrade to Gusty
Hi all,
I've been looking to upgrade from Feisty to Gusty lately but I've constantly had the problem of my /boot partition being small. Basically, during the upgrade process, I get a message saying that my /boot partition is small then the upgrade process is aborted. I was wondering if there's a way around this. My partiton looks like so:
----
Filesystem Size Used Avail Use% Mounted on
I have backed up all my data should smth go wrong during the process. Also I dont think my partitioning is the best as you can see above. Is there a standard way of creating partitions in linux(Ubuntu)?
Any help appreciated.
PS. I fear that deleting stuff from /boot could lead to my system not being able to boot up since grub loads the boot-image from /boot. Please correct me if my thinking is wrong.
96MiB (did I read that right?!) is certainly very small. You clearly wanted the max for your home partition. It would give a clearer picture if you "sudo fdisk -l".
You need to create a whole new partition for boot. You can move the existing files to the new partition, edit fstab and menu.lst to reflect the change, or just do a clean install.
In the clean install, you can use the expert mode to protect your /home partition from being overwritten if you prefer.
Something was niggling me last night and this am I got it... I associate /dev/mapper devices with encrypted or LVM volumes... but how did you get /boot into LVM (never mind encrypted) or is this something else?
Yeah grunty was an odd-ball that way. I had to resize up to 100 Meg even though there should have been plenty of free space.
Seems you might have a few old kernels in there. If you don't want to clean up by hand use synaptic, and look for "linux-image". Click on each of the old ones, and select "Mark for complete removal". Apply the changes, and they're gone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.