i think i might have something that works here...
This commit is contained in:
parent
5ac4f35c93
commit
9558ac9d80
@ -17,8 +17,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
|
linux (loop)/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd img_dev=${imgdevpath} img_loop=${isofile} earlymodules=loop
|
||||||
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
|
||||||
|
Reference in New Issue
Block a user