LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-03-2016, 07:04 AM   #1
serhatbalik
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Rep: Reputation: Disabled
Question Oh no something has gone wrong (Guest Additions CD)


Hi,

I tried searching for similar problems in forum but search function keeps giving me bad gateway error.

I've installed Oracle Virtual Box and created an instance of CentOS7. I'm pretty much newbie and still learning how to install and configure linux for day to day operations. After making all the software updates, i ran the Guest Additions CD from devices menu of Oracle VM, which includes bunch of features. But the problem is, after installing these features i can't reboot system again. When i try, i get the "Oh no something has gone wrong " message.

Any ideas?
 
Old 07-03-2016, 07:13 AM   #2
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.2 MATE
Posts: 3,478
Blog Entries: 2

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Did you make a snapshot or export the VM before running Guest Additions?

If not, start again from scratch. At each important stage, make a snapshot. If anything goes wrong and you can't resolve it, revert to the previous snapshot.

This doesn't solve your problem, but it will make it easier for you in the future.

As for the problem itself, please list your original VM settings here (those that you changed from the defaults). Also your host system and version of VirtualBox.
 
1 members found this post helpful.
Old 07-08-2016, 11:53 AM   #3
serhatbalik
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Did you make a snapshot or export the VM before running Guest Additions?

If not, start again from scratch. At each important stage, make a snapshot. If anything goes wrong and you can't resolve it, revert to the previous snapshot.

This doesn't solve your problem, but it will make it easier for you in the future.

As for the problem itself, please list your original VM settings here (those that you changed from the defaults). Also your host system and version of VirtualBox.
Thanks a lot for the snapshot tip. It really helps a lot. I have Virtual Box 5.0.24 and installed CentOS 7 v1511. Main system OS is Windows 10 x64. The settings that i've changed;

Floppy: Disabled
Processor: 2
Video Memory: 64
Enable 3D Acceleration: Yes
Network Adapter Type: Paravirtualized Network

I install the Gnome Desktop, install yum update, yum install kernel-devel and yum install gcc*

Until that point everything is fine. When i run guest additions it installs successfully but i can no longer reboot the system.
 
Old 07-08-2016, 12:21 PM   #4
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.2 MATE
Posts: 3,478
Blog Entries: 2

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by serhatbalik View Post
Thanks a lot for the snapshot tip. It really helps a lot. I have Virtual Box 5.0.24 and installed CentOS 7 v1511. Main system OS is Windows 10 x64. The settings that i've changed;

Floppy: Disabled
Processor: 2
Video Memory: 64
Enable 3D Acceleration: Yes
Network Adapter Type: Paravirtualized Network

I install the Gnome Desktop, install yum update, yum install kernel-devel and yum install gcc*

Until that point everything is fine. When i run guest additions it installs successfully but i can no longer reboot the system.
Thanks. I'm not sure which settings are essential for CentOS but I generally use (for my Linux VMs):

Code:
. General->Advanced->Shared Clipboard & Drag'n'Drop: Bidirectional.

. System->Base memory: 3072MB RAM (I know, but I have memory to spare).

. Display->Screen->Video Memory: 128MB.

. Display->Screen->3D Acceleration: enabled (Note that this can sometimes cause problems however
    so I sometimes have to leave it disabled e.g. for Manjaro)

. Storage: 20GB VDI.

. Shared folders: set up accordingly.
Anyway, that's probably nothing to do with the problem (although I've never used Paravirtualized Network).

Just before you tried to install Guest Additions, and after the steps you mentioned, did you restart the VM and confirm that it started up ok? We need to isolate the Guest Additions as being the real problem.
 
Old 07-08-2016, 01:08 PM   #5
serhatbalik
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post

Anyway, that's probably nothing to do with the problem (although I've never used Paravirtualized Network).

Just before you tried to install Guest Additions, and after the steps you mentioned, did you restart the VM and confirm that it started up ok? We need to isolate the Guest Additions as being the real problem.
Yes, i can confirm it restarts with no problem if i skip Guest Additions CD. By the way, i tried disabling 3D Acceleration and it rebooted successfully. So, the key option in my situation is "3D Acceleration". My notebook has Intel HD4600 GPU and Geforce GTX 960M. Could be the Intel GPU messing with the 3D Acceleration?
 
Old 07-08-2016, 01:26 PM   #6
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.2 MATE
Posts: 3,478
Blog Entries: 2

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by serhatbalik View Post
Yes, i can confirm it restarts with no problem if i skip Guest Additions CD. By the way, i tried disabling 3D Acceleration and it rebooted successfully. So, the key option in my situation is "3D Acceleration". My notebook has Intel HD4600 GPU and Geforce GTX 960M. Could be the Intel GPU messing with the 3D Acceleration?
To be honest with you, I'm not sure. I've seen various people having problems with VirtualBox's 3D acceleration and I'm not aware of any pattern being found.

What is probably more important is how both CentOS and your host system handle having 3D acceleration switched off. If things look smooth/fast enough then I would leave it as it is. If not, you will need to trawl around and see if you can find any solutions (the mix of kernel and VirtualBox version may have some effect). If that doesn't turn up anything, then try VMWare.

For the moment, I would just carry on and see how it goes. If you do go the VMWare route, you can always export your virtual machine/disk and import it into VMWare.
 
Old 07-08-2016, 02:27 PM   #7
serhatbalik
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Okay, i will switch to VMware if the system doesn't operate smoothly. Thanks for the assist.
 
Old 07-08-2016, 03:50 PM   #8
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,511

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
Quote:
Yes, i can confirm it restarts with no problem if i skip Guest Additions CD.
Not sure I follow what this means? Are you saying if you eject the CD that the system boots fine?
 
Old 07-09-2016, 02:55 AM   #9
serhatbalik
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by grail View Post
Not sure I follow what this means? Are you saying if you eject the CD that the system boots fine?
When i insert and run the CD, it installs some packages which provide extra features such as moving mouse in and out of VM without using right-control. The problem occurs after i install these packages.
 
Old 07-09-2016, 11:05 AM   #10
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,511

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
So to clarify, you have installed linux and you can restart that without issue, but then you install the guest additions and get a successfully installed message to say it is done and the
system is still working, but when you now restart the vm it no longer starts?
 
Old 07-09-2016, 11:32 AM   #11
serhatbalik
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by grail View Post
So to clarify, you have installed linux and you can restart that without issue, but then you install the guest additions and get a successfully installed message to say it is done and the
system is still working, but when you now restart the vm it no longer starts?
Exactly. But if i do not check "3D Acceleration" during VirtualBox VM creation, then i can restart successfuly after guest additions installation. I use my laptop which has internal and external GPU. Could it be related to that?
 
Old 07-09-2016, 12:49 PM   #12
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,511

Rep: Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890Reputation: 2890
Would seem to be the likely culprit
 
Old 07-09-2016, 02:08 PM   #13
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,148

Rep: Reputation: 237Reputation: 237Reputation: 237
In a more basic case, are the "guest additions" actually necessary?
I mean that if I skip that stage, what do I lose?
 
Old 07-09-2016, 03:31 PM   #14
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.2 MATE
Posts: 3,478
Blog Entries: 2

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by JeremyBoden View Post
In a more basic case, are the "guest additions" actually necessary?
I mean that if I skip that stage, what do I lose?
Necessary, no. But they do add some useful features, depending on the guest system.

Straight from the horse's mouth:

https://www.virtualbox.org/manual/ch04.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CentOS 7 Host and Virtualbox Win 8.1 Guest with Guest Additions Installed Sum1 Linux - Virtualization and Cloud 1 03-26-2015 02:31 PM
[SOLVED] how to check version of virtualbox guest additions currently installed in guest syste masuch Linux - Virtualization and Cloud 3 09-03-2012 01:05 AM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 08:22 AM
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 05:30 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration