RE: Complete chroot environment?

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

 



Tom Horsley wrote

I've been experimenting with chroot to switch to an
alternate root partition and "do stuff" without
actually having to reboot to that alternate OS.
 
I see that none of the special filesystems seem to
be created as part of the ordinary chroot command, yet
things like the bind-chroot rpm does manage to create
a more complete environment for named to run in
(with populated /dev and /proc and wot-not).
 
Is there a handy tool somewhere to duplicate all the
special filesystems in a chroot environment?
 
Or should I just look at bind-chroot in more detail
and steal what it does?
 ----


Tom,
the following works for me; it may not be all you are looking for
re "complete"

before chrooting to  /corni   which holds an alternate old rh8 install
I run the following   three-line script

[root@bootp ~]# cat mount_corni
#!/bin/bash
mount --bind /tmp /corni/tmp
xhost local:localhost

[root@bootp ~]# 
that xhost line allows me to  run X applications


a year or so ago there was an exchange on this llist 
between me and Gilboa on this subject.
He had an alternateemethod for getting X  to work

hope thiis helps
Jack

Jack Byers byersj@xxxxxxxxxxx

_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_dec

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux