[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen 3.1 initrd (from tarball) and kernel panic



I have done a mkinitrd /boot/initrd-2.6.18-xen.img 2.6.18-xen

and added in the grub.conf
module /initrd-2.6.18-xen
But I still have a panic kernel. The box reboot so I don't see all the messages.

it talks about /dev/root which doesn't exist and tell that it doesn't find the root partition

Any idea why ?

Do you think it is because I have a raid1 with a 3ware card (9560). Normaly the driver for this card has been added in kernel2.6.14 so it should be in the xen kernel 2.6.18 ?

Pascal


Pascal a écrit :
Thanks Dylan,

But it is on my dom0 not when I try to create a domU

I've done a fresh minimal install of centos5 and wanted xen3.1 rather than the 3.0.3 centos5 xen package
So I've downloaded the last xen tarball and did an install (cd dist/ then ./install.sh)

The kernel panic I have telling me it doesn't find my root partittion is when I reboot my box and so when it tries to start with the new xen kernel

Pascal


Dylan Martin a écrit :
You'll have to create the initrd.  I did this recently.  Here's the
steps that worked for me:

 - mount the domU filesystem on dom0
 - chroot to the domU filesystem
 - make sure /proc and /sys any any others are mounted in your domU
 - make sure /dev is populated 
 - run mkinitrd

-Dylan

  
   Hello,

   I have installed xen3.1 from the tarball on a centos5 OS

   I have followed up these instructions :

 "$ cd dist
 $ su -
 # sh ./install.sh

 After installation, you will still need to modify your grub.conf to
 enable booting xen. Typically this means adding an entry like

 title My Distro with Xen (2.6.18-xen-3.1)
         root (hd0,0)
         kernel /xen-3.1.0.gz
         module /vmlinuz-2.6.18-xen ro root=/dev/<foo>
         module /initrd-2.6.18-xen

 ... obviously replacing <foo> with the name of your root device. "



   So I have added this in my grub.conf file

 title Centos5 with Xen (2.6.18-xen-3.1)
         root (hd0,0)
         kernel /xen-3.1.0.gz
         module /vmlinuz-2.6.18-xen ro root=/dev/sda2

   I didn't find any initrd-2.6.18-xen file in the /boot partition !

   Also when I reboot on the new kernel I have a kernel panic telling me that
   it doesn't find my root partition !
   My disk are under raid1 with a 9550sx 3ware card (driver is included from
   2.6.14)

   Also my root partition is /dev/sda2

   Sys. de fich.         Tail. Occ. Disp. %Occ. Monte sur
   /dev/sda2              19G  1,4G   17G   8% /
   /dev/sda1             244M   24M  207M  11% /boot
   tmpfs                 2,0G     0  2,0G   0% /dev/shm

   So do I have to create the  initrd-2.6.18-xen

   Any idea why it doesn't find my root partition ?

   Thanks

   Pascal
    

  
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
    

  

_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.