Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Install 64bit from 32bit chroot? [answer: no]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Sade
Guru
Guru


Joined: 22 Mar 2005
Posts: 406
Location: Netherlands - Eindhoven

PostPosted: Fri Mar 16, 2012 8:49 pm    Post subject: [solved] Install 64bit from 32bit chroot? [answer: no] Reply with quote

I would like to reinstall my Gentoo system, switching from 32bit to 64bit. However, normally when I reinstalled gentoo, I use a chroot install from the AltInstall Manual.

The question is, will this also work when installing (compiling) 64bit packages in a chroot running from a 32bit (gentoo) environment?
_________________
| 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file |


Last edited by Sade on Sun Mar 18, 2012 9:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 189
Location: Zurich, Switzerland

PostPosted: Fri Mar 16, 2012 8:52 pm    Post subject: Reply with quote

no
Back to top
View user's profile Send private message
Sade
Guru
Guru


Joined: 22 Mar 2005
Posts: 406
Location: Netherlands - Eindhoven

PostPosted: Fri Mar 16, 2012 8:59 pm    Post subject: Reply with quote

Hmmm, I figured as much, I just hoped for....
_________________
| 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file |
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 189
Location: Zurich, Switzerland

PostPosted: Sat Mar 17, 2012 2:53 am    Post subject: Reply with quote

:roll: i am just missing the point here. why can't you boot 64bit live cd and install from there?
Back to top
View user's profile Send private message
Sade
Guru
Guru


Joined: 22 Mar 2005
Posts: 406
Location: Netherlands - Eindhoven

PostPosted: Sat Mar 17, 2012 7:36 am    Post subject: Reply with quote

Because the machine is being used, and I want to downtime as small as possible
_________________
| 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file |
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 5707
Location: ~Brussels - Belgique

PostPosted: Sat Mar 17, 2012 11:23 am    Post subject: Reply with quote

The only solution is then cross-compiling a stage3.
But you will have so many headaches, that booting a 64 bit live CD is the easier solution.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Kaso_da_Zmok
Apprentice
Apprentice


Joined: 19 Aug 2004
Posts: 189
Location: Zurich, Switzerland

PostPosted: Sat Mar 17, 2012 12:10 pm    Post subject: Reply with quote

when i needed quick gentoo desktop on my laptop i installed the gentoo LiveDVD and i think is doable in 10 minutes.
Gentoo LiveDVD 2012 to HDD install in under 3 minutes
http://www.youtube.com/watch?v=J9opce1BemU&list=UU8X5LtHwayn1KmV-h5AFO0w&index=2&feature=plcp
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 9167

PostPosted: Sat Mar 17, 2012 4:31 pm    Post subject: Reply with quote

An amd64 kernel built with IA32 emulation can run x86 programs. You could boot the amd64 LiveCD, rearrange your partitions to make room for an amd64 installation, then chroot into your regular system and run your programs from there. This would let you run your regular X server and programs with all their files, but also keep the text consoles attached to the amd64 CD, which you could then use to install a new amd64 system in the background. This does require adequate space to have both systems temporarily installed side-by-side. Using LVM makes this easier, but if the existing system is not LVM, the change can still be done.
Back to top
View user's profile Send private message
Sade
Guru
Guru


Joined: 22 Mar 2005
Posts: 406
Location: Netherlands - Eindhoven

PostPosted: Sun Mar 18, 2012 9:41 am    Post subject: Reply with quote

Thanks everybody,

I will opt for the no-headache option, i.e., reboot into 64bit
_________________
| 1.6Ghz atom N270 | adopt an unanswerd post | a nice way to post a config file |
Back to top
View user's profile Send private message
Not now, John!
n00b
n00b


Joined: 16 Jul 2004
Posts: 2

PostPosted: Mon Dec 03, 2012 7:50 pm    Post subject: Reply with quote

Hello everyone!

Basically this thread answers my question, but I just want the confirmation from experts.

I wanted to do the same thing as Sade. I followed this link to make 64bit kernel and everything went well. The system booted. However, I'm wondering if it's possible to compile kernel modules - particularly nvidia-drivers? Because the kernel is 64bit, I would have to compile 64bit kernel driver, but there are also some libraries in nvidia-drivers that won't work with my 32bit system. Also, this requires recompilation of xorg-server and who knows what else. Is this correct, or there is a way to overcome this?

I've already given up, because I won't gain much with 64bit system, and the hassel is to big, but for future visitors and for the sake of my education :) I beg your answer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum