Page 1 of 1
Install Windows XP as guest
Posted: 24. Jul 2009, 14:14
by aladuce
Hi,
I do my first steps with VirtualBox. I did what is written in the manual to create my first virtual machine, and to install the guest OS:
" If you have actual CD or DVD media from which you want to install your guest
operating system (e.g. in the case of a Windows installation CD or DVD), put the
media into your host’s CD or DVD drive.
Then, in the settings dialog, go to the “CD/DVD-ROM” section and select “Host
drive” with the correct drive letter (or, in the case of a Linux host, device file).
This will allow your VM to access the media in your host drive, and you can
proceed to install from there."
I did it, but I don't know how launching the CD. When I select the file "setup.exe" in the window showing the CD, I have the following message:" impossible to find the automatic lauching program".
I know that when I use this CD to install Windows XP usually as a new OS normally, when the CD boot, I have the following message:"press any key to launch the installation". And it is only after this that the installation begins.
Do you know what I have to do to launch the installation as guest in VirtualBox ?
Configuration:
Computer Dell with processor Intel P8600
Host OS: Mandriva Linux 2009.1 installed
VirtualBox: 3.0.2 installed
Guest OS: Windows XP Pro SP2 problem for installing.
Thanks if you can help me
Re: Install Windows XP as guest
Posted: 24. Jul 2009, 15:05
by Perryg
Have the CD in the CD and ready, then start the guest you have created.
As soon as the VBox splash screen shows hit the Escape key a few times and see if the auto install will take.
Follow the bouncing ball until install is complete.
If this does not work try enabling passthrough on the CD in the guest settings (should not have to but it some have).
Re: Install Windows XP as guest
Posted: 24. Jul 2009, 18:18
by aladuce
Hi,
I am sorry, but the problem is not solved. When I start the guest, as you suggest, I have the following message:
"The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root."
I verified vboxdrv is in /etc/rc.d/init.d
I executed the command and got the following message:
"[root@localhost log]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ÉCHEC ]
(Look at /var/log/vbox-install.log to find out what went wrong)"
where ECHEC is the french word for FAILURE
I don't know how to see this file.
Do you have a solution for my problem ?
Thank you.
Re: Install Windows XP as guest
Posted: 24. Jul 2009, 18:38
by Perryg
A few things here. First you need to read a bit here:
http://forums.virtualbox.org/viewtopic.php?t=8669
Also make sure that you have your login name in the vboxusers group.
It appears that VirtualBox is not installed completely or permissions are not set.
Did you see any errors when you installed VirtualBox?
Re: Install Windows XP as guest
Posted: 25. Jul 2009, 15:04
by aladuce
Hi,
I read the webpage you suggested. OK. I read nothing to change.
The manual said that VirtualBox kernel module was automatically installed at the end of VirtualBox installation. It"s wrong. I installed the package virtualbox-kernel 2.6.29.6-desktop-1mnb, corresponding to the versus of my kernel.
The rights for /etc/init.d/vboxdrv are "-rwxr-xr-x".
I controlled my username was registered in the VirtualBox site, because I can log in.
No error appeared during the installation. And more, I uninstalled VirtualBox and re-installed it, with the same conclusion.
???
This problem is off my poor capability.
Re: Install Windows XP as guest
Posted: 25. Jul 2009, 15:47
by Sasquatch
Check the output of the
id command. It should have the group
vboxusers in it, like the example for my system.
Code: Select all
uid=1000(sasquatch) gid=1000(sasquatch) groups=4(adm),20(dialout),24(cdrom),29(audio),44(video),46(plugdev),104(lpadmin),105(sambashare),106(admin),114(pulse),115(pulse-access),116(pulse-rt),118(vboxusers),1000(sasquatch)
After you've checked that, you should also have the vboxdrv module loaded and /dev/vboxdrv should exist. If it doesn't, then the compilation of the kernel module failed during VB installation. You have the OSE version, according to your profile, so you might need the VirtualBox-OSE-modules package.
Re: Install Windows XP as guest
Posted: 25. Jul 2009, 18:13
by aladuce
Hi Sasquatch,
Thank you for your message.
This is the output of the id command:
[alain@localhost ~]$ id
uid=500(alain) gid=500(alain) groupes=500(alain)
I don't find the group vboxusers.
My OS is Mandriva Linux 2009.1, with the kernel Linux 2.6.29.6-desktop-1mnb.
I installed the package virtualbox-kernel 2.6.29.6-desktop-1mnb, corresponding to the versus of my kernel.
I downloaded VirtualBox from the website, and selected the file VirtualBox-3.0.2_49928_mdv2009.1-1.i586.rpm, from the link "Mandriva 2009.1>i386".
Is there an installed file wrong ? Probably...
Re: Install Windows XP as guest
Posted: 25. Jul 2009, 18:20
by Sasquatch
If you grabbed the version from the website, you really shouldn't install the OSE module from your distro repository. These two aren't compatible.
You do have the vboxusers group, you just aren't a member yet. Check the
VirtualBox FAQ for the command to add yourself to the group, but you can also use the GUI method (I prefer CLI, it's environment independent). After you've removed the package you installed from the repo and added yourself to the group, reboot and try again. If it still fails, run the
/etc/init.d/vboxdrv setup command.
Re: Install Windows XP as guest
Posted: 25. Jul 2009, 19:23
by aladuce
I removed the package VirtualBox. I added myself to the group vboxusers. I reboot. I reinstalled the package from the website .rpm
I got the same message:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root.
I launched the command vboxdrv setup.
I got the following message:
"[root@localhost ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Removing old VirtualBox netflt kernel module [ OK ]
Recompiling VirtualBox kernel module [ÉCHEC ]
(Look at /var/log/vbox-install.log to find out what went wrong)"
If I have to choose VirtualBox OSE for installing, I don't know the way, because I downloaded the folder, but I didn't find a file .rpm, and I don't know the way for installing it.
Re: Install Windows XP as guest
Posted: 25. Jul 2009, 19:32
by Sasquatch
The kernel module is shipped with the installer you got from the website. Follow the error message, so post the contents of /var/log/vbox-install.log. It's very likely you don't have the proper kernel development packages installed yet. For a few pointers, check my
Howto: Install Linux Guest Additions + Xorg config for kernel preparations. That part is the same for Host and Guest, the rest of the howto is Guest specific.