Re: chroot to oldlinux to run legacy app, with X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2006-09-25 at 16:53 +0000, Jack Byers wrote:
> 
> Jack Byers     byersj@xxxxxxxxxxx
> 
> >first do folowing two commands  from your mainlinux
> >[root@bootp byers]# mount --bind /tmp /corni/tmp
> >[root@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
> 
> 

Copying the .Xauthority file saves you the need to open access to your X
server. (xhost +localhost)
Other then that, you just chroot into the 32bit Linux and execute the
command.

Gilboa


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux