grub: fix 83rescue_fm.cfg, 85mediacheck.cfg
Add multiple kernels support and initrd.img support instead full.cz.
This commit is contained in:
parent
d3fb96e122
commit
a10ff3f906
@ -3,5 +3,5 @@ menuentry $"Forensic mode (leave disks alone)" --id 'rescue_forensic' {
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux$linux_suffix /boot/vmlinuz fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ splash=0 showopts @rescue_bootargs@ $EFI_BOOTARGS max_loop=16 forensic hash=@rescue_hash@
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd$linux_suffix /boot/full.cz
|
||||
initrd$linux_suffix /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
|
@ -1,4 +1,6 @@
|
||||
menuentry $"Check this media for defects" --id 'mediachk' {
|
||||
linux$linux_suffix /boot/vmlinuz live @initrd_bootargs@ @stagename@=mediacheck quiet lowmem mediacheck=1 showopts @bootargs@ $EFI_BOOTARGS
|
||||
initrd$linux_suffix /boot/full.cz
|
||||
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
|
||||
linux$linux_suffix /boot/vmlinuz$KFLAVOUR live @initrd_bootargs@ @stagename@=mediacheck quiet lowmem mediacheck=1 showopts @bootargs@ $EFI_BOOTARGS
|
||||
echo $"Loading initial ramdisk ..."
|
||||
initrd$linux_suffix /boot/@initrd@$KFLAVOUR.@initrd_ext@
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user