I have made this:
1. created an image with disk2vhd from my whole win XP -> XP.VDI
2. Created a IDE controller with XP.VDI and HostDVD and VBoxGuestAdditions.iso
When I start this VM, it boots with my DVD. This works, this is waht I want. This is my original Windows XP installation CD.
When it has booted from this cd, I press shift+F10. This way I come into Dos.
I can then choose my windows. As XP.VDI only contains one windows, I only can choose "1. Windows". So I choose "1".
Then I have to type in my Admin password. This is "", because it has no password.
After, I come into Dos: c:\Windows.
Now I want to install the VBoxGuestAdditions.
To do this I want to change into "C:\Program files\Oracle\VirtualBox".
So I type in "cd ..".
This way I come into c: (This works).
Then I type in "cd "Program files".
Output: "You do not have the rigths."
Questions?
1. Why do I not have the rights?
2. What can I do to get the rights?
3. If this is the wrong way, to install the guest additions in this from CD booted VM, what would be the right way?
I need "guest additions" because I need access to a folder via "shared folders".
Would appreciate some help. Thank you.
Boot from CD: Install guest additions
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Boot from CD: Install guest additions
What happens in the guest stays in the guest.Plagrö wrote:Then I type in "cd "Program files".
Output: "You do not have the rigths."
Questions?
1. Why do I not have the rights?
2. What can I do to get the rights?
In other words, permissions inside the guest OS aren't controlled by Virtualbox, just as it wouldn't be controlled by Dell or HP, and is beyond the scope of the Virtualbox forum.
The only way Virtualbox supports to install Guest Additions is to mount the Guest Additions ISO and run the installer. Virtualbox provides a way to mount the ISO found on the host OS in the guest's CD drive through the normal method, see the Virtualbox manual.Plagrö wrote:3. If this is the wrong way, to install the guest additions in this from CD booted VM, what would be the right way?
You cannot issue commands inside the guest OS to order Virtualbox on the host to mount the host copy of the GAs ISO in the guest CD drive. You can only do this from the host OS..
If you have the ISO inside the guest OS already, you must provide an ISO mounter within the guest OS to virtually mount the ISO as a virtual CD drive inside the guest OS. XP does not contain an ISO mounter, and neither does Virtualbox.
It is somewhat unclear whether you are doing this n the host or the guest:
Plagrö wrote:After, I come into Dos: c:\Windows.....
-
Martin
- Volunteer
- Posts: 2562
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Boot from CD: Install guest additions
You need to install the guest additions from inside the running XP guest, not from the command line of a recovery boot from the installation CD.
If you boot into the recovery mode you have the Windows running from the CD, not the installed Windows from your VHD.
If you boot into the recovery mode you have the Windows running from the CD, not the installed Windows from your VHD.
Re: Boot from CD: Install guest additions
Thank you.The only way Virtualbox supports to install Guest Additions is to mount the Guest Additions ISO and run the installer.
This is the Guest Additions ISO in my VM: Output: unknown command
I guess, this is because I have not the right "execute" (see in the picture.)
But "F:VBoxWindowsAdditions.exe" is no more in the guest OS. It is part of the VirtualBox iso.... permissions inside the guest OS aren't controlled by Virtualbox, just as it wouldn't be controlled by Dell or HP, and is beyond the scope of the Virtualbox forum.
So what can I do, that I can start "F:VBoxWindowsAdditions.exe"?
-
Smackey's dad
- Posts: 128
- Joined: 2. Apr 2014, 04:11
- Primary OS: Ubuntu 12.04
- VBox Version: OSE Debian
- Guest OSses: Ubuntu Trusty
- Location: Austin, TX
- Contact:
Re: Boot from CD: Install guest additions
You can download the Guest Additions from within the Guest (assuming you configured guest network to be able to access the internet) to any folder location in your guest OS and run it. If you are not able to do that, its a problem with the Guest - it's no different from downloading any other application and running it on your guest. Windows will mount an iso as a Virtual Drive or you may extract that outside of the environment and copy it over in any way suitable.