GNU bug report logs - #54751
Parted 3.4 complains about the partition layout of ChromeOS: "Can't have overlapping partitions"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: parted; Reported by: steven@HIDDEN; dated Wed, 6 Apr 2022 14:33:02 UTC; Maintainer for parted is bug-parted@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Dec 2022 10:04:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 29 05:04:18 2022
Received: from localhost ([127.0.0.1]:59305 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pAplp-0004AT-M6
	for submit <at> debbugs.gnu.org; Thu, 29 Dec 2022 05:04:18 -0500
Received: from lists.gnu.org ([209.51.188.17]:49132)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ignacykuchcinski@HIDDEN>) id 1pAg5k-0002lD-Og
 for submit <at> debbugs.gnu.org; Wed, 28 Dec 2022 18:44:13 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ignacykuchcinski@HIDDEN>)
 id 1pAg5k-0002jW-JL
 for bug-parted@HIDDEN; Wed, 28 Dec 2022 18:44:12 -0500
Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ignacykuchcinski@HIDDEN>)
 id 1pAg5i-0000vG-EH
 for bug-parted@HIDDEN; Wed, 28 Dec 2022 18:44:12 -0500
Received: by mail-oa1-x29.google.com with SMTP id
 586e51a60fabf-142b72a728fso20093808fac.9
 for <bug-parted@HIDDEN>; Wed, 28 Dec 2022 15:44:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=CHlE+1zEY4I4LBsBEeoMsOaL5ynxX4Y1iFkAqwkV4xs=;
 b=kLuTxC9gORT3KGh9c+noRbfe1O78ICbGwG/nCMk/ZEq1tM+eV+tLHQxhZu+snHhVYL
 ZJjiL4Gt8lg+WWuHvcKJDdG4PKsbDPo1E0Y2Wkkp3FrYiGwRpivDsSwZzsihDFE1n8oB
 K2sUUWiURhaxnNrVXOUc7hE4qYZC+VoOWMmQMXXHMLUW4sN+XxvTQg44ngtp42Z5HtqN
 UHXM7NGS/6qjWsz36PRHbHMiXXQPk9pZ8XMQsl9gcKvZIlIGcdrbK6cb9GDKOwsWCZ82
 SWXB2F5LwQHWgiAk1gIom8cVKTDMYSUvnXm+u3s6upRUqSFJYzf8E+72YdLF4axlbvjk
 /wdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=CHlE+1zEY4I4LBsBEeoMsOaL5ynxX4Y1iFkAqwkV4xs=;
 b=kUrs78DA2ZtyXdwGUfnOzELZYZpNY3/0KpOhZyajzFVBuBDuD8rPxXIL1ID95K3s0V
 BmaXBDJVyCGKH4eVgtoEtKcHFHIL1o1x79MSPapgM4oL/D5q1NYmYWxFppAgmTprtAN5
 jTJF468Xfl8aRSoVINcbPefMnwbAxdh7Ahe/OlQssitiBVsG2EKNvtlxatkTJzCMkb/h
 EuTFuUC6G8DDeZ3QEHJ1STjOEcWlSnTHOpmRTtpTA6cEncvBdXmyXw2iicVXuDROtHct
 gODRSyJbfXvAy97VjlC46d/g2clGH5xqZS2HZYYzvWvvGwuQsyNsBBJp8qAP6xBT2EtL
 EXpA==
X-Gm-Message-State: AFqh2kqqNUiPrlu5Kmkp0IKLF8Q5dzkmCucvJtTXSMq33XZHts6I1jFp
 dhrkJxEnRTvFG/ye/gh/1jfdxd1NSqj/TF3pp9SNouATsqrTqoOL
X-Google-Smtp-Source: AMrXdXvvODxAgNz7xkbhBnIYhT6S2c096nKr4BY+a3kl8ir/Eub908b72oYIXK1UYQg+ErbCtHtkrG5sQ4Cwpa/7TiI=
X-Received: by 2002:a05:6870:1f05:b0:143:fca2:e031 with SMTP id
 pd5-20020a0568701f0500b00143fca2e031mr2050803oab.282.1672271048584; Wed, 28
 Dec 2022 15:44:08 -0800 (PST)
MIME-Version: 1.0
From: =?UTF-8?Q?Ignacy_Kuchci=C5=84ski?= <ignacykuchcinski@HIDDEN>
Date: Thu, 29 Dec 2022 00:43:32 +0100
Message-ID: <CAJq_QG3UgXv=jNfwyZ9dTzx=1xOtK8QKyMkzCbHF38OZNpkUSw@HIDDEN>
Subject: bug#54751: Parted 3.4 complains about the partition layout of
 ChromeOS: "Can't have overlapping partitions"
To: bug-parted@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2001:4860:4864:20::29;
 envelope-from=ignacykuchcinski@HIDDEN; helo=mail-oa1-x29.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 29 Dec 2022 05:04:07 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello developers,

Replying to thread
https://lists.gnu.org/archive/html/bug-parted/2022-04/msg00001.html
It seems like there's already a patch for this issue:
https://www.mail-archive.com/parted-devel@HIDDEN/msg00196.html

Is there anything left to work on to fix this? Apart from Clonezilla
problems, this bug results in inability to see the partition layout of
disks with ChromeOS installed in anaconda and ubiquity installers and
prevents edits in GNOME Disks. Judging from the positive responses to
the patch, it seems it just slipped through the cracks. I hope it's
still the right solution.

Ignacy Kuchcinski




Information forwarded to bug-parted@HIDDEN:
bug#54751; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 29 Dec 2022 10:04:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 29 05:04:17 2022
Received: from localhost ([127.0.0.1]:59299 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pAplk-0004A9-VC
	for submit <at> debbugs.gnu.org; Thu, 29 Dec 2022 05:04:17 -0500
Received: from lists.gnu.org ([209.51.188.17]:60292)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ignacykuchcinski@HIDDEN>) id 1pAeTX-0008Ey-7N
 for submit <at> debbugs.gnu.org; Wed, 28 Dec 2022 17:00:39 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ignacykuchcinski@HIDDEN>)
 id 1pAeTO-0002No-H1
 for bug-parted@HIDDEN; Wed, 28 Dec 2022 17:00:38 -0500
Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ignacykuchcinski@HIDDEN>)
 id 1pAeTL-00059g-0G
 for bug-parted@HIDDEN; Wed, 28 Dec 2022 17:00:29 -0500
Received: by mail-ot1-x32e.google.com with SMTP id
 x25-20020a056830115900b00670932eff32so10580402otq.3
 for <bug-parted@HIDDEN>; Wed, 28 Dec 2022 14:00:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=x4KBOnqd9taSXDPPb1zQ3QI1aLKEpNh6412x443VjAM=;
 b=TMreNVnqY0IgChHPFQFGNFZBs8RDFqvKABlgK8gWi4zlYRUfyIWmfkkZ9tQjwqttzX
 1kiA8PdiA1soe9P28DO2EN595PO4qaIQ0Wn1egnsLce117Hi4Unb68EGtyjv+y958PLq
 mOjC6Pxd86qOBkSXLKtcoUdoJLJZwK2EZIk8LMZCr/A+s2fFPzwNkgEgzmb/vVS1N+/N
 GLMSv1XTEVjtG2EZAO5JglYBNgQQIjYmreZr11leT2U85AxboZPLjDu4qE/+i7/o2R2a
 AjM3QhibiCmSwKsqOzutvSr9D+vW6ZEQ57MwGU2yIiG32gSrxzi/SvofqiZMa1ifPsWc
 awTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=x4KBOnqd9taSXDPPb1zQ3QI1aLKEpNh6412x443VjAM=;
 b=CnAwATWkbt5jSxLq9EgYFRDjqgvM+XsGB92xU0VmkJKC3GQGQLZ/oxfD1LjGSBDyVL
 TRLhgTiGO6HkC5ouH2HgE7NbIvLuQ7+WcryKCt+YfuK/AU3dpAeexGBpfsxxplFVj6/n
 KY2TxLVTgVYyJNhkrtPph6uh7OEZYyzR1SMNXQu4glfNL4gaGl7zZ1bC7jH+EGmV2e9u
 +pInsG0npr2xjOtp3gqTz32VYpaVxE1R4rdu+BpnT0YCBIaOxeLzeGQXJVdcgYeJRAwk
 k4sU+kJbMxM3uOV5QIq+6sn8l0vG9VLYsl8dG/UhevCJANUcLSR8HwSlS5SUE+1sPa73
 U/ZQ==
X-Gm-Message-State: AFqh2kr9iBUd6B/KVojkAhJ94vUbSVRdlJDe1aOZnlkla/ZOllvbQCcI
 10dhG9rm5U1Bej6iZZiutLMDOytR7706tSBShMBdOHGCGOE=
X-Google-Smtp-Source: AMrXdXs0gSIEMjJFFBcDdLuD+GliXE/n0Gu6Y4e0it69fy+gK6A3bTKNh7tbkLS7Xaxt1H349BWNuf2wb67gOYcKqrU=
X-Received: by 2002:a05:6830:1b62:b0:66e:ac28:a4d7 with SMTP id
 d2-20020a0568301b6200b0066eac28a4d7mr1720872ote.54.1672264822110; Wed, 28 Dec
 2022 14:00:22 -0800 (PST)
MIME-Version: 1.0
From: =?UTF-8?Q?Ignacy_Kuchci=C5=84ski?= <ignacykuchcinski@HIDDEN>
Date: Wed, 28 Dec 2022 22:59:46 +0100
Message-ID: <CAJq_QG3rWmbOak0BP_+1_BiuaBqxPF_N-bq-MqfbZ0GQW5JkJw@HIDDEN>
Subject: Re: bug#54751: Parted 3.4 complains about the partition layout of
 ChromeOS: "Can't have overlapping partitions"
To: bug-parted@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2607:f8b0:4864:20::32e;
 envelope-from=ignacykuchcinski@HIDDEN; helo=mail-ot1-x32e.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Thu, 29 Dec 2022 05:04:07 -0500
Cc: bcl@HIDDEN, steven@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello developers,

Replying to thread
https://lists.gnu.org/archive/html/bug-parted/2022-04/msg00001.html
It seems like there's already a patch for this issue:
https://www.mail-archive.com/parted-devel@HIDDEN/msg00196.=
html

Is there anything left to work on to fix this? Apart from Clonezilla
problems, this bug results in inability to see the partition layout of
disks with ChromeOS installed in anaconda and ubiquity installers and
prevents edits in GNOME Disks. Judging from the positive responses to
the patch, it seems it just slipped through the cracks. I hope it's
still the right solution.

Ignacy Kuchci=C5=84ski




Information forwarded to bug-parted@HIDDEN:
bug#54751; Package parted. Full text available.

Message received at 54751 <at> debbugs.gnu.org:


Received: (at 54751) by debbugs.gnu.org; 7 Apr 2022 00:09:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 06 20:09:56 2022
Received: from localhost ([127.0.0.1]:59342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ncFim-0002N9-Jo
	for submit <at> debbugs.gnu.org; Wed, 06 Apr 2022 20:09:56 -0400
Received: from mg.narlabs.org.tw ([140.110.144.120]:50742 helo=mg.narl.org.tw)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=10927867F4=steven@HIDDEN>)
 id 1ncFig-0002Mn-6Q
 for 54751 <at> debbugs.gnu.org; Wed, 06 Apr 2022 20:09:55 -0400
X-MailGates: (flag:1,DYNAMIC,RELAY,NOHOST,LAN:PASS)(compute_score:DELIVE
 R,40,3)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narlabs.org.tw;
 s=MailGates; t=1649290180;
 bh=fJJmS7ZdqbEtRY3oPrZ1aOh4zNZhyu+OqYxg+13TAdE=; l=1005;
 h=Message-ID:Date:MIME-Version:Subject:To:From;
 b=HhXAkwz6Jwf+MtpVWJ1g8REOcRZISE2+Ojmqtf7yvgEHTVCLSJL22a3FNBefWGH8z
 IgQudgKgQ1qufEUXkFML7EZQu11LCMigt0YInzL+XAqopEaVuqUKKAL/UZ2nswzAKS
 SRRVDfw8NJi/AnzpsSRN50+qX73nOWwE3ntSbsyo=
Received: from 140.110.143.158
 by mg.narl.org.tw with MailGates ESMTP Server V5.0(11953:0:AUTH_RELAY)
 (envelope-from <steven@HIDDEN>); Thu, 07 Apr 2022 08:09:32 +0800 (CST)
Received: from 140.110.59.180
 by mail.narl.org.tw with Mail2000 ESMTPSA Server V7.00(30236:0:AUTH_LOGIN)
 (envelope-from <steven@HIDDEN>)
 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128/128);
 Thu, 07 Apr 2022 08:09:31 +0800 (CST)
Message-ID: <66db875c-72a7-6833-515a-b79281de39d4@HIDDEN>
Date: Thu, 7 Apr 2022 08:09:30 +0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.8.0
Subject: Re: bug#54751: Parted 3.4 complains about the partition layout of
 ChromeOS: "Can't have overlapping partitions"
Content-Language: en-US
To: "Brian C. Lane" <bcl@HIDDEN>
References: <6a18be78-eff9-8c9e-afda-2026eef4ee2d@HIDDEN>
 <Yk2/fdPb8N3xLITC@HIDDEN>
 <0b060151-f62e-6ea0-95d1-b2aca56560ee@HIDDEN>
 <Yk4cTHXeJBi1qhh9@HIDDEN>
From: Steven Shiau <steven@HIDDEN>
In-Reply-To: <Yk4cTHXeJBi1qhh9@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54751
Cc: 54751 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: steven@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 4/7/2022 7:03 AM, Brian C. Lane wrote:
> It looks like parted doesn't like 1 sector partitions that aren't in
> order. I can reproduce this by making them at 64s, 66s, then 65s. But if
> I make 64s, 65s, 66s it is happy with it, even when printing it later.
>
> I'll look into it more when I have a chance, but I think this is a
> corner case that has been there quite a while so it won't make it into
> the pending 3.5 release.

Thanks, Brian.
I believe quite a few people want to reuse their old computers, and hence
ChromeOS Flex is one of the good choices for them. We, from Clonezilla project [1],
are trying to make people do the massive deployment easier. That's why this issue was raised [2].
Appreciate.

1. https://clonezilla.org
2. https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/688ce74fb1

-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0





Information forwarded to bug-parted@HIDDEN:
bug#54751; Package parted. Full text available.

Message received at 54751 <at> debbugs.gnu.org:


Received: (at 54751) by debbugs.gnu.org; 6 Apr 2022 23:03:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 06 19:03:49 2022
Received: from localhost ([127.0.0.1]:59294 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ncEgn-0000X3-DZ
	for submit <at> debbugs.gnu.org; Wed, 06 Apr 2022 19:03:49 -0400
Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:21667)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bcl@HIDDEN>) id 1ncEgk-0000Wu-3T
 for 54751 <at> debbugs.gnu.org; Wed, 06 Apr 2022 19:03:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1649286225;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=VAJyLQTMTLqB4ZD1AdNeZYazPvy+WvYIsqYnFkp6ryE=;
 b=AJYTvTpOrm/sHxS+CHsMPO0M6RZXpr7mdg+qOzuDkV4YYk5jg9Ilp7Vp81jfIj2FQGc8rn
 VsaNNrFBXyi14Zop9I9s82GFsP58HvucBv+xLWzWNMGVCN+XOvYzcdl3Nm2iKFWLNCLKg5
 ErUO8DKzi7zcCGlkevwF2Cov/bUqFes=
Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com
 [209.85.214.199]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 us-mta-63-IUKhfGEzNeuVbCOWEHI53Q-1; Wed, 06 Apr 2022 19:03:44 -0400
X-MC-Unique: IUKhfGEzNeuVbCOWEHI53Q-1
Received: by mail-pl1-f199.google.com with SMTP id
 u15-20020a170902e5cf00b00156c639a7b6so1807951plf.15
 for <54751 <at> debbugs.gnu.org>; Wed, 06 Apr 2022 16:03:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:in-reply-to;
 bh=VAJyLQTMTLqB4ZD1AdNeZYazPvy+WvYIsqYnFkp6ryE=;
 b=QxnjjwyLvp/SA9ADGgFGEXKfYt27LXE1usKnwZ4mJOZirP52wphfknffd+d0oWem15
 tiMNI+euq3tEVMLjpkYaJo/I7E4FV9CDfUCSnKIl+jEfx1MfEQ5VBKxX59xwqV5v9KUb
 thU54LaHyOPGe594JeGSaFbPJuUteTemEFABhYgH4Weu9ntUo5QSjqnwTUJIIrMGcZiZ
 KobVeFO+rahaiL+Bn5hZCdQc8xOW90EmlwmYm0OeMqHD/cwAxLe42coARZToxqeAw3pn
 YvArv+wCIQ6WfHAGmQlCkooG1V+xhDIKMexsibYY5m7VJDMz+dmgBfsrcPoG5SrnzAai
 gOWg==
X-Gm-Message-State: AOAM531ohOSO5lOqzFXv0u52MJ+rOc5D6b9HtaQkSuEeRKL+SuUuJEiF
 FJH0yh1giwHe069LwJNkSnd3XgbiSflCwhc95MIopNLeg44vdDILf2hCKRQ1nRxFsJNdRIUemko
 2S89ekKOnmgbKGpY=
X-Received: by 2002:a17:903:1246:b0:155:c376:e5a0 with SMTP id
 u6-20020a170903124600b00155c376e5a0mr10472683plh.167.1649286223034; 
 Wed, 06 Apr 2022 16:03:43 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJwxIRMadtUp4qwxJhIsw36jxFD1Pk8Y4/GB2su6xd5sac+oG0c45arWT+9zhy99k5aXwnPWIg==
X-Received: by 2002:a17:903:1246:b0:155:c376:e5a0 with SMTP id
 u6-20020a170903124600b00155c376e5a0mr10472660plh.167.1649286222602; 
 Wed, 06 Apr 2022 16:03:42 -0700 (PDT)
Received: from ohop.brianlane.com ([2601:603:5000:15f8:52e5:49ff:fe52:c5be])
 by smtp.gmail.com with ESMTPSA id
 k20-20020aa788d4000000b004fb07f819c1sm20555032pff.50.2022.04.06.16.03.41
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 06 Apr 2022 16:03:42 -0700 (PDT)
Date: Wed, 6 Apr 2022 16:03:40 -0700
From: "Brian C. Lane" <bcl@HIDDEN>
To: Steven Shiau <steven@HIDDEN>
Subject: Re: bug#54751: Parted 3.4 complains about the partition layout of
 ChromeOS: "Can't have overlapping partitions"
Message-ID: <Yk4cTHXeJBi1qhh9@HIDDEN>
References: <6a18be78-eff9-8c9e-afda-2026eef4ee2d@HIDDEN>
 <Yk2/fdPb8N3xLITC@HIDDEN>
 <0b060151-f62e-6ea0-95d1-b2aca56560ee@HIDDEN>
MIME-Version: 1.0
In-Reply-To: <0b060151-f62e-6ea0-95d1-b2aca56560ee@HIDDEN>
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bcl@HIDDEN
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54751
Cc: 54751 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Thu, Apr 07, 2022 at 06:19:02AM +0800, Steven Shiau wrote:
> 
> On 4/7/22 00:27, Brian C. Lane wrote:
> > On Wed, Apr 06, 2022 at 02:20:56PM +0800, Steven Shiau wrote:
> >
> >> So my questions: (1) Is there any option we can use to ignore the
> >> error/warning in the script mode? (2) What is the issue about the
> >> partition layout of ChromeOS? Thank you very much.
> > No, having overlapping partitions is an error, and script mode tries
> > pretty hard to make sure you can't accidentally destroy your data.
> >
> > Please include the output from
> >
> > parted /dev/sda unit s print
> >
> > so we can see what parted thinks the sector locations and lengths are.
> >
> > Brian
> >
> Thank you very much for answering this. Here you are:
> root@debian:~# parted /dev/sda unit s print
> Error: Can't have overlapping partitions.
> Ignore/Cancel? I
> Model: VMware Virtual Storage (scsi)
> Disk /dev/sda: 25165824s
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
> Disk Flags: pmbr_boot
> 
> Number  Start     End        Size      File system  Name        Flags
> 11      64s       64s        1s                     RWFW
>   6      65s       65s        1s                     KERN-C      chromeos_kernel
>   7      66s       66s        1s                     ROOT-C
>   9      67s       67s        1s                     reserved
> 10      68s       68s        1s                     reserved
>   2      69s       32836s     32768s                 KERN-A      chromeos_kernel
>   4      32837s    65604s     32768s                 KERN-B      chromeos_kernel
>   8      69632s    102399s    32768s    ext4         OEM
> 12      102400s   233471s    131072s   fat16        EFI-SYSTEM  boot, legacy_boot, esp
>   5      233472s   237567s    4096s                  ROOT-B
>   3      237568s   5152767s   4915200s  ext2         ROOT-A
>   1      5152768s  13553792s  8401025s  ext4         STATE

It looks like parted doesn't like 1 sector partitions that aren't in
order. I can reproduce this by making them at 64s, 66s, then 65s. But if
I make 64s, 65s, 66s it is happy with it, even when printing it later.

I'll look into it more when I have a chance, but I think this is a
corner case that has been there quite a while so it won't make it into
the pending 3.5 release.

Thanks,

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart





Information forwarded to bug-parted@HIDDEN:
bug#54751; Package parted. Full text available.

Message received at 54751 <at> debbugs.gnu.org:


Received: (at 54751) by debbugs.gnu.org; 6 Apr 2022 22:20:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 06 18:20:41 2022
Received: from localhost ([127.0.0.1]:59262 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ncE13-0007kg-Go
	for submit <at> debbugs.gnu.org; Wed, 06 Apr 2022 18:20:41 -0400
Received: from mg.narlabs.org.tw ([140.110.144.120]:49486 helo=mg.narl.org.tw)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=1091FC57D1=steven@HIDDEN>)
 id 1ncDzl-0007iH-O9
 for 54751 <at> debbugs.gnu.org; Wed, 06 Apr 2022 18:19:26 -0400
X-MailGates: (flag:1,DYNAMIC,RELAY,NOHOST,LAN:PASS)(compute_score:DELIVE
 R,40,3)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narlabs.org.tw;
 s=MailGates; t=1649283553;
 bh=N7c8LWNageoP/RLgjth/IAXfXQMJVsUB1jN8mAept1A=; l=1583;
 h=Message-ID:Date:MIME-Version:Subject:To:From;
 b=vqswHVhCSJ9vDpLcHk/i0XMXuM/ZHm3iT0iy16Q7w7EuHIzTcYw4d1nvYuoa1tRyH
 yUubmcDrjrzNCU57R4kPxU4rDek3xc5twSiMkb/xXt/QVMmg8cXkw34+W6MEGSbxRR
 lJf4A7uL5gAp0eWdYpussm33x/5ybprN400oHzUU=
Received: from 140.110.143.158
 by mg.narl.org.tw with MailGates ESMTP Server V5.0(11939:0:AUTH_RELAY)
 (envelope-from <steven@HIDDEN>); Thu, 07 Apr 2022 06:19:03 +0800 (CST)
Received: from 140.110.35.168
 by mail.narl.org.tw with Mail2000 ESMTPSA Server V7.00(30218:0:AUTH_LOGIN)
 (envelope-from <steven@HIDDEN>)
 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128/128);
 Thu, 07 Apr 2022 06:19:04 +0800 (CST)
Message-ID: <0b060151-f62e-6ea0-95d1-b2aca56560ee@HIDDEN>
Date: Thu, 7 Apr 2022 06:19:02 +0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
 Thunderbird/91.7.0
Subject: Re: bug#54751: Parted 3.4 complains about the partition layout of
 ChromeOS: "Can't have overlapping partitions"
Content-Language: en-US
To: "Brian C. Lane" <bcl@HIDDEN>
References: <6a18be78-eff9-8c9e-afda-2026eef4ee2d@HIDDEN>
 <Yk2/fdPb8N3xLITC@HIDDEN>
From: Steven Shiau <steven@HIDDEN>
In-Reply-To: <Yk2/fdPb8N3xLITC@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 54751
X-Mailman-Approved-At: Wed, 06 Apr 2022 18:20:41 -0400
Cc: 54751 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: steven@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


On 4/7/22 00:27, Brian C. Lane wrote:
> On Wed, Apr 06, 2022 at 02:20:56PM +0800, Steven Shiau wrote:
>
>> So my questions: (1) Is there any option we can use to ignore the
>> error/warning in the script mode? (2) What is the issue about the
>> partition layout of ChromeOS? Thank you very much.
> No, having overlapping partitions is an error, and script mode tries
> pretty hard to make sure you can't accidentally destroy your data.
>
> Please include the output from
>
> parted /dev/sda unit s print
>
> so we can see what parted thinks the sector locations and lengths are.
>
> Brian
>
Thank you very much for answering this. Here you are:
root@debian:~# parted /dev/sda unit s print
Error: Can't have overlapping partitions.
Ignore/Cancel? I
Model: VMware Virtual Storage (scsi)
Disk /dev/sda: 25165824s
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: pmbr_boot

Number  Start     End        Size      File system  Name        Flags
11      64s       64s        1s                     RWFW
  6      65s       65s        1s                     KERN-C      chromeos_kernel
  7      66s       66s        1s                     ROOT-C
  9      67s       67s        1s                     reserved
10      68s       68s        1s                     reserved
  2      69s       32836s     32768s                 KERN-A      chromeos_kernel
  4      32837s    65604s     32768s                 KERN-B      chromeos_kernel
  8      69632s    102399s    32768s    ext4         OEM
12      102400s   233471s    131072s   fat16        EFI-SYSTEM  boot, legacy_boot, esp
  5      233472s   237567s    4096s                  ROOT-B
  3      237568s   5152767s   4915200s  ext2         ROOT-A
  1      5152768s  13553792s  8401025s  ext4         STATE

Steven

-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0





Information forwarded to bug-parted@HIDDEN:
bug#54751; Package parted. Full text available.

Message received at 54751 <at> debbugs.gnu.org:


Received: (at 54751) by debbugs.gnu.org; 6 Apr 2022 16:27:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 06 12:27:48 2022
Received: from localhost ([127.0.0.1]:59020 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nc8VY-0006ek-N2
	for submit <at> debbugs.gnu.org; Wed, 06 Apr 2022 12:27:48 -0400
Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:36622)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bcl@HIDDEN>) id 1nc8VX-0006eb-F6
 for 54751 <at> debbugs.gnu.org; Wed, 06 Apr 2022 12:27:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
 s=mimecast20190719; t=1649262467;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=zaebGKlaCHoPYHl4z3XLbTHQskTkDwNwvT7E4JLpUPw=;
 b=F+akIIoKqNM3QLvmrhUq6tLv7uALABi/xcFYobuIG0BDQg19PfFTYT2EErjlzVFhqf8S6Y
 cIifo1FgSOTf9IOtOZ6feWL97AmTvxNpVIA7XSbi7cY3yv1aE0mG4ztqC2KZ261fS0o+LT
 qJiSppwy/hZzW48LWj71O1XuDH7RLT8=
Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com
 [209.85.215.200]) by relay.mimecast.com with ESMTP with STARTTLS
 (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 us-mta-517-ELdar-WPMo-b6oCmRHBRXg-1; Wed, 06 Apr 2022 12:27:46 -0400
X-MC-Unique: ELdar-WPMo-b6oCmRHBRXg-1
Received: by mail-pg1-f200.google.com with SMTP id
 e12-20020a63544c000000b003985d5888a8so1685540pgm.15
 for <54751 <at> debbugs.gnu.org>; Wed, 06 Apr 2022 09:27:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:date:from:to:cc:subject:message-id:references
 :mime-version:content-disposition:in-reply-to;
 bh=zaebGKlaCHoPYHl4z3XLbTHQskTkDwNwvT7E4JLpUPw=;
 b=X0wDGQatw5T5834egG31SeNpptXw648pb7lC2g8aQFvOFnl/5vIJE/ImG7hrzhrxXw
 mOaIriFoIB4bdJ0P4u/CWQCsTRdyOw01CT/5ZKr0AQrvWr3EGTmb2SE8RkUpD/S2QyDi
 fP28a0YpW0SSgpzFS50PpG9nNUZpdamxFRJFp9TAaEbqsVtDkMzV/EQ3uS8CgG8BEgdH
 8yZ4yB7NlDVaii2Ja5vZeIsLSt1eKPO6By4HoX4yTGSyyDMTk4StQJyYso5V8S6MIJXG
 5joF8YIOsG5HziqUijxkoZeM2yCLvsUUhM19iooY+/K3JDAQuLnGP/d1Ecd0MDHTdCqA
 I6cg==
X-Gm-Message-State: AOAM5337nZczhjK3cYFW63UefmgxMeKe+SDFBSgKitiTuqNzR7Po6zOW
 vHc8Zcl+8ysric/Em10SnmsuA1tjH5+lwW3Ewan0zN6aANc467eyE4SkZhG9aFLd54cT0G3iXuK
 MPREprxsgtMnUEAA=
X-Received: by 2002:a17:90a:fca:b0:1ca:a6b5:b20c with SMTP id
 68-20020a17090a0fca00b001caa6b5b20cmr10921605pjz.190.1649262464625; 
 Wed, 06 Apr 2022 09:27:44 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJyhFISQIxfS+BSRTreiJTOosQa21hEhkNqTIYg1BNd6ZK3EgKIvtyouBCmDaTrDZBkCVXAFjw==
X-Received: by 2002:a17:90a:fca:b0:1ca:a6b5:b20c with SMTP id
 68-20020a17090a0fca00b001caa6b5b20cmr10921583pjz.190.1649262464300; 
 Wed, 06 Apr 2022 09:27:44 -0700 (PDT)
Received: from ohop.brianlane.com ([2601:603:5000:15f8:52e5:49ff:fe52:c5be])
 by smtp.gmail.com with ESMTPSA id
 34-20020a17090a0fa500b001cabffcab2csm6090235pjz.55.2022.04.06.09.27.43
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 06 Apr 2022 09:27:43 -0700 (PDT)
Date: Wed, 6 Apr 2022 09:27:41 -0700
From: "Brian C. Lane" <bcl@HIDDEN>
To: steven@HIDDEN
Subject: Re: bug#54751: Parted 3.4 complains about the partition layout of
 ChromeOS: "Can't have overlapping partitions"
Message-ID: <Yk2/fdPb8N3xLITC@HIDDEN>
References: <6a18be78-eff9-8c9e-afda-2026eef4ee2d@HIDDEN>
MIME-Version: 1.0
In-Reply-To: <6a18be78-eff9-8c9e-afda-2026eef4ee2d@HIDDEN>
Authentication-Results: relay.mimecast.com;
 auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bcl@HIDDEN
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 54751
Cc: 54751 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Wed, Apr 06, 2022 at 02:20:56PM +0800, Steven Shiau wrote:

> So my questions: (1) Is there any option we can use to ignore the 
> error/warning in the script mode? (2) What is the issue about the 
> partition layout of ChromeOS? Thank you very much.

No, having overlapping partitions is an error, and script mode tries
pretty hard to make sure you can't accidentally destroy your data.

Please include the output from

parted /dev/sda unit s print

so we can see what parted thinks the sector locations and lengths are.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart





Information forwarded to bug-parted@HIDDEN:
bug#54751; Package parted. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Apr 2022 14:32:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 06 10:32:31 2022
Received: from localhost ([127.0.0.1]:58915 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1nc6hx-0003bc-PR
	for submit <at> debbugs.gnu.org; Wed, 06 Apr 2022 10:32:31 -0400
Received: from lists.gnu.org ([209.51.188.17]:42574)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <prvs=10927867F4=steven@HIDDEN>)
 id 1nbz2h-0004Eq-7y
 for submit <at> debbugs.gnu.org; Wed, 06 Apr 2022 02:21:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53672)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <prvs=10927867F4=steven@HIDDEN>)
 id 1nbz2c-0002z6-NL
 for bug-parted@HIDDEN; Wed, 06 Apr 2022 02:21:20 -0400
Received: from mg.narlabs.org.tw ([140.110.144.120]:48330 helo=mg.narl.org.tw)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <prvs=10927867F4=steven@HIDDEN>)
 id 1nbz2W-0002Im-1z
 for bug-parted@HIDDEN; Wed, 06 Apr 2022 02:21:16 -0400
X-MailGates: (flag:1,DYNAMIC,RELAY,NOHOST,LAN:PASS)(compute_score:DELIVE
 R,40,3)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=narlabs.org.tw;
 s=MailGates; t=1649226058;
 bh=pK2nLvNTnu3FMPWaBiezl6vCCGHemFjbgz5emWgwBMM=; l=5064;
 h=Message-ID:Date:MIME-Version:To:From:Subject;
 b=P6AyMQw85fINEnrhCeRJHvVcAZyjw6qPj7us+EUmpuP+tLEfnd8diNKzMqYoZecIr
 T5BKN7rL6T7DxZlwyK5kIbCjW7/XDqPFshJzP+WPgUhmNPh8lg6TbM/t+eA8oF1Ykp
 nUHTzDW+RSimnYJsbDJbiVmswM+jqnuzbUN/hbWE=
Received: from 140.110.143.158
 by mg.narl.org.tw with MailGates ESMTP Server V5.0(11931:0:AUTH_RELAY)
 (envelope-from <steven@HIDDEN>); Wed, 06 Apr 2022 14:20:56 +0800 (CST)
Received: from 140.110.59.180
 by mail.narl.org.tw with Mail2000 ESMTPSA Server V7.00(30227:0:AUTH_LOGIN)
 (envelope-from <steven@HIDDEN>)
 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128/128);
 Wed, 06 Apr 2022 14:20:57 +0800 (CST)
Message-ID: <6a18be78-eff9-8c9e-afda-2026eef4ee2d@HIDDEN>
Date: Wed, 6 Apr 2022 14:20:56 +0800
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.8.0
To: bug-parted@HIDDEN
Content-Language: en-US
From: Steven Shiau <steven@HIDDEN>
Subject: Parted 3.4 complains about the partition layout of ChromeOS: "Can't
 have overlapping partitions"
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=140.110.144.120;
 envelope-from=prvs=10927867F4=steven@HIDDEN; helo=mg.narl.org.tw
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 06 Apr 2022 10:32:28 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: steven@HIDDEN
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Dear developers,
We encountered an issue that parted 3.4 complains about the partition 
layout of ChromeOS: "Can't have overlapping partitions".
The details are described in the end of this mail. If we use the script 
mode, then it only outputs the error messages, and we can not find any 
option to ignore the error or warning. However, if we enter interactive 
mode, we have a chance to ignore the error and output the partition 
layout. It seems sfdisk does not complain this issue, but parted does.
So my questions: (1) Is there any option we can use to ignore the 
error/warning in the script mode? (2) What is the issue about the 
partition layout of ChromeOS? Thank you very much.

root@debian:~# parted --version
parted (GNU parted) 3.4
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by 
<http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.

root@debian:~# parted -s /dev/sda print
Error: Can't have overlapping partitions.
Model: VMware Virtual Storage (scsi)
Disk /dev/sda: 12.9GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:

root@debian:~# parted /dev/sda print unit s print unit chs print
Error: Can't have overlapping partitions.
Ignore/Cancel? I
Model: VMware Virtual Storage (scsi)
Disk /dev/sda: 12.9GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: pmbr_boot


Number  Start   End     Size    File system  Name        Flags
11      32.8kB  33.3kB  512B                 RWFW
  6      33.3kB  33.8kB  512B                 KERN-C chromeos_kernel
  7      33.8kB  34.3kB  512B                 ROOT-C
  9      34.3kB  34.8kB  512B                 reserved
10      34.8kB  35.3kB  512B                 reserved
  2      35.3kB  16.8MB  16.8MB               KERN-A chromeos_kernel
  4      16.8MB  33.6MB  16.8MB               KERN-B chromeos_kernel
  8      35.7MB  52.4MB  16.8MB  ext4         OEM
12      52.4MB  120MB   67.1MB  fat16        EFI-SYSTEM  boot, 
legacy_boot, esp
  5      120MB   122MB   2097kB               ROOT-B
  3      122MB   2638MB  2517MB  ext2         ROOT-A
  1      2638MB  6940MB  4301MB  ext4         STATE


root@debian:~# sfdisk -d /dev/sda
label: gpt
label-id: 08D06684-439B-5249-BF2C-ADA012219CA0
device: /dev/sda
unit: sectors
first-lba: 34
last-lba: 25165790
sector-size: 512

/dev/sda1 : start=     5152768, size=     8401025, 
type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, 
uuid=222536A7-D849-3349-9646-3DC89AB2952E, name="STATE"
/dev/sda2 : start=          69, size=       32768, 
type=FE3A2A5D-4F32-41A7-B725-ACCC3285A309, 
uuid=E9A9957A-FB4A-3C44-815B-E8F5C3A72051, name="KERN-A"
/dev/sda3 : start=      237568, size=     4915200, 
type=3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC, 
uuid=2B75156A-F0BE-6C46-88D1-5628F3D030A6, name="ROOT-A"
/dev/sda4 : start=       32837, size=       32768, 
type=FE3A2A5D-4F32-41A7-B725-ACCC3285A309, 
uuid=1399AF6D-5ED1-F242-B9E6-FCEAE223B041, name="KERN-B"
/dev/sda5 : start=      233472, size=        4096, 
type=3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC, 
uuid=19EC4CDA-2F6F-CB4C-8853-2C40550A23DE, name="ROOT-B"
/dev/sda6 : start=          65, size=           1, 
type=FE3A2A5D-4F32-41A7-B725-ACCC3285A309, 
uuid=C6269814-317D-0B48-B5D8-EC663E04A1FE, name="KERN-C"
/dev/sda7 : start=          66, size=           1, 
type=3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC, 
uuid=F7990EB7-C113-2944-8CD2-B6F61D993D96, name="ROOT-C"
/dev/sda8 : start=       69632, size=       32768, 
type=0FC63DAF-8483-4772-8E79-3D69D8477DE4, 
uuid=13372637-6B9C-7543-B5DF-CE97AFC01F1A, name="OEM"
/dev/sda9 : start=          67, size=           1, 
type=2E0A753D-9E48-43B0-8337-B15192CB1B5E, 
uuid=A14CB4A1-0A05-2B46-8548-7908252A83DE, name="reserved"
/dev/sda10 : start=          68, size=           1, 
type=2E0A753D-9E48-43B0-8337-B15192CB1B5E, 
uuid=AD34FDF0-8416-2842-9BB0-3CB356BB1862, name="reserved"
/dev/sda11 : start=          64, size=           1, 
type=CAB6E88E-ABF3-4102-A07A-D4BB9BE3C1D3, 
uuid=78FAFCA1-7159-6643-91CA-F446E168528F, name="RWFW"
/dev/sda12 : start=      102400, size=      131072, 
type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, 
uuid=81709525-0560-5844-87D1-D092B7EC65FB, name="EFI-SYSTEM", 
attrs="LegacyBIOSBootable"


-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0





Acknowledgement sent to steven@HIDDEN:
New bug report received and forwarded. Copy sent to bug-parted@HIDDEN. Full text available.
Report forwarded to bug-parted@HIDDEN:
bug#54751; Package parted. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 29 Dec 2022 10:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.