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

Re: [Xen-devel] Failed to run bootloader



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.


> 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®.