Port-xen archive

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

Re: pygrub can't boot ubuntu



On Tue, Oct 24, 2017 at 04:10:07PM +1300, Mark Davies wrote:
> Hi,
>   I have previously taken a working VirtualBox Ubuntu image, and used
> "VBoxManage clonehd" to get a raw diskimage that I've successfully been
> able to run under Xen4.6, using pygrub to boot.
> 
> I've just tried the same with a Ubuntu 17.4 image but trying to start it
> gives the following in a bootloader.log file:
> 
> Traceback (most recent call last):
>   File "/usr/pkg/bin/pygrub", line 929, in <module>
>     raise RuntimeError, "Unable to find partition containing kernel"
> RuntimeError: Unable to find partition containing kernel
> 
> 
> Any suggestions on whats actually failing here?

newer linux uses a newer grub, with a config file much more complicated
(and nearly unparsable by humans). I guess the pygrub in Xen 4.6 can't
parse it either.

Maybe the pygrub in Xen 4.8 can read it, I didn't try ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index