Closed davidzfr closed 1 month ago
With the same SD card... I've tried with a Raspbian 11 - 64 bits -> OK I've tried with an another script (shrinkwrap) on Raspbian 12 - 32 bits -> same problem as PiShrink
Can you run the latest version and post the output here?
Hi, I've just tried again with the last 1.04 version. Sorry but the problem is still present with the 32bits version of Raspbian 12.
pishrink.sh v0.1.4
pishrink.sh: Gathering data ...
Line 311
beforesize: 30G
parted_output: BYT;
/home/vboxuser/Rpi/RPI_Moniteur_Salle_Sport_32bits.img:31457280000B:file:512:512:msdos::;
1:4194304B:541065215B:536870912B:fat32::lba;
2:541065216B:31457279999B:30916214784B:ext4::;
partnum: 2
partstart: 541065216
parttype: primary
tune2fs_output: tune2fs 1.46.5 (30-Dec-2021)
Filesystem volume name: rootfs
Last mounted on: /
Filesystem UUID: 3c215345-c59c-4a79-941a-ab121e090a42
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file dir_nlink extra_isize metadata_csum
Filesystem flags: unsigned_directory_hash
Default mount options: user_xattr acl
Filesystem state: clean
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 1866480
Block count: 7547904
Reserved block count: 377395
Free blocks: 6181366
Free inodes: 1668741
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 282
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8080
Inode blocks per group: 505
Flex block group size: 16
Filesystem created: Tue Oct 10 11:32:08 2023
Last mount time: Mon Nov 20 10:56:24 2023
Last write time: Thu Jan 1 11:00:06 1970
Mount count: 28
Maximum mount count: -1
Last checked: Tue Oct 10 11:32:08 2023
Check interval: 0 (
Line 365 partnewsize: 6206500864 newpartend: 6747566080 pishrink.sh: Shrinking image ... Line 390 endresult: 6747566592 Line 427 aftersize: 6.3G pishrink.sh: Shrunk RPI_Moniteur_Salle_Sport_32bits.img from 30G to 6.3G ...
My best guess is it's this issue https://github.com/Drewsif/PiShrink/issues/255. I don't see anything weird in the output. Sorry, hopefully I can get something to address that soon
Hi, I've the same problem as issue 73.
pishrink script was used without any option. No error message. Size was clearly reduced. shrinked image was put back on a another SD card with win32diskimager.
Raspbian 12 desktop 32 bits. No GUI, no access to desktop on the screen. Only an underscore blinking at the top left corner of the screen. I can access to the Rpi through ssh. The config.txt is exactly the same.
Any Idea ? Regards, David
Originally posted by @davidzfr in https://github.com/Drewsif/PiShrink/issues/73#issuecomment-1823929684