[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Skipping disk erase on Debian text-based installation (fwd)



Nick Gawronski <nick@nickgawronski.com> writes:

> Hi, I had to reinstall debian and like to encrypt my installations.  
> Regardless of what installation image I use I find that no choice exists 
> to not do the complete wiping of the disk before the LVM manager is 
> setup.  I get that it will be possible to press control and c to stop 
> the process but having an option like a choice in the last step asking 
> if you wish to do this complete wipe would be better.  If the system was 
> already encrypted and all you were doing was doing a reinstallation then 
> going threw that process again to     me is pointless.  Is this 
> something that could possibly be looked at for a future release? Nick 
> Gawronski

If you're doing an interactive install, the expectation is that you
cancel it if you don't want to wait for it, since that seems the way to
ensure that people that don't know what they're doing still get a safe
result.

It's been possible to override this via preseeding (since 2017[1]),
either in a preseed.cfg, thus:

  d-i partman-auto-crypto/erase_disks boolean false

or on the kernel command line:

  partman-auto-crypto/erase_disks=false

which you could do in an otherwise interactive install, if that's what
you wanted.

For more such preseeding hints, check out the example preseed.cfg:

  https://d-i.debian.org/manual/example-preseed.txt

which is linked to from here:

  https://d-i.debian.org/manual/en.amd64/apbs02.html

HTH

Cheers, Phil.

[1]  https://bugs.debian.org/476388
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature


Reply to: