Ryan Chan
2010-Aug-29 12:33 UTC
[Xen-users] Error: Bootloader isn''t executable when installing Ubuntu 10.04 on CentOS 5.3/Xen 3.0
I am running Xen 3.0 (64bit) on CentOS 5.3, and I want to install Ubuntu 10.04 using the steps below: 1. Create a new disk with LVM 2. Downlaod vmlinuz & initrd.gz from http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/ 3. /usr/sbin/xm create -c /etc/xen/ubuntu.cfg install=true 4. Format the whole disk as EXT3, mount as / 5. The installer show some warnings (randomly, since they are not repeatable) Deboostrap warning Warnings: Couldn''t download package libnewt0.52 6. The clicked continue, and retry to install the base system again 7. When prompted to choose the kernel, I cannot find xen related, so I choose linux-generic 8. Everything alright, the installer quit and system halt. 9. I launch the VM using /usr/sbin/xm create -c /etc/xen/ubuntu.cfg, it show Error: Bootloader isn''t executable p.s. ubuntu.cfg =============name = "Ubuntu" kernel = "/root/ubuntu/vmlinuz" ramdisk = "/root/ubuntu/initrd.gz" vif = [ "mac=00:13:1e:6e:23:e2,bridge=xenbr0" ] disk = [ "phy:/dev/vg0/ubuntu,xvda,w" ] ============= Any thing I am missing? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2010-Aug-29 15:43 UTC
Re: [Xen-users] Error: Bootloader isn''t executable when installing Ubuntu 10.04 on CentOS 5.3/Xen 3.0
On Sun, Aug 29, 2010 at 7:33 PM, Ryan Chan <ryanchan404@gmail.com> wrote:> 5. The installer show some warnings (randomly, since they are not repeatable) > > Deboostrap warning > Warnings: Couldn''t download package libnewt0.52I''d guess something is wrong with either your connection or the mirror you use> 7. When prompted to choose the kernel, I cannot find xen related, so I > choose linux-genericLast time I check you''d need -server, or (better yet) -virtual.> 9. I launch the VM using /usr/sbin/xm create -c /etc/xen/ubuntu.cfg, it show > Error: Bootloader isn''t executable > > p.s. ubuntu.cfg > =============> name = "Ubuntu" > kernel = "/root/ubuntu/vmlinuz" > ramdisk = "/root/ubuntu/initrd.gz" > vif = [ "mac=00:13:1e:6e:23:e2,bridge=xenbr0" ] > disk = [ "phy:/dev/vg0/ubuntu,xvda,w" ] > =============That doesn''t look right. It shouldn''t show errors about bootloader when you don''t have a bootloader line (or do you?) Anyway, I''d suggest you start using linux-image-virtual first. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ryan Chan
2010-Aug-29 18:37 UTC
Re: [Xen-users] Error: Bootloader isn''t executable when installing Ubuntu 10.04 on CentOS 5.3/Xen 3.0
I have re-install the system, result seems the same... On Sun, Aug 29, 2010 at 11:43 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> > I''d guess something is wrong with either your connection or the mirror you use >Very strange, I tried different mirrors, everything there must be some package cannot be downloaded. But anyway, re-run the "install the base system" seems fine.>> 9. I launch the VM using /usr/sbin/xm create -c /etc/xen/ubuntu.cfg, it show > when you don''t have a bootloader line (or do you?) >This time, I skipped installing grub at the end of the installation process, but added "bootloader = "/usr/bin/pygrub" in the config file, it shows .. raise RuntimeError, "couldn''t find bootloader config file in the image provided." ... Any idea? Thanks. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users