Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-amd64
On 12/15/05, Billy Holmes <billy@...> wrote:
> Mark Knecht wrote:
> > mark@lightning ~ $ l32 /bin/bash
>
> first off, to find out if you're indeed in the chroot, you can do a "df"
> or a "w" to see. It should print something different than what is
> reality.. ie you're in the chroot.
>
> second, you can do a "uname -a" to see if you're i686 or x86_64
>
> you also don't have to do a xhost command if you have /tmp mounted to
> /mnt/gentoo32/tmp, as all your x programs will use the socket to
> communicate.
>
> one thing to try is see if you can get any X related 32-bit program to
> run.. such as xterm or konsole?
>
> even xeyes?
Even xeyes! Thanks for the idea of (duhh...) doing uname -a. I'll use
that below. This is almost certainly that I'm still doing something
wrong. The 32-bit environment is still there, and does work for root
as it always has, but l32 (assuming that l32 /bin/bash is the right
command) isn't working for me as a user. I'll start in my 64-bit
world:
mark@lightning ~ $ uname -a
Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
mark@lightning ~ $ l32 /bin/bash
mark@lightning / $ uname -a
Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
mark@lightning / $ exit
exit
mark@lightning ~ $
So, even though l32 ran I mistakenly thought I was in the 32-bit
environment. I'm not, and neither is root. Again, starting from
64-bit:
mark@lightning ~ $ su -
Password:
lightning ~ # l32 /bin/bash
lightning ~ # uname -a
Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
lightning ~ # exit
exit
lightning ~ #
However the big command does work, but for root only:
lightning ~ # linux32 chroot /mnt/gentoo32 /bin/bash
lightning / # uname -a
Linux lightning 2.6.14-rt22 #1 PREEMPT Mon Dec 5 10:17:06 PST 2005
i686 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
lightning / #
Show me the error of my ways!
Thanks,
Mark
--
gentoo-amd64@g.o mailing list
|
|