Thank you, no change. Qemu has no issue with booting this image file. I know that most people are not booting UML from a physcal block device. It would be nice to install under Qemu and Run under UML without any changes to the image file.
This would also allow people to make a copy of a running system and boot under UML as a test bed. I'm about to stop testing UML. :( UML has so much that I would like to use. Performance and memory use look much better. UML seems like a better way to go, but It's a hard sell If the only images that work are built from debootstrap and can't be moved to real hardware without the risk of killing the image. I would hate to install grub and a kernel and have no way of booting under UML. Thank you for your help. Nicholas A. SchembrI State College PA USA ----- Original Message ---- From: Jonas Meyer <[EMAIL PROTECTED]> To: n schembr <[EMAIL PROTECTED]> Cc: user-mode-linux-user@lists.sourceforge.net Sent: Monday, January 8, 2007 5:41:16 PM Subject: Re: [uml-user] Fw: Fw: Booting ubuntu 6.10 from a physical disk Possibly. Did you create a tty0 file in /etc/event.d/ on the guest? It should look just like tty1 except replace all instances of tty1 with tty0. Jonas n schembr wrote: > ok, more errors. > > I mounted uml.img, > mount -o loop uml.img ./uml > cd uml/dev/ > mknod console c 5 1 > umount /mnt > > changed fstab per Mr Jonas. > > ./uml/etc/fstab > proc /proc proc defaults 0 0 > # /dev/sda1 > > /dev/ubda / ext3 defaults 0 1 > > command line is : > ./vmlinux-2.6.18.1-bb2 umid=uml con0=fd:0,fd:1 ubda=./uml.img > > .... > NET: Registered protocol family 17 > Initialized stdio console driver > Console initialized on /dev/tty0 > Initializing software serial port version 1 > ubda: unknown partition table > kjournald starting. Commit interval 5 seconds > EXT3-fs: mounted filesystem with ordered data mode. > VFS: Mounted root (ext3 filesystem) readonly. > line_ioctl: tty0: ioctl KDSIGACCEPT called > init: Failed to open console: No such file or directory > init: Unable to execute "/bin/sh" for rcS: No such file or directory > > I checked ./uml/bin/sh it was a link to dash. I removed the link and copied > dash to sh. > same error. > > I checked ./uml/etc/rcS.d. > drwxr-xr-x 2 root root 4096 2006-12-30 12:49 rcS.d > > Could this be event.d error? > > > > > > ----- Forwarded Message ---- > From: Antoine Martin <[EMAIL PROTECTED]> > To: n schembr <[EMAIL PROTECTED]> > Cc: user-mode-linux-user@lists.sourceforge.net > Sent: Monday, January 8, 2007 12:37:44 PM > Subject: Re: [uml-user] Fw: Booting ubuntu 6.10 from a physical disk > >> Warning: unable to open an initial console. >> >> Am I missing something? > Yes, a console! > crw------- 1 root tty 5, 1 /dev/console > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user