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

Advanced users • Re: Headless Setup - without rpi-imager or DHCP

$
0
0
The whole mounting procedure does not have to involve the whole complicated offset stuff.

You can simply:

Code:

sudo losetup -P /path/to/file.img
With that the loop created in /dev/ will also contain both boot and root partitions.
You can then just mount them wherever you want with f.ex:

Code:

sudo mount /dev/loop0p2 /mntsudo mount /dev/loop0p1 /mnt/boot

Statistics: Posted by bedna — Sun Feb 04, 2024 4:18 am



Viewing all articles
Browse latest Browse all 4917

Trending Articles