Problem to set up Guest additions

Discussions about using Linux guests in VirtualBox.
Post Reply
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Problem to set up Guest additions

Post by HuaMin »

Hi,
There was currently one upgrade of Vbox from 4.2.16 to 4.2.18. After that, I choose
Devices > Install Guest additions

but I did get this to my Rhat Linux
vbox_err.png
vbox_err.png (45.47 KiB) Viewed 2651 times
why?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Problem to set up Guest additions

Post by noteirak »

You still have the old Guest Additions ISO mounted, and the guest OS has locked the drive - which is the expected behaviour.
Click on force unmount, or shutdown your guest, remove the ISO, then restart the guest and use the menu again to mount the ISO properly.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Re: Problem to set up Guest additions

Post by HuaMin »

I have shut down the guest, remove the ISO, and have just restarted the guest. How to use the menu to mount the ISO? thanks
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem to set up Guest additions

Post by mpack »

I see HuaMin is back (start of new school year?). Did Perry ever get an answer to his PM?
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Re: Problem to set up Guest additions

Post by HuaMin »

noteirak wrote:You still have the old Guest Additions ISO mounted, and the guest OS has locked the drive - which is the expected behaviour.
Click on force unmount, or shutdown your guest, remove the ISO, then restart the guest and use the menu again to mount the ISO properly.
Noteirak,
I see no way to mount the ISO within storage below.
t526.png
t526.png (32.68 KiB) Viewed 2627 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem to set up Guest additions

Post by mpack »

It looks like the CD/DVD drive has been detached from the IDE controller. If you add a virtual CD/DVD drive to the IDE controller then you should be able to mount media in the drive.

The usual reason this happens is that an inexperienced user, in attempting to remove a CD from the drive, has removed the drive from the VM instead.
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Re: Problem to set up Guest additions

Post by HuaMin »

Thanks.
Let's come to the suggestion from Noteirak. How to remove the old Guest Additions ISO, after we've shut down the VM?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem to set up Guest additions

Post by mpack »

Removing a CD from your virtual CD drive is easy - provided your VM actually has a virtual CD drive that is. You just select the CD drive in the left panel, and click the small disk icon which will be visible in the right panel, and from the resulting menu you select what else you want to mount in the drive (including nothing). This can also be done using the Device menu while the VM is running.
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Re: Problem to set up Guest additions

Post by HuaMin »

Sorry, what should I choose below, within Storage?
t530.png
t530.png (34.48 KiB) Viewed 2578 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem to set up Guest additions

Post by mpack »

Select the IDE controller you see listed. Then use the first of the two icons which appear beside the controller to attach a CD/DVD drive to that controller. Once the drive exists you can select it and mount media within it using the right panel.
HuaMin
Posts: 239
Joined: 17. Jan 2012, 07:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Oracle linux

Re: Problem to set up Guest additions

Post by HuaMin »

Thanks. I've mounted the iso file like
t538.png
t538.png (37.55 KiB) Viewed 2554 times
but after this, there is nothing happened when I choose

Devices > Install GuestAdditions

while the VM has been up.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Problem to set up Guest additions

Post by mpack »

"Install Guest Additions" works by mounting a virtual CD, autorun then kicks in and runs the installer. However if autorun is disabled in the guest OS then you need to browse to the CD inside the guest and run the installer manually. Installing Linux Guest Additions is more complex than for Windows Guests: be sure to read the instructions in the user manual.
Post Reply