public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] chroot to gentoo amd64
@ 2006-09-20 20:07 S. M. Ibrahim (Lavlu)
  2006-09-20 22:26 ` Neil Isaac
  2006-09-20 22:32 ` Bo Ørsted Andresen
  0 siblings, 2 replies; 6+ messages in thread
From: S. M. Ibrahim (Lavlu) @ 2006-09-20 20:07 UTC (permalink / raw
  To: gentoo-user

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

how can i chroot to gentoo amd64 from 32 bit Linux ??

-- 
S. M. Ibrahim (Lavlu)
Home page: http://lavluda.tripod.com
Blog: http://lavluda.tk
Yahoo!! ID: lavluda MSN ID: lavluda Skype : lavluda

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

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

* Re: [gentoo-user] chroot to gentoo amd64
  2006-09-20 20:07 [gentoo-user] chroot to gentoo amd64 S. M. Ibrahim (Lavlu)
@ 2006-09-20 22:26 ` Neil Isaac
  2006-09-20 22:32 ` Bo Ørsted Andresen
  1 sibling, 0 replies; 6+ messages in thread
From: Neil Isaac @ 2006-09-20 22:26 UTC (permalink / raw
  To: gentoo-user

On 9/20/06, S. M. Ibrahim (Lavlu) <smibrahim@gmail.com> wrote:
> how can i chroot to gentoo amd64 from 32 bit Linux ??

You would be trying to run 64 bit programs on a 32 bit operation
system? That doesn't sound like it will work too well ;) If you need
to chroot, use a 64 bit live cd (unless you can pull off some funky
emulation stuff - no clue.) Good luck!

-- 
Neil Isaac
isaac.neil@gmail.com
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] chroot to gentoo amd64
  2006-09-20 20:07 [gentoo-user] chroot to gentoo amd64 S. M. Ibrahim (Lavlu)
  2006-09-20 22:26 ` Neil Isaac
@ 2006-09-20 22:32 ` Bo Ørsted Andresen
  2006-09-21  3:06   ` Drew
  1 sibling, 1 reply; 6+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-20 22:32 UTC (permalink / raw
  To: gentoo-user

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

On Wednesday 20 September 2006 22:07, S. M. Ibrahim (Lavlu) wrote:
> how can i chroot to gentoo amd64 from 32 bit Linux ??

You need a 64 bit kernel with CONFIG_IA32_EMUL enabled. See [1] for more details...

[1] http://groups.google.com/group/linux.gentoo.user/browse_frm/thread/e4629ea8751a9ab4/815dbc64722b7d49%23815dbc64722b7d49

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] chroot to gentoo amd64
  2006-09-20 22:32 ` Bo Ørsted Andresen
@ 2006-09-21  3:06   ` Drew
  2006-09-21  3:18     ` Bo Ørsted Andresen
  0 siblings, 1 reply; 6+ messages in thread
From: Drew @ 2006-09-21  3:06 UTC (permalink / raw
  To: gentoo-user

> You need a 64 bit kernel with CONFIG_IA32_EMUL enabled.

Uh no. A 32bit chroot can be run on a 64bit kernel with IA32_EMUL
enabled however a 64bit chroot can *NOT* be run from a 32bit kernel.


-Drew
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] chroot to gentoo amd64
  2006-09-21  3:06   ` Drew
@ 2006-09-21  3:18     ` Bo Ørsted Andresen
  2006-09-22  7:52       ` Drew
  0 siblings, 1 reply; 6+ messages in thread
From: Bo Ørsted Andresen @ 2006-09-21  3:18 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 21 September 2006 05:06, Drew wrote:
> > You need a 64 bit kernel with CONFIG_IA32_EMUL enabled.
>
> Uh no. A 32bit chroot can be run on a 64bit kernel with IA32_EMUL
> enabled however a 64bit chroot can *NOT* be run from a 32bit kernel.

Err..., which differs from what I stated exactly how??

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] chroot to gentoo amd64
  2006-09-21  3:18     ` Bo Ørsted Andresen
@ 2006-09-22  7:52       ` Drew
  0 siblings, 0 replies; 6+ messages in thread
From: Drew @ 2006-09-22  7:52 UTC (permalink / raw
  To: gentoo-user

On 9/20/06, Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> On Thursday 21 September 2006 05:06, Drew wrote:
> > > You need a 64 bit kernel with CONFIG_IA32_EMUL enabled.
> >
> > Uh no. A 32bit chroot can be run on a 64bit kernel with IA32_EMUL
> > enabled however a 64bit chroot can *NOT* be run from a 32bit kernel.
>
> Err..., which differs from what I stated exactly how??

------------------------
"how can i chroot to gentoo amd64 from 32 bit Linux ??"
------------------------

It sounds like he wants to chroot into an 64bit environment from an
existing 32bit environment. You can't execute 64bit code inside a
32bit chroot because the underlying kernel is still 32bit, and hence
can't understand the 64bit code.

Short of building a 64bit kernel (your suggestion) there's no way to
execute 64bit code from inside a 32bit system. And if he's going to go
to the trouble of building a 64bit kernel just for this chroot
(assuming his hardware supports 64bit which I am assuming it does), he
might as well migrate fully from the 32bit kernel he has and take full
advantage of a 64bit one.


-Drew

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-09-22  8:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 20:07 [gentoo-user] chroot to gentoo amd64 S. M. Ibrahim (Lavlu)
2006-09-20 22:26 ` Neil Isaac
2006-09-20 22:32 ` Bo Ørsted Andresen
2006-09-21  3:06   ` Drew
2006-09-21  3:18     ` Bo Ørsted Andresen
2006-09-22  7:52       ` Drew

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