CentOS 7 Guest Additions Installed but Not Working
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: CentOS 7 Guest Additions Installed but Not Working
Wait a minute. I just read your first post again and saw you are using CLI. Does the guest not have graphics?
Re: CentOS 7 Guest Additions Installed but Not Working
I'm indeed running the minimal, CLI only version of CentOS 7.
I only installed those packages listed because all of the others you listed were already on.
I'm running VirtualBox 4.3.22 r98236.
Here's why I'm wanting to install the Guest Additions. As you can see, listing directories, viewing config files, and a bunch of other stuff is a real pain. I pretty much have to pipe everything to less.
I only installed those packages listed because all of the others you listed were already on.
I'm running VirtualBox 4.3.22 r98236.
Here's why I'm wanting to install the Guest Additions. As you can see, listing directories, viewing config files, and a bunch of other stuff is a real pain. I pretty much have to pipe everything to less.
- Attachments
-
- Capture.PNG (52.97 KiB) Viewed 3401 times
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: CentOS 7 Guest Additions Installed but Not Working
Auto-resize depends on Xorg and since you have none it will not work. If you want a different/larger work screen you need to adjust the framebuffer on the guest.
Re: CentOS 7 Guest Additions Installed but Not Working
I know this is an old post but I worked on this for a whole day and found something that worked for me and thought someone else might find it helpful. Here are the step I took:
1. yum remove kernel.x86_64 kernel-headers.x86_64
2. mkdir /download
3. cd /download
4. wget ftp://ftp.muug.mb.ca/mirror/centos/7.1. ... x86_64.rpm
5. wget ftp://ftp.muug.mb.ca/mirror/centos/7.1. ... x86_64.rpm
6. rpm -ivh kernel-devel-3.10.0-229.el7.x86_64.rpm
7. rpm -ivh kernel-headers-3.10.0-229.7.2.el7.x86_64.rpm
8. yum install gcc
9. mount the guest additions cd and install
mkdir /media/cdrom
mount /dev/cdrom /media/cdrom
cd /media/cdrom
./VBoxLinuxAdditions.run
I hope this helps someone out there.
1. yum remove kernel.x86_64 kernel-headers.x86_64
2. mkdir /download
3. cd /download
4. wget ftp://ftp.muug.mb.ca/mirror/centos/7.1. ... x86_64.rpm
5. wget ftp://ftp.muug.mb.ca/mirror/centos/7.1. ... x86_64.rpm
6. rpm -ivh kernel-devel-3.10.0-229.el7.x86_64.rpm
7. rpm -ivh kernel-headers-3.10.0-229.7.2.el7.x86_64.rpm
8. yum install gcc
9. mount the guest additions cd and install
mkdir /media/cdrom
mount /dev/cdrom /media/cdrom
cd /media/cdrom
./VBoxLinuxAdditions.run
I hope this helps someone out there.
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: CentOS 7 Guest Additions Installed but Not Working
@SteveRut,
Do you have an actual desktop and not a server based command line only interface?
If so then this topic is completely different as it is command line only with no desktop. None of what you say will actually fix the issue concerned in this topic.
Do you have an actual desktop and not a server based command line only interface?
If so then this topic is completely different as it is command line only with no desktop. None of what you say will actually fix the issue concerned in this topic.
-
docsmasher666
- Posts: 1
- Joined: 14. Jan 2016, 22:38
Re: CentOS 7 Guest Additions Installed but Not Working
You're getting ahead now, but there will be redundancies in the builds depending on the repo used to obtain the specific .rpm including the other packages. KISS-Keep it simple, stupid, my tutor used to say in class and here we can put more ease on the problem since it looks like you've attempted this procedure many times.
Start with a fresh install/re-install from the live-cd-centos7 from VBOX 5, after creating new virtual disk. Boot into the GUI and look for your .repo with nautilus.
Here's a basic CentOS-Base.repo you can use to install VBOX GUEST ADDITIONS 5
(Remember to backup your .virtual hard disk before you start)
I use nano to edit lol. Backup/delete the old CentOS-Base.repo and all the others in /etc/yum.repos.d folder so you don't have conflicts in choosing packages.
Insert the following.
Once you have configured this, run the following command.
Once installed open mount your VBoxAdditions.iso from VBOX or in CLI terminal.
Run the installer, with success.
Start with a fresh install/re-install from the live-cd-centos7 from VBOX 5, after creating new virtual disk. Boot into the GUI and look for your .repo with nautilus.
Here's a basic CentOS-Base.repo you can use to install VBOX GUEST ADDITIONS 5
(Remember to backup your .virtual hard disk before you start)
I use nano to edit lol. Backup/delete the old CentOS-Base.repo and all the others in /etc/yum.repos.d folder so you don't have conflicts in choosing packages.
Code: Select all
nano /etc/yum.repos.d/CentOS-Base.repoCode: Select all
# placeholder for now
[CentOS7]
name=CentOs7
baseurl=hxxp : //vault.centos . org/7.0.1406/os/x86_64/
gpgcheck=1
gpgkey=hxxp: // vault.centos. org/7.0.1406/os/x86_64/RPM-GPG-KEY-CentOS-7
Code: Select all
yum install kernel-devel gcc kernel-header dkmsRun the installer, with success.