Page 1 of 1

CentOS Guest Additions CD Image

Posted: 29. Apr 2016, 00:36
by Nick9D
I'm hitting a wall when trying to install the 'Guest Additions CD Image' to CentOS 7 and CentOS 6.7. I've tried both versions with no luck.

Here's what I've done with both versions:
1) I download the minimal ISO for CentOS
2) Create a new VM and install CentOS
3) yum install -y kernel-dev gcc
4) From the Devices Menu -> Insert Guest Additions CD Image...

At this point I don't get any kind of popup about mounting the CD image. I look under /mnt and /media but I don't see the guest additions CD.
What am I missing? Where would I find this mount point?

I think the CD is "Inserted" because when I look in the VM settings -> storage, I see under "Controller: IDE" there is the VBoxGuestAdditions.iso has been added but I have no idea where it mounts it.

Thanks for any help.

Re: CentOS Guest Additions CD Image

Posted: 29. Apr 2016, 00:43
by Perryg
Is this a minimal install and does it have a desktop manager?
If nothing else you simply need to manually mount the CD and then run it.

Re: CentOS Guest Additions CD Image

Posted: 29. Apr 2016, 01:19
by Nick9D
Perryg wrote:Is this a minimal install and does it have a desktop manager?
Yes this is the minimal install. I didn't install a desktop manager.
Perryg wrote:If nothing else you simply need to manually mount the CD and then run it.
What would that mount command look like? I don't know what the source would be.

Re: CentOS Guest Additions CD Image

Posted: 29. Apr 2016, 01:45
by Nick9D
I found mnt /dev/dvd /mnt worked
I can see the files in there so I'll try running them and update here.

Re: CentOS Guest Additions CD Image

Posted: 29. Apr 2016, 02:01
by Perryg
Well not sure what you hope to gain installing the guest additions. Without X the only thing that will work is shared folders but the install will need to have the --nox11 at the end to avoid issues since you do not have X.

Example = *.run --nox11

Re: CentOS Guest Additions CD Image

Posted: 29. Apr 2016, 02:24
by Nick9D
I'm working to setup a Vagrant base box. There's no need for X but I need shared folders.
I got the add on CD mounted by following this -> mount -t iso9660 /dev/cdrom /mnt

This worked for CentOS 7. For CentOS 6.7 I have to do mount -t iso9660 /dev/dvd /mnt

Re: CentOS Guest Additions CD Image

Posted: 29. Apr 2016, 02:33
by Perryg
(a) we don't support the use of vagrant and (b) if what I think you are doing is correct we do not support nested virtualization either.

Re: CentOS Guest Additions CD Image

Posted: 30. Apr 2016, 01:31
by Nick9D
Perryg wrote:(a) we don't support the use of vagrant and (b) if what I think you are doing is correct we do not support nested virtualization either.
No worries on Vagrant. It's something I'm playing with and part of the steps is to install the guest additions.
I'm not nesting VM's. I'm testing with 2 separate VM's, CentOS 6 and CentOS 7.

Thanks for the help!