Error booting Linux. Root and swap does not exist

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I imported a VM with Oracle Linux 7.5 into XenServer but when I boot the linux the following error appears:



dracut-initqueue[296]: Warning: Could not boot.
dracut-initqueue[296]: Warning: /dev/ol/root does not exist
dracut-initqueue[296]: Warning: /dev/ol/swap does not exist

Warning: /dev/mapper/ol-root does not exist
Warning: /dev/ol/root does not exist
Warning: /dev/ol/swap does not exist

Generating "/run/iniramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs

dracut:/#


I rebooted and went into rescue mode, then typed dracut -f, but it did not work



I need to recover the boot and I do not have the live cd. How can I do that?










share|improve this question

























    up vote
    0
    down vote

    favorite












    I imported a VM with Oracle Linux 7.5 into XenServer but when I boot the linux the following error appears:



    dracut-initqueue[296]: Warning: Could not boot.
    dracut-initqueue[296]: Warning: /dev/ol/root does not exist
    dracut-initqueue[296]: Warning: /dev/ol/swap does not exist

    Warning: /dev/mapper/ol-root does not exist
    Warning: /dev/ol/root does not exist
    Warning: /dev/ol/swap does not exist

    Generating "/run/iniramfs/rdsosreport.txt"
    Entering emergency mode. Exit the shell to continue.
    Type "journalctl" to view system logs

    dracut:/#


    I rebooted and went into rescue mode, then typed dracut -f, but it did not work



    I need to recover the boot and I do not have the live cd. How can I do that?










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I imported a VM with Oracle Linux 7.5 into XenServer but when I boot the linux the following error appears:



      dracut-initqueue[296]: Warning: Could not boot.
      dracut-initqueue[296]: Warning: /dev/ol/root does not exist
      dracut-initqueue[296]: Warning: /dev/ol/swap does not exist

      Warning: /dev/mapper/ol-root does not exist
      Warning: /dev/ol/root does not exist
      Warning: /dev/ol/swap does not exist

      Generating "/run/iniramfs/rdsosreport.txt"
      Entering emergency mode. Exit the shell to continue.
      Type "journalctl" to view system logs

      dracut:/#


      I rebooted and went into rescue mode, then typed dracut -f, but it did not work



      I need to recover the boot and I do not have the live cd. How can I do that?










      share|improve this question













      I imported a VM with Oracle Linux 7.5 into XenServer but when I boot the linux the following error appears:



      dracut-initqueue[296]: Warning: Could not boot.
      dracut-initqueue[296]: Warning: /dev/ol/root does not exist
      dracut-initqueue[296]: Warning: /dev/ol/swap does not exist

      Warning: /dev/mapper/ol-root does not exist
      Warning: /dev/ol/root does not exist
      Warning: /dev/ol/swap does not exist

      Generating "/run/iniramfs/rdsosreport.txt"
      Entering emergency mode. Exit the shell to continue.
      Type "journalctl" to view system logs

      dracut:/#


      I rebooted and went into rescue mode, then typed dracut -f, but it did not work



      I need to recover the boot and I do not have the live cd. How can I do that?







      linux boot






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 5 at 13:16









      SM_S

      33




      33




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          You are most likely experiencing this.



          Try running:



          dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg


          This will rebuild initramfs and solve naming issues in block devices (/dev/sda1 might now be /dev/xvde1 or something similar).



          It has saved me when migrating to OracleVM from VMWare.



          More info on dracut here.






          share|improve this answer






















          • worked perfectly! I type this command booting in rescue mode. Thank you very much
            – SM_S
            Sep 5 at 14:10










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f467019%2ferror-booting-linux-root-and-swap-does-not-exist%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote



          accepted










          You are most likely experiencing this.



          Try running:



          dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg


          This will rebuild initramfs and solve naming issues in block devices (/dev/sda1 might now be /dev/xvde1 or something similar).



          It has saved me when migrating to OracleVM from VMWare.



          More info on dracut here.






          share|improve this answer






















          • worked perfectly! I type this command booting in rescue mode. Thank you very much
            – SM_S
            Sep 5 at 14:10














          up vote
          0
          down vote



          accepted










          You are most likely experiencing this.



          Try running:



          dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg


          This will rebuild initramfs and solve naming issues in block devices (/dev/sda1 might now be /dev/xvde1 or something similar).



          It has saved me when migrating to OracleVM from VMWare.



          More info on dracut here.






          share|improve this answer






















          • worked perfectly! I type this command booting in rescue mode. Thank you very much
            – SM_S
            Sep 5 at 14:10












          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          You are most likely experiencing this.



          Try running:



          dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg


          This will rebuild initramfs and solve naming issues in block devices (/dev/sda1 might now be /dev/xvde1 or something similar).



          It has saved me when migrating to OracleVM from VMWare.



          More info on dracut here.






          share|improve this answer














          You are most likely experiencing this.



          Try running:



          dracut --regenerate-all -f && grub2-mkconfig -o /boot/grub2/grub.cfg


          This will rebuild initramfs and solve naming issues in block devices (/dev/sda1 might now be /dev/xvde1 or something similar).



          It has saved me when migrating to OracleVM from VMWare.



          More info on dracut here.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Sep 5 at 14:08

























          answered Sep 5 at 14:00









          maulinglawns

          6,12621225




          6,12621225











          • worked perfectly! I type this command booting in rescue mode. Thank you very much
            – SM_S
            Sep 5 at 14:10
















          • worked perfectly! I type this command booting in rescue mode. Thank you very much
            – SM_S
            Sep 5 at 14:10















          worked perfectly! I type this command booting in rescue mode. Thank you very much
          – SM_S
          Sep 5 at 14:10




          worked perfectly! I type this command booting in rescue mode. Thank you very much
          – SM_S
          Sep 5 at 14:10

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f467019%2ferror-booting-linux-root-and-swap-does-not-exist%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay