From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: Failed to run bootloader Date: Mon, 23 Apr 2012 12:29:27 +0100 Message-ID: References: <1335170516.30700.12.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1335170516.30700.12.camel@zakaz.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Sandi Romih , "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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