Where does Virtualbox keep home directory path configuration data?












4















I have reinstalled my system, and simply copied over my old home directory. However, I have also changed my user name.



When I attempt to create a new virtual machine, I'm presented with the error:



"Cannot create the machine folder test in the parent folder /home/alphacentauri/VirtualBox VMs. Please check that the parent really exists and that you have permissions to create the machine folder"



The problem here is that the path doesn't exist, my user name is not "alphacentauri" any longer.



But how would I fix this?




  • There doesn't seem to be any options within VirtualBox to specify the base path under which virtual disks should be made.


  • I already tried to update with a set -i oneliner everythin under ~/.config/VirtualBox however, this didn't seem to affect anything.



Interestingly, I can add existing virtual machines, as long as I manually edit the relevant files. However, these are machine specific files and don't appear to affect the global problem of creating a new virtual machine.



In short, it seems like there is some configuration file for VirtualBox which I cannot find, which allows it to remember what my old username was.



System: Debian 9.7
VirtualBox: 5.2.24 r128163 (Qt5.7.1)










share|improve this question













migrated from serverfault.com Jan 28 at 15:20


This question came from our site for system and network administrators.























    4















    I have reinstalled my system, and simply copied over my old home directory. However, I have also changed my user name.



    When I attempt to create a new virtual machine, I'm presented with the error:



    "Cannot create the machine folder test in the parent folder /home/alphacentauri/VirtualBox VMs. Please check that the parent really exists and that you have permissions to create the machine folder"



    The problem here is that the path doesn't exist, my user name is not "alphacentauri" any longer.



    But how would I fix this?




    • There doesn't seem to be any options within VirtualBox to specify the base path under which virtual disks should be made.


    • I already tried to update with a set -i oneliner everythin under ~/.config/VirtualBox however, this didn't seem to affect anything.



    Interestingly, I can add existing virtual machines, as long as I manually edit the relevant files. However, these are machine specific files and don't appear to affect the global problem of creating a new virtual machine.



    In short, it seems like there is some configuration file for VirtualBox which I cannot find, which allows it to remember what my old username was.



    System: Debian 9.7
    VirtualBox: 5.2.24 r128163 (Qt5.7.1)










    share|improve this question













    migrated from serverfault.com Jan 28 at 15:20


    This question came from our site for system and network administrators.





















      4












      4








      4








      I have reinstalled my system, and simply copied over my old home directory. However, I have also changed my user name.



      When I attempt to create a new virtual machine, I'm presented with the error:



      "Cannot create the machine folder test in the parent folder /home/alphacentauri/VirtualBox VMs. Please check that the parent really exists and that you have permissions to create the machine folder"



      The problem here is that the path doesn't exist, my user name is not "alphacentauri" any longer.



      But how would I fix this?




      • There doesn't seem to be any options within VirtualBox to specify the base path under which virtual disks should be made.


      • I already tried to update with a set -i oneliner everythin under ~/.config/VirtualBox however, this didn't seem to affect anything.



      Interestingly, I can add existing virtual machines, as long as I manually edit the relevant files. However, these are machine specific files and don't appear to affect the global problem of creating a new virtual machine.



      In short, it seems like there is some configuration file for VirtualBox which I cannot find, which allows it to remember what my old username was.



      System: Debian 9.7
      VirtualBox: 5.2.24 r128163 (Qt5.7.1)










      share|improve this question














      I have reinstalled my system, and simply copied over my old home directory. However, I have also changed my user name.



      When I attempt to create a new virtual machine, I'm presented with the error:



      "Cannot create the machine folder test in the parent folder /home/alphacentauri/VirtualBox VMs. Please check that the parent really exists and that you have permissions to create the machine folder"



      The problem here is that the path doesn't exist, my user name is not "alphacentauri" any longer.



      But how would I fix this?




      • There doesn't seem to be any options within VirtualBox to specify the base path under which virtual disks should be made.


      • I already tried to update with a set -i oneliner everythin under ~/.config/VirtualBox however, this didn't seem to affect anything.



      Interestingly, I can add existing virtual machines, as long as I manually edit the relevant files. However, these are machine specific files and don't appear to affect the global problem of creating a new virtual machine.



      In short, it seems like there is some configuration file for VirtualBox which I cannot find, which allows it to remember what my old username was.



      System: Debian 9.7
      VirtualBox: 5.2.24 r128163 (Qt5.7.1)







      debian virtualization






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 28 at 10:58









      AlphaCentauriAlphaCentauri

      1283




      1283




      migrated from serverfault.com Jan 28 at 15:20


      This question came from our site for system and network administrators.









      migrated from serverfault.com Jan 28 at 15:20


      This question came from our site for system and network administrators.
























          1 Answer
          1






          active

          oldest

          votes


















          2














          To fix this you can follow this steps:




          ...change the default machine folder by selecting “Preferences” from
          the “File” menu in the VirtualBox main window. Then, in the window
          that pops up, click on the “General” tab. Alternatively, use
          VBoxManage setproperty machinefolder ...




          From page 248 of the VirtualBox User Manual 5.2.24
          VirtualBox User Manual 5.2.24



          Hope this can help you.






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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%2fsuperuser.com%2fquestions%2f1399299%2fwhere-does-virtualbox-keep-home-directory-path-configuration-data%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














            To fix this you can follow this steps:




            ...change the default machine folder by selecting “Preferences” from
            the “File” menu in the VirtualBox main window. Then, in the window
            that pops up, click on the “General” tab. Alternatively, use
            VBoxManage setproperty machinefolder ...




            From page 248 of the VirtualBox User Manual 5.2.24
            VirtualBox User Manual 5.2.24



            Hope this can help you.






            share|improve this answer




























              2














              To fix this you can follow this steps:




              ...change the default machine folder by selecting “Preferences” from
              the “File” menu in the VirtualBox main window. Then, in the window
              that pops up, click on the “General” tab. Alternatively, use
              VBoxManage setproperty machinefolder ...




              From page 248 of the VirtualBox User Manual 5.2.24
              VirtualBox User Manual 5.2.24



              Hope this can help you.






              share|improve this answer


























                2












                2








                2







                To fix this you can follow this steps:




                ...change the default machine folder by selecting “Preferences” from
                the “File” menu in the VirtualBox main window. Then, in the window
                that pops up, click on the “General” tab. Alternatively, use
                VBoxManage setproperty machinefolder ...




                From page 248 of the VirtualBox User Manual 5.2.24
                VirtualBox User Manual 5.2.24



                Hope this can help you.






                share|improve this answer













                To fix this you can follow this steps:




                ...change the default machine folder by selecting “Preferences” from
                the “File” menu in the VirtualBox main window. Then, in the window
                that pops up, click on the “General” tab. Alternatively, use
                VBoxManage setproperty machinefolder ...




                From page 248 of the VirtualBox User Manual 5.2.24
                VirtualBox User Manual 5.2.24



                Hope this can help you.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 28 at 12:16









                C. La MoscaC. La Mosca

                363




                363






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1399299%2fwhere-does-virtualbox-keep-home-directory-path-configuration-data%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

                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                    SQL update select statement

                    'app-layout' is not a known element: how to share Component with different Modules