rewritten arm-installer shell commands with delimitter \ for readability

any long commands with flags are read better with delimitter. Checked on local build and preview.
This commit is contained in:
H L 2023-08-14 07:49:32 +00:00 committed by hankuoffroad
parent 27fcfb052d
commit 42b78b8619

View file

@ -1,7 +1,7 @@
= Fedora on Raspberry Pi = Fedora on Raspberry Pi
Flo H; jtagcat; The Fedora Docs Team Flo H; jtagcat; The Fedora Docs Team
:revnumber: F38 :revnumber: F38
:revdate: 2023-08-05 :revdate: 2023-08-14
:category: Installation :category: Installation
:tags: How-to ARM-SBC Raspberry-Pi :tags: How-to ARM-SBC Raspberry-Pi
@ -69,14 +69,18 @@ This procedure shows Fedora users how to add Fedora ARM to a microSD for use wit
+ +
[source,shell,subs="attributes"] [source,shell,subs="attributes"]
---- ----
$ dnf install -y arm-image-installer $ sudo dnf install -y arm-image-installer
---- ----
+ +
. As the root user, write the Fedora ARM image to the microSD card: . As the root user, write the Fedora ARM image to the microSD card:
+ +
[source,shell,subs="quotes,attributes"] [source,shell,subs="quotes,attributes"]
---- ----
# arm-image-installer --image=__</path/to/fedora_image>__ --target=__<RPi_Version>__ --media=/dev/__<sd_card_device>__ --resizefs $ sudo arm-image-installer \
--image=__</path/to/fedora_image&#62 \
--target=__<RPi_Version&#62 \
--media=/dev/__<sd_card_device&#62 \
--resizefs
---- ----
+ +
Where: Where:
@ -87,6 +91,7 @@ Where:
** `rpi2` for a Raspberry Pi 2. ** `rpi2` for a Raspberry Pi 2.
** `rpi3` for a Raspberry Pi 3. ** `rpi3` for a Raspberry Pi 3.
* `/dev/__<sd_card_device>__` is the microSD card 'device' on your system, such as `/dev/sdX` or `/dev/mmcblkX`. The `lsblk` command may help you identify your micro-SD card. * `/dev/__<sd_card_device>__` is the microSD card 'device' on your system, such as `/dev/sdX` or `/dev/mmcblkX`. The `lsblk` command may help you identify your micro-SD card.
* --resizefs: Resize the filesystem to occupy the entire SD card
+ +
[NOTE] [NOTE]
==== ====