Skip to content

Instantly share code, notes, and snippets.

@luanpcweb
Last active October 1, 2020 17:07
Show Gist options
  • Select an option

  • Save luanpcweb/0fb1197168afe108b8ca58da8fcb4e9f to your computer and use it in GitHub Desktop.

Select an option

Save luanpcweb/0fb1197168afe108b8ca58da8fcb4e9f to your computer and use it in GitHub Desktop.

Revisions

  1. luanpcweb revised this gist Oct 1, 2020. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions install-raspios.sh
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,8 @@
    lsblk -p

    sudo umount /dev/sdb1
    sudo mkfs.vfat -I /dev/sdb

    dd bs=4M if=2020-08-20-raspios-buster-armhf.img of=/dev/sdX conv=fsync

    ## OR
  2. luanpcweb revised this gist Oct 1, 2020. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions install-raspios.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    lsblk -p

    dd bs=4M if=2020-08-20-raspios-buster-armhf.img of=/dev/sdX conv=fsync

    ## OR
  3. luanpcweb revised this gist Oct 1, 2020. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion install-raspios.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1,5 @@
    dd bs=4M if=2020-08-20-raspios-buster-armhf.img of=/dev/sdX conv=fsync
    dd bs=4M if=2020-08-20-raspios-buster-armhf.img of=/dev/sdX conv=fsync

    ## OR

    unzip -p 2020-08-20-raspios-buster-armhf.zip | sudo dd of=/dev/sdX bs=4M conv=fsync
  4. luanpcweb created this gist Oct 1, 2020.
    1 change: 1 addition & 0 deletions install-raspios.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    dd bs=4M if=2020-08-20-raspios-buster-armhf.img of=/dev/sdX conv=fsync