From: Fabio Fantoni Subject: Re: pygrub regression with latest xen-unstable test Date: Mon, 22 Sep 2014 12:00:31 +0200 Message-ID: <541FF33F.1080505@m2r.biz> References: <5416BF8D.7070909@m2r.biz> <1410792576.11601.22.camel@hastur.hellion.org.uk> <5417F811.4080704@m2r.biz> <1410885656.23505.13.camel@citrix.com> <54193BE5.5060805@m2r.biz> <1411378187.18331.6.camel@kazak.uk.xensource.com> <541FEDBF.20009@m2r.biz> <1411379042.18331.15.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1411379042.18331.15.camel@kazak.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: Dave Scott , xen-devel , Simon Rowe List-Id: xen-devel@lists.xenproject.org Il 22/09/2014 11:44, Ian Campbell ha scritto: > On Mon, 2014-09-22 at 11:37 +0200, Fabio Fantoni wrote: >> Il 22/09/2014 11:29, Ian Campbell ha scritto: >>> On Wed, 2014-09-17 at 09:44 +0200, Fabio Fantoni wrote: >>>> Il 16/09/2014 18:40, Ian Campbell ha scritto: >>>>> On Tue, 2014-09-16 at 10:42 +0200, Fabio Fantoni wrote: >>>>> >>>>>> I take fast look on latest pygrub changes, I changed the xvda1 of disk >>>>>> to xvda, tried also root in cfg but nothing. >>>>>> After I tried to put grub2 cfg in menu.lst and gave "Unknown directive" >>>>>> warnings at boot, so read it. >>>>>> After I renamed menu.lst to grub.cfg and nagios booted correctly. >>>>> Is the contents of this file grub1 or grub2 syntax? >>>> The regression is in grub1 syntax in menu.lst file, with grub2 syntax in >>>> grub.cfg is ok. >>> Please can you attach the actual problematic config file. >> Already posted in first msg: >> #boot/grub/menu.lst >> title Lenny 2.6.26 >> root (hd0,0) >> kernel /boot/vmlinuz-2.6.26-2-xen-amd64 ro root=/dev/xvda1 console=hvc0 >> xencons=tty >> initrd /boot/initrd.img-2.6.26-2-xen-amd64 >> >> Or you mean other config file? > Was that the entire file? I thought it was just a snippet (it's not the > autogenerated one from Debian, I don't think). > > Ian. > > On old domUs installing grub1 was always failed, so I created menu.lst manually each domUs and always was working until xen-unstable of latest months. Grub2 on recent domUs instead install correctly and generate cfg automatically. Major of pv domUs are debian, some ubuntu and rare are others (ipfire, clearos, fedora ecc...)