Announcement

Collapse
No announcement yet.

Boot ISO from harddisk

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    OK so if "/Data" is a mount point, how can GRUB know that?

    Note I said I put my ISOs that I boot to in the grub folder.

    I suggest you remove the "/Data" part and try again.

    Code:
    [COLOR=#333333]menuentry 'Disco' {[/COLOR]
    [COLOR=#333333]set isofile="/Downloads/Linux/disco-desktop-amd64.iso"[/COLOR]
    [COLOR=#333333]loopback loop (hd0,msdos3)$isofile[/COLOR]
    [COLOR=#333333]linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile} quiet splash[/COLOR]
    [COLOR=#333333]initrd (loop)/casper/initrd[/COLOR]
    [COLOR=#333333]}[/COLOR]
    EDITED to remove errant space.
    Last edited by oshunluvr; Feb 18, 2019, 01:08 PM.

    Please Read Me

    Comment


      #17
      ok, thank you all for your efforts. I spent the last hour looking for grub 2 error "disk loop not found" and "invalid file name".
      I have found nothing really useful...except for maybe this:

      http://pendrivelinux.com/downloads/m...linux/grub.cfg

      But I am not sure how that would work with me as I don't know how to tell grub where my disco iso is in this scenario.

      There was also this:
      https://askubuntu.com/questions/5908...-the-hard-disk

      but that seems a bit vague.

      As this issue is slowly pi... me off, but is not really crucial, I would be very happy if you could stick with me here with some suggestions. But understand if you don't.

      Cheers
      F
      HP Pavilion dv6 core i7 (Main)
      4 GB Ram
      Kubuntu 18.10

      Comment


        #18
        You don't say if you tried my suggestion.

        I just d/l'd the disco iso, added it to my grub.cfg and it booted right up, so the problem isn't with the ISO.

        Please Read Me

        Comment


          #19
          Right, sorry. Yes I tried your suggestion.

          Where did you download your ISO to? Which partition...folder?
          HP Pavilion dv6 core i7 (Main)
          4 GB Ram
          Kubuntu 18.10

          Comment


            #20
            Mine is in my grub subvolume, but that doesn't apply to your case.

            I just want to verify a couple things:

            #1 you're using;

            initrd (loop)/casper/initrd

            and NOT

            initrd (loop)/casper/initrd.lz

            The "lz" extension is not used in the 19.04 ISO.

            #2 You are mounting /dev/sda3 at /Data and it has folders in it "/Downloads/Linux" and that is where you are storing the disco ISO.

            #3 I just noticed an extra space creeped into my above post. Verify there's no space between isofile= and the beginning "


            I think you already confirmed #2 and if you were doing #1, it would start booting, then crash with a kernel panic.

            Please Read Me

            Comment


              #21
              Also, none of the examples I have found have the brackets around isofile. I.e;

              $isofile

              instead of

              ${isofile}

              I doubt it makes a difference, but you never know.

              Please Read Me

              Comment


                #22
                Yep, it was the space between isofile= and the beginning "!!

                Thanks! All good!
                HP Pavilion dv6 core i7 (Main)
                4 GB Ram
                Kubuntu 18.10

                Comment


                  #23
                  Thank goodness! It took a few looks for me to spot it. Sorry 'bout that!

                  Please Read Me

                  Comment


                    #24
                    Originally posted by oshunluvr View Post
                    Thank goodness! It took a few looks for me to spot it. Sorry 'bout that!
                    No Worries from here. Just glad it worked at all from a communication side. )
                    HP Pavilion dv6 core i7 (Main)
                    4 GB Ram
                    Kubuntu 18.10

                    Comment

                    Working...
                    X