New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I used a 8G sd card,when run " ./mk-sd-card",it shows"gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now" #23
Comments
As follows: Disk /dev/loop8: 1.48 GiB, 1572864000 bytes, 3072000 sectors
New situation: Device Boot Start End Sectors Size Id Type The partition table has been altered. Allocating group tables: done /home/ff520/Desktop/vivado-risc-v/debian-riscv64/rootfs /home/ff520/Desktop/vivado-risc-v gzip: stdin: not in gzip format |
It looks like debian-riscv64/rootfs.tar.gz is corrupted. |
Another problem: |
I run again: This disk is currently in use - repartitioning is probably a bad idea. sfdisk: Use the --force flag to overrule all checks. It still doesn't work. Thanks. |
In both cases it says "disk is in use". In Linux terms, it is "mounted". The script will not work on a mounted disk. |
Could you tell me about how to " don't mount the disk,or unmount it, or reboot to get rid of unwanted mounts." ? It seems I only use my SD Card Reader which is an USB reader. Thanks. |
Later I did some work on it ,it shows as bellow,it is OK now ? What will it display after run ./mk-sd-card? Are you sure? [y/N] y Disk /dev/sdb: 7.43 GiB, 7969177600 bytes, 15564800 sectors Old situation: Device Boot Start End Sectors Size Id Type /dev/sdb2: Device Boot Start End Sectors Size Id Type The partition table has been altered. |
https://unix.stackexchange.com/questions/524719/how-to-force-unmount-a-partition
Yes, it is OK now. |
Kingston 8GB micro SDC 10G 2/8GB; then I choosed sony 128GB SF-G1UX2/T3 CN,it shows the same error.
The text was updated successfully, but these errors were encountered: