On Saturday 01 October 2005 13:02, dileep reddy wrote:
> Hi,
>     thanx a lot for answering to my questions
> patiently.

> when i say
>
>  >./linux-2.6.13.2/vmlinux mem=160M
>
> ubd0=cow,root_fs.2005060501 ubd1=swap root=/dev/ubd/0
> con=pty con0=fd:0,fd:1

>   I tried with root=/dev/ubd0, root=/dev/ubda also,
> but none of them worked.
Don't use "root=" at all. UML has a safe default. Also, IIRC, there were some 
strange problems, for which it uses root=98:0.

>   I checked in my guest root file system for
> /dev/ubd/0. It is there,
There is a device node at that point? Who prepared such a strange root_fs? 
Normally, that path is created by DevFS, which creates dynamically such a 
device node.
> and also my guest root file 
> system has an entry for /dev/ubd/0 in /etc/fstab:
> /dev/ubd/0  /    ext2 defaults 1  1
The kernel hasn't still accessed the root fs, so what's in it doesn't matter 
at this point.

It will matter later, though.

The normal setup is to have device nodes in /dev/ubd[0-7], and the minors 
increasing by 16, and /etc/fstab referring to them.

Also, make sure /etc/inittab uses names as tty1 - tty7, rather than vc/1 and 
such, in the *getty calls (it depends on DevFS too).

However, you must conform to the device names in that root_fs - which are just 
strange. So be careful.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

        

        
                
___________________________________ 
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
http://mail.yahoo.it



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to