Thorsten Reiser
2009-Mar-02 13:02 UTC
[Xen-users] Lenny 2.26.1 xenu vmlinuz-2.6.28.7 Hangs Waiting for root file system
Hi, i got problems with compiling an domu kernel. I tried to compile SATA as nonmodule but i got the same Probleme Begin: Waiting for root file system ... done. Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the system wait long enough?) - Check root= (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda2 does not exist. Dropping to a shell! BusyBox v1.10.2 (Debian 1:1.10.2-2) built-in shell (ash) Enter ''help'' for a list of built-in commands. /bin/sh: can''t access tty; job control turned off heres my xenu.cfg # # Kernel + memory size # kernel = ''/boot/vmlinuz-2.6.28.7'' ramdisk = ''/boot/initrd.img-2.6.28.7'' memory = ''256'' # # Disk device(s). # root = ''/dev/sda2 ro'' disk = [ ''file:/xen/domains/rcm/swap.img,sda1,w'', ''file:/xen/domains/rcm/disk.img,sda2,w'', ] extra = ''xencons=tty'' tried sda and hda both faild. I am sure initramfs is the problem but i cant solve thx :-) _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Mar-02 14:49 UTC
Re: [Xen-users] Lenny 2.26.1 xenu vmlinuz-2.6.28.7 Hangs Waiting for root file system
On Mon, Mar 2, 2009 at 8:02 PM, Thorsten Reiser <shelltunes2k@gmail.com> wrote:> root = ''/dev/sda2 ro'' > disk = [ > ''file:/xen/domains/rcm/swap.img,sda1,w'', > ''file:/xen/domains/rcm/disk.img,sda2,w'', > ] >>From the list archivehttp://lists.xensource.com/archives/html/xen-users/2009-02/msg00516.html "When using a vanilla kernel all XenVirtualBlock devices will be named xvd<letter> so the declaration of ''sda1'' and ''sda2'' will be silently ignored." _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Mar-04 00:59 UTC
Re: [Xen-users] Lenny 2.26.1 xenu vmlinuz-2.6.28.7 Hangs Waiting for root file system
Cc-ing the list, as I think that''s what your intention was when you wrote "All," :) On Tue, Mar 3, 2009 at 9:29 PM, Barry van Someren <barry@coffeesprout.com> wrote:> All, > > Does anybody have any success installing Lenny as a DomU in a CentOS Dom0? > I''ve been chipping away at this for a while, but unfortunately I''m not > very familiar with Debian. > So far I''ve tried doing this as a PV install using Xen-tools and debootstrap.Try this, should also work for Debian by changing the debootstrap parameter http://bderzhavets.wordpress.com/2009/01/07/debootstrap-intrepid-server-pv-domu-at-xen-331-centos-52-dom0-all-64-bit/ I tested it some time ago with debootstrap from EPEL (http://fedoraproject.org/wiki/EPEL) If I remembered correctly I only had to make minor changes (like setting up static IP instead of DHCP).> > The kernels I''ve tried are the default Dom0 kernel that came with > CentOS (Hangs after mounting ext3 and sits there consuming cpu) > My second try I did another debootstrap run and used the kernel that > came with Lenny (vmlinuz-2.6.26-1-xen-amd64) > The second try boots (slowly) and seems to come up with some > networking issues that may or may not be caused by my inability to > properly setup Debian in a dual network environment :-) >Are you using PV or HVM domU? The instructions above create a PV domU, with Ubuntu''s 2.6.27-7-server kernel contained in domU, booted with pygrub. As far as I can tell it''s as fast as my Centos PV domU. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Goirand
2009-Mar-04 08:36 UTC
Re: [Xen-users] Lenny 2.26.1 xenu vmlinuz-2.6.28.7 Hangs Waiting for root file system
Fajar A. Nugraha wrote:> Cc-ing the list, as I think that''s what your intention was when you > wrote "All," :) > > > On Tue, Mar 3, 2009 at 9:29 PM, Barry van Someren > <barry@coffeesprout.com> wrote: >> All, >> >> Does anybody have any success installing Lenny as a DomU in a CentOS Dom0? >> I''ve been chipping away at this for a while, but unfortunately I''m not >> very familiar with Debian. >> So far I''ve tried doing this as a PV install using Xen-tools and debootstrap. > > Try this, should also work for Debian by changing the debootstrap parameter > http://bderzhavets.wordpress.com/2009/01/07/debootstrap-intrepid-server-pv-domu-at-xen-331-centos-52-dom0-all-64-bit/ > > I tested it some time ago with debootstrap from EPEL > (http://fedoraproject.org/wiki/EPEL) > If I remembered correctly I only had to make minor changes (like > setting up static IP instead of DHCP).Hi, Our dtc-xen software has a fully automated way to get CentOS installed in a PV Xen domU.>From our man page:dtc_reinstall_os [ -v ] VPS_NUMBER HDD_SIZE MEMORY_SIZE IP_ADDRESS [ DISTRO ] [ lvm|loopback ] Example: dtc_reinstall_os 16 15360 256 ''66.2.45.2 66.2.45.3'' centos lvm This will setup the VM called xen16, build it’s startup file in /etc/xen/xen16 with a vif containing ip=66.2.45.2 66.2.45.3 and 256 MB of RAM, setting-up a centos stable operating system with 66.2.45.2 setup as eth0 IP address (66.2.45.3 is to be added later on manually in /etc/sysconfig later). It uses Yum, so it takes the latest packages of base from network, which is by far superior than using an image. But yum unfortunately is broken in Lenny. See my bug report in the Debian BTS: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=496137 So you shall use the patched version we have from our repository. In the source repository, there is an up-to-date (I mean, same as upstream of yum) version, but it''s not released yet. We wish to have this uploaded to lenny proposed updates, we are currently working on this. Thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Mar-04 09:15 UTC
Re: [Xen-users] Lenny 2.26.1 xenu vmlinuz-2.6.28.7 Hangs Waiting for root file system
On Wed, Mar 4, 2009 at 3:36 PM, Thomas Goirand <thomas@goirand.fr> wrote:>>> Does anybody have any success installing Lenny as a DomU in a CentOS Dom0?> Our dtc-xen software has a fully automated way to get CentOS installed > in a PV Xen domU.> We wish to have this uploaded > to lenny proposed updates, we are currently working on this.I think Barry is asking for the other way around : Lenny domU on CentOS dom 0 :) Thanks for the info though. Regards, Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users