Blog: 2024-10-29: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
https://rvspace.org/en/project/VisionFive2_Debian_User_Guide |
https://rvspace.org/en/project/VisionFive2_Debian_User_Guide |
||
cool balena etcher alternative mkusb: |
|||
<pre> |
|||
user@starfive:~/Downloads$ bash mkusb-min |
|||
Run 'mkusb-min' with sudo or as root |
|||
This shellsript wraps a safety belt around 'dd' |
|||
Clone from an iso or image file to a target device (typically a USB pendrive) |
|||
You may want to install 'pv' (progress view) |
|||
Usage: |
|||
sudo /path/mkusb-min <source file> <target device> |
|||
Examples: |
|||
sudo mkusb-min file.iso /dev/sdx |
|||
sudo mkusb-min file.img /dev/sdx |
|||
Help: |
|||
mkusb-min -h |
|||
Version: |
|||
mkusb-min -v |
|||
Available devices (tran-MODEL device), |
|||
mmc-DA2016_0x60ad0d1e /dev/mmcblk0 |
|||
mmc-SR64G_0xe6da3c97 /dev/mmcblk1 |
|||
nvme-CT1000P3SSD8_2328E6EE1782 /dev/nvme0n1 |
|||
nvme-eui.6479a77e20000088 /dev/nvme0n1 |
|||
user@starfive:~/Downloads$ sudo bash mkusb-min starfive-jh7110-202409-nvme-minimal-desktop-wayland.img /dev/nvme0n1 |
|||
[sudo] password for user: |
|||
This shellsript wraps a safety belt around 'dd' |
|||
It helps you select the target device in a safe way to avoid |
|||
overwriting valuable data by mistake. Please double-check |
|||
at the final checkpoint! [press Enter to continue] |
|||
</pre> |
|||
And it turns out ... it's just using dd with a bs=4096 flag. But nice of it to give me some feedback |
|||
<pre> |
|||
user@starfive:~$ ps 2484 |
|||
PID TTY STAT TIME COMMAND |
|||
2484 pts/2 D+ 0:15 dd if=starfive-jh7110-202409-nvme-minimal-desktop-wayland.img of=/dev/nvme0n1 bs=4096 |
|||
</pre> |
Latest revision as of 22:05, 29 October 2024
Great gist how to mount an nvme ssd
https://gist.github.com/a-maumau/b826164698da318f992aad5498d0d934
Good guide to debian on starfive
https://rvspace.org/en/project/VisionFive2_Debian_User_Guide
cool balena etcher alternative mkusb:
user@starfive:~/Downloads$ bash mkusb-min Run 'mkusb-min' with sudo or as root This shellsript wraps a safety belt around 'dd' Clone from an iso or image file to a target device (typically a USB pendrive) You may want to install 'pv' (progress view) Usage: sudo /path/mkusb-min <source file> <target device> Examples: sudo mkusb-min file.iso /dev/sdx sudo mkusb-min file.img /dev/sdx Help: mkusb-min -h Version: mkusb-min -v Available devices (tran-MODEL device), mmc-DA2016_0x60ad0d1e /dev/mmcblk0 mmc-SR64G_0xe6da3c97 /dev/mmcblk1 nvme-CT1000P3SSD8_2328E6EE1782 /dev/nvme0n1 nvme-eui.6479a77e20000088 /dev/nvme0n1 user@starfive:~/Downloads$ sudo bash mkusb-min starfive-jh7110-202409-nvme-minimal-desktop-wayland.img /dev/nvme0n1 [sudo] password for user: This shellsript wraps a safety belt around 'dd' It helps you select the target device in a safe way to avoid overwriting valuable data by mistake. Please double-check at the final checkpoint! [press Enter to continue]
And it turns out ... it's just using dd with a bs=4096 flag. But nice of it to give me some feedback
user@starfive:~$ ps 2484 PID TTY STAT TIME COMMAND 2484 pts/2 D+ 0:15 dd if=starfive-jh7110-202409-nvme-minimal-desktop-wayland.img of=/dev/nvme0n1 bs=4096