xen hypervisor wont boot from grub and “Can't find hypervisor information in sysfs!” error ubuntu 14.04











up vote
1
down vote

favorite
1












I have used This forum, trying to run xen on my os:



steps i have done :



egrep '(vmx|svm)' /proc/cpuinfo


ouput = 4 and also i have run KVM virtualization with no problem.



then:



sudo apt-get install xen-hypervisor-4.4-amd64 xen-utils-4.4 xenwatch xen-tools xen-utils-common xenstore-utils virtinst virt-viewer virt-manager 


then opened a console : Ctrl + Alt + F1 and :



sudo nano /etc/xen/xend-config.sxp


and appended to the last of the file these lines:



>     (xend-http-server yes)
> (xend-unix-server yes)


skipped the network part coz i will manage them when every thing is right by bridge control utility .



then



ln -sf /usr/lib/xen-4.1 /usr/lib64/xen


did reboot



in my ubuntu when i loaded booted after restart, whenever i insert this terminal code:



xm dmesg


i get the error of




ERROR: Can't find hypervisor information in sysfs!




in that forum and alot searches of google it says to configure the /etc/grub.d .



i did these steps for:
attempt 1:



sudo mv /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2


attempt 2:



dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
update-grub


Attempt 3:



mv /etc/grub.d/10_linux /etc/grub.d/20_linux && mv /etc/grub.d/20_linux_xen /etc/grub.d/10_linux_xen


but even with that it gives the same error.



when i try to boot from xen hypervisro which has appeared in boot grub loader, no matter what kind of xen hypervisor boot loader i select, system goes plank (or purple color of ubuntu default color) and never starts.



is there any particular solution?



P.S:




Ubuntu 14.04, AMD Mobility Radeon HD 5430/5450/5470 display ,4GB ram ,i3-370M -
2.40GHz cpu











share|improve this question






















  • I'm having the same problem. No solutions? Did you ever get this fixed?
    – Aaron Franke
    Mar 2 '15 at 1:37















up vote
1
down vote

favorite
1












I have used This forum, trying to run xen on my os:



steps i have done :



egrep '(vmx|svm)' /proc/cpuinfo


ouput = 4 and also i have run KVM virtualization with no problem.



then:



sudo apt-get install xen-hypervisor-4.4-amd64 xen-utils-4.4 xenwatch xen-tools xen-utils-common xenstore-utils virtinst virt-viewer virt-manager 


then opened a console : Ctrl + Alt + F1 and :



sudo nano /etc/xen/xend-config.sxp


and appended to the last of the file these lines:



>     (xend-http-server yes)
> (xend-unix-server yes)


skipped the network part coz i will manage them when every thing is right by bridge control utility .



then



ln -sf /usr/lib/xen-4.1 /usr/lib64/xen


did reboot



in my ubuntu when i loaded booted after restart, whenever i insert this terminal code:



xm dmesg


i get the error of




ERROR: Can't find hypervisor information in sysfs!




in that forum and alot searches of google it says to configure the /etc/grub.d .



i did these steps for:
attempt 1:



sudo mv /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2


attempt 2:



dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
update-grub


Attempt 3:



mv /etc/grub.d/10_linux /etc/grub.d/20_linux && mv /etc/grub.d/20_linux_xen /etc/grub.d/10_linux_xen


but even with that it gives the same error.



when i try to boot from xen hypervisro which has appeared in boot grub loader, no matter what kind of xen hypervisor boot loader i select, system goes plank (or purple color of ubuntu default color) and never starts.



is there any particular solution?



P.S:




Ubuntu 14.04, AMD Mobility Radeon HD 5430/5450/5470 display ,4GB ram ,i3-370M -
2.40GHz cpu











share|improve this question






















  • I'm having the same problem. No solutions? Did you ever get this fixed?
    – Aaron Franke
    Mar 2 '15 at 1:37













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





I have used This forum, trying to run xen on my os:



steps i have done :



egrep '(vmx|svm)' /proc/cpuinfo


ouput = 4 and also i have run KVM virtualization with no problem.



then:



sudo apt-get install xen-hypervisor-4.4-amd64 xen-utils-4.4 xenwatch xen-tools xen-utils-common xenstore-utils virtinst virt-viewer virt-manager 


then opened a console : Ctrl + Alt + F1 and :



sudo nano /etc/xen/xend-config.sxp


and appended to the last of the file these lines:



>     (xend-http-server yes)
> (xend-unix-server yes)


skipped the network part coz i will manage them when every thing is right by bridge control utility .



then



ln -sf /usr/lib/xen-4.1 /usr/lib64/xen


did reboot



in my ubuntu when i loaded booted after restart, whenever i insert this terminal code:



xm dmesg


i get the error of




ERROR: Can't find hypervisor information in sysfs!




in that forum and alot searches of google it says to configure the /etc/grub.d .



i did these steps for:
attempt 1:



sudo mv /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2


attempt 2:



dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
update-grub


Attempt 3:



mv /etc/grub.d/10_linux /etc/grub.d/20_linux && mv /etc/grub.d/20_linux_xen /etc/grub.d/10_linux_xen


but even with that it gives the same error.



when i try to boot from xen hypervisro which has appeared in boot grub loader, no matter what kind of xen hypervisor boot loader i select, system goes plank (or purple color of ubuntu default color) and never starts.



is there any particular solution?



P.S:




Ubuntu 14.04, AMD Mobility Radeon HD 5430/5450/5470 display ,4GB ram ,i3-370M -
2.40GHz cpu











share|improve this question













I have used This forum, trying to run xen on my os:



steps i have done :



egrep '(vmx|svm)' /proc/cpuinfo


ouput = 4 and also i have run KVM virtualization with no problem.



then:



sudo apt-get install xen-hypervisor-4.4-amd64 xen-utils-4.4 xenwatch xen-tools xen-utils-common xenstore-utils virtinst virt-viewer virt-manager 


then opened a console : Ctrl + Alt + F1 and :



sudo nano /etc/xen/xend-config.sxp


and appended to the last of the file these lines:



>     (xend-http-server yes)
> (xend-unix-server yes)


skipped the network part coz i will manage them when every thing is right by bridge control utility .



then



ln -sf /usr/lib/xen-4.1 /usr/lib64/xen


did reboot



in my ubuntu when i loaded booted after restart, whenever i insert this terminal code:



xm dmesg


i get the error of




ERROR: Can't find hypervisor information in sysfs!




in that forum and alot searches of google it says to configure the /etc/grub.d .



i did these steps for:
attempt 1:



sudo mv /etc/grub.d/10_linux /etc/grub.d/50_linux
update-grub2


attempt 2:



dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen
update-grub


Attempt 3:



mv /etc/grub.d/10_linux /etc/grub.d/20_linux && mv /etc/grub.d/20_linux_xen /etc/grub.d/10_linux_xen


but even with that it gives the same error.



when i try to boot from xen hypervisro which has appeared in boot grub loader, no matter what kind of xen hypervisor boot loader i select, system goes plank (or purple color of ubuntu default color) and never starts.



is there any particular solution?



P.S:




Ubuntu 14.04, AMD Mobility Radeon HD 5430/5450/5470 display ,4GB ram ,i3-370M -
2.40GHz cpu








14.04 virtualization xen






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 4 '14 at 10:19









user313694

2627




2627












  • I'm having the same problem. No solutions? Did you ever get this fixed?
    – Aaron Franke
    Mar 2 '15 at 1:37


















  • I'm having the same problem. No solutions? Did you ever get this fixed?
    – Aaron Franke
    Mar 2 '15 at 1:37
















I'm having the same problem. No solutions? Did you ever get this fixed?
– Aaron Franke
Mar 2 '15 at 1:37




I'm having the same problem. No solutions? Did you ever get this fixed?
– Aaron Franke
Mar 2 '15 at 1:37










2 Answers
2






active

oldest

votes

















up vote
0
down vote













Although the community wiki states that as of Ubuntu 14.04, GRUB will automatically choose to boot Xen first if Xen is installed, it doesn't if you don't run Ubuntu (16.04) in English.



To be able to select the right kernel at boot open /etc/default/grub



sudo nano /etc/default/grub


and comment out the following 2 lines by putting a # in front of it and set GRUB_TIMEOUT to let's say 5



#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5


next update Grub and reboot



sudo update-grub
sudo shutdown -r now


You should now be able to to select the right kernel in the grub menu and boot your system with Xen enabled. If you want to boot your system with this kernel by default write down the translation of "Ubuntu GNU/Linux, with Xen hypervisor". In my case (Dutch) that's "Ubuntu GNU/Linux, met Xen-hypervisor" and open /etc/default/grub.d/xen.cfg when booted.



sudo nano /etc/default/grub.d/xen.cfg


Replace GRUB_DEFAULT="Ubuntu GNU/Linux, with Xen hypervisor" with GRUB_DEFAULT="translation" at the bottom of that file and undo the changes you made in /etc/default/grub. Update Grub again and reboot with Xen enabled by default ...






share|improve this answer




























    up vote
    -1
    down vote













    This may help,
    Found it somewhere in internet



    dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen





    share|improve this answer



















    • 1




      Answers without any trace of explanation make it very difficult to see their merit.
      – guntbert
      Mar 25 '15 at 21:10






    • 3




      Welcome to askubuntu! Just yanking a line of code (that didn`t resolve the problem) from the question does not qualify as an answer. Perhaps you can come up with a useful answer to one of these: askubuntu.com/unanswered
      – Elder Geek
      Mar 25 '15 at 21:24











    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%2f532109%2fxen-hypervisor-wont-boot-from-grub-and-cant-find-hypervisor-information-in-sys%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Although the community wiki states that as of Ubuntu 14.04, GRUB will automatically choose to boot Xen first if Xen is installed, it doesn't if you don't run Ubuntu (16.04) in English.



    To be able to select the right kernel at boot open /etc/default/grub



    sudo nano /etc/default/grub


    and comment out the following 2 lines by putting a # in front of it and set GRUB_TIMEOUT to let's say 5



    #GRUB_HIDDEN_TIMEOUT=0
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=5


    next update Grub and reboot



    sudo update-grub
    sudo shutdown -r now


    You should now be able to to select the right kernel in the grub menu and boot your system with Xen enabled. If you want to boot your system with this kernel by default write down the translation of "Ubuntu GNU/Linux, with Xen hypervisor". In my case (Dutch) that's "Ubuntu GNU/Linux, met Xen-hypervisor" and open /etc/default/grub.d/xen.cfg when booted.



    sudo nano /etc/default/grub.d/xen.cfg


    Replace GRUB_DEFAULT="Ubuntu GNU/Linux, with Xen hypervisor" with GRUB_DEFAULT="translation" at the bottom of that file and undo the changes you made in /etc/default/grub. Update Grub again and reboot with Xen enabled by default ...






    share|improve this answer

























      up vote
      0
      down vote













      Although the community wiki states that as of Ubuntu 14.04, GRUB will automatically choose to boot Xen first if Xen is installed, it doesn't if you don't run Ubuntu (16.04) in English.



      To be able to select the right kernel at boot open /etc/default/grub



      sudo nano /etc/default/grub


      and comment out the following 2 lines by putting a # in front of it and set GRUB_TIMEOUT to let's say 5



      #GRUB_HIDDEN_TIMEOUT=0
      #GRUB_HIDDEN_TIMEOUT_QUIET=true
      GRUB_TIMEOUT=5


      next update Grub and reboot



      sudo update-grub
      sudo shutdown -r now


      You should now be able to to select the right kernel in the grub menu and boot your system with Xen enabled. If you want to boot your system with this kernel by default write down the translation of "Ubuntu GNU/Linux, with Xen hypervisor". In my case (Dutch) that's "Ubuntu GNU/Linux, met Xen-hypervisor" and open /etc/default/grub.d/xen.cfg when booted.



      sudo nano /etc/default/grub.d/xen.cfg


      Replace GRUB_DEFAULT="Ubuntu GNU/Linux, with Xen hypervisor" with GRUB_DEFAULT="translation" at the bottom of that file and undo the changes you made in /etc/default/grub. Update Grub again and reboot with Xen enabled by default ...






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Although the community wiki states that as of Ubuntu 14.04, GRUB will automatically choose to boot Xen first if Xen is installed, it doesn't if you don't run Ubuntu (16.04) in English.



        To be able to select the right kernel at boot open /etc/default/grub



        sudo nano /etc/default/grub


        and comment out the following 2 lines by putting a # in front of it and set GRUB_TIMEOUT to let's say 5



        #GRUB_HIDDEN_TIMEOUT=0
        #GRUB_HIDDEN_TIMEOUT_QUIET=true
        GRUB_TIMEOUT=5


        next update Grub and reboot



        sudo update-grub
        sudo shutdown -r now


        You should now be able to to select the right kernel in the grub menu and boot your system with Xen enabled. If you want to boot your system with this kernel by default write down the translation of "Ubuntu GNU/Linux, with Xen hypervisor". In my case (Dutch) that's "Ubuntu GNU/Linux, met Xen-hypervisor" and open /etc/default/grub.d/xen.cfg when booted.



        sudo nano /etc/default/grub.d/xen.cfg


        Replace GRUB_DEFAULT="Ubuntu GNU/Linux, with Xen hypervisor" with GRUB_DEFAULT="translation" at the bottom of that file and undo the changes you made in /etc/default/grub. Update Grub again and reboot with Xen enabled by default ...






        share|improve this answer












        Although the community wiki states that as of Ubuntu 14.04, GRUB will automatically choose to boot Xen first if Xen is installed, it doesn't if you don't run Ubuntu (16.04) in English.



        To be able to select the right kernel at boot open /etc/default/grub



        sudo nano /etc/default/grub


        and comment out the following 2 lines by putting a # in front of it and set GRUB_TIMEOUT to let's say 5



        #GRUB_HIDDEN_TIMEOUT=0
        #GRUB_HIDDEN_TIMEOUT_QUIET=true
        GRUB_TIMEOUT=5


        next update Grub and reboot



        sudo update-grub
        sudo shutdown -r now


        You should now be able to to select the right kernel in the grub menu and boot your system with Xen enabled. If you want to boot your system with this kernel by default write down the translation of "Ubuntu GNU/Linux, with Xen hypervisor". In my case (Dutch) that's "Ubuntu GNU/Linux, met Xen-hypervisor" and open /etc/default/grub.d/xen.cfg when booted.



        sudo nano /etc/default/grub.d/xen.cfg


        Replace GRUB_DEFAULT="Ubuntu GNU/Linux, with Xen hypervisor" with GRUB_DEFAULT="translation" at the bottom of that file and undo the changes you made in /etc/default/grub. Update Grub again and reboot with Xen enabled by default ...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 4 '16 at 15:49









        Kris

        11




        11
























            up vote
            -1
            down vote













            This may help,
            Found it somewhere in internet



            dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen





            share|improve this answer



















            • 1




              Answers without any trace of explanation make it very difficult to see their merit.
              – guntbert
              Mar 25 '15 at 21:10






            • 3




              Welcome to askubuntu! Just yanking a line of code (that didn`t resolve the problem) from the question does not qualify as an answer. Perhaps you can come up with a useful answer to one of these: askubuntu.com/unanswered
              – Elder Geek
              Mar 25 '15 at 21:24















            up vote
            -1
            down vote













            This may help,
            Found it somewhere in internet



            dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen





            share|improve this answer



















            • 1




              Answers without any trace of explanation make it very difficult to see their merit.
              – guntbert
              Mar 25 '15 at 21:10






            • 3




              Welcome to askubuntu! Just yanking a line of code (that didn`t resolve the problem) from the question does not qualify as an answer. Perhaps you can come up with a useful answer to one of these: askubuntu.com/unanswered
              – Elder Geek
              Mar 25 '15 at 21:24













            up vote
            -1
            down vote










            up vote
            -1
            down vote









            This may help,
            Found it somewhere in internet



            dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen





            share|improve this answer














            This may help,
            Found it somewhere in internet



            dpkg-divert --divert /etc/grub.d/08_linux_xen --rename /etc/grub.d/20_linux_xen






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Mar 25 '15 at 21:09









            guntbert

            9,058133069




            9,058133069










            answered Mar 25 '15 at 21:00









            user2774549

            1




            1








            • 1




              Answers without any trace of explanation make it very difficult to see their merit.
              – guntbert
              Mar 25 '15 at 21:10






            • 3




              Welcome to askubuntu! Just yanking a line of code (that didn`t resolve the problem) from the question does not qualify as an answer. Perhaps you can come up with a useful answer to one of these: askubuntu.com/unanswered
              – Elder Geek
              Mar 25 '15 at 21:24














            • 1




              Answers without any trace of explanation make it very difficult to see their merit.
              – guntbert
              Mar 25 '15 at 21:10






            • 3




              Welcome to askubuntu! Just yanking a line of code (that didn`t resolve the problem) from the question does not qualify as an answer. Perhaps you can come up with a useful answer to one of these: askubuntu.com/unanswered
              – Elder Geek
              Mar 25 '15 at 21:24








            1




            1




            Answers without any trace of explanation make it very difficult to see their merit.
            – guntbert
            Mar 25 '15 at 21:10




            Answers without any trace of explanation make it very difficult to see their merit.
            – guntbert
            Mar 25 '15 at 21:10




            3




            3




            Welcome to askubuntu! Just yanking a line of code (that didn`t resolve the problem) from the question does not qualify as an answer. Perhaps you can come up with a useful answer to one of these: askubuntu.com/unanswered
            – Elder Geek
            Mar 25 '15 at 21:24




            Welcome to askubuntu! Just yanking a line of code (that didn`t resolve the problem) from the question does not qualify as an answer. Perhaps you can come up with a useful answer to one of these: askubuntu.com/unanswered
            – Elder Geek
            Mar 25 '15 at 21:24


















            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f532109%2fxen-hypervisor-wont-boot-from-grub-and-cant-find-hypervisor-information-in-sys%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