LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   usermode linux problem (https://www.linuxquestions.org/questions/linux-newbie-8/usermode-linux-problem-463540/)

tanalam 07-13-2006 12:54 AM

usermode linux problem
 
Hi all,
I am sorry if I have made the post in a wrong group (pls suggest if true where to post) But thought I could get answer to it since it is of a basic nature only (optimistically).

I wanted to install usermode linux 2.6.8.1 to my existing kernel 2.6.8.1

I followed the steps suggested on the site of UML.
which is

"mkdir uml"
"cd uml"
"lndir ../linux-2.6.8.1" (to create link to the source directory of the host kernel)
then applied the patch for the this kernel by

"bzcat ../uml-patch-2.6.8.1-1.bz2 | patch -p1"
make mrproper
make xconfig ARCH=um
make linux ARCH=um
make modules ARCH=um

After this step I am left with a binary named "linux" which I am suppose to run but when I run it it starts and then stops with could not find root and other errors.

There was mention of doing
"mount -o loop root_fs mnt" then doing make modules_install with install path to mnt

But I do not get what is this root_fs????



Before ending I should specify that I have two hardisk and I am doing all the stuffs in the second harddisk. As I have kept the

TIA
regards
tan...

djgerbavore 11-29-2006 08:00 AM

Code:

"mkdir uml"
"cd uml"
"lndir ../linux-2.6.8.1" (to create link to the source directory of the host kernel)
then applied the patch for the this kernel by

"bzcat ../uml-patch-2.6.8.1-1.bz2 | patch -p1"
make mrproper
make xconfig ARCH=um
make linux ARCH=um
make modules ARCH=um

after this step you can do two things, use your `host' file system or download/make a file system image. I prefer the latter choice.

Go to http://uml.nagafix.co.uk/ and download a File System image

when you are done downloading a fs image. Type:

Code:

./name_of_kernel_image udb0=name_of_fs_image
This should work for you. You should be presented with a login in prompt.

Let me know if you have any problems.

djgerbavor3


All times are GMT -5. The time now is 07:23 AM.