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

Re: [Xen-users] change HVM to PV with root on logical volume

Hi Karolina,

> ----------------- this is my grub  config
> title CentOS (2.6.18-128.el5xen_pv)
>        root (hd0,0)
>        kernel /vmlinuz-2.6.18-128.el5xen ro
>        module /initrd-2.6.18-128.el5xen-no-scsi.img  root=/dev/vg00/lv_root
> -------------------

It looks like the (out-of-date) stock CentOS 5.5 Xen kernel, which should work 
just fine. However, you need to specify the root= parameter at the kernel line, 
not the module.
Actually the module line should be called initrd instead. Like this:

title CentOS (2.6.18-128.el5xen_pv)
       root (hd0,0)
       kernel /vmlinuz-2.6.18-128.el5xen ro root=/dev/vg00/lv_root
       initrd /initrd-2.6.18-128.el5xen-no-scsi.img 

The chainloader/module syntax is only valid in Dom0. You don't need that for 
your guest.

Also make sure that your default= entry in menu.lst points to this kernel as 
well. And to be safe, you can also set timeout=<seconds> to be able to choose a 
different kernel at boot time, if you made a mistake.


Xen-users mailing list



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