On 2021-04-28 21:26:48, Johannes Schauer Marin Rodrigues wrote:
> 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

Totally missed that. Was that introduced only in bullseye?

> Alternatively, you can also run mmdebstrap like this:
>
> mmdebstrap buster | tar -C /mnt -xf -

Makes sense, thanks!

a.

-- 
See the world as if for the first time; see it through the eyes of a
child, and you will suddenly find that you are free.
                        - Deepak Chopra

Reply via email to