resize /boot partition

Marcin Struzak marcin-list at struzak.com
Thu Oct 6 23:25:50 UTC 2005


(Not too many takers on my intial e-mail; I will then break down all my
questions into parts; this is part 1)

FC3/grub: What is the proper procedure to resize (shrink) the /boot
partition?  parted does not like the partition ("Error: Filesystem has
incompatible feature enabled").

I am assuming:

1) boot using the distribution DVD in rescue mode
2) back up /boot
3) I am assuming I will get a Fedora-specifc parted equivalent, that will
let me
    a) unmount /boot
    b) resize on the fly, or blow it away and create another one in its
place
    c) remount /boot
4) run (what?) to reinstall grub in this partition; is it grub-install?
with what options?  my current grub.conf has

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.9-1.667)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-1.667 ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
        initrd /initrd-2.6.9-1.667.img

5) reboot and cross the fingers...

Any comments?

Thanks!

--Marcin




More information about the fedora-list mailing list