LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Dragora GNU/Linux-Libre
User Name
Password
Dragora GNU/Linux-Libre This forum is for the discussion of Dragora Linux.

Notices


Reply
  Search this Thread
Old 09-08-2014, 10:54 AM   #1
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Rep: Reputation: Disabled
Virtual-box guest and Dragora


Hi everybody !

I am using Dragora on a Vm on a Mint 17 64 bit os host .
My aim is to enable sharing betweeb host and guest .
I've tried to install Virtual-box guest add but the module failed to load !
When I compare with Arch Linux , I was able to see at least MY SHARED folder but in Dragora I don't see anything !??!!?

Any idea please ?

Regards

Caron

---------- Post added 09-08-14 at 09:54 AM ----------

Hi everybody !

I am using Dragora on a Vm on a Mint 17 64 bit os host .
My aim is to enable sharing betweeb host and guest .
I've tried to install Virtual-box guest add but the module failed to load !
When I compare with Arch Linux , I was able to see at least MY SHARED folder but in Dragora I don't see anything !??!!?

Any idea please ?

Regards

Caron
 
Old 09-09-2014, 05:24 PM   #2
selkfoster
Dragora Maker
(do not blame me)
 
Registered: May 2014
Distribution: Dragora
Posts: 38

Rep: Reputation: 16
Hello Caron,

You need to install the VBoxGuestAdditions in the guest.

To install the Additions you will need the kernel sources[1] in-tree (/usr/src). Unfortunately, Dragora 2.2 does not provide a package with the kernel sources in-place (this is the tree with the files of the generated compilation), but you can use the current config and perform the steps to compile in-place.

[1] http://mirror.fsf.org/dragora/dragor....15-gnu.tar.lz
 
Old 09-10-2014, 01:16 PM   #3
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
Hi my friend !

I thank you so much for your quick reply .
Unfortunately I must apologize and admit that I am a Linux Newbie, a humble pilgrim on the path of learning curve.
So please bear with me and explain step by step how to compile in place the additions package in my Dragora Vm.

Thank you so much again for all !

Caron
 
Old 09-13-2014, 06:17 AM   #4
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
COMPILING MODULES IN LINUXLIBRE 3.2.15 dont WORK !

Hi again !

I downloaded the linuxlibre and put in in /home on my Dragora Vm . I succeeded in extracting the kernel but when I must " make modules_install", Dragora tells me that I need compiler support.
Sudo command and even yum commands don't work . I will try to seek and download a compiler by my own but your esteemed help is welcomed.

Caron
Attached Thumbnails
Click image for larger version

Name:	modules compiling.png
Views:	30
Size:	95.1 KB
ID:	16413  

Last edited by herakles; 09-13-2014 at 06:53 AM. Reason: COMPILING PHOTO ATTACHMENT
 
Old 09-13-2014, 12:09 PM   #5
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
Hi again,

I'm unable to setup virtualbox guest add on my Dragora Vm guest while I'm running Mint 17 quiana 64 bit host.
I have been advised to download and recompile kernel which I did and I'm running kernel 3.2.15 smp 64. I am trying to setup virtual guest add 4.3.14-95030 .
I was then advised to fing the virtual box guest add source tree and to run ./configure, then make and make install.
"/usr/src/linux is one thing You only need to unpack the kernel source code there. You should not need to do anything else
You should also unpack the virtualbox guest additions source code elsewhere. The commands ./configure; make; make install are to be ran in the virtualbox guest additios source code tree, NOT in the /usr/src/linux directory. "
The point is that I am not sure where the source code tree is ...
Can you help ?

Thank you so much

Caron
 
Old 09-13-2014, 07:41 PM   #6
selkfoster
Dragora Maker
(do not blame me)
 
Registered: May 2014
Distribution: Dragora
Posts: 38

Rep: Reputation: 16
The point is that you need to decompress the kernel sources into /usr/src:
Code:
tar xvf $HOME/linux-libre-3.2.15-gnu.tar.lz -C /usr/src
Then, you can use the default config for the kernel:
Code:
# zcat /proc/config.gz > /usr/src/linux-<version>/.config
Go to /usr/src/linux-3.2.15, and establish the config:
Code:
cd /usr/src/linux-3.2.15
make oldconfig
Compile the kernel:
Code:
make
If your machine has one more than one processor, use parallel jobs to speed-up the compilation, for example:
Code:
make -j4
Then, try to install the VBox Guest Additions.
 
Old 09-14-2014, 05:11 PM   #7
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thank you for your precious advices but Vbox Guest additions still fail :
-" the headers for the current running kernel cannot be found "
-"HZ value ( 81 ) .Assume 1024"

Any idea? Thanks

Caron
 
Old 09-15-2014, 01:58 PM   #8
selkfoster
Dragora Maker
(do not blame me)
 
Registered: May 2014
Distribution: Dragora
Posts: 38

Rep: Reputation: 16
Question, have you done a complete installation?

Anyway, you can install the package using `pkg add kernel-headers-3.2.15-<arch>-1.tlz'.
 
Old 09-15-2014, 02:47 PM   #9
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
Hi !

And thank you for grabbing my newbie's hand in such a troubleshooting...lol!
I am unable to make the command run : the -1.tlz is located in mu /usr/src/linux/arch but even if I am goggling, I cannot find the proper way to execute the command. My Dragora Vm is not connected to the internet ...
So what can I do please ?

Caron
 
Old 09-15-2014, 03:22 PM   #10
selkfoster
Dragora Maker
(do not blame me)
 
Registered: May 2014
Distribution: Dragora
Posts: 38

Rep: Reputation: 16
Normally, if the real machine has Internet connection, the virtual machine too.

You can check if the kernel-headers package is installed, typing `ls /var/db/pkg/kernel-headers*'. However, I suggest a full installation of Dragora.

Last edited by selkfoster; 09-15-2014 at 03:24 PM.
 
Old 09-16-2014, 05:58 AM   #11
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
Hi again !

Thank you : the command gave me /var/db/kernel-headers-3.2.15-x86_64-1 while my kernel is 3.2.15 smp64 !
Now how can do I still need to run the previous command " pkg add kernel-headers-3.2.15-<arch>-1.tlz". If yes, how can I do it because as there are no Guest Add installed, I am still not connected to the net...

Caron
 
Old 09-16-2014, 07:08 PM   #12
selkfoster
Dragora Maker
(do not blame me)
 
Registered: May 2014
Distribution: Dragora
Posts: 38

Rep: Reputation: 16
OK, you have the kernel-headers installed then.

You need two things: regenerate the kernel config (see my reply about the kernel steps) and the VBoxGuestAdditions.

Check the configuration of the Virtual Machine, and tries
Code:
dhclient -v eth0
in the guest.

If you have another machine with Internet access, maybe you can burn the files in a CD, or pendrive.
 
Old 09-17-2014, 08:32 PM   #13
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
Thank you so much for your reply.
But is there a way to convert my kernel 3.2.15-smp64 into kernel 3.2.15-x86_64 please ?

Regards

Caron
 
Old 09-17-2014, 09:47 PM   #14
selkfoster
Dragora Maker
(do not blame me)
 
Registered: May 2014
Distribution: Dragora
Posts: 38

Rep: Reputation: 16
What?

-smp64 is for x86_64. So it's the same.
 
Old 09-18-2014, 01:13 AM   #15
herakles
LQ Newbie
 
Registered: Jan 2013
Posts: 26

Original Poster
Rep: Reputation: Disabled
But for headers and running kernel , it makes a difference because Vbox Guest Add fail to load.
I'm also having some trouble with the syntax of the command : " zcat /proc/config.gz > /usr/src/linux-<version>/.config" because when I type it Os reply : /usr/src/linux-3.2.15/ is a folder...but I'm motivated and will surely find a way....

Caron
 
  


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
[SOLVED] Installing Gentoo as a guest in Virtual Box 4.3.6 techmom50 Linux - Virtualization and Cloud 4 01-15-2014 11:58 AM
antivirus in virtual box guest xp os shakti.mickey Linux - Newbie 13 05-20-2013 02:40 PM
[SOLVED] Networking - Virtual Box (WinXP Guest) dc_eros Slackware 14 01-12-2010 06:47 PM
BLFS in a Virtual Box guest... trying to get Xorg7.2 to run fdt93 Linux From Scratch 2 08-29-2009 09:25 PM
same IP ad of 2 guest OS in virtual box ic_torres Linux - Newbie 2 05-20-2008 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Dragora GNU/Linux-Libre

All times are GMT -5. The time now is 01:09 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