With grub2-2.02 /boot on an LVMlv as well as /boot as a directory and rootrf on a LVMlv is supported. These tests verify that grubby supports the configurations. --- test.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/test.sh b/test.sh index d1e027b..a959521 100755 --- a/test.sh +++ b/test.sh @@ -620,6 +620,7 @@ if [ "$testgrub2" == "y" ]; then grub2Test grub2.11 add/g2-1.11 --update-kernel=/boot/new-kernel.img \ --initrd=/boot/new-initrd --boot-filesystem=/boot/ + ### /boot on btrfs ### testing="GRUB2 add kernel with boot on btrfs subvol" grub2Test grub2.15 add/g2-1.15 --add-kernel=/boot/new-kernel.img \ --title='title' \ @@ -653,6 +654,41 @@ if [ "$testgrub2" == "y" ]; then --initrd=/boot/new-initrd \ --boot-filesystem= \ --copy-default + + ### /boot on LVMlv ### + testing="GRUB2 add kernel with boot on LVMlv" + grub2Test grub2.21 add/g2-1.21 --add-kernel=/boot/new-kernel.img \ + --title='title' \ + --boot-filesystem=/boot/ \ + --copy-default + + testing="GRUB2 add initrd with boot on LVMlv" + grub2Test grub2.22 add/g2-1.22 --update-kernel=/boot/new-kernel.img \ + --initrd=/boot/new-initrd --boot-filesystem=/boot/ + + testing="GRUB2 add kernel with rootfs on LVMlv and boot directory" + grub2Test grub2.23 add/g2-1.23 --add-kernel=/boot/new-kernel.img \ + --title='title' \ + --boot-filesystem= \ + --copy-default + + testing="GRUB2 add initrd with rootfs on LVMlv and boot directory" + grub2Test grub2.24 add/g2-1.24 --update-kernel=/boot/new-kernel.img \ + --initrd=/boot/new-initrd --boot-filesystem= + + testing="GRUB2 add kernel and initrd with boot on LVMlv" + grub2Test grub2.25 add/g2-1.25 --add-kernel=/boot/new-kernel.img \ + --title='title' \ + --initrd=/boot/new-initrd \ + --boot-filesystem=/boot/ \ + --copy-default + + testing="GRUB2 add kernel and initrd with rootfs on LVMlv and boot directory" + grub2Test grub2.26 add/g2-1.26 --add-kernel=/boot/new-kernel.img \ + --title='title' \ + --initrd=/boot/new-initrd \ + --boot-filesystem= \ + --copy-default fi fi -- 1.9.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list