On Friday 28 October 2005 19:27, Pascal Bourguignon wrote:
> Blaisorblade writes:
> > On Friday 28 October 2005 13:47, Pascal Bourguignon wrote:
> > > I can't seem to boot uml with ubd, (even on root_fs_tom1.7.205).
> > > What do I do wrong?
> > >
> > > [EMAIL PROTECTED] pjb]$ umlinux mem=128M  ubd0=/dev/md0  ubd1=/dev/hdc9
> > > root=/dev/ubd/0
> >
> > root=/dev/ubd/0 is wrong. It possibly used to work in the DevFS era. Just
> > skip that (or use rootfs=/dev/ubd0).

> I tried both with root=/dev/ubd0 and root=/dev/ubd/0.
> I had the impression that rootfs= was to be given a _directory_ path
> in the host file system.
Currently it seems that root= wants a major/minor. If you don't pass anything, 
UML will auto-add, in fact, root=98:0 to the cmd line (and you can see this 
in the early boot messages).

That is hostfs= (to jail hostfs) or something like rootfstype=hostfs 
rootfsflags= (to boot off hostfs).

> I added a line to print the parameters to do_mount_root:

> Couldn't get the block size of "/dev/md0", errno = 13
>  /dev/ubd/disc1: unknown partition table
> Initializing stdio console driver
> VFS:  err=-2 <-- do_mount_root(name="/dev/root", p="ext3", flags=0,
> root_mount_data="unknown-block(\ 98,0)")
> VFS: Cannot open root device "98:0" or unknown-block(98,0)
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on unknown-block(98,0)
Wait a moment - unknown-block(98,0) is a different story. It seems you 
possibly didn't compile in UBD driver support!

make defconfig ARCH=um will give you sane defaults.
-- 
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 the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to