Hi.
The pre-built pre-built v18.06.0.rc2 Image for Raspberry Pi is corrupted and cannot be extracted:
The same problem happened when I built the image myself. It seems the release is not useable for RPi.
Bests,
Vahid
Hi.
The pre-built pre-built v18.06.0.rc2 Image for Raspberry Pi is corrupted and cannot be extracted:
The same problem happened when I built the image myself. It seems the release is not useable for RPi.
Bests,
Vahid
It contains some trailing signature marker for the sysupgrade command but that should not prevent decompression.
I fetched the image you linked and gunzip
my PC reported gzip: openwrt-18.06.0-rc2-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz: decompression OK, trailing garbage ignored
I was also able to list partitions and loop mount the image on my PC:
jow@jow:/tmp$ fdisk -l openwrt-18.06.0-rc2-brcm2708-bcm2710-rpi-3-ext4-sdcard.img
Disk openwrt-18.06.0-rc2-brcm2708-bcm2710-rpi-3-ext4-sdcard.img: 284 MiB, 297795584 bytes, 581632 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: dos
Disk identifier: 0x5452574f
Device Boot Start End Sectors Size Id Type
openwrt-18.06.0-rc2-brcm2708-bcm2710-rpi-3-ext4-sdcard.img1 * 8192 49151 40960 20M c W95 FAT32 (LBA)
openwrt-18.06.0-rc2-brcm2708-bcm2710-rpi-3-ext4-sdcard.img2 57344 581631 524288 256M 83 Linux
jow@jow:/tmp$ mkdir /tmp/x
jow@jow:/tmp$ sudo mount -o loop,offset=$((57344 * 512)) openwrt-18.06.0-rc2-brcm2708-bcm2710-rpi-3-ext4-sdcard.img /tmp/x/
[sudo] password for jow:
jow@jow:/tmp$ ls -lh /tmp/x/
total 60K
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 bin
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 dev
drwxr-xr-x 18 root root 4.0K Jul 15 14:30 etc
drwxr-xr-x 11 root root 4.0K Jul 15 14:30 lib
lrwxrwxrwx 1 root root 3 Jul 15 14:30 lib64 -> lib
drwx------ 2 root root 4.0K Jan 1 1970 lost+found
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 mnt
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 overlay
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 proc
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 rom
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 root
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 sbin
drwxr-xr-x 2 root root 4.0K Jul 15 14:30 sys
drwxrwxrwt 2 root root 4.0K Jul 15 14:30 tmp
drwxr-xr-x 7 root root 4.0K Jul 15 14:30 usr
lrwxrwxrwx 1 root root 3 Jul 15 14:30 var -> tmp
drwxr-xr-x 4 root root 4.0K Jul 15 14:30 www
jow@jow:/tmp$
Can you elaborate some more on what exactly is broken?
Thanks for your response. Ubuntu Archive Manager cannot extract the file and it just throws a general error message: "An error occurred while extracting files". I tested that on two different machines and it is the same. All the images in this release have the same problem. The previous releases don't have this problem. Anyway, I could decompress it using gunzip
in the terminal, though.
Bests,
Vahid
May I ask why you try to decompress it in the first place? I think you should be able to feed it to sysupgrade
also in compressed form.
I decompressed it to write the image on the SD card using dd
command. I guess I may be able to do that without decompression, as well.
Bests,
Vahid
Ah I understand. Maybe consider something like zcat openwrt-18.06.0-rc2-brcm2708-bcm2710-rpi-3-ext4-sdcard.img.gz | dd of=/dev/sdcard
then.
Thanks a lot. The problem is definitely solved for me. But I guess if the archive is not de-compressable with GNOME Archive Manager, which it is expected to be, a great number of Linux users may think it is corrupted.
Bests,
Vahid