public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
@ 2009-12-24 14:33 Carlos Moyano Cubillos
  2009-12-24 16:02 ` alex ponomarev
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Carlos Moyano Cubillos @ 2009-12-24 14:33 UTC (permalink / raw
  To: gentoo-user

Dear friends,

I have a gentoo system running 32bit .. and I have a 30GB partition
available on which I would like to install a 64bit Gentoo to test for
64bit extensions processor supports .


someone could help me and tell me how to proceed with this
installation from my running system without having to reboot with a
livecd.



Here's the processor info:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
stepping        : 10
cpu MHz         : 800.000
cache size      : 3072 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor
ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida
tpr_shadow vnmi flexpriority
bogomips        : 4787.75
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:



greetings

-- 
C.M.C.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
  2009-12-24 14:33 [gentoo-user] Install Gentoo 64bit from 32bit running enviroment Carlos Moyano Cubillos
@ 2009-12-24 16:02 ` alex ponomarev
  2009-12-25 10:41 ` Alan McKinnon
  2009-12-31 23:20 ` Kyle Bader
  2 siblings, 0 replies; 7+ messages in thread
From: alex ponomarev @ 2009-12-24 16:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 252 bytes --]

Hello.
    If you want to test for 64bit extensions processor support, why won't
you try it in VirtualBox or VMware? I think it's better for tests than
install a second system on your second partition. Much faster and easier to
use virtualization, no?

[-- Attachment #2: Type: text/html, Size: 268 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
  2009-12-24 14:33 [gentoo-user] Install Gentoo 64bit from 32bit running enviroment Carlos Moyano Cubillos
  2009-12-24 16:02 ` alex ponomarev
@ 2009-12-25 10:41 ` Alan McKinnon
  2009-12-26 12:05   ` Francisco Ares
  2009-12-31 23:20 ` Kyle Bader
  2 siblings, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2009-12-25 10:41 UTC (permalink / raw
  To: gentoo-user

On Thursday 24 December 2009 16:33:26 Carlos Moyano Cubillos wrote:
> Dear friends,
> 
> I have a gentoo system running 32bit .. and I have a 30GB partition
> available on which I would like to install a 64bit Gentoo to test for
> 64bit extensions processor supports .
> 
> 
> someone could help me and tell me how to proceed with this
> installation from my running system without having to reboot with a
> livecd.

You have to reboot with a LiveCD.

Your running 32 bit kernel does not support 64 bit instructions and there is 
no magic voodoo to make it possible. The CPU might understand 64 bit 
instructions but the running kernel that drives it definitely does not.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
  2009-12-25 10:41 ` Alan McKinnon
@ 2009-12-26 12:05   ` Francisco Ares
  2009-12-26 12:50     ` Jesús Guerrero
  2009-12-26 13:41     ` Alan McKinnon
  0 siblings, 2 replies; 7+ messages in thread
From: Francisco Ares @ 2009-12-26 12:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]

On Fri, Dec 25, 2009 at 8:41 AM, Alan McKinnon <alan.mckinnon@gmail.com>wrote:

> On Thursday 24 December 2009 16:33:26 Carlos Moyano Cubillos wrote:
> > Dear friends,
> >
> > I have a gentoo system running 32bit .. and I have a 30GB partition
> > available on which I would like to install a 64bit Gentoo to test for
> > 64bit extensions processor supports .
> >
> >
> > someone could help me and tell me how to proceed with this
> > installation from my running system without having to reboot with a
> > livecd.
>
> You have to reboot with a LiveCD.
>
> Your running 32 bit kernel does not support 64 bit instructions and there
> is
> no magic voodoo to make it possible. The CPU might understand 64 bit
> instructions but the running kernel that drives it definitely does not.
>
> --
> alan dot mckinnon at gmail dot com
>
>

I don't know for sure, but I would guess that if you don't try to use any
file from the new 64 bit partition, that would be fine.

AFAIK you can install a 64 bit system using the 32 bit livecd.

Just a guess, though

Francisco

-- 
"If you have an apple and I have an apple and we exchange apples then you
and I will still each have one apple. But if you have an idea and I have one
idea and we exchange these ideas, then each of us will have two ideas." -
George Bernard Shaw

[-- Attachment #2: Type: text/html, Size: 1777 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
  2009-12-26 12:05   ` Francisco Ares
@ 2009-12-26 12:50     ` Jesús Guerrero
  2009-12-26 13:41     ` Alan McKinnon
  1 sibling, 0 replies; 7+ messages in thread
From: Jesús Guerrero @ 2009-12-26 12:50 UTC (permalink / raw
  To: gentoo-user

On Sat, 26 Dec 2009 10:05:52 -0200, Francisco Ares <frares@gmail.com>
wrote:
> On Fri, Dec 25, 2009 at 8:41 AM, Alan McKinnon
> <alan.mckinnon@gmail.com>wrote:
> 
>> On Thursday 24 December 2009 16:33:26 Carlos Moyano Cubillos wrote:
>> > Dear friends,
>> >
>> > I have a gentoo system running 32bit .. and I have a 30GB partition
>> > available on which I would like to install a 64bit Gentoo to test for
>> > 64bit extensions processor supports .
>> >
>> >
>> > someone could help me and tell me how to proceed with this
>> > installation from my running system without having to reboot with a
>> > livecd.
>>
>> You have to reboot with a LiveCD.
>>
>> Your running 32 bit kernel does not support 64 bit instructions and
there
>> is
>> no magic voodoo to make it possible. The CPU might understand 64 bit
>> instructions but the running kernel that drives it definitely does not.
>>
>> --
>> alan dot mckinnon at gmail dot com
>>
>>
> 
> I don't know for sure, but I would guess that if you don't try to use
any
> file from the new 64 bit partition, that would be fine.
> 
> AFAIK you can install a 64 bit system using the 32 bit livecd.
> 
> Just a guess, though
> 
> Francisco

You can uncompress the stage files and such, but chroot will fail because
you will be attempting to run a 64 bits bash  binary against the 32 bits
underlying kernel, which will not work. The opposite would be possible
though, you can chroot to a 32 bit userland from a 64 bits kernel. But not
the other way around.

-- 
Jesús Guerrero



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
  2009-12-26 12:05   ` Francisco Ares
  2009-12-26 12:50     ` Jesús Guerrero
@ 2009-12-26 13:41     ` Alan McKinnon
  1 sibling, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2009-12-26 13:41 UTC (permalink / raw
  To: gentoo-user

On Saturday 26 December 2009 14:05:52 Francisco Ares wrote:
> On Fri, Dec 25, 2009 at 8:41 AM, Alan McKinnon 
<alan.mckinnon@gmail.com>wrote:
> > On Thursday 24 December 2009 16:33:26 Carlos Moyano Cubillos wrote:
> > > Dear friends,
> > >
> > > I have a gentoo system running 32bit .. and I have a 30GB partition
> > > available on which I would like to install a 64bit Gentoo to test for
> > > 64bit extensions processor supports .
> > >
> > >
> > > someone could help me and tell me how to proceed with this
> > > installation from my running system without having to reboot with a
> > > livecd.
> >
> > You have to reboot with a LiveCD.
> >
> > Your running 32 bit kernel does not support 64 bit instructions and there
> > is
> > no magic voodoo to make it possible. The CPU might understand 64 bit
> > instructions but the running kernel that drives it definitely does not.
> >
> > --
> > alan dot mckinnon at gmail dot com
> 
> I don't know for sure, but I would guess that if you don't try to use any
> file from the new 64 bit partition, that would be fine.
> 
> AFAIK you can install a 64 bit system using the 32 bit livecd.
> 
> Just a guess, though

Think it through. The OP wants to install a 64 bit OS using a running 32 bit 
system. Now, this can work with a pure binary distro - you are just copying 
files after all with those installs.

But this is Gentoo, and he'll have to build something sometime. The absolute 
minimum is to build a 64 kernel as that is not supplied in binary form. How 
will a running 32 bit system generate 64 bit code?

At some point he's going to have to reboot, even if just to use the new OS. 
But before he uses it for real, he'll have to rebuild most of it. That will 
take a good few hours as opposed to the 20 minutes or so to do the original 
install. What has he saved? Very little - 20 minutes at most.

Far easier to just reboot into a LiveCD and install from there. No sense in 
spending large numbers of dollars to save small numbers of pennies

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Install Gentoo 64bit from 32bit running enviroment
  2009-12-24 14:33 [gentoo-user] Install Gentoo 64bit from 32bit running enviroment Carlos Moyano Cubillos
  2009-12-24 16:02 ` alex ponomarev
  2009-12-25 10:41 ` Alan McKinnon
@ 2009-12-31 23:20 ` Kyle Bader
  2 siblings, 0 replies; 7+ messages in thread
From: Kyle Bader @ 2009-12-31 23:20 UTC (permalink / raw
  To: gentoo-user

I'm pretty sure chrooting to 64bit from 32 bit kernel won't work, so
you'll have to reboot into a 64 bit environment.

On 12/24/09, Carlos Moyano Cubillos <cmcglnx@gmail.com> wrote:
> Dear friends,
>
> I have a gentoo system running 32bit .. and I have a 30GB partition
> available on which I would like to install a 64bit Gentoo to test for
> 64bit extensions processor supports .
>
>
> someone could help me and tell me how to proceed with this
> installation from my running system without having to reboot with a
> livecd.
>
>
>
> Here's the processor info:
>
> processor       : 1
> vendor_id       : GenuineIntel
> cpu family      : 6
> model           : 23
> model name      : Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz
> stepping        : 10
> cpu MHz         : 800.000
> cache size      : 3072 KB
> physical id     : 0
> siblings        : 2
> core id         : 1
> cpu cores       : 2
> apicid          : 1
> initial apicid  : 1
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 13
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx
> lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor
> ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida
> tpr_shadow vnmi flexpriority
> bogomips        : 4787.75
> clflush size    : 64
> cache_alignment : 64
> address sizes   : 36 bits physical, 48 bits virtual
> power management:
>
>
>
> greetings
>
> --
> C.M.C.
>
>

-- 
Sent from my mobile device


Kyle



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-01  0:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-24 14:33 [gentoo-user] Install Gentoo 64bit from 32bit running enviroment Carlos Moyano Cubillos
2009-12-24 16:02 ` alex ponomarev
2009-12-25 10:41 ` Alan McKinnon
2009-12-26 12:05   ` Francisco Ares
2009-12-26 12:50     ` Jesús Guerrero
2009-12-26 13:41     ` Alan McKinnon
2009-12-31 23:20 ` Kyle Bader

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox