Not enough space in /boot. Is there a way I can enlarge the /boot partition into the beginning of the /usr partition without having to re-install?

Bug #595779 reported by Dave Senger on 2010-06-18

This bug report was converted into a question: question #115488: Not enough space in /boot. Is there a way I can enlarge the /boot partition into the beginning of the /usr partition without having to re-install?.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

I think problem is I used the same partitions I originally made for an old Red Hat installation, which worked just fine for Ubuntu 9.10. /boot is ~107MB, and appears to be too small. I was able to boot my new 10.04 install, but when I ran Update Manager, it reported ~19MB too little space in /boot, and suggested I empty Trash and run "sudo apt-get clean", which I did to no avail. The very next partition on the disk is 32GB, which I have mounted at /usr (ext4). Is there a way I can enlarge the /boot partition into the beginning of the /usr partition without having to re-install?

Bug #515025 is close, but not exactly right. See info in summary. Can I enlarge /boot into adjacent /usr without having to re-install? On installation, I got:

Error while removing packages: E: Sub-process /usr/bin/dpkg returned an error code (1)

No packages were listed as broken. Error advised to "Look for details in /var/log/syslog." Install may fail. Look for newer versions of installer image or report problem.

On 1st attempted boot, I got a long list of similar errors, ending with:

[3027.152175] end-request: IO error, dev sr2, sector 510608.

I removed 10.04 install CD and booted normally, so GRUB must be OK in MBR.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: initramfs-tools 0.92bubuntu78
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
AptOrdering:
 flashplugin-installer: Install
 initramfs-tools: Configure
 flashplugin-installer: Configure
Architecture: i386
Date: Thu Jun 17 23:59:44 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitecture: all
SourcePackage: initramfs-tools
Title: package initramfs-tools 0.92bubuntu78 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Dave Senger (dave14922004) wrote :
Jean-Baptiste Lallement (jibel) wrote :

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

description: updated
summary: - I think problem is I used the same partitions I originally made for an
- old Red Hat installation, which worked just fine for Ubuntu 9.10. /boot
- is ~107MB, and appears to be too small. I was able to boot my new 10.04
- install, but when I ran Update Manager, it reported ~19MB too little
- space in /boot, and suggested I empty Trash and run "sudo apt-get
- clean", which I did to no avail. The very next partition on the disk is
- 32GB, which I have mounted at /usr (ext4). Is there a way I can
- enlarge the /boot partition into the beginning of the /usr partition
- without having to re-install?
+ Not enough space in /boot. Is there a way I can enlarge the /boot
+ partition into the beginning of the /usr partition without having to re-
+ install?
Changed in initramfs-tools (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers