funtooz Posted July 17, 2017 Report Share Posted July 17, 2017 Hello everyoneI need to configure grub2 to boot an iso image directly from disk, specifically systemrescuecd, try configuring from /etc/boot.conf, but it does not work, so it works I have to manually edit /boot/grub/grub.cfg and then it works :Menuentry "SystemRescueCD" { Insmod part_gpt Insmod lvm Insmod ext2 Set root = 'lvm / vg0-root' Set isofile = / systemrescuecd-x86-5.0.2.iso Loopback loop $ {isofile} Linux (loop) / isolinux / rescue64 setkmap = en docache isoloop = $ {isofile} Initrd (loop) /isolinux/initram.igz}Is there any way to configure the above, in /etc/boot.conf, so that when doing boot-update I do not delete the entry of systemrescuecd.?Thank you. Greetings. Link to comment Share on other sites More sharing options...
0 cardinal Posted July 17, 2017 Report Share Posted July 17, 2017 Put the entry in /boot/grub/custom.cfg and it won't be deleted. Link to comment Share on other sites More sharing options...
Question
funtooz
Hello everyone
I need to configure grub2 to boot an iso image directly from disk, specifically systemrescuecd, try configuring from /etc/boot.conf, but it does not work, so it works I have to manually edit /boot/grub/grub.cfg and then it works :
Menuentry "SystemRescueCD" {
Insmod part_gpt
Insmod lvm
Insmod ext2
Set root = 'lvm / vg0-root'
Set isofile = / systemrescuecd-x86-5.0.2.iso
Loopback loop $ {isofile}
Linux (loop) / isolinux / rescue64 setkmap = en docache isoloop = $ {isofile}
Initrd (loop) /isolinux/initram.igz
}
Is there any way to configure the above, in /etc/boot.conf, so that when doing boot-update I do not delete the entry of systemrescuecd.?
Thank you. Greetings.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts