Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPi/arm device improvements #775

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/installation/guides/arm-devices/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ thoroughly.

### Pre-built images

After [downloading and verifying](../../index.md#downloading-installation-media)
an image, it can be written to the relevant media with
[cat(1)](https://man.voidlinux.org/cat.1),
The pre-built images provided are prepared for 2GB SD cards. After [downloading
and verifying](../../index.md#downloading-installation-media) an image, it can
be written to the relevant media with [cat(1)](https://man.voidlinux.org/cat.1),
[pv(1)](https://man.voidlinux.org/pv.1), or
[dd(1)](https://man.voidlinux.org/dd.1). For example, to flash it onto an SD
card located at `/dev/mmcblk0`:
Expand All @@ -38,6 +38,12 @@ card located at `/dev/mmcblk0`:
# dd if=<image>.img of=/dev/mmcblk0 bs=4M status=progress
```

After flashing, the root partition can optionally be expanded to fit the storage
device with [cfdisk(8)](https://man.voidlinux.org/cfdisk.8),
[fdisk(8)](https://man.voidlinux.org/fdisk.8), or another partitioning tool, and
the filesystem can be resized to fit the expanded partition with
[resize2fs(8)](https://man.voidlinux.org/resize2fs.8).

### Custom partition layout

Customizing an installation - for example, with a custom partition layout -
Expand Down
7 changes: 7 additions & 0 deletions src/installation/guides/arm-devices/platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ documentation](https://www.raspberrypi.org/documentation/configuration/cmdline-t
> these images is that the armv7l image provides a 32-bit system while the
> aarch64 image provides a 64-bit system.

### USB mass storage boot on Raspberry Pi 4

To boot an RPi 4 from a USB mass storage device, the [install process is the
same](./index.md), but after installation, the USB drive needs to be mounted on
the host and the `root=` argument in `/boot/cmdline.txt` needs to be changed to,
for example, `root=/dev/sda2`.

### Enabling hardware RNG device

By default, the
Expand Down