Hi group, I have a UML (user-mode Linux) related question :
My problem is that I can't grasp the hostfs-related information I gather from around the net, especially from official sources where this topic seems under documented AFAIK. I would like the UML kernel to consider a host directory structure (and not a loop-mounted file) as its root device. How can I do that ? For the sake of simplicity in regards of rights mangling by hostfs, let's assume that I run UML under the root account of the host. Whenever possible, give me the accurate source (URL, ...) of the references/guides/manuals/information on which you rely to solve my problem. Let's imagine I have some /root/UMLs/Station0 DIRECTORY whose TREE structure (subdirectories and files) is exactly the CONTENTS of a working system. Before going any further, say me what is the proper command line to have the UML kernel boot on my root hostfs mount ( /root/UMLs/Station0 host directory ) , regardless whether the boot process will complain LATER about missing modules, underpopulated /dev , invalid '/' fstab entry, and the likes... . Note that I am using up-to-date Debian GNU/Linux 4.0 ('Etch' release, stable branch) on x86 (32-bit) architecture; what comes of my command line, then? As an option and if you know well the UML packaging from my distribution and revision, then read then following depiction of my 'working' tree structure and answer the question in the end. I mean there are ./sbin ./bin ./etc ./dev ./usr ./tmp ./root ./proc ./sys ./var and optionally ./home directories. I mean there is no ./boot directory since the kernel and initrd (if any) are loaded from outside the tree structure under /root/UMLs/Station0 . I don't say here whether there are the proper kernel modules installed under the /root/UMLs/Station0 tree matching the UML kernel I want to boot. Should this location be the ./usr/lib/modules/<kernel_version> tree subdirectory or what else? QUESTION: Could you please brief me on which modules are important for procfs and devfs (devfs->tmpfs indeed?), and if there are some hostfs and/or ~host_rootfs~ modules I must put in my external initrd , and whether I have to put them is the /root/UMLs/Station0 tree structure or not ? I thank you in advance to help me grasp all this overcomplicated under documented machinery. Sincerely, Valentin. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user