443 |
grub2Test grub2.1 add/g2-1.1 --add-kernel=/boot/new-kernel.img \ |
grub2Test grub2.1 add/g2-1.1 --add-kernel=/boot/new-kernel.img \ |
444 |
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
445 |
--copy-default |
--copy-default |
446 |
grub2Test grub2.1 add/g2-1.6 --add-kernel=/boot/new-kernel.img \ |
case $ARCH in |
447 |
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
aarch64) |
448 |
--copy-default --efi |
grub2Test grub2.1 add/g2-1.1 --add-kernel=/boot/new-kernel.img \ |
449 |
|
--title='title' \ |
450 |
|
--initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
451 |
|
--copy-default --efi |
452 |
|
;; |
453 |
|
*) |
454 |
|
grub2Test grub2.1 add/g2-1.6 --add-kernel=/boot/new-kernel.img \ |
455 |
|
--title='title' \ |
456 |
|
--initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
457 |
|
--copy-default --efi |
458 |
|
;; |
459 |
|
esac |
460 |
grub2Test grub2.6 add/g2-1.7 --add-kernel=/boot/new-kernel.img \ |
grub2Test grub2.6 add/g2-1.7 --add-kernel=/boot/new-kernel.img \ |
461 |
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
462 |
--copy-default --efi |
--copy-default --efi |
471 |
grub2Test grub2.5 add/g2-1.5 --add-kernel=/boot/new-kernel.img \ |
grub2Test grub2.5 add/g2-1.5 --add-kernel=/boot/new-kernel.img \ |
472 |
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
--title='title' --initrd=/boot/new-initrd --boot-filesystem=/boot/ \ |
473 |
--copy-default |
--copy-default |
474 |
|
grub2Test grub2.12 add/g2-1.12 \ |
475 |
|
--add-kernel=/boot/vmlinuz-2.6.38.8-32.fc15.x86_64 \ |
476 |
|
--title='Linux, with Fedora 2.6.38.8-32.fc15.x86_64' \ |
477 |
|
--devtree='/boot/dtb-2.6.38.8-32.fc15.x86_64/foobarbaz.dtb' \ |
478 |
|
--initrd=/boot/initramfs-2.6.38.8-32.fc15.x86_64.img \ |
479 |
|
--boot-filesystem=/boot/ --copy-default --efi |
480 |
|
grub2Test grub2.13 add/g2-1.13 \ |
481 |
|
--add-kernel=/boot/vmlinuz-2.6.38.8-32.fc15.x86_64 \ |
482 |
|
--title='Linux, with Fedora 2.6.38.8-32.fc15.x86_64' \ |
483 |
|
--devtree='/boot/dtb-2.6.38.8-32.fc15.x86_64/foobarbaz.dtb' \ |
484 |
|
--initrd=/boot/initramfs-2.6.38.8-32.fc15.x86_64.img \ |
485 |
|
--boot-filesystem=/boot/ --copy-default --efi |
486 |
|
|
487 |
testing="GRUB2 add initrd" |
testing="GRUB2 add initrd" |
488 |
grub2Test grub2.2 add/g2-1.4 --update-kernel=/boot/new-kernel.img \ |
grub2Test grub2.2 add/g2-1.4 --update-kernel=/boot/new-kernel.img \ |