MercuryWorkshop / sh1mmer

source tree, website, and writeup for the sh1mmer chromebook jailbreak
https://sh1mmer.me
GNU General Public License v3.0
208 stars 83 forks source link

Concern: Warning! Disk size is smaller than the main header indicates! #103

Closed NotDarkn closed 11 months ago

NotDarkn commented 11 months ago

OS/Distro: EndeavourOS w/ GNOME 45.1

Issue: Using wax_legacy.sh with JACUZZI prevents the error "Warning! Disk size is smaller than the main header indicates!"

Description: When I use the latest version of wax_legacy.sh on an RMA shim such as JACUZZI, the finishing stage presents the error "Warning! Disk size is smaller than the main header indicates!". This doesn't affect the injected shim from building built and used, however it is a bit of a concerning error considering this wasn't here in previous versions.

Log:

Info: Mounting SH1MMER
Info: Injecting payload (2/2)
Info: Truncating image to 329MiB
Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! Error 25 reading partition table for CRC check!
Warning! One or more CRCs don't match. You should repair the disk!
Main header: OK
Backup header: ERROR
Main partition table: OK
Backup partition table: ERROR

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot or after you
run partprobe(8) or kpartx(8)
The operation has completed successfully.
Info: Done. Have fun!

Notes:

velzie commented 11 months ago

obly b

BinBashBanana commented 11 months ago

this is intended