Giter Club home page Giter Club logo

Comments (3)

davidzfr avatar davidzfr commented on September 15, 2024

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

from pishrink.

Drewsif avatar Drewsif commented on September 15, 2024

Can you run the latest version and post the output here?

from pishrink.

davidzfr avatar davidzfr commented on September 15, 2024

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 ()
Lifetime writes: 21 GB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 32
Desired extra isize: 32
Journal inode: 8
Default directory hash: half_md4
Directory Hash Seed: 25ef0901-c651-489c-8f2a-7f6b180af328
Journal backup: inode blocks
Checksum type: crc32c
Checksum: 0xdbedd9e1
currentsize: 7547904
blocksize: 4096
Creating new /etc/rc.local
pishrink.sh: Checking filesystem ...
rootfs: 197740/1866480 files (0.1% non-contiguous), 1366539/7547904 blocks
resize2fs 1.46.5 (30-Dec-2021)
Line 331
currentsize: 7547904
minsize: 1510259
Line 339
extra_space: 6037645
Line 346
minsize: 1515259
pishrink.sh: Shrinking filesystem ...
resize2fs 1.46.5 (30-Dec-2021)
Resizing the filesystem on /dev/loop14 to 1515259 (4k) blocks.
Begin pass 2 (max = 137197)
Relocating blocks ----------------------------------------����������������������������������������XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 3 (max = 231)
Scanning inode table ----------------------------------------����������������������������������������XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Begin pass 4 (max = 19695)
Updating inode references ----------------------------------------����������������������������������������XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
The filesystem on /dev/loop14 is now 1515259 (4k) blocks long.

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 ...

from pishrink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.