cleaned up boot entries in relchk, added todo for bootsync

This commit is contained in:
brent s. 2021-01-20 23:55:17 -05:00
parent 9558ac9d80
commit deb24afe44
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
3 changed files with 21 additions and 19 deletions

3
TODO
View File

@ -2,6 +2,3 @@
- GPG sig checking - GPG sig checking
- incorporate bootsync integration - incorporate bootsync integration
- config file... i think i unfortunately need it - config file... i think i unfortunately need it
- insmod loopback before setting root

fallback works but main one doesn't for bootsync... main one keeps using grub.cfg from /boot/grub instead of /mnt/boot1/grub (but fallback doesn't for some reason)

View File

@ -9,20 +9,30 @@ exec tail -n +3 $0
submenu 'Arch Install ISO' { submenu 'Arch Install ISO' {


menuentry 'Default Options' { menuentry 'Default Options' {
search --no-floppy --fs-uuid --set=root {{ disk_uuid }} load_video
insmod gzio
insmod part_gpt
insmod part_msdos
insmod ext2
insmod loopback
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
set isofile='{{ iso_path }}' set isofile='{{ iso_path }}'
probe -u $root --set=imgdevuuid set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
set imgdevpath="/dev/disk/by-uuid/$imgdevuuid"
loopback loop (${root})/${isofile} loopback loop (${root})/${isofile}
linux (loop)/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=$imgdevpath img_loop=${isofile} earlymodules=loop linux (loop)/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=$imgdevpath img_loop=${isofile} earlymodules=loop
initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/initramfs-linux.img initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/initramfs-linux.img
} }


menuentry 'Accessibility mode' { menuentry 'Accessibility mode' {
search --no-floppy --fs-uuid --set=root {{ disk_uuid }} load_video
insmod gzio
insmod part_gpt
insmod part_msdos
insmod ext2
insmod loopback
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
set isofile='{{ iso_path }}' set isofile='{{ iso_path }}'
probe -u $root --set=imgdevuuid set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
set imgdevpath="/dev/disk/by-uuid/$imgdevuuid"
loopback loop (${root})/${isofile} loopback loop (${root})/${isofile}
linux (loop)/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=$imgdevpath img_loop=${isofile} earlymodules=loop accessibility=on linux (loop)/arch/boot/x86_64/vmlinuz-linux archisobasedir=arch img_dev=$imgdevpath img_loop=${isofile} earlymodules=loop accessibility=on
initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/initramfs-linux.img initrd (loop)/arch/boot/intel-ucode.img (loop)/arch/boot/amd-ucode.img (loop)/arch/boot/x86_64/initramfs-linux.img

View File

@ -32,8 +32,7 @@ submenu 'System Rescue CD' {
insmod loopback insmod loopback
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
set isofile='{{ iso_path }}' set isofile='{{ iso_path }}'
probe -u ${root} --set=imgdevuuid set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
set imgdevpath="/dev/disk/by-uuid/${imgdevuuid}"
loopback loop (${root})/${isofile} loopback loop (${root})/${isofile}
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop copytoram linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop copytoram
initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
@ -48,8 +47,7 @@ submenu 'System Rescue CD' {
insmod loopback insmod loopback
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
set isofile='{{ iso_path }}' set isofile='{{ iso_path }}'
probe -u ${root} --set=imgdevuuid set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
set imgdevpath="/dev/disk/by-uuid/${imgdevuuid}"
loopback loop (${root})/${isofile} loopback loop (${root})/${isofile}
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop checksum linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop checksum
initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
@ -64,8 +62,7 @@ submenu 'System Rescue CD' {
insmod loopback insmod loopback
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
set isofile='{{ iso_path }}' set isofile='{{ iso_path }}'
probe -u ${root} --set=imgdevuuid set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
set imgdevpath="/dev/disk/by-uuid/${imgdevuuid}"
loopback loop (${root})/${isofile} loopback loop (${root})/${isofile}
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop nomodeset linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop nomodeset
initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
@ -80,8 +77,7 @@ submenu 'System Rescue CD' {
insmod loopback insmod loopback
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
set isofile='{{ iso_path }}' set isofile='{{ iso_path }}'
probe -u ${root} --set=imgdevuuid set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
set imgdevpath="/dev/disk/by-uuid/${imgdevuuid}"
loopback loop (${root})/${isofile} loopback loop (${root})/${isofile}
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop findroot linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop findroot
initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img
@ -96,8 +92,7 @@ submenu 'System Rescue CD' {
insmod loopback insmod loopback
search --no-floppy --fs-uuid {{ disk_uuid }} --set=root search --no-floppy --fs-uuid {{ disk_uuid }} --set=root
set isofile='{{ iso_path }}' set isofile='{{ iso_path }}'
probe -u ${root} --set=imgdevuuid set imgdevpath="/dev/disk/by-uuid/{{ disk_uuid }}"
set imgdevpath="/dev/disk/by-uuid/${imgdevuuid}"
loopback loop (${root})/${isofile} loopback loop (${root})/${isofile}
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop break linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop break
initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img initrd (loop)/sysresccd/boot/intel_ucode.img (loop)/sysresccd/boot/amd_ucode.img (loop)/sysresccd/boot/x86_64/sysresccd.img