I want to write an SD Card Image to a SD Card inserted in the Raspberry PI. What I have done (and it is working):
Login to Raspberry an change the /boot/cmdline.txt a NFS Root (Something like
... root=/dev/nfs nfsroot=192.168.1.159:/media/raspbian rootfstype=nfs ...
)Reboot the Raspberry (with the NFS Root)
- Unmount the
/boot
partition (so SD Card is no longer mounted) - Write with
dd
to the SD Card - Reboot the Raspberry (to the new written sd card)
Is there an opportunity to unmount the Root / File System without the need of a NFS Server? Can the Raspian switched to a new RAM only Root (to have an unmounted SD Card)?