Skip to content
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

Segfault while dd #184

Open
tuxpeople opened this issue Sep 10, 2020 · 1 comment
Open

Segfault while dd #184

tuxpeople opened this issue Sep 10, 2020 · 1 comment

Comments

@tuxpeople
Copy link

I've this issue:

[root@k3s1 ~]# flash -F /root/ssh -d /dev/mmcblk0 -f https://downloads.raspberrypi.org/raspbian_lite_latest
/usr/bin/curl
Downloading https://downloads.raspberrypi.org/raspbian_lite_latest ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   298  100   298    0     0   2462      0 --:--:-- --:--:-- --:--:--  2483
100  433M  100  433M    0     0  8311k      0  0:00:53  0:00:53 --:--:-- 10.3M
/usr/bin/unzip
Uncompressing /tmp/image.img.raspbian_lite_latest ...
Archive:  /tmp/image.img.raspbian_lite_latest
  inflating: /tmp/2020-02-13-raspbian-buster-lite.img
Use /tmp/2020-02-13-raspbian-buster-lite.img
Unmounting /dev/mmcblk0 ...
Flashing /tmp/2020-02-13-raspbian-buster-lite.img to /dev/mmcblk0 ...
1.72GiB 0:03:54 [7.52MiB/s] [===================================================================================================================================================================================================================>] 100%
571+8520 records in
571+8520 records out
1849688064 bytes (1.8 GB, 1.7 GiB) copied, 234.65 s, 7.9 MB/s
/usr/local/bin/flash: line 680: 16954 Done                    pv -s "${size}" < "${image}"
     16955 Segmentation fault      | sudo dd bs=$bs_size "of=${rawdisk}"

Should this work? Or is this script for hypriot images only?

@tuxpeople tuxpeople changed the title Question: Should this script work for other things than hypriot as well Segfault while dd Sep 10, 2020
@tuxpeople
Copy link
Author

Maybe ist just not intended to be used online on the Pi itself ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant