Issue installing Guest Additions SUSE Linux Enterprise D 11

Discussions about using Linux guests in VirtualBox.
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

Hello,

As my subject says, I am having an issue when installing Guest Additions in SUSE.

Before I tried to install guest additions I first installed gcc, kernal-source, and ruby while installing SUSE. When my installation was completed I selected "Install Guest Additions..." in the VirtualBox window containing my virtual machine. Almost immediately, the CD or DVD was mounted and appeared on my desktop. There was also a popup asking if I wanted to run the software. I did and nothing happened. After about 30 seconds I opened browsed the CD and ran "VBoxLinuxAdditions-x86.run" in the terminal (I have attached the terminal text). Everything looked good so I rebooted my machine and now Gnome is not running on startup. What have I done wrong or what can be done to repair this issue so that I can use Guest additions with SUSE?

As a side note I have just begun an introduction to Linux course, my knowledge is very limited. However, I am comfortable trying several different methods or pull up information from different corners of my installation.

Thanks in advance,
~Ben

Image
Image
Image
particleman
Posts: 16
Joined: 10. Jan 2011, 05:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: arch,gentoo

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by particleman »

What does your Xorg.0.log say about what failed? If I were you I would start checking my logs.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by Perryg »

You may not have all that you need to compile kernel modules. Below is what I install.

Code: Select all

sudo zypper install gcc make automake autoconf kernel-source kernel-devel
Then install the guest additions again. (auto-mount and run usually does not work)
Use the command line in a terminal to access the guest additions and run them from there.
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

Thanks for the quick replies guys.

Where can I find my xorg.0.log?

This is what the terminal spit out when I tried installing those packages

'gcc' is already installed.
'make' is already installed.
'automake' not found.
'autoconf' not found.
'kernel-source' is already installed.
'kernel-devel' not found.
particleman
Posts: 16
Joined: 10. Jan 2011, 05:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: arch,gentoo

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by particleman »

/var/log/Xorg.0.log

more /var/log/Xorg.0.log | grep EE

install linux-kernel-headers kernel-source kernel-syms make gcc gcc-c++
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

I have attached the log. This log is pulled from my installation prior to the reboot that caused the GUI to disappear. Go snapshots! haha
Xorg.0.log
(12.98 KiB) Downloaded 22 times
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

Oops, forgot to add, it said something like not a valid location. I'll pull up the exact error message in one second.

EDIT: The exact error message reads as:

install: target 'gcc-c++' is not a directory
particleman
Posts: 16
Joined: 10. Jan 2011, 05:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: arch,gentoo

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by particleman »

I forgot to tell you to install dkms also it recompiles modules for you when there are kernel updates and i have seen GA logs complain about certain things w/o dkms but GA's still work. Do you have a working desktop now? Sounds like you do now just run the VBoxLinuxAdditions.run and it should work.
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

I'm still getting the 'is not valid directory' error. What am I doing wrong?
particleman
Posts: 16
Joined: 10. Jan 2011, 05:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: arch,gentoo

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by particleman »

install dkms and try to install th GA again I lost my 11.4 m5 iso but I had GA working fine so it *should* work for you.
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

I tried install dkms and received the following error
install: missing destination file operand after 'dkms'

When I tried 'install linux-kernel-headers kernel-source kernel-syms dkms make gcc gcc-c++', I received the following error.
install: target 'gcc-c++' is not a directory

What am I missing at the end of the command? and thanks for your help so far!!!
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

Everything installed beautifully... except the additions.

Here are two screenshots of my Linux installation. The first one is what it looks like when I start up the machine now and the second one is an attempt to pull up the xorg.0.log file.

http://img338.imageshack.us/i/suseloginscreen.jpg/
http://img831.imageshack.us/i/susexorglog.jpg/
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by stefan.becker »

Try without an xorg.conf (mv /etc/X11/xorg.conf /etc/X11/xorg.bak).
BenW
Posts: 11
Joined: 28. Jan 2011, 02:08
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Ubuntu Desktop Edition x64, SUSE Linux Enterprise Server 11 and Desktop 11, openSUSE, Windows 7 pro

Re: Issue installing Guest Additions SUSE Linux Enterprise D 11

Post by BenW »

I don't think anything new happened, the screen flickered and then started up just like my last screenshot.

http://img407.imageshack.us/i/suseloginscreen2.png/
Post Reply