1 |
On 3/11/06, Duncan <1i5t5.duncan@×××.net> wrote: |
2 |
> Mark Knecht posted |
3 |
> <5bdc1c8b0603111127l3caf70f8q754e5d4b8ddefd97@××××××××××.com>, excerpted |
4 |
> below, on Sat, 11 Mar 2006 11:27:50 -0800: |
5 |
> |
6 |
> > QUESTION: Should I not (somehow) be able to boot my chrooted 32-bit |
7 |
> > environment instead of 64-bit as a grub option? I've not tried to do |
8 |
> > that on this machine. It's always run 64-bit from day 1. |
9 |
> |
10 |
> Yes, you should, provided you have built an entire 32-bit system, kernel |
11 |
> and all included. The 32-bit system will need to be on its own partition |
12 |
> as well, I believe, or at least that would be simplest. |
13 |
> |
14 |
> You /should/ be able to boot a 64-bit kernel with a 32-bit userland, as |
15 |
> well, given of course that you've opted for 32-bit executable support, |
16 |
> which I assume you have if you are running a 32-bit chroot. Just point |
17 |
> root at your 32-bit root partition, but load a 64-bit kernel. |
18 |
> |
19 |
> As for the parallels problem... It's apparently trying to install a |
20 |
> 32-bit module (binary-only slaveryware I assume) in a 64-bit kernel. |
21 |
> That's not going to work for the same reason 32-bit libraries won't work |
22 |
> in 64-bit executables. You'll need a 32-bit kernel, the first option |
23 |
> above. Of course, that means you won't be able to do 64-bit at all until |
24 |
> you reboot to 64-bit. |
25 |
|
26 |
OK, so I took a minute, double checked the fstab inside the 32-bit |
27 |
system, made a few changes, and then set up a specific boot option in |
28 |
grub to be able to do this. It worked, but booted a 64-bit kernel. My |
29 |
problem right now is that the 32-bit area is trying to build a 64-bit |
30 |
kernel. Here are the two /etc/make.conf files: |
31 |
|
32 |
lightning ~ # cat /etc/make.conf |
33 |
# These settings were set by the catalyst build script that |
34 |
automatically built this stage |
35 |
CFLAGS="-march=k8 -O2 -pipe" |
36 |
CHOST="x86_64-pc-linux-gnu" |
37 |
USE="radeon mmx mmxext sse sse2 3dnow 3dnowext gnome kde -arts ladspa |
38 |
nptl nptlo nly audiofile gimp gimpprint ppds usb alsa cdr dvd dvdr |
39 |
dvdread jack jack-tmpfs fluidsynth tcltk sndfile v4l v4l2 mysql flac |
40 |
xscreensaver -samba i8x0 mythtv apa che2 lirc mjpeg xvid real" |
41 |
CXXFLAGS="${CFLAGS}" |
42 |
MAKEOPTS="-j2" |
43 |
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ |
44 |
ftp://ftp.gtlib.cc.gatech.e du/pub/gentoo http://mirror.gentoo.gr.jp |
45 |
http://www.zentek-international.com/mir rors/gentoo/" |
46 |
ACCEPT_KEYWORDS="amd64" |
47 |
ALSA_CARDS="hdsp9652" |
48 |
VIDEO_CARDS="radeon" |
49 |
PORTDIR_OVERLAY=/usr/local/portage |
50 |
lightning ~ # cat /mnt/gentoo32/etc/make.conf |
51 |
# These settings were set by the catalyst build script that |
52 |
automatically built this stage |
53 |
# Please consult /etc/make.conf.example for a more detailed example |
54 |
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer" |
55 |
CHOST="i686-pc-linux-gnu" |
56 |
CXXFLAGS="${CFLAGS}" |
57 |
MAKEOPTS="-j2" |
58 |
PORTDIR_OVERLAY=/usr/local/portage |
59 |
lightning ~ # |
60 |
|
61 |
What would I need to do to get the 32-bit area to build a 32-bit |
62 |
kernel? When I run make menuconfig and try to change the processor I'm |
63 |
only given 2 64-bit options. |
64 |
|
65 |
thanks, |
66 |
Mark |
67 |
|
68 |
-- |
69 |
gentoo-amd64@g.o mailing list |