From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1csXT0-0005xn-MV for mharc-grub-devel@gnu.org; Mon, 27 Mar 2017 12:26:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csXSy-0005wN-J0 for grub-devel@gnu.org; Mon, 27 Mar 2017 12:26:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csXSt-0004QB-Lr for grub-devel@gnu.org; Mon, 27 Mar 2017 12:26:00 -0400 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]:35046) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1csXSt-0004OX-Am for grub-devel@gnu.org; Mon, 27 Mar 2017 12:25:55 -0400 Received: by mail-lf0-x242.google.com with SMTP id v2so7856313lfi.2 for ; Mon, 27 Mar 2017 09:25:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=po5FpxJ5H+rZPbkXEHLzq7gvDfSSVVZEN6wQgOULtW0=; b=DObXHspW53Hk7HE28vk6eG3hLVIqih2DOwAQWD96Vp+Hkt7kzh0N8/TZmoFqM1AD95 m/EPIHFC8UU6IIg0FRmI7bbBs0gXLaZqRLtTdE6VngFTyPUg3vCUGYZ+FmTiXFpBy3Bm LVtkHhKe+ZSUEfEWpWbVLTMxSPRmsY8V/guOIchXdRdZwQ0JFSiae8bR4MMdXOHEUQnS 4EU5RzvYggAU3xRF2lIHQNvvwhunaoMOn2K5t/kOYWIf/a6fyQXqj+ZiJwytcDkjitf3 tsDn+GjGR9Wmk1KA87myPzUvDYGSUwJdxTghGCLZ/RcjgRHz7mnaMgIJTN9QqV1L+W3W wIug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=po5FpxJ5H+rZPbkXEHLzq7gvDfSSVVZEN6wQgOULtW0=; b=jroRrxMM29S9Dm28dM0gW8y8+fW5Q0QNWM3w4IeTBmKcw8md/NwtfP24Gd4ej8Umu4 bcMLu76I1C9S6Rw7Lu3mqneYoHwiYdK3/x5hIAU3ZZxOawDMLTS9kW74o6wr/AM8ApoF pZCWs4SFQOqVdK2TCOQmuqPbcnFJCtCZXTZ/eUs12JU2jVBQkpdpeM2LGqGnlpEEOUt3 GG650KImxRFZkUo6Uo7/5BQ+ewO983cYjiM0t9I7kFbPhdpcClpIJD6aBgCN61cOzJt1 A0EY6lwY0F/OWbuAw3xEfAeOZLV0/68aVDh7OQpXA6Vd0I4l+LKNv18kRU/ZWPsVGnOH x3sg== X-Gm-Message-State: AFeK/H0TYVpA5hLicc3+L9r+GbluEDNi3CtoMXhR1pNPEcKwpCbNsxmUI37CP8cKHq2hiA== X-Received: by 10.25.43.205 with SMTP id r196mr10300338lfr.116.1490631954064; Mon, 27 Mar 2017 09:25:54 -0700 (PDT) Received: from [192.168.1.6] (ppp109-252-90-38.pppoe.spdop.ru. [109.252.90.38]) by smtp.gmail.com with ESMTPSA id g102sm201937lfi.38.2017.03.27.09.25.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 09:25:53 -0700 (PDT) Subject: Re: [weasel@debian.org: Bug#858832: calls efibootmgr with invalid options] To: The development of GNU GRUB References: <20170327124133.GG9002@riva.ucam.org> Cc: Peter Palfrader , 858832-forwarded@bugs.debian.org From: Andrei Borzenkov Message-ID: <77c9256a-784f-2063-86c4-afa3990f6155@gmail.com> Date: Mon, 27 Mar 2017 19:25:52 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170327124133.GG9002@riva.ucam.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::242 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2017 16:26:01 -0000 27.03.2017 15:41, Colin Watson пишет: > I guess that the attached bug happens because grub_install_register_efi > is called on non-biosdisk-ish systems but uses > grub_util_biosdisk_get_osdev to get an OS device name for > efidir_grub_dev->disk, which isn't going to work so well. I'm a bit > rusty here - would anyone care to venture a guess at suitable > replacement code that would work on devices other than biosdisk? > "biosdisk" here means "firmware device", not necessary BIOS. Where /boot/efi is located? Output of lsblk and "grub-probe -t device /boot/efi".