Ubuntu 13.10 server not seeing mounted .iso's from guest

Discussions related to using VirtualBox on Windows hosts.
Post Reply
cinosa
Posts: 3
Joined: 23. Oct 2013, 15:59

Ubuntu 13.10 server not seeing mounted .iso's from guest

Post by cinosa »

Host:

Win7 Enterprise x64
16GB Ram
Core i7-3770
2TB HDD

Guest:

Ubuntu Server 13.10 x64
2 GB Ram allocated
2 vcpu's
8GB HDD

Issue:

The OS is not seeing any .iso's mounted within it. I'm new to *nix and VM's, so be gentle. I've checked /media/cdrom and when either the OS install .iso or the guest additions .iso is mounted, this directory is empty. Rebooting the guest with the OS .iso mounted prompts to reinstall said OS. I'm unsure if this a VB issue or a Ubuntu thing that I'm just not seeing. I've managed to get RHEL 5 and Solaris 10 working fine and joined to my Windows domain using Power Broker Identity Services, but Ubuntu is throwing me for a loop.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 13.10 server not seeing mounted .iso's from guest

Post by Perryg »

Servers work differently from desktops and you must manually mount specific devices.
As far as guest additions all you will get on a server is shared folders and time sync since you do not have X installed.
cinosa
Posts: 3
Joined: 23. Oct 2013, 15:59

Re: Ubuntu 13.10 server not seeing mounted .iso's from guest

Post by cinosa »

Perryg wrote:Servers work differently from desktops and you must manually mount specific devices.
As far as guest additions all you will get on a server is shared folders and time sync since you do not have X installed.
Ok, so how would I get guest additions installed? In order for me to copy the .iso to a shared folder to mount, I'd have to have guest additions installed. I can't install guest additions, because the .iso isn't mounting from within the guest.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Ubuntu 13.10 server not seeing mounted .iso's from guest

Post by Perryg »

This is guest specific and not really a VBox issue but the mount statement is fairly simple.

Code: Select all

sudo mount /dev/sr0 /media
This will mount the CD/DVD in /media.
From there you run the install using the --nox11 tag to allow it to build without X

Code: Select all

sudo ./VBoxLinuxAdditions.run --nox11
Keep in mind that you will see errors but that is because you don't have x and it will install the shared folders and time sync

You will also need to install the necessary packages to build external kernel modules before you can actually build the guest additions modules. So do this first

Code: Select all

sudo apt-get install dkms build-essential linux-headers-$(uname -r)
cinosa
Posts: 3
Joined: 23. Oct 2013, 15:59

Re: Ubuntu 13.10 server not seeing mounted .iso's from guest

Post by cinosa »

Perryg wrote:This is guest specific and not really a VBox issue but the mount statement is fairly simple.

Code: Select all

sudo mount /dev/sr0 /media
This will mount the CD/DVD in /media.
From there you run the install using the --nox11 tag to allow it to build without X

Code: Select all

sudo ./VBoxLinuxAdditions.run --nox11
Keep in mind that you will see errors but that is because you don't have x and it will install the shared folders and time sync

You will also need to install the necessary packages to build external kernel modules before you can actually build the guest additions modules. So do this first

Code: Select all

sudo apt-get install dkms build-essential linux-headers-$(uname -r)
Ok, thanks for the help, I'll give this a shot.
LyonO
Posts: 1
Joined: 1. Nov 2013, 17:34

Re: Ubuntu 13.10 server not seeing mounted .iso's from guest

Post by LyonO »

The results I get from running sudo apt-get install dkms .... is:

Unable to locate package DKMS
Unable to locate package build-essential

My more basic question is, how do I get these packages into my VM? Do I download them to my Windows host and create an ISO, then mount that?
Post Reply