On Fr, 23.08.24 16:28, Renjaya Raga Zenta (ragaze...@gmail.com) wrote:
> Hi,
>
> I want to duplicate partition 1 and partition 2 using systemd-repart.
> This is for SBC, I use mkosi to create the OS image.
>
> By default, it needs 2 partitions
>
> 1. Boot partition: FAT32 used by 1st stage bootloa
Ok, I've just found that this use case isn't supported.
"Copying from block device node is not permitted in --image=/--root= mode,
refusing."
I guess I should use Format= and CopyFiles= instead.
On Fri, Aug 23, 2024 at 5:44 PM Renjaya Raga Zenta
wrote:
> I use the following drop-in, but still
I use the following drop-in, but still error: "No such file or directory"
```
[Unit]
After=systemd-tmpfiles-setup-dev.service systemd-udevd.service
After=sysroot.mount sysboot.mount
ConditionDirectoryNotEmpty=|/sysroot/usr/lib/repart.d
[Service]
ExecStartPre=/lib/systemd/repart-pre
```
In repart
Hi,
On Fri, Aug 23, 2024 at 04:28:24PM +0700, Renjaya Raga Zenta wrote:
> Hi,
>
> I want to duplicate partition 1 and partition 2 using systemd-repart.
> This is for SBC, I use mkosi to create the OS image.
>
> By default, it needs 2 partitions
>
> 1. Boot partition: FAT32 used by 1st stage boo