What to do if /boot is too small

if /boot is too small, try these steps to move it to the root partition

# create copy of /boot on root partition
mkdir /boot2
rsync -a /boot/ /boot2/
umount /boot
rmdir /boot
mv /boot2 /boot

# remove /boot entry from /etc/fstab
$EDITOR /etc/fstab

# install linux-image-amd64 to have all initrd tools installed
apt-get install linux-image-amd64

# create all initrd if some are missing (look at installed stuff under /boot)
# update-initramfs -k VERSION -c
update-initramfs -k all -u

# update/re-install grub 
update-grub
grub-install '(hd0)'

# check /boot/grub/grub.cfg

-- CarstenAulbert - 03 Sep 2012

DocumentationForm edit

Title What to do if /boot is too small
Description if /boot is too small, it can be moved to the root partition
Tags boot grub size
Category Admin
This topic: ATLAS/Documentation > ATLAS > GeneralDocumentation > TooSmallBootPartition
Topic revision: 03 Sep 2012, CarstenAulbert
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback