LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Oh no something has gone wrong (Guest Additions CD) (https://www.linuxquestions.org/questions/linux-newbie-8/oh-no-something-has-gone-wrong-guest-additions-cd-4175583656/)

serhatbalik 07-03-2016 07:04 AM

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?

hydrurga 07-03-2016 07:13 AM

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.

serhatbalik 07-08-2016 11:53 AM

Quote:

Originally Posted by hydrurga (Post 5569698)
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.

hydrurga 07-08-2016 12:21 PM

Quote:

Originally Posted by serhatbalik (Post 5572601)
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.

serhatbalik 07-08-2016 01:08 PM

Quote:

Originally Posted by hydrurga (Post 5572616)

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?

hydrurga 07-08-2016 01:26 PM

Quote:

Originally Posted by serhatbalik (Post 5572638)
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.

serhatbalik 07-08-2016 02:27 PM

Okay, i will switch to VMware if the system doesn't operate smoothly. Thanks for the assist.

grail 07-08-2016 03:50 PM

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?

serhatbalik 07-09-2016 02:55 AM

Quote:

Originally Posted by grail (Post 5572720)
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.

grail 07-09-2016 11:05 AM

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?

serhatbalik 07-09-2016 11:32 AM

Quote:

Originally Posted by grail (Post 5573120)
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?

grail 07-09-2016 12:49 PM

Would seem to be the likely culprit :)

JeremyBoden 07-09-2016 02:08 PM

In a more basic case, are the "guest additions" actually necessary?
I mean that if I skip that stage, what do I lose?

hydrurga 07-09-2016 03:31 PM

Quote:

Originally Posted by JeremyBoden (Post 5573173)
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


All times are GMT -5. The time now is 03:11 AM.