From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VldMe-0001Ui-UX for mharc-grub-devel@gnu.org; Wed, 27 Nov 2013 06:33:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VldMX-0001K0-M7 for grub-devel@gnu.org; Wed, 27 Nov 2013 06:33:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VldMR-0005wk-HV for grub-devel@gnu.org; Wed, 27 Nov 2013 06:32:57 -0500 Received: from mail-we0-f182.google.com ([74.125.82.182]:65157) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VldMR-0005wY-C2 for grub-devel@gnu.org; Wed, 27 Nov 2013 06:32:51 -0500 Received: by mail-we0-f182.google.com with SMTP id q59so6584726wes.41 for ; Wed, 27 Nov 2013 03:32:50 -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=ynadFh1GHzSse7QsBL1l15EYuvkalMI9Tp+dxXJCTQs=; b=EsAnjiJZ68sz4vJPU93quRCvjcA4IfX0wVLk+vpR016MobEvAkR5d4yKuN4aV+TIMT Tubt1swGT5X/TaYPwndfsI9J+RpFVU+4IZFSPAofmmRbW70qUnJ1Q0FD720SPwMwBhWe UIExNvJFt/QdIFnNvJjnlZH/Il4KMW1WRXIlFogunfieJD2POSjYuyTPuPi0DAStpWLE SQTvRW8zibfZwnT2NwPyZv8h7EnF7kvqvg+we5kDrklnC8EwxMAbespHLdvWcgnwLyaw jmzKCEO/nPPM8Gr8Wb/OoDomrckfuzXZ0/eUte/vBUvuqcfiHvhRjvgs0Go+Q4se7MC6 jMBA== X-Gm-Message-State: ALoCoQmZB/WEzwlillB4VwJJ6bdm/qBRJxvt88p9J/FlY6D8Hb5gnWAqNFC590dLQ9E+X7781L0r X-Received: by 10.181.12.75 with SMTP id eo11mr22186723wid.37.1385551970459; Wed, 27 Nov 2013 03:32:50 -0800 (PST) Received: from [192.168.1.26] (ip-73-126.sn2.eutelia.it. [83.211.73.126]) by mx.google.com with ESMTPSA id uc18sm30777238wib.11.2013.11.27.03.32.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 27 Nov 2013 03:32:49 -0800 (PST) Message-ID: <5295D867.9050306@m2r.biz> Date: Wed, 27 Nov 2013 12:32:55 +0100 From: Fabio Fantoni User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Andrey Borzenkov , The development of GNU GRUB 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> <5294E157.90708@m2r.biz> <20131126221221.3fe316e3@opensuse.site> In-Reply-To: <20131126221221.3fe316e3@opensuse.site> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 74.125.82.182 Cc: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVy?= =?UTF-8?B?L3BoY29kZXInIFNlcmJpbmVua28=?= , "xen-devel@lists.xen.org" , M A Young 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: Wed, 27 Nov 2013 11:33:04 -0000 Il 26/11/2013 19:12, Andrey Borzenkov ha scritto: > В Tue, 26 Nov 2013 18:58:47 +0100 > Fabio Fantoni пишет: > >> 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? >> > You can do something like > > if search --set root --file /boot/grub2/grub.cfg ; then > configfile /boot/grub2/grub.cfg > elif search --set root --file /boot/grub/grub.cfg ; then > configfile /boot/grub/grub.cfg > elif ... > ... > fi I tried with this: cat > boot/grub/grub.cfg < > If xen provides way to pass arguments to kernel, it sure could be > implemented as arguments to grub. Actually someone asked for a way to > pass arguments to grub on EFI, so this could share implementation.