Hi,i have installed xen in debian etch : 2.6.18-6-xen-amd64. When i try to create my VM i get this error message : Begin: Waiting for root file system... ... Done. Check root= bootarg cat /proc/cmdline or missing modules, devices: cat /proc/modules ls /dev ALERT! /dev/sda2 does not exist. Dropping to a shell! BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash) Enter ''help'' for a list of built-in commands. /bin/sh: can''t access tty; job control turned off (initramfs) any help is welcome.. -- View this message in context: http://www.nabble.com/xen-guest-dont-find-root-file-system-tp24584246p24584246.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, In order for us to help you, please post your config file. -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of _sc_ Sent: 21 July 2009 10:17 To: xen-users@lists.xensource.com Subject: [Xen-users] xen guest dont find root file system Hi,i have installed xen in debian etch : 2.6.18-6-xen-amd64. When i try to create my VM i get this error message : Begin: Waiting for root file system... ... Done. Check root= bootarg cat /proc/cmdline or missing modules, devices: cat /proc/modules ls /dev ALERT! /dev/sda2 does not exist. Dropping to a shell! BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash) Enter ''help'' for a list of built-in commands. /bin/sh: can''t access tty; job control turned off (initramfs) any help is welcome.. -- View this message in context: http://www.nabble.com/xen-guest-dont-find-root-file-system-tp24584246p24584246.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
name = "myvirtualmachine" uuid = "d024a3c0-f19a-d32e-d1bb-56de2c94dee4" maxmem = 1024 memory = 1024 vcpus = 1 kernel = "/vmlinuz-2.6.18-5-xen-amd64" ramdisk = "/initrd.img-2.6.18-5-xen-amd64" extra = "4" on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" disk = [ "phy:/dev/sda6,xvda1,w", "phy:/dev/sda7,xvda2,w" ] vif = [ ''ip=192.168.0.54'' ] # vif = [ "mac=52:54:00:75:14:49,bridge=xenbr0" ] Munoz, Nicolas wrote:> > Hi, > > In order for us to help you, please post your config file. > > -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of _sc_ > Sent: 21 July 2009 10:17 > To: xen-users@lists.xensource.com > Subject: [Xen-users] xen guest dont find root file system > > > Hi,i have installed xen in debian etch : 2.6.18-6-xen-amd64. > When i try to create my VM i get this error message : > > Begin: Waiting for root file system... ... > Done. > Check root= bootarg cat /proc/cmdline > or missing modules, devices: cat /proc/modules ls /dev > ALERT! /dev/sda2 does not exist. Dropping to a shell! > > BusyBox v1.1.3 (Debian 1:1.1.3-4) Built-in shell (ash) > Enter ''help'' for a list of built-in commands. > > /bin/sh: can''t access tty; job control turned off > (initramfs) > > any help is welcome.. > -- > View this message in context: > http://www.nabble.com/xen-guest-dont-find-root-file-system-tp24584246p24584246.html > Sent from the Xen - User mailing list archive at Nabble.com. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/xen-guest-dont-find-root-file-system-tp24584246p24585181.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fabian Zimmermann
2009-Jul-21 10:45 UTC
Re: [Xen-users] xen guest dont find root file system
Hi _sc_,> name = "myvirtualmachine" > uuid = "d024a3c0-f19a-d32e-d1bb-56de2c94dee4" > maxmem = 1024 > memory = 1024 > vcpus = 1 > kernel = "/vmlinuz-2.6.18-5-xen-amd64" > ramdisk = "/initrd.img-2.6.18-5-xen-amd64" > extra = "4" > on_poweroff = "destroy" > on_reboot = "restart" > on_crash = "restart" > disk = [ "phy:/dev/sda6,xvda1,w", "phy:/dev/sda7,xvda2,w" ] > vif = [ ''ip=192.168.0.54'' ] > # vif = [ "mac=52:54:00:75:14:49,bridge=xenbr0" ]Try to add root = ''/dev/xvda1 ro'' or if your problem still exists, try: disk = [ "phy:/dev/sda6,sda1,w", "phy:/dev/sda7,sda2,w" ] root = ''/dev/sda1 ro'' Bye, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
tnk Fabian, in both cases I get: mount: Mounting /sys on /root/sys failed: No such file or directory mount: Mounting /proc on /root/proc failed: No such file or directory Target filesystem doesn''t have /sbin/init Fabian Zimmermann-2 wrote:> > Hi _sc_, > >> name = "myvirtualmachine" >> uuid = "d024a3c0-f19a-d32e-d1bb-56de2c94dee4" >> maxmem = 1024 >> memory = 1024 >> vcpus = 1 >> kernel = "/vmlinuz-2.6.18-5-xen-amd64" >> ramdisk = "/initrd.img-2.6.18-5-xen-amd64" >> extra = "4" >> on_poweroff = "destroy" >> on_reboot = "restart" >> on_crash = "restart" >> disk = [ "phy:/dev/sda6,xvda1,w", "phy:/dev/sda7,xvda2,w" ] >> vif = [ ''ip=192.168.0.54'' ] >> # vif = [ "mac=52:54:00:75:14:49,bridge=xenbr0" ] > > Try to add > > root = ''/dev/xvda1 ro'' > > or if your problem still exists, try: > > disk = [ "phy:/dev/sda6,sda1,w", "phy:/dev/sda7,sda2,w" ] > root = ''/dev/sda1 ro'' > > Bye, > Fabian > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/xen-guest-dont-find-root-file-system-tp24584246p24586543.html Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fabian Zimmermann
2009-Jul-21 12:40 UTC
Re: [Xen-users] xen guest dont find root file system
Hi _sc_,> mount: Mounting /sys on /root/sys failed: No such file or directory > mount: Mounting /proc on /root/proc failed: No such file or directory > Target filesystem doesn''t have /sbin/initlooks like there is no os installed on your root-partition. How did you create your DomU? Here some keywords to ask google: debootstrap xen-tools hvm to pv Bye, Fabian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users