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

Re: [Xen-devel] Failed to run bootloader



On Mon, 2012-04-23 at 12:29 +0100, Stefano Stabellini wrote:
> On Mon, 23 Apr 2012, Ian Campbell wrote:
> > On Sat, 2012-04-21 at 12:04 +0100, Sandi Romih wrote:
> > > [...]
> > 
> > >  kernel = "/etc/xen/kernels/oi151a/unix"
> > >  ramdisk = "/etc/xen/kernels/oi151a/boot_archive"
> > 
> > I forget how this works -- do you need to comment these out while using
> > pygrub or are these paths inside the ISO?
> > [...]
> > >  disk =
> > > [ 'file:/mnt/media/comp_files/os-iso/oi151a.iso,xvdc:cdrom,r' ,
> > > 'phy:/dev/dom0/oi_boot,xvda,w' ]
> > >  bootloader = "/usr/bin/pygrub"
> > 
> > Sadly I don't think xl is currently capable of booting using pygrub from
> > a file:/// type device.
>  
> > I expect this will be resolved by Stefano's "qdisk local attach" series
> > which was on the list last week.
> 
> Actually, even without my patch series, xl should be able to boot a PV
> guest using pygrub if (and only if) the disk is a raw file.

Yes, I've just realised that while editing
http://wiki.xen.org/wiki/Debian_Guest_Installation_Using_Debian_Installer as 
part of the dos day -- it seems to work for me at least.

Perhaps the issue here is the use of kernel= and ramdisk= instead of
bootloader_args? (see the new CD install section of that Debian install
guide for an example of the sort of thing which works for me)

Ian.

> 
> 
> > In the meantime as a workaround you could try using losetup on the iso
> > and pointing xl at phy:/dev/loop$N.
> 
> that should also work



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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