Jump to content

Photo

Boot iso image from /etc/boot.conf


1 reply to this topic

#1
funtooz

funtooz

    Newbie

  • Members
  • Pip
  • 1 posts
 
 

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.



#2
cardinal

cardinal

    Advanced Member

  • Members
  • PipPipPip
  • 252 posts

Put the entry in /boot/grub/custom.cfg and it won't be deleted. 





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users