chroot to oldlinux to run legacy app, with X
Jack Byers
byersj at hotmail.com
Mon Sep 25 16:53:32 UTC 2006
Jack Byers byersj at hotmail.com
>first do folowing two commands from your mainlinux
>[root at bootp byers]# mount --bind /tmp /corni/tmp
>[root at bootp byers]# xhost local:localhost
then do the chroot:
>
># /usr/sbin/chroot /corni
>I think this will work chrooting from any linux to any other linux,
>_except_
>I have been told trouble will occur
>if trying to chroot from a 64bit linux to a 32bit linux
>I dont yet have 64bit linux but will soon
>Any advice when trying chroot 64bit ->32 bit?
>
>Jack
>
>
Don't forget the .Xauthority cookie.
$ cp /home/<your home>/.Xauthority /mnt/FC4/home/<your chroot home>
Gilboa
----
Gilboa,
thanks for response
I have never yet needed to copy .Xauthority
did you intend this as something required when trying to chroot from 64bit
linux ->32 bit linux
as per my original question?
or just general good advice?
Jack
More information about the fedora-list
mailing list