Sorry my stupid mistake - I was running uml as a user who didn't have privileges on /dev/sda5. It works fine if I run as root.
andy andy baxter wrote: > I've had a go at getting UML running off a partition on the host system. > What I've done is: > > - prepare it as an ext3 filesystem. > - mount it and debootstrap a debian base system into it. > - checked it works when you chroot to it. > - install the user-mode-linux debian package. > - run: > > $ linux.uml mem=128M udb0=/dev/sda5 rootflags=rw > (also tried udba=/dev/sda5 root=/dev/sda5) > > I keep getting the error: > VFS: cannot open root device "98:0" or unknown-block(98,0) > (There is a longer error log than this but there's a lot and it's > awkward to copy it from the machine I'm setting up on) > > can anyone help with this? > > cheers, > > andy > > Diego Ramos V. wrote: > >> Yes, It's possible, I'm going to resend a mail which was sent for a >> great friend Benedict Verheyen, follow the instructions and it works out, >> >> - make a new directory for instance: *mkdir /mnt/new* >> - mount the filesystem image on new directory *mount -o loop >> filesystem_image /mnt/new >> - *Now you can copy any file into fileystem *cp apache /mnt/new/home >> - *umount the filesystem* image >> - *run UML and install apache or any software, don't forget dependencies >> - >> Good Luck >> >> Diego R. >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > User-mode-linux-user mailing list > User-mode-linux-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user