reynhout / chrx

Chromebook Unix
419 stars 56 forks source link

Linux partition still exists after ChromeOS restore #140

Closed DoughMucker closed 1 year ago

DoughMucker commented 1 year ago

Hello, I have an ASUS Flip C434TA which I'm trying to revert to stock due to a (lack of) sound issue on all the linux builds. After restoring, my chrome storage is still really small (~2GB free space) and the 50GB linux partition still exists (see output of fdisk below). I've tried re-running chrx to create a small linux partition, but I always end up with 50GB. I'm not too familiar with linux but is there possibly some backup of the partitions remaining to haunt me? Is there another way I can recover stock?

Thanks, Doug

This is after a restore:

chronos@localhost / $ sudo fdisk -l
Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 14.71 GiB, 15797846016 bytes, 30855168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 447.4 MiB, 469131264 bytes, 916272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop5: 97.32 MiB, 102043648 bytes, 199304 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop6: 9.22 MiB, 9670656 bytes, 18888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop7: 6.21 MiB, 6512640 bytes, 12720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mmcblk0: 58.31 GiB, 62612570112 bytes, 122290176 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: D1382FFC-BC7D-214F-B0E8-5FB43AF15509

Device             Start       End   Sectors  Size Type
/dev/mmcblk0p1  17158144 122290127 105131984 50.1G Linux filesystem
/dev/mmcblk0p2     20480     86015     65536   32M ChromeOS kernel
/dev/mmcblk0p3   8769536  17158143   8388608    4G ChromeOS root fs
/dev/mmcblk0p4     86016    151551     65536   32M ChromeOS kernel
/dev/mmcblk0p5    380928   8769535   8388608    4G ChromeOS root fs
/dev/mmcblk0p6     16448     16448         1  512B ChromeOS kernel
/dev/mmcblk0p7     16449     16449         1  512B ChromeOS root fs
/dev/mmcblk0p8    151552    184319     32768   16M Linux filesystem
/dev/mmcblk0p9     16450     16450         1  512B ChromeOS reserved
/dev/mmcblk0p10    16451     16451         1  512B ChromeOS reserved
/dev/mmcblk0p11       64     16447     16384    8M unknown
/dev/mmcblk0p12   315392    380927     65536   32M EFI System

Partition table entries are not in disk order.

Disk /dev/dm-0: 2.25 GiB, 2411724800 bytes, 588800 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mapper/encstateful: 14.71 GiB, 15797846016 bytes, 30855168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop9: 1.87 GiB, 2007502848 bytes, 3920904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
DoughMucker commented 1 year ago

Seems to have resolved itself after several more attempts.