On Saturday 07 January 2006 19:19, Xinhuan Zheng wrote: [...] > Also, I don't have RPM distribution list to access, so I have to use > rpmrebuild tool to generate machine's rpm snapshot to a temporary > directories.
I don't get what you are trying to say, you mean you don't have acces to ooutput from rpm -qla? That is a social problem, not a technical, so you need a social solution. [...] > But our production environment is RHEL. So I have no choice to have a RHEL > rootfs. That's really painful because I don't know what would be the > complete base RPMS for RHEL. I guess if other people choose to use RHEL, > how did they get a chroot env if not for uml. Or maybe there's never such a > need? Still don't get it all :-( Anyway, the list what makes up a base install can be found somewhere on the installation media. do some googling on making your own installation media from redhat 8 or RHEL*. Maybe you could try this: boot into a uml with a similar rpm-based rootfs. Have a separate ubd that is going to hold your new RHEL rootfs, and make sure you have acces from inside the UML to your installation media. then do some trickery with rpm to use an alternate root and rpm-db on the new rootfs, and install the minimal system and the base system. There may be a specific order you need to use. You will end up with a unconfigured pristine install. add you UML kernel modules to it and try to boot it. You will probably need to tweak the initscripts and the initrd. That should all be doable without root acces(but with a loot of resources), but you will need root acces to connect it to the outside network. Another solution is to install on a separate machine you have root on(like your desktop :-) copy your root image to a normal file and you are good too. hth. -- with kind regards, Jelle Booomstra ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user