I need to flash a Debian image to a micro SD card to use with a Raspberry Pi.
The micro SD Card (MSDC) I will use (16GB) already has Raspberry Pi OS flashed, and when I plug the MSDC into my laptop (dedicated MSD reader port), Qubes OS reports 3 Data (block) devices available.
dom0: mmcblk0 - () 14.8 GiB dom0: mmcblk0p1 - (boot) 256.0 MiB dom0: mmcblk0p2 - (rootfs) 3.3 GiB
When I attach
rootfs to a StandaloneVM, the output of
sudo fdisk -l shows them mounted as
() is mounted as
I don’t know enough about writing OS images nor how Qubes deals with block devices and MSDC to know what exactly I have to attach and/or overwrite to put a new OS image on this MSDC.
I assume that
p2 in the Qubes Devices are partitions. Also, when I attach
rootfs to any VM, then the
() device is removed. Attaching
() to any VM makes
Should I work with the
() device and overwrite that, since it seems to represent almost all the MSDC? I don’t want to mess up some partitioning system and make more problems for recognizing the MSDC.