boot partition too small

Chris Murphy lists at colorremedies.com
Mon Feb 16 06:18:43 UTC 2015


On Sun, Feb 15, 2015 at 9:44 PM, Stuart McGraw <smcg4191 at frii.com> wrote:
> Also, I hadn't realized the boot partition could be anywhere,
> I somehow thought it had to be the first partition.

GRUB2 can find and load /boot/vmlinuz+initramfs pretty much anywhere:
primary or extended partitions, on an LVM LV (the installer currently
won't let you create such a layout with /boot on an LV but GRUB
supports it), even on say XFS, on an LVM LV, on degraded md raid5/6;
even btrfs raid0/1/10; and even LUKS encrypted volumes. It doesn't
support integrated LVM raid or LVM thinp volumes, or btrfs raid56 yet.
That's the short list.


> So I think
> I'll try to chop a 500MB partition off the end of my main system partition
> (which is most of the disk) and it will be available
> if I want to try moving the boot partition to it sometime in the
> future.

Doable. And if you wanted, you could make the orphaned 200MB partition
into an LVM PV, and then use vgextend to add it to your existing VG.
It's probably not worth the hassle for just 200MB, but just saying, it
can be done.



>
> Below for comparison is my (pre-upgrade) /boot partition.  I am
> still curious about the *-0-rescue-* kernel.  It is quite large.
> Is it really necessary?

If you delete it I'm pretty sure new-kernel-pkg causes one to be
rebuilt the next time there's a kernel update. What big is the rescue
initramfs, it's about 3x larger because it's a nohostonly initramfs.



-- 
Chris Murphy


More information about the users mailing list