Page 1 of 1

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

Posted: 23. Oct 2013, 16:06
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.

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

Posted: 23. Oct 2013, 17:16
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.

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

Posted: 23. Oct 2013, 17:33
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.

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

Posted: 23. Oct 2013, 18:30
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)

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

Posted: 23. Oct 2013, 18:50
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.

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

Posted: 1. Nov 2013, 17:51
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?