Problem installing kubuntu from iso in hard disk drive












0















I am trying to install Kubuntu 16.04 from hard drive and have followed the instructions from here and here.



Well I have to remove the extension from both vmlinuz and initrd, I had some question about the parameters but anyway it seems to work up to a point.



Unfortunately my process is stuck to a point where I get a message saying it could not find the ISO file. This seems strange enough since it clearly shows messages from the kernel. So, I guess it actually reads the files from the ISO file (where the previous file reside anyway). The actual message is this one (it's obviously a photo and not a clear one too):
screenshot



Acccording to this answer my system is halted at the stage of mounting my root filesystem which in my case means the ISO file I guess.



The message:




...can't open /dev/sr0: No medium found




refers to my DVD drive and it's something like a bug (I have found some information about this one but lost the source to provide it here) I guess which I am not sure it has something to do with the actual problem here.



I have taken some action suggested elsewhere like booting into windows and using shutdown /s to have a clean windows system (although I am not sure I need a clean window system in this case anyway).



So, my questions are:




  1. is why does this behaviour occur in the first place (why do I encounter a mount problem) since the vmlinuz and initrd seems to be found.

  2. How do I proceed from here. Is there some option I can pass to read the actual ISO file for example?


My default system is an Kubuntu 14.04 32bit and I am trying to install a 64bit Kubuntu 16.04. My system is 64bit capable though since I also have 64bit win7 on it (dual boot).



If it helps the menunetry used in /etc/grub.d/40_custom is:



menuentry "Kubuntu 16.04 ISO no ext" {
set isofile="kubuntu-16.04.5-desktop-amd64.iso"
loopback loop (hd0,6)/home/jorge/Torrents/$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}
initrd (loop)/casper/initrd
}


and I don't have a separate /home partition.










share|improve this question



























    0















    I am trying to install Kubuntu 16.04 from hard drive and have followed the instructions from here and here.



    Well I have to remove the extension from both vmlinuz and initrd, I had some question about the parameters but anyway it seems to work up to a point.



    Unfortunately my process is stuck to a point where I get a message saying it could not find the ISO file. This seems strange enough since it clearly shows messages from the kernel. So, I guess it actually reads the files from the ISO file (where the previous file reside anyway). The actual message is this one (it's obviously a photo and not a clear one too):
    screenshot



    Acccording to this answer my system is halted at the stage of mounting my root filesystem which in my case means the ISO file I guess.



    The message:




    ...can't open /dev/sr0: No medium found




    refers to my DVD drive and it's something like a bug (I have found some information about this one but lost the source to provide it here) I guess which I am not sure it has something to do with the actual problem here.



    I have taken some action suggested elsewhere like booting into windows and using shutdown /s to have a clean windows system (although I am not sure I need a clean window system in this case anyway).



    So, my questions are:




    1. is why does this behaviour occur in the first place (why do I encounter a mount problem) since the vmlinuz and initrd seems to be found.

    2. How do I proceed from here. Is there some option I can pass to read the actual ISO file for example?


    My default system is an Kubuntu 14.04 32bit and I am trying to install a 64bit Kubuntu 16.04. My system is 64bit capable though since I also have 64bit win7 on it (dual boot).



    If it helps the menunetry used in /etc/grub.d/40_custom is:



    menuentry "Kubuntu 16.04 ISO no ext" {
    set isofile="kubuntu-16.04.5-desktop-amd64.iso"
    loopback loop (hd0,6)/home/jorge/Torrents/$isofile
    linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}
    initrd (loop)/casper/initrd
    }


    and I don't have a separate /home partition.










    share|improve this question

























      0












      0








      0








      I am trying to install Kubuntu 16.04 from hard drive and have followed the instructions from here and here.



      Well I have to remove the extension from both vmlinuz and initrd, I had some question about the parameters but anyway it seems to work up to a point.



      Unfortunately my process is stuck to a point where I get a message saying it could not find the ISO file. This seems strange enough since it clearly shows messages from the kernel. So, I guess it actually reads the files from the ISO file (where the previous file reside anyway). The actual message is this one (it's obviously a photo and not a clear one too):
      screenshot



      Acccording to this answer my system is halted at the stage of mounting my root filesystem which in my case means the ISO file I guess.



      The message:




      ...can't open /dev/sr0: No medium found




      refers to my DVD drive and it's something like a bug (I have found some information about this one but lost the source to provide it here) I guess which I am not sure it has something to do with the actual problem here.



      I have taken some action suggested elsewhere like booting into windows and using shutdown /s to have a clean windows system (although I am not sure I need a clean window system in this case anyway).



      So, my questions are:




      1. is why does this behaviour occur in the first place (why do I encounter a mount problem) since the vmlinuz and initrd seems to be found.

      2. How do I proceed from here. Is there some option I can pass to read the actual ISO file for example?


      My default system is an Kubuntu 14.04 32bit and I am trying to install a 64bit Kubuntu 16.04. My system is 64bit capable though since I also have 64bit win7 on it (dual boot).



      If it helps the menunetry used in /etc/grub.d/40_custom is:



      menuentry "Kubuntu 16.04 ISO no ext" {
      set isofile="kubuntu-16.04.5-desktop-amd64.iso"
      loopback loop (hd0,6)/home/jorge/Torrents/$isofile
      linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}
      initrd (loop)/casper/initrd
      }


      and I don't have a separate /home partition.










      share|improve this question














      I am trying to install Kubuntu 16.04 from hard drive and have followed the instructions from here and here.



      Well I have to remove the extension from both vmlinuz and initrd, I had some question about the parameters but anyway it seems to work up to a point.



      Unfortunately my process is stuck to a point where I get a message saying it could not find the ISO file. This seems strange enough since it clearly shows messages from the kernel. So, I guess it actually reads the files from the ISO file (where the previous file reside anyway). The actual message is this one (it's obviously a photo and not a clear one too):
      screenshot



      Acccording to this answer my system is halted at the stage of mounting my root filesystem which in my case means the ISO file I guess.



      The message:




      ...can't open /dev/sr0: No medium found




      refers to my DVD drive and it's something like a bug (I have found some information about this one but lost the source to provide it here) I guess which I am not sure it has something to do with the actual problem here.



      I have taken some action suggested elsewhere like booting into windows and using shutdown /s to have a clean windows system (although I am not sure I need a clean window system in this case anyway).



      So, my questions are:




      1. is why does this behaviour occur in the first place (why do I encounter a mount problem) since the vmlinuz and initrd seems to be found.

      2. How do I proceed from here. Is there some option I can pass to read the actual ISO file for example?


      My default system is an Kubuntu 14.04 32bit and I am trying to install a 64bit Kubuntu 16.04. My system is 64bit capable though since I also have 64bit win7 on it (dual boot).



      If it helps the menunetry used in /etc/grub.d/40_custom is:



      menuentry "Kubuntu 16.04 ISO no ext" {
      set isofile="kubuntu-16.04.5-desktop-amd64.iso"
      loopback loop (hd0,6)/home/jorge/Torrents/$isofile
      linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}
      initrd (loop)/casper/initrd
      }


      and I don't have a separate /home partition.







      boot grub2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 10 at 7:48









      EyprosEypros

      212110




      212110






















          1 Answer
          1






          active

          oldest

          votes


















          2














          You use the wrong path to your .iso-file in the linux-command:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}


          should be



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile


          You should also add the parameters noprompt and noeject to this line:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile noprompt noeject


          to prevent being prompted to remove the installation media when the installation is finished and the machine is going to be rebooted.






          share|improve this answer
























          • You are right it did boot after the changes. As for the parameters as I said I asked but did not get any decent answer.

            – Eypros
            Jan 10 at 13:34











          • manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html clonezilla.org/clonezilla-live/boot-parameters/…

            – mook765
            Jan 10 at 14:15











          • That's the link I was looking for. An answer for 2 questions!

            – Eypros
            Jan 10 at 20:32











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1108499%2fproblem-installing-kubuntu-from-iso-in-hard-disk-drive%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          You use the wrong path to your .iso-file in the linux-command:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}


          should be



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile


          You should also add the parameters noprompt and noeject to this line:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile noprompt noeject


          to prevent being prompted to remove the installation media when the installation is finished and the machine is going to be rebooted.






          share|improve this answer
























          • You are right it did boot after the changes. As for the parameters as I said I asked but did not get any decent answer.

            – Eypros
            Jan 10 at 13:34











          • manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html clonezilla.org/clonezilla-live/boot-parameters/…

            – mook765
            Jan 10 at 14:15











          • That's the link I was looking for. An answer for 2 questions!

            – Eypros
            Jan 10 at 20:32
















          2














          You use the wrong path to your .iso-file in the linux-command:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}


          should be



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile


          You should also add the parameters noprompt and noeject to this line:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile noprompt noeject


          to prevent being prompted to remove the installation media when the installation is finished and the machine is going to be rebooted.






          share|improve this answer
























          • You are right it did boot after the changes. As for the parameters as I said I asked but did not get any decent answer.

            – Eypros
            Jan 10 at 13:34











          • manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html clonezilla.org/clonezilla-live/boot-parameters/…

            – mook765
            Jan 10 at 14:15











          • That's the link I was looking for. An answer for 2 questions!

            – Eypros
            Jan 10 at 20:32














          2












          2








          2







          You use the wrong path to your .iso-file in the linux-command:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}


          should be



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile


          You should also add the parameters noprompt and noeject to this line:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile noprompt noeject


          to prevent being prompted to remove the installation media when the installation is finished and the machine is going to be rebooted.






          share|improve this answer













          You use the wrong path to your .iso-file in the linux-command:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=${isofile}


          should be



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile


          You should also add the parameters noprompt and noeject to this line:



          linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/home/jorge/Torrents/$isofile noprompt noeject


          to prevent being prompted to remove the installation media when the installation is finished and the machine is going to be rebooted.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 10 at 8:53









          mook765mook765

          3,99921331




          3,99921331













          • You are right it did boot after the changes. As for the parameters as I said I asked but did not get any decent answer.

            – Eypros
            Jan 10 at 13:34











          • manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html clonezilla.org/clonezilla-live/boot-parameters/…

            – mook765
            Jan 10 at 14:15











          • That's the link I was looking for. An answer for 2 questions!

            – Eypros
            Jan 10 at 20:32



















          • You are right it did boot after the changes. As for the parameters as I said I asked but did not get any decent answer.

            – Eypros
            Jan 10 at 13:34











          • manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html clonezilla.org/clonezilla-live/boot-parameters/…

            – mook765
            Jan 10 at 14:15











          • That's the link I was looking for. An answer for 2 questions!

            – Eypros
            Jan 10 at 20:32

















          You are right it did boot after the changes. As for the parameters as I said I asked but did not get any decent answer.

          – Eypros
          Jan 10 at 13:34





          You are right it did boot after the changes. As for the parameters as I said I asked but did not get any decent answer.

          – Eypros
          Jan 10 at 13:34













          manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html clonezilla.org/clonezilla-live/boot-parameters/…

          – mook765
          Jan 10 at 14:15





          manpages.debian.org/jessie/live-boot-doc/live-boot.7.en.html clonezilla.org/clonezilla-live/boot-parameters/…

          – mook765
          Jan 10 at 14:15













          That's the link I was looking for. An answer for 2 questions!

          – Eypros
          Jan 10 at 20:32





          That's the link I was looking for. An answer for 2 questions!

          – Eypros
          Jan 10 at 20:32


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1108499%2fproblem-installing-kubuntu-from-iso-in-hard-disk-drive%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

          Eduardo VII do Reino Unido