LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 09-02-2018, 12:57 PM   #1
wghay
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Rep: Reputation: 0
4MLinux as VirtualBox guest - how can I install VirtualBox Guest Additions?


Guest machine won't mount the Guest Additions ISO, so I've copied VBoxLinuxAdditions.run from the host into the guest.

Tried adding the "Devel" extension, which fixed requests for GCC, make & Perl, but it still asks for current kernel headers...

Guest is 4MLinux 26.0, host Lubuntu 18.04.
 
Old 09-02-2018, 02:31 PM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 867

Rep: Reputation: 162Reputation: 162
Hi,

https://sourceforge.net/projects/lin...rs/virtualbox/

You can also find it on the 4MLinux installation CD.

.
 
Old 09-02-2018, 03:43 PM   #3
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 867

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by wghay View Post
but it still asks for current kernel headers...
Small comment on these errors. Some time ago I saw them, too. They mean: "I want to compile kernel modules for you, but I cannot find the Linux kernel sources." The question is why VirtualBox produces somewhat strange message about kernel headers, which, in fact, are not missing

.

Last edited by zk1234; 09-02-2018 at 03:46 PM.
 
Old 09-03-2018, 02:29 AM   #4
wghay
LQ Newbie
 
Registered: Mar 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Well, if the kernel headers are not really missing at all, then maybe the problem is that this is a very new release of 4MLinux - I'll wait a while to see if VirtualBox catches up...
 
Old 09-19-2018, 09:03 AM   #5
kevtardis
LQ Newbie
 
Registered: Jun 2018
Posts: 4

Rep: Reputation: Disabled
I am also unable to get Virtualbox Guest Additions to work, even though I used the ISO file at the referenced SourceForge link.

Here's the error I'm getting:

/usr/sbin/vbox-uninstall-guest-additions: line 9 /opt/VirtualBoxGuestAdditions-5.2.18 /uninstall.sh: No such file or directory

I don't see an uninstall.sh file on the ISO.

I must be missing something, but could use some help figuring out what it is...

Thanks.
 
1 members found this post helpful.
Old 09-19-2018, 09:55 AM   #6
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 867

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by kevtardis View Post
I am also unable to get Virtualbox Guest Additions to work, even though I used the ISO file at the referenced SourceForge link.

Here's the error I'm getting:

/usr/sbin/vbox-uninstall-guest-additions: line 9 /opt/VirtualBoxGuestAdditions-5.2.18 /uninstall.sh: No such file or directory

I don't see an uninstall.sh file on the ISO.

I must be missing something, but could use some help figuring out what it is...

Thanks.
I have no idea why you are not using the original 4MLinux packages.
And this is why I am unable to help you.

.
 
Old 09-19-2018, 02:01 PM   #7
kevtardis
LQ Newbie
 
Registered: Jun 2018
Posts: 4

Rep: Reputation: Disabled
I'm using the package you provided in the link a few messages above....
 
Old 09-19-2018, 03:09 PM   #8
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 867

Rep: Reputation: 162Reputation: 162
Quote:
Originally Posted by kevtardis View Post
I'm using the package you provided in the link a few messages above....
There are the following two packages for 4MLinux 26.0:
the main package (addon_vb.tar.xz): ftp://dl.4mlinux.com/
the optional guest ISO: https://sourceforge.net/projects/lin...rs/virtualbox/

The problem is that none of them includes the /usr/sbin/vbox-uninstall-guest-additions script mentioned in your post...

.

Last edited by zk1234; 09-19-2018 at 03:27 PM.
 
Old 09-19-2018, 06:01 PM   #9
kevtardis
LQ Newbie
 
Registered: Jun 2018
Posts: 4

Rep: Reputation: Disabled
Thanks - I was unaware of the main package (addon_vb.tar.xz) you referenced in your last post. Will give it a try. Perhaps I won't get the same error I got last time...
 
Old 09-20-2018, 02:43 PM   #10
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 867

Rep: Reputation: 162Reputation: 162
It's probably much simpler than you think. On newly installed 4MLinux:
Menu > Extensions > SysApps > VirtualBox
A terminal window will be opened:

Code:
This will download and install VirtualBox.
Do you wish to continue (y/n)?:
Confirm the installation and wait till it is finished.
Done! VirtualBox is now up and running.

Optionally, you can also install the guest ISO package, which can be found on the 4MLinux installation CD (in the drivers folder) or online.

.

Last edited by zk1234; 09-20-2018 at 02:51 PM.
 
Old 09-27-2018, 04:26 PM   #11
kevtardis
LQ Newbie
 
Registered: Jun 2018
Posts: 4

Rep: Reputation: Disabled
Sorry I didn't answer for a while - I was out of town with no access to my desktop PC.

I'm not looking to install Virtualbox in 4MLinux. The 4MLinux installation is a VirtualBox Guest. I was unable to install VirtualBox Guest Additions in the Guest so I can change the size of the Guest Window, copy to/from the host clipboard, and share files/folders with the host. This is my ultimate goal.

I tried to install Guest Additions the normal way and got all manner of errors. That is when I ran into this thread and thought perhaps 4MLinux had a custom Guest Additions ISO which i had to install from. I wasn't successful here either.

Sorry if I'm confusing. 4MLinux sounds like a neat distro, and I'd really like to try out JWM too, but it would be much easier if I could have it full screen and easily copy files to/from the host...
 
1 members found this post helpful.
Old 09-30-2018, 12:17 PM   #12
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 867

Rep: Reputation: 162Reputation: 162
Now I understand. However, such a custom ISO (mentioned in your last post) does not exist.

Thanks for your interest in 4MLinux!

.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox: How to add Guest Additions ISO from guest machine Don_Nadie Linux - Virtualization and Cloud 15 01-20-2017 08:42 AM
[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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 09:20 PM.

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