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




Reply via email to