Re: Instalation and kernel headers

2012-05-14 Thread Pedro Alexi Perez

Hi all,
thanks to all. Finally I found what's happen. I do not why, my Debian 
i386 Installation CD install an amd64 kernel, butm aparently, as Dave 
Thayer says,


You might be running a 64-bit kernel in a 32-bit userspace

because the kernel was 64-bit but I cannot install the 64-bit version of 
Virtualbox.

I de-install the amd64 kernel headers and force to install a 32 bits kernel. 
Then I reboot with the new configuration (32-bit kernel) and reinstalled the 
Virtualbox. Now it seems that it is all ok.

Thanks to Ralf Mardof, Claudius Hubig, CamaleĆ³n and Dave Thayer, all of 
you helps me a lot!




El 13/05/12 06:37, Dave Thayer escribiĆ³:

On Fri, May 11, 2012 at 09:50:52AM +0200, Pedro Alexi Perez wrote:

Hello,
I am trying to install Virtualbox, and after several times with the
same error, I try to check all the steps of the installation in
depth, and I see this message

First Installation: checking all kernels...
Building only for 2.6.32-5-amd64
Building initial module for 2.6.32-5-amd64

Then I check my kernel, and I see that (aparently) my installation
has the 64 bits architecture

$ uname -a
Linux linuxpc 2.6.32-5-amd64 #1 SMP Sat May 5 03:03:41 UTC 2012
x86_64 GNU/Linux

But I am pretty sure I installed the 32 bits version. In fact, if I
revise the /etc/apt/sources.list file, I have this line

deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 DVD
Binary-1 20120128-12:53]/ squeeze contrib main

For sure, I tried to install the 64 bits version of Virtualbox, and
I got an error because the wrong architecture.
And, of course, my question is: what's happen? I have a 32 or 64
bits installation?

You might be running a 64-bit kernel in a 32-bit userspace. I ran such
a system for quite some time until my last HD upgrade.

Unfortunately, virtualbox is unhappy in such a system, so you have to
set up a 64-bit chroot. There's information on the VB wiki here:
https://www.virtualbox.org/wiki/Setup_Jail. It's kind of a PITA, but
it works.

HTH

dt



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4fb0bd03.2020...@lets.es



Instalation and kernel headers

2012-05-11 Thread Pedro Alexi Perez

Hello,
I am trying to install Virtualbox, and after several times with the same 
error, I try to check all the steps of the installation in depth, and I 
see this message


First Installation: checking all kernels...
Building only for 2.6.32-5-amd64
Building initial module for 2.6.32-5-amd64

Then I check my kernel, and I see that (aparently) my installation has 
the 64 bits architecture


$ uname -a
Linux linuxpc 2.6.32-5-amd64 #1 SMP Sat May 5 03:03:41 UTC 2012 x86_64 
GNU/Linux


But I am pretty sure I installed the 32 bits version. In fact, if I 
revise the /etc/apt/sources.list file, I have this line


deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 DVD Binary-1 
20120128-12:53]/ squeeze contrib main


For sure, I tried to install the 64 bits version of Virtualbox, and I 
got an error because the wrong architecture.
And, of course, my question is: what's happen? I have a 32 or 64 bits 
installation?


NOTE: To install Virtualbox, I follow the steps described in 
http://wiki.debian.org/VirtualBox#Installation, Squeeze Backports


Best regards.

*

*


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4facc4dc.1060...@lets.es