OK guys; I am trying to concat both of what you guys have said...

1) On Host: brw-r--r--  1 root root 98, 1 Oct  7 12:52 /dev/ubd0p1

2) On UML: brw-r--r--  1 root root 98, 1 Oct  7 12:52 /dev/ubd0p1

3) /root/uml/linux-2.6.12.3/linux root=98:1 98:1=/backup/Slackware-10.1.ext2-795 eth0=tuntap,,,207.230.28.10 mem=64M umid=795

It dies with:

Failed to open 'root_fs', errno = 2
VFS: Cannot open root device "98:1" or unknown-block(98,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,1)
 <6>Stopping all CPUs...done


What am I doing wrong?

Derek R. Meiresonne
eTecc Communications, Inc.
www.eTecc.com

Brock, Anthony - NET wrote:
Okay, just noticed a BIG mistake. The "mknod -m 0660 /dev/ubd1p1 b 98 1"
should be "mknod -m 0660 /dev/ubd1p1 b 98 17". I hope this is vaguely
related to what you're asking...

Tony


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brock, Anthony - NET
Sent: Friday, October 07, 2005 11:19 AM
To: user-mode-linux-user@lists.sourceforge.net
Subject: RE: [uml-user] Over 16 UBD devices...

Derek,

I haven't done this with the actual root filesystem. I have done this
with "data" filesystems. However, I would suspect something like the
following (typing from memory, so take with a grain of salt):

./linux ubd0s=/path/to/currentimage ubd1s=/path/to/partitioned/image
[other options] -s
   [boot into single-user mode]
# fdisk /dev/ubd1
   [create your partition table and save it]
# mount -o remount,rw /
# mknod -m 0660 /dev/ubd1p1 b 98 1
# mount /dev/ubd1p1 /mnt
# for dir in `ls |egrep -v 'lost+found|mnt'` do cp -a $dir /mnt/; done
# umount /mnt
# shutdown -h now

Then give it a try with something like:

./linux ubd0s=/path/to/partitioned/image [other options]

The key is creating an image with a partition table. This should also
eliminate the following warnings at boot:

ubda: unknown partition table
ubdb: unknown partition table

Let us know how it goes!

Tony



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek R. Meiresonne
Sent: Friday, October 07, 2005 11:05 AM
To: user-mode-linux-user@lists.sourceforge.net
Subject: [uml-user] Over 16 UBD devices...

How can I use over 16 UBD devices? I have read in the mailing lists that you can create partitions:

brw-r--r--  1 root root 98, 1 Oct  7 12:52 /dev/ubd0p1

However; I cannot mount the above device while UML is booting. Can someone provide me with some direction?
--
Derek R. Meiresonne


-------------------------------------------------------
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
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user



-------------------------------------------------------
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
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user




-------------------------------------------------------
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
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user


-------------------------------------------------------
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
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to