From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1a56TA-0007ww-7I for mharc-grub-devel@gnu.org; Sat, 05 Dec 2015 01:37:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a56T8-0007wJ-BT for grub-devel@gnu.org; Sat, 05 Dec 2015 01:37:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a56T5-0002WG-5T for grub-devel@gnu.org; Sat, 05 Dec 2015 01:37:18 -0500 Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:35170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a56T4-0002WC-Ue for grub-devel@gnu.org; Sat, 05 Dec 2015 01:37:15 -0500 Received: by lbbed20 with SMTP id ed20so17427348lbb.2 for ; Fri, 04 Dec 2015 22:37:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=O28Dzy8Z0ac+NENGvFhFzLIDog5I9FiTin3pzs8ni4g=; b=iQet6QHUTHH9LSRch9tH1utEfQGm83pOl+Pqi86H6HmyGcjbAxlefgz7wGi3EmYqFC DeXPSicQgvvqJAYHZD9/Ector2Hncnb6/KoaRzznolV1T1om4LV0ZX0ADaF2tKkNhhTs dsueVGkeUCImYnEtvI/Zma0A9+G00sLET1RoM8iuwBCB5DQ22+lTkGCuuoO03kclajpC N4u8td6LU/T4Qsvj96Iz/Kaq2Pf5NQLJmYcKA32hMxlTZ0gRNjirTrQ8CWw4EJ8W4lZs N0vs/rKbxvlB04DZ/od24wNJrV+VcAxQ9/LqrpEUp3nXKmx5j6FoBj/HgkUSIhfl0Cbp 7/9A== X-Received: by 10.112.167.131 with SMTP id zo3mr9237090lbb.91.1449297434087; Fri, 04 Dec 2015 22:37:14 -0800 (PST) Received: from [192.168.1.41] (ppp91-76-25-247.pppoe.mtu-net.ru. [91.76.25.247]) by smtp.gmail.com with ESMTPSA id s63sm2929133lfd.31.2015.12.04.22.37.12 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 04 Dec 2015 22:37:13 -0800 (PST) Subject: Re: grub_machine_get_bootlocation and partitions To: grub-devel@gnu.org References: <565DC873.7080204@gmail.com> From: Andrei Borzenkov Message-ID: <56628618.8030906@gmail.com> Date: Sat, 5 Dec 2015 09:37:12 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::22c 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: Sat, 05 Dec 2015 06:37:19 -0000 01.12.2015 20:45, Vladimir 'phcoder' Serbinenko пишет: > Do you have a failure scenario? hd0,1 is not recommended but it's still > valid and so should still work Yes, I misunderstood what I have seen. Sorry. > Le 1 déc. 2015 5:19 PM, "Andrei Borzenkov" a écrit : > >> If partition information is actually present, it results in bogus and >> invalid device name like >> >> hd0,1 >> >> This device cannot be opened as it requires partmap name. >> >> One obvious case when partition *is* passed to GRUB is multiboot. I >> suppose nobody ever noticed it because standard grub-install generates >> fixed partition part. >> >> We probably can fallback to probing partmap on current level in this >> case, except it means more code again. But current situation is rather >> useless as is. >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >> > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >