Bob,
if you accepted the default partition scheme on the LV, then you can mount your /root while in dom0 and create a grub 0.97 type menu.lst
#mount /dev/VolGroup0/VM1 /mnt -o offset=1048576
nano /mnt/boot/grub/menu.lst
(now copy in the text below) then unmount /mnt and test again with pygrub
#pygrub -q /dev/VolGroup0/VM1
------------------ /boot/grub/menu.lst ---------- default 0 timeout 5 title Ubuntu 10.04 LTS, kernel 2.6.32-24-generic root (hd0,1) kernel /vmlinuz root=/dev/xvda1 ro console=tty0 console=ttyS0,38400n8 console=hvc0 initrd /boot/initrd.img
- - - - - - - - - - snip - - - - - - - - -- Mark --- On Wed, 9/1/10, Bob Sauvage <Bob.sauvage@xxxxxx> wrote:
From: Bob Sauvage <Bob.sauvage@xxxxxx> Subject: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5 To: xen-users@xxxxxxxxxxxxxxxxxxx Date: Wednesday, September 1, 2010, 7:20 AM
ïHello people !
I'm trying to install Ubuntu on a Xen server under Centos 5.5.
Here my
/etc/xen/ubuntu.cfg :
name = "ubuntu" memory = 512 disk = ['phy:/dev/VolGroup0/VM1,xvda,w' ] vif = [ 'bridge=xenbr0' ] kernel = "/home/test/vmlinuz" ramdisk = "/home/test/initrd.gz"
vcpus = 1
The installation procedure goes fine. At the end, a reboot occurs but the domU doesn't restart. What do I modify on my ubuntu.cfg file ? I'm a newbie with Xen, I suppose that I must modify the kernel and ramdisk option.
|