LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Dragora GNU/Linux-Libre (https://www.linuxquestions.org/questions/dragora-gnu-linux-libre-110/)
-   -   Virtual-box guest and Dragora (https://www.linuxquestions.org/questions/dragora-gnu-linux-libre-110/virtual-box-guest-and-dragora-4175517872/)

herakles 09-08-2014 09:54 AM

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

selkfoster 09-09-2014 04:24 PM

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

herakles 09-10-2014 12:16 PM

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

herakles 09-13-2014 05:17 AM

COMPILING MODULES IN LINUXLIBRE 3.2.15 dont WORK !
 
1 Attachment(s)
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

herakles 09-13-2014 11:09 AM

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

selkfoster 09-13-2014 06:41 PM

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.

herakles 09-14-2014 04:11 PM

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

selkfoster 09-15-2014 12:58 PM

Question, have you done a complete installation?

Anyway, you can install the package using `pkg add kernel-headers-3.2.15-<arch>-1.tlz'.

herakles 09-15-2014 01:47 PM

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

selkfoster 09-15-2014 02:22 PM

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.

herakles 09-16-2014 04:58 AM

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

selkfoster 09-16-2014 06:08 PM

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.

herakles 09-17-2014 07:32 PM

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

selkfoster 09-17-2014 08:47 PM

What?

-smp64 is for x86_64. So it's the same.

herakles 09-18-2014 12:13 AM

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


All times are GMT -5. The time now is 06:39 PM.