Blaisorblade writes: > On Friday 28 April 2006 23:55, Todd A. Jacobs wrote: > > I have several empty filesystems, and a Debian bootable ISO. I'm trying > > the following: > > > linux ubd0=root-9629.img ubd1=swap-9629.img \ > > ubd2r=debian-testing-i386-netinst.iso root=/dev/udb2 > > You're consistently typing udb2 instead of ubd2 (note the exchange of > letters). That's your error, unless it's only in the mail. > > > and getting errors: > > > Initializing software serial port version 1 > > ubda: unknown partition table > > ubdb: unknown partition table > > ubdc: unknown partition table > > VFS: Cannot open root device "udb2" or unknown-block(0,0) > > Please append a correct "root=" boot option > > Kernel panic - not syncing: VFS: Unable to mount root fs on > > unknown-block(0,0) > > > First of all, I shouldn't have to run fdisk on the filesystems, should > > I? > > No, you shouldn't. But that's unrelated. > > > So why is it complaining? > > It can't open the rootfs you indicated to it and is complaining for that. > That's unrelated to fdisk. > > > Secondly, why won't it boot from the ISO image? > > There's no problem with the ISO, assuming you've compiled in iso9660. > > > I've tried > > root=/dev/udb2 and root=/dev/udb/2 with an equal lack of success. > > I'm not sure whether, after using ubd (not udb, uBD), that would work. > I use the syntax rootfs=/dev/ubda, which for your case would become > rootfs=/dev/ubdc.
Note that rootfs must be given a device on the host, not in the guest. When you use rootfs, you don't need root: rootfs implies root=/dev/root So that'll be: rootfs=debian-testing-i386-netinst.iso \ ubd0=root-9629.img \ ubd1=swap-9629.img \ ubd2r=debian-testing-i386-netinst.iso Note also that inside the guest we don't see a /dev/ubd0, but a /dev/ubda, /dev/ubdb, etc as shown in the above error messages of the kernel. So put in the guest /etc/fstab: /dev/ubda /mnt/root ext3 noatime 0 0 /dev/ubdb /mnt/swap swap sw 0 0 /dev/ubdc / ext3 ro 0 0 -- __Pascal Bourguignon__ http://www.informatimago.com/ READ THIS BEFORE OPENING PACKAGE: According to certain suggested versions of the Grand Unified Theory, the primary particles constituting this product may decay to nothingness within the next four hundred million years. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user