mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-01-04 15:49:57 +01:00
add entries for nomdlvm to the syslinux and grub boot menus
This commit is contained in:
parent
4109b1ea38
commit
23691f03cf
|
|
@ -44,6 +44,12 @@ menuentry "Boot SystemRescue using basic display drivers (nomodeset)" {
|
|||
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
||||
}
|
||||
|
||||
menuentry "Boot SystemRescue, do not activate md raid or lvm (nomdlvm)" {
|
||||
set gfxpayload=keep
|
||||
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% nomdlvm
|
||||
initrd /%INSTALL_DIR%/boot/intel_ucode.img /%INSTALL_DIR%/boot/amd_ucode.img /%INSTALL_DIR%/boot/%ISO_ARCH%/sysresccd.img
|
||||
}
|
||||
|
||||
menuentry "Boot a Linux operating system installed on the disk (findroot)" {
|
||||
set gfxpayload=keep
|
||||
linux /%INSTALL_DIR%/boot/%ISO_ARCH%/vmlinuz archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% findroot
|
||||
|
|
|
|||
|
|
@ -36,6 +36,16 @@ LINUX boot/%ISO_ARCH%/vmlinuz
|
|||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% nomodeset
|
||||
|
||||
LABEL sysresccd-nomdlvm
|
||||
TEXT HELP
|
||||
Do not activate md raid or lvm to prevent any unwanted disk writes,
|
||||
for example for forensics or restoring data from broken media.
|
||||
ENDTEXT
|
||||
MENU LABEL Boot SystemRescue, do not activate md raid or lvm (nomdlvm)
|
||||
LINUX boot/%ISO_ARCH%/vmlinuz
|
||||
INITRD boot/intel_ucode.img,boot/amd_ucode.img,boot/%ISO_ARCH%/sysresccd.img
|
||||
APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% %DEFAULT_KERNEL_PARAM% nomdlvm
|
||||
|
||||
LABEL sysresccd_findroot
|
||||
TEXT HELP
|
||||
Boot from a Linux operating system installed on the disk
|
||||
|
|
|
|||
Loading…
Reference in a new issue