From mboxrd@z Thu Jan 1 00:00:00 1970 From: rendaw <7e9wc56emjakcm@s.rendaw.me> Subject: disk-image and partitions Date: Mon, 15 Apr 2019 20:22:40 +0900 Message-ID: <4d172947-0b9f-afb0-97b5-37a56d7dbfde@s.rendaw.me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48300) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <7e9wc56emjakcm@s.rendaw.me>) id 1hFzhI-0002bJ-C1 for help-guix@gnu.org; Mon, 15 Apr 2019 07:22:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <7e9wc56emjakcm@s.rendaw.me>) id 1hFzhH-0003ix-An for help-guix@gnu.org; Mon, 15 Apr 2019 07:22:48 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43723) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <7e9wc56emjakcm@s.rendaw.me>) id 1hFzhG-0003g4-Od for help-guix@gnu.org; Mon, 15 Apr 2019 07:22:47 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id AEFE826151 for ; Mon, 15 Apr 2019 07:22:43 -0400 (EDT) Received: from [192.168.1.35] (y236169.dynamic.ppp.asahi-net.or.jp [118.243.236.169]) by mail.messagingengine.com (Postfix) with ESMTPA id A347C10380 for ; Mon, 15 Apr 2019 07:22:42 -0400 (EDT) Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org So it looks like the root uuid might be generated, but from what I read vfat uuids are translated from a partition serial number that isn't manipulated in the guix source so getting uuids beforehand might be impossible. Both the root and efi partitions get a label, so I might be able to use those to identify the partitions. They're both hardcoded, but the former is unstable (was changed earlier this month) and the definition that exposes it (root-label) isn't exported... I think my best choice here is to forcibly import "root-label" and duplicate the hardcoded "GNU-ESP" in my config, but if the latter changes I'll get an error at runtime rather than build time. How would disk-image work in the first place? It doesn't look like the generated GNU-ESP or / are added to fstab automatically (checking the output image).