On 3/11/06, Duncan <[EMAIL PROTECTED]> wrote:
> Mark Knecht posted
> <[EMAIL PROTECTED]>, excerpted
> below,  on Sat, 11 Mar 2006 11:27:50 -0800:
>
> > QUESTION: Should I not (somehow) be able to boot my chrooted 32-bit
> > environment instead of 64-bit as a grub option? I've not tried to do
> > that on this machine. It's always run 64-bit from day 1.
>
> Yes, you should, provided you have built an entire 32-bit system, kernel
> and all included.  The 32-bit system will need to be on its own partition
> as well, I believe, or at least that would be simplest.
>
> You /should/ be able to boot a 64-bit kernel with a 32-bit userland, as
> well, given of course that you've opted for 32-bit executable support,
> which I assume you have if you are running a 32-bit chroot.  Just point
> root at your 32-bit root partition, but load a 64-bit kernel.
>
> As for the parallels problem...  It's apparently trying to install a
> 32-bit module (binary-only slaveryware I assume) in a 64-bit kernel.
> That's not going to work for the same reason 32-bit libraries won't work
> in 64-bit executables.  You'll need a 32-bit kernel, the first option
> above.  Of course, that means you won't be able to do 64-bit at all until
> you reboot to 64-bit.

OK, so I took a minute, double checked the fstab inside the 32-bit
system, made a few changes, and then set up a specific boot option in
grub to be able to do this. It worked, but booted a 64-bit kernel. My
problem right now is that the 32-bit area is trying to build a 64-bit
kernel. Here are the two /etc/make.conf files:

lightning ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that
automatically built this stage
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
USE="radeon mmx mmxext sse sse2 3dnow 3dnowext gnome kde -arts ladspa
nptl nptlo nly audiofile gimp gimpprint ppds usb alsa cdr dvd dvdr
dvdread jack jack-tmpfs fluidsynth tcltk sndfile v4l v4l2 mysql flac
xscreensaver -samba i8x0 mythtv apa che2 lirc mjpeg xvid real"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/
ftp://ftp.gtlib.cc.gatech.e du/pub/gentoo http://mirror.gentoo.gr.jp
http://www.zentek-international.com/mir rors/gentoo/"
ACCEPT_KEYWORDS="amd64"
ALSA_CARDS="hdsp9652"
VIDEO_CARDS="radeon"
PORTDIR_OVERLAY=/usr/local/portage
lightning ~ # cat /mnt/gentoo32/etc/make.conf
# These settings were set by the catalyst build script that
automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
PORTDIR_OVERLAY=/usr/local/portage
lightning ~ #

What would I need to do to get the 32-bit area to build a 32-bit
kernel? When I run make menuconfig and try to change the processor I'm
only given 2 64-bit options.

thanks,
Mark

-- 
[email protected] mailing list

Reply via email to