Skip to content

Segfault while dd #184

Open
Open
@tuxpeople

Description

@tuxpeople

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions