Error during pishrink retropie image help please ASAP
-
HELP!!!!! I have tried to pishrink using both mint and ubuntu in virtualbox. I have the image and pishrink in the folder. When I execute the pishrink I get the following. Does anyone know how to fix this? I am trying to clone my retropie for christmas present. Here is a link to the error I get. https://drive.google.com/open?id=0B0SRkuIygXh0T1ZJRnJJMDFwRTFJaE4zZXFqdmo0bUY5WW44
-
can't access the link to your error, it says "You need permission"
-
Should be fixed now. Try to view it now.
-
@jmorris Is this a single OS installation or you have more than 2 partitions on the SD card ?
The error seems to indicate that the script cannot find a valid linux filesystem on the 2nd partition. What's the output of the command below ?parted -m 32GBpi.img unit B print
-
I am new to this so if you can tell me how to check that I will. I purchased this retropie already setup and now I am trying to make a copy of it for friend.
-
@jmorris said in Error during pishrink retropie image help please ASAP:
I am new to this so if you can tell me how to check that I will
I just did - run the command in my previous post.
I purchased this retropie already setup
Forum rules - no support for 3rd party images, there are too many differences in configuration and customizations between the RetroPie provided image and these images. Not too mention you got scammed, since selling systems with RetroPie is against the RetroPie license.
-
ok thanks
-
I have a similar problem trying to shrink my image with pishrink.
pi@pi-VirtualBox /media/sf_SD__images $ sudo ./pishrink.sh 64gb_Papberry_arcade.img
[sudo] password for pi:
tune2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/loop0
Couldn't find valid filesystem superblock.
tune2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/loop0
Couldn't find valid filesystem superblock.
mount: /dev/loop0 is write-protected, mounting read-only
mount: /dev/loop0: can't read superblock
md5sum: /tmp/tmp.JImqrA1mnE/etc/rc.local: No such file or directory
./pishrink.sh: line 63: [: !=: unary operator expected
umount: /tmp/tmp.JImqrA1mnE: not mounted
e2fsck 1.42.13 (17-May-2015)
e2fsck: Operation not permitted while trying to open /dev/loop0
You must have r/w access to the filesystem or be root
resize2fs 1.42.13 (17-May-2015)
resize2fs: Operation not permitted while trying to open /dev/loop0
./pishrink.sh: line 136: [[: Couldn'tfindvalidfilesystemsuperblock.: syntax error: invalid arithmetic operator (error token is "'tfindvalidfilesystemsuperblock.")
expr: syntax error
expr: syntax error
expr: syntax error
resize2fs 1.42.13 (17-May-2015)
resize2fs: Operation not permitted while trying to open /dev/loop0
Couldn't find valid filesystem superblock.
ERROR: resize2fs failed...
mount: /dev/loop0 is write-protected, mounting read-only
mount: /dev/loop0: can't read superblock
mv: cannot stat '/tmp/tmp.JImqrA1mnE/etc/rc.local.bak': No such file or directory
umount: /tmp/tmp.JImqrA1mnE: not mounted@mitu running the command you said, this is the output:
pi@pi-VirtualBox /media/sf_SD__images $ parted -m 64gb_Papberry_arcade.img unit B print
WARNING: You are not superuser. Watch out for permissions.
BYT;
/media/sf_SD__images/64gb_Papberry_arcade.img:64021856256B:file:512:512:msdos::;
1:4194304B:63963135B:59768832B:fat16::boot, lba;
2:63963136B:63864569855B:63800606720B:ext4::;(I don't know how to use the forum editor to make this code looks like yours, with black background)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.