Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8380

Beginners • Re: Install onto and boot from NVMe

$
0
0
No idea what's on there already so repartitioned it and wrote the image

Code:

sudo parted /dev/nvme0n1 mklabel gptsudo parted -a opt /dev/nvme0 mkpart primary ext4 0% 100%sudo dd bs=1M if=2024-11-19-raspios-bookworm-arm64-lite.img of=/dev/nvme0n1p1
That's incorrect.

1. There's no point in partitioning the drive as the image file contains the partition table.

2. The output file should be /dev/nvme0n1.

All you need to do is

Code:

sudo dd bs=1M if=2024-11-19-raspios-bookworm-arm64-lite.img of=/dev/nvme0n1
No need for parted.

Also using a higher block size, like 8M may speed up the writing process.

Statistics: Posted by rpdom — Thu Dec 19, 2024 2:21 pm



Viewing all articles
Browse latest Browse all 8380

Trending Articles