Bob Sauvage
2010-Sep-01 14:20 UTC
[Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5
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. Thanks a lot for your help ! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
David Markey
2010-Sep-01 14:36 UTC
Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5
Are you using pygrub after the install? If so you need the ubuntu 10.04 grub2 patches. On 1 September 2010 15:20, Bob Sauvage <Bob.sauvage@gmx.fr> wrote:> 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. > > > Thanks a lot for your help ! > > _______________________________________________ > 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
Mark Pryor
2010-Sep-01 16:34 UTC
Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5
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@gmx.fr> wrote: From: Bob Sauvage <Bob.sauvage@gmx.fr> Subject: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5 To: xen-users@lists.xensource.com Date: Wednesday, September 1, 2010, 7:20 AM #yiv1026605842 p {margin:0px;padding:0px;}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. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Sep-01 23:57 UTC
Re: [Xen-users] Installing Ubuntu 10.04 on Xen and Centos 5.5
On Wed, Sep 1, 2010 at 11:34 PM, Mark Pryor <tlviewer@yahoo.com> wrote:> > 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... assuming, of course, that Ubuntu''s "/" (or "/boot", if it''s separate) is NOT ext4. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users