Sorry for the premature sent, I'm fighting with quartz-wm (I should
really install WindowMaker...).


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.


I added a line to print the parameters to do_mount_root:


With rootfs:

Kernel command line: mem=128M ubd0=/dev/md0 ubd1=/dev/hdc9 rootfs=/dev/ubd0 -s 
root=98:0
...
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)



with root:

Kernel command line: mem=128M ubd0=/dev/md0 ubd1=/dev/hdc9 root=/dev/ubd0 -s
...
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(\
0,0)")
VFS: Cannot open root device "ubd0" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,0)

I hope /dev/root is automatically installed by devfs when we reach
this code, there's no /dev/root in the static /dev.

So perhaps the problem comes from the unability to get the block size
of /dev/md0?

$ whoami
pjb
$ ls -l /dev/md0 /dev/hd[ac]2
brw-rw----    1 pjb      disk       3,   2 2003-03-14 14:07 /dev/hda2
brw-rw----    1 pjb      disk      22,   2 2003-03-14 14:07 /dev/hdc2
brw-rw----    1 pjb      disk       9,   0 2003-03-14 14:07 /dev/md0

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

This is a signature virus.  Add me to your signature and help me to live



-------------------------------------------------------
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