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

2022-05-02 Thread Nick Gawronski
Hi, I think that some type of message should be written in the installer 
that is used with speech telling the user that if you don't need to wipe 
the disk like if it is already encrypted then you can press control and 
c to abort the process so that the message is clear and so that it is 
known to the user that they don't have to wait until the entire wiping 
process is completed if they don't want to.  Nick Gawronski


On 5/2/2022 7:39 AM, Holger Wansing wrote:


Am 2. Mai 2022 13:58:54 MESZ schrieb Samuel Thibault :

Holger Wansing, le lun. 02 mai 2022 13:52:36 +0200, a ecrit:

Nick is right, if you perform an install with speech output, there is no
interactive possibility to cancel the full disk wipe action in the text
frontend used for speech!
In the newt frontend or graphical installer there is the Cancel button,
but not in the text frontend, sadly.

That was fixed in cdebconf 0.261, one can just press control-C.

Uups.
Yes, I used an outdated image for testing, my bad...


Holger





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

2022-05-02 Thread Holger Wansing



Am 2. Mai 2022 13:58:54 MESZ schrieb Samuel Thibault :
>Holger Wansing, le lun. 02 mai 2022 13:52:36 +0200, a ecrit:
>> Nick is right, if you perform an install with speech output, there is no 
>> interactive possibility to cancel the full disk wipe action in the text 
>> frontend used for speech!
>> In the newt frontend or graphical installer there is the Cancel button,
>> but not in the text frontend, sadly.
>
>That was fixed in cdebconf 0.261, one can just press control-C.

Uups. 
Yes, I used an outdated image for testing, my bad...


Holger

-- 
Sent from /e/ OS on Fairphone3



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

2022-05-02 Thread Samuel Thibault
Holger Wansing, le lun. 02 mai 2022 13:52:36 +0200, a ecrit:
> Nick is right, if you perform an install with speech output, there is no 
> interactive possibility to cancel the full disk wipe action in the text 
> frontend used for speech!
> In the newt frontend or graphical installer there is the Cancel button,
> but not in the text frontend, sadly.

That was fixed in cdebconf 0.261, one can just press control-C.

Samuel



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

2022-05-02 Thread Holger Wansing
Hi Nick,

Nick Gawronski  wrote (Sun, 1 May 2022 17:19:48 -0500):
> Hi, I am totally blind and use the s option at boot to start the 
> installer with speech output.  If I wish to add this kernel command line 
> option yet still run the installation using software speech output would 
> pressing s then tab and then entering in the command line switches then 
> pressing enter work as control and c does not do the canceling operation 
> like it should and I had to wait until the entire disk was wiped?  

yes, typing in the commandline switch should work as you described.
But be aware, that the installer uses a qwerty (english) keyboard layout
in that stage. That might be tricky, if you use another layout usually
(especially because you need to type some special symbols as well, not only
alphabetical characters).

And I have tested it, it works as described, the full disk wipe is skipped
automatically then.

Another comment:
Nick is right, if you perform an install with speech output, there is no 
interactive possibility to cancel the full disk wipe action in the text 
frontend used for speech!
In the newt frontend or graphical installer there is the Cancel button,
but not in the text frontend, sadly.


Regards
Holger



> 
> On 5/1/2022 5:54 AM, Philip Hands wrote:
> > Nick Gawronski  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
> 


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



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

2022-05-01 Thread Nick Gawronski
Hi, I am totally blind and use the s option at boot to start the 
installer with speech output.  If I wish to add this kernel command line 
option yet still run the installation using software speech output would 
pressing s then tab and then entering in the command line switches then 
pressing enter work as control and c does not do the canceling operation 
like it should and I had to wait until the entire disk was wiped?  Nick 
Gawronski


On 5/1/2022 5:54 AM, Philip Hands wrote:

Nick Gawronski  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




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

2022-05-01 Thread Philip Hands
Nick Gawronski  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


signature.asc
Description: PGP signature


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

2022-05-01 Thread Christian Schoepplein
Hi,


> Am 01.05.2022 um 02:04 schrieb Nick Gawronski :
> 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?

I’ve installed Debian with a crypted LVM a few times during the last two months 
with braille support and I was able to cancel the wiping process of the 
harddisk during installation without a problem. Do not know how it is when 
installation is done with speech support only.

Cheers,

  Schoepp




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

2022-04-30 Thread Nick Gawronski
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


On 11/17/2021 3:34 PM, Samuel Thibault wrote:

john doe, le mer. 17 nov. 2021 21:58:00 +0100, a ecrit:

Unless I'm missing something, one could preseed this question as kernel
boot parameter:

# When disk encryption is enabled, skip wiping the partitions beforehand.
#d-i partman-auto-crypto/erase_disks boolean false

Yes, but that's way easier to just interrupt the step than finding out
how to preseed a parameter

Samuel