From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GMxaB26rz2C15AAAgWs5BA (envelope-from ) for ; Sun, 20 Jun 2021 22:56:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kBf7Am6rz2BDbQAAB5/wlQ (envelope-from ) for ; Sun, 20 Jun 2021 20:56:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A50F113C27 for ; Sun, 20 Jun 2021 22:56:12 +0200 (CEST) Received: from localhost ([::1]:52962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lv4UD-0003So-PR for larch@yhetil.org; Sun, 20 Jun 2021 16:56:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv4U6-0003Sg-In for bug-guix@gnu.org; Sun, 20 Jun 2021 16:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lv4U6-0000lr-Ao for bug-guix@gnu.org; Sun, 20 Jun 2021 16:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lv4U6-0006sO-7E for bug-guix@gnu.org; Sun, 20 Jun 2021 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47780: [installer] Trying to install to DVD leads to crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 20 Jun 2021 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47780 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 47780-done@debbugs.gnu.org id=D47780.162422252426376 (code D ref 47780); Sun, 20 Jun 2021 20:56:02 +0000 Received: (at 47780-done) by debbugs.gnu.org; 20 Jun 2021 20:55:24 +0000 Received: from localhost ([127.0.0.1]:34908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv4TU-0006rM-6T for submit@debbugs.gnu.org; Sun, 20 Jun 2021 16:55:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lv4TS-0006r7-Ow for 47780-done@debbugs.gnu.org; Sun, 20 Jun 2021 16:55:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49690) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lv4TN-0000L1-Bn for 47780-done@debbugs.gnu.org; Sun, 20 Jun 2021 16:55:17 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41556 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lv4TH-0002cN-1l; Sun, 20 Jun 2021 16:55:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sg3sd70u.fsf@inria.fr> <87czsqgdbb.fsf@gnu.org> <8735tky6d7.fsf@gnu.org> <877disc0ig.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 2 Messidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 20 Jun 2021 22:55:09 +0200 In-Reply-To: <877disc0ig.fsf@gnu.org> (Mathieu Othacehe's message of "Thu, 17 Jun 2021 11:18:31 +0200") Message-ID: <878s349ryq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47780-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624222572; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=iesEAvHc1yQqqnHj/q0HNvcCpUiXkkHnJjsw76GJ7vI=; b=coi4siGzVYkVKUvhr/ePGrDexIi+1LBUQrnBp2ipMoemHM6rOUSk6j3fI4aMCRQf2nUwJE VpyChTu1VIY8IxpXCOZ4gutOLjTrIGiKzOH5krZmU2bOWPNJmd2tDbU7dlWaLtYFfs86lJ oUdez+JJPwJntcTi7na++8GJ+CWHs3S7GFxMjIoQzO9wByXJ2MXUmK9XMo77aEBAZzuKhF PlcvCjJt4XjGouw8FPIvEtNu+lAZTy1r3cv98EshRSCz7L/5Jfx6kG54qak+1kSrbCCUcS wNeKr0qw4KVsPAotjl8iyFY/pZR8pfh+RSkaKgeJT7WFedA9OzIXzhaxLBJQPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624222572; a=rsa-sha256; cv=none; b=LxvG7jaifTWCJowmZDoWMA4/cGEfcdf7Dhr9R8H+GqJh++h5QiAl1bHWlKgayZ/ZmkAS78 Iyf1E6HiyaPuGaFtSNygm1DhD+5BxqU9PxOPZGRVMzjaeRzhLKt4YfyYYxVt/Zibv+jebj ftOiwUtjpMF9yLSFUR1Vl7tgIDnmfM90f58yqlo2xmidr4khIBG5TBy6iDZelc71dTqVW2 EVZTjTuJk1JRy1ye7o5HFy8gl6yIYE21QOqoNgoKryOQ6v9OBrW8TBdTNZTpDfddHAZxHj CNidFpYziee7c910qfqejS6phKlEEdWVNN6DbfXHSwLkq10ZpGhATjUxdcGNcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: A50F113C27 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: UblGDp74c5Rq Hi, Mathieu Othacehe skribis: >> Does Parted provide a way to tell whether a storage device is read-only? >> That would be ideal. > > Yes it does, but this is not enough for a reliable installation device > detection. In Qemu the installation device is /dev/sr0 that is > reported as read-only by parted. > > Using real hardware, and an installation device on an USB drive, the > installation device is /dev/sd* and is not reported as read-only by > parted. I see. > However, I found a better way to detect the installation device, that > relies on reading the root partition UUID from the command line. > > I combined the read-only parted method and the UUID based installation > device detection in e12be802e02b3345a753e7ec1287852a7337a0a5. This seems > to work well for all my machines, plus for your VM use case. That=E2=80=99s clever. Thanks! Ludo=E2=80=99.