From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VlMuc-0001s7-OP for mharc-grub-devel@gnu.org; Tue, 26 Nov 2013 12:59:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMuW-0001ka-Fw for grub-devel@gnu.org; Tue, 26 Nov 2013 12:59:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlMuQ-0005Qn-VR for grub-devel@gnu.org; Tue, 26 Nov 2013 12:58:56 -0500 Received: from mail-ea0-f169.google.com ([209.85.215.169]:47060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlMuQ-0005Qd-PH for grub-devel@gnu.org; Tue, 26 Nov 2013 12:58:50 -0500 Received: by mail-ea0-f169.google.com with SMTP id l9so3922855eaj.0 for ; Tue, 26 Nov 2013 09:58:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=JEbz7wTjqCGBMXfufjO+/u3RigwvAxjk2ZsQ6a9PR5M=; b=XhwWLkQM7HIrGWZwtEdoRrWNSpVuOUM9DmJoGnRKlQbgANavp723IBCaFG6pm/3MAC TMxilYUws6CM1I9vWfzaYnVFUHysNYebuoU4Kl0+UAtVn6z1XUjt0TFye19geuCwfSvY z39pQ84QKGf1QafhzF63rdVS7bY/pKA3x5yBrSUR6eu5zak8krbzQZ1zvaUS7+1H9rjI xkzK48cXuNsl0huGgQMKQCFHJsNSG+LO16qD4+e52umN+JBW8VhFgb9HhyblhnOoFMRw +Gqjw9pVVwfUvWRUmDmI90Gh5b/OJBYnMJEupIAvuVTo/44sGJzoVYx9Acrhz2wUoVOT K+3w== X-Gm-Message-State: ALoCoQkQ9j5csA+EIVrn3wwOhWaJvifGq1aQmsZYF0EmaJh397FODa+rFDBSdJXIMkDP3egNL0zY X-Received: by 10.14.194.195 with SMTP id m43mr41579048een.13.1385488729404; Tue, 26 Nov 2013 09:58:49 -0800 (PST) Received: from [192.168.178.49] (host21-25-dynamic.60-82-r.retail.telecomitalia.it. [82.60.25.21]) by mx.google.com with ESMTPSA id h8sm11231538eew.16.2013.11.26.09.58.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Nov 2013 09:58:48 -0800 (PST) Message-ID: <5294E157.90708@m2r.biz> Date: Tue, 26 Nov 2013 18:58:47 +0100 From: Fabio Fantoni User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: M A Young Subject: Re: [Xen-devel] pvgrub2 is merged References: <527EA084.6000706@gmail.com> <20131110084753.540b0107@opensuse.site> <5283DD8F.5080103@gmail.com> <52850918.1040406@gmail.com> <52851D28.1090905@gmail.com> <52851D77.6060203@gmail.com> <5285440B.2040301@gmail.com> <5293733B.3090604@m2r.biz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.169 Cc: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= , "xen-devel@lists.xen.org" , The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 17:59:02 -0000 Il 25/11/2013 20:35, M A Young ha scritto: > On Mon, 25 Nov 2013, Fabio Fantoni wrote: > >> I did a test following informations on one of post before: >> git clone git://git.sv.gnu.org/grub.git # commit >> 61e1b9a49d48035bde52784abb54c3212b647fc8 >> ./autogen.sh >> ./configure --target=x86_64 --with-platform=xen >> mkdir -p boot/grub/ >> cat > boot/grub/grub.cfg <> search -s root -f /boot/grub/grub.cfg >> configfile /boot/grub/grub.cfg >> EOF > You may want to adapt this script to your circumstances. I ended up with > cat > boot/grub/grub.cfg < insmod part_msdos > insmod part_gpt > search -s root -f /grub2/grub.cfg > configfile /grub2/grub.cfg > EOF > for a Fedora domU. > >> ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o pvgrub2.xen -O >> x86_64-xen -d grub-core/ boot/grub/grub.cfg > I also suggest export pkgdatadir=. before this so it looks in the grub > source rather than the installed version. Thanks for reply. Seems not working: export pkgdatadir=. && ./grub-mkstandalone --grub-mkimage=./grub-mkimage -o pvgrub2.xen -O x86_64-xen -d grub-core/ boot/grub/grub.cfg ./grub-mkstandalone: warning: cannot open directory `/usr/local/share/locale': File o directory non esistente. I also added the partition mods but Sid domU still unable to boot :( I have also another question: Is possible specify multiple path where search the grub.cfg for support all mainly distributions and add a custom cfg path support taking it from arguments? Thanks for any reply and sorry for my bad english. > > Of course this may not help your current problem, though I can boot a > domU guest with grub configured as above via the hvc0 interface with > vnc enabled. > > Michael Young