LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-13-2006, 01:54 AM   #1
tanalam
LQ Newbie
 
Registered: Dec 2005
Distribution: Redhat, FC
Posts: 28

Rep: Reputation: 15
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...
 
Old 11-29-2006, 09:00 AM   #2
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 07:10 AM
usermode linux malformed patch for 2.6 kernel frogboy Linux - Newbie 1 10-26-2004 11:25 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM
usermode linux (UML) rc5 Arch 0 03-15-2004 02:48 AM
File manager (super usermode) crashes slacard Slackware 12 10-27-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration