Boot from grml boot (loopback.cffg)

Forum Forums General Tips and Tricks Boot from grml boot (loopback.cffg)

  • This topic has 2 replies, 2 voices, and was last updated Dec 31-2:23 pm by bluedxca93.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #48620
    Member
    bluedxca93

      This is was worked on my computer to boot antix with the grml boot live iso scripts.

      menuentry "Antix" {
      	set gfxpayload=keep
      	linux  /antiX/vmlinuz from=all fromiso=$iso_path 
               initrd /antiX/initrd.gz 
      }

      It has to be placed in a file called loopback.cfg in the /boot/grub/ folder of the antix iso.

      Why?
      I have ubuntu installed to my ssd , now i place my isos of other distributions in /boot/grml of the ssd partiton and then i can boot antix directly from ssd.

      #48632
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        I have this in my grub.cfg from my main antiX install. No need for grml boot.

        menuentry "ISO boot from encrypted partition" {
             echo Boot disk address is: $root
             insmod luks
             cryptomount -u fe4d690dc47a41aca2e8762669267518
             set root=(crypto0)
             set iso='/antiX-test/antiX-21_alpha1_x64-base.iso'
             set bootparms='buuid=fe4d690d-c47a-41ac-a2e8-762669267518 from=all quiet nocheckfs disable=lx'
        
             search -f $iso --set=root
        
             echo ISO root is:          $root
             echo ISO is:               $iso
             echo Boot parms are:       $bootparms
             echo
             loopback loop $iso
             linux (loop)/antiX/vmlinuz fromiso=$iso $bootparms
             initrd (loop)/antiX/initrd.gz
             echo Booting $iso}

        Yes it boots an iso from an encrypted partition!

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #48638
        Member
        bluedxca93
          Helpful
          Up
          0
          ::

          @anticapitalist. Thx for your reply your method seems far advandced compared to what i did to get it running ! Very great that it is able to boot from an iso image.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.