2
0
mirror of https://github.com/pikvm/pikvm synced 2024-11-12 07:10:43 +00:00

Update msd.md (#1103)

* Update msd.md

Added the full path for the chmod line for clarify

* Update msd.md

Added an additional step which might be needed to get working

* Update msd.md

* Update msd.md

Added v2/v3/v4 differences

* Update msd.md
This commit is contained in:
arch1mede 2023-10-08 15:50:40 -07:00 committed by GitHub
parent b5bfc8037b
commit 670c4e2653
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,15 +102,19 @@ Here some options:
[root@pikvm ~]# losetup -P $loop /var/lib/kvmd/msd/flash.img
[root@pikvm ~]# mkfs.vfat ${loop}p1
[root@pikvm ~]# losetup -d $loop
[root@pikvm ~]# chmod 666 *.img
[root@pikvm ~]# chmod 666 /var/lib/kvmd/msd/*.img
```
3. Remount internal storage back to safe read-only mode:
```console
[root@pikvm ~]# kvmd-helper-otgmsd-remount ro
```
!!! note
For V2 you will need to reboot your target system
For v3/v4 you will need to toggle the OTG usb, System Menu -> Connect Main USB to server off then on
??? example "Step by step: Creating an image on a local macOS"
1. Open `Disk Utility`.