Hi,

Quoting Antoine Beaupre (2021-04-28 21:17:03)
> This fails:
> 
> # mkdir -p /mnt/var
> # mount /dev/sdb /mnt/var
> # mmdebstrap buster /mnt
> I: automatically chosen mode: root
> I: chroot architecture amd64 is equal to the host's architecture
> E: /mnt is not empty
> 
> While I understand the idea (we don't want to destroy things i
> guess?), it seems rather inconvenient if we want to split data across
> different partitions which, I suspect, is still a valid use case for
> various reasons.

yes, this is by design to avoid stuff like this from happening:

https://bugs.debian.org/833525

> It might be worth adding a commandline flag to allow such behavior, at
> least...

You are probably talking about --skip=check/empty

Alternatively, you can also run mmdebstrap like this:

mmdebstrap buster | tar -C /mnt -xf -

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to