Corey Chandler
2010-Jun-28 21:10 UTC
[Xen-users] "couldn''t find bootloader config file in the image provided."
I attempted to install Ubuntu 10.04 as a domU on my CentOS dom0. The process I used was: wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/xm-debian.cfg Edited the config file to use the proper logical volume for its install, and stepped through the install, installed GRUB to the MBR, and all seemed well. However, upon xm create -c NAME install=true install-mirror=http://mirrors.us.kernel.org/ubuntu/ I get: Traceback (most recent call last): File "/usr/bin/pygrub", line 682, in ? chosencfg = run_grub(file, entry, fs) File "/usr/bin/pygrub", line 536, in run_grub g = Grub(file, fs) File "/usr/bin/pygrub", line 203, in __init__ self.read_config(file, fs) File "/usr/bin/pygrub", line 397, in read_config raise RuntimeError, "couldn''t find bootloader config file in the image provided." RuntimeError: couldn''t find bootloader config file in the image provided. No handlers could be found for logger "xend" Error: Boot loader didn''t return any data! Not quite sure what to do to address this. Any suggestions would be most appreciated. -- Corey / KB1JWQ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Pryor
2010-Jun-28 22:12 UTC
Re: [Xen-users] "couldn''t find bootloader config file in the image provided."
--- On Mon, 6/28/10, Corey Chandler <cchandler@mediatemple.net> wrote:> From: Corey Chandler <cchandler@mediatemple.net> > Subject: [Xen-users] "couldn''t find bootloader config file in the image provided." > To: xen-users@lists.xensource.com > Date: Monday, June 28, 2010, 2:10 PM > I attempted to install Ubuntu 10.04 > as a domU on my CentOS dom0. The process I used was: > > wget http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-amd64/current/images/netboot/xen/xm-debian.cfg > > Edited the config file to use the proper logical volume for > its install, and stepped through the install, installed GRUB > to the MBR, and all seemed well. > > However, upon > xm create -c NAME install=true install-mirror=http://mirrors.us.kernel.org/ubuntu/<snip>> RuntimeError: couldn''t find bootloader config file in the > image provided. > No handlers could be found for logger "xend" > Error: Boot loader didn''t return any data!If you followed installer defaults, then /boot is ext4 (strike 3). Your Xen version won''t support ext4 in boot partition. Its pretty easy to upgrade your Xen to 3.42 by pointing Yum to this repo: http://www.gitco.de/linux/x86_64/centos/5/ (watch the arch). Best bet is to add the new *.repo from gitco,upgrade Xen, then try the PV install again and use ext3 in the /boot partition. You will still have trouble with pygrub choking on the grub2 *.cfg file. An option is to get hold of pv-grub for your arch and use that at first boot. -- Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Corey Chandler
2010-Jun-28 22:43 UTC
Re: [Xen-users] "couldn''t find bootloader config file in the image provided."
On Jun 28, 2010, at 3:12 PM, Mark Pryor wrote:> > If you followed installer defaults, then /boot is ext4 (strike 3). > Your Xen version won''t support ext4 in boot partition. > > Its pretty easy to upgrade your Xen to 3.42 by pointing Yum to this repo: > http://www.gitco.de/linux/x86_64/centos/5/ > > (watch the arch). > Best bet is to add the new *.repo from gitco,upgrade Xen, then try the PV install again and use ext3 in the /boot partition. > > You will still have trouble with pygrub choking on the grub2 *.cfg file. > An option is to get hold of pv-grub for your arch and use that at first boot.Doh! Thanks, that''d explain it. Too many moving parts on this box; looks like I''ll use Lenny instead. Thanks for your help! -- Corey / KB1JWQ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Corey Chandler
2010-Jun-29 00:06 UTC
Re: [Xen-users] "couldn''t find bootloader config file in the image provided."
On Jun 28, 2010, at 3:43 PM, Corey Chandler wrote:> > On Jun 28, 2010, at 3:12 PM, Mark Pryor wrote: >> >> If you followed installer defaults, then /boot is ext4 (strike 3). >> Your Xen version won''t support ext4 in boot partition. >> >> Its pretty easy to upgrade your Xen to 3.42 by pointing Yum to this repo: >> http://www.gitco.de/linux/x86_64/centos/5/ >> >> (watch the arch). >> Best bet is to add the new *.repo from gitco,upgrade Xen, then try the PV install again and use ext3 in the /boot partition. >> >> You will still have trouble with pygrub choking on the grub2 *.cfg file. >> An option is to get hold of pv-grub for your arch and use that at first boot. > > Doh! Thanks, that''d explain it. > > Too many moving parts on this box; looks like I''ll use Lenny instead. > > Thanks for your help!Forgive the self-reply, but is there a similar method to install a Lenny amd64 domU? They''ve got an i386/i686 domU config file in their repository, but 32 bits leaves me feeling like I''m stuck in the past.. -- Corey /KB1JWQ _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users