Fully automated installation using PXE and preseed file

2020-11-13 Thread john doe

Debians,

I have successfully installed Debian Buster using pxe and preseed file
to have a fully automated installation.

The idea is to have spoken progress during installation and to have
Debian configured for accessibility after installation (Mate, Orca ...).

On the wiki, I see that I should be able to use 'speakup.synth=soft' as
kernel boot parameter.

I'm not able to get it working, am I missing something?

In other words, how can I install Debian with speatch in a fully
automated way.


Any help is appriciated.

--
John Doe



Re: Fully automated installation using PXE and preseed file

2020-11-13 Thread Samuel Thibault
Hello,

john doe, le ven. 13 nov. 2020 09:03:41 +0100, a ecrit:
> On the wiki, I see that I should be able to use 'speakup.synth=soft' as
> kernel boot parameter.
> 
> I'm not able to get it working, am I missing something?

That should be enough, yes, it's the only difference between the
graphical installer and the speech-enabled installer.

How do you pass it as kernel boot parameter exactly? Which image do you
use exactly?

Samuel



Re: Fully automated installation using PXE and preseed file

2020-11-13 Thread john doe

On 11/13/2020 9:12 AM, Samuel Thibault wrote:

Hello,

john doe, le ven. 13 nov. 2020 09:03:41 +0100, a ecrit:

On the wiki, I see that I should be able to use 'speakup.synth=soft' as
kernel boot parameter.

I'm not able to get it working, am I missing something?


That should be enough, yes, it's the only difference between the
graphical installer and the speech-enabled installer.

How do you pass it as kernel boot parameter exactly? Which image do you
use exactly?



Here's  my setup:

Command line to start Qemu:

$ qemu-system-x86_64 -soundhw all -drive
file=debian.img,index=0,media=disk,format=raw -m 1024 -boot
order=n,menu=on -accel kvm -machine q35 -nic
user,tftp=text,bootfile=pxelinux.0

The tftp root directory ('text') is taken from the pkg
'debian-installer-10-netboot-amd64'.

First, you need to add vm.cfg in
'debian-installer/amd64/boot-screens/menu.cfg'

$cat debian-installer/amd64/boot-screens/menu.cfg
[snip]
menu title Debian GNU/Linux installer menu (BIOS mode)
include debian-installer/amd64/boot-screens/stdmenu.cfg
include debian-installer/amd64/boot-screens/gtk.cfg
include debian-installer/amd64/boot-screens/vm.cfg
include debian-installer/amd64/boot-screens/txt.cfg
menu begin advanced
[snip]



vm.cfg is:

$ cat debian-installer/amd64/boot-screens/vm.cfg
label vm
menu label ^Auto install VM
kernel debian-installer/amd64/linux
append auto=true priority=critical DEBIAN_FRONTEND=text
initrd=debian-installer/amd64/initrd.gz url=tftp://10.0.2.2
speakup.synth=soft --- quiet

--
John Doe



Re: Fully automated installation using PXE and preseed file

2020-11-13 Thread Samuel Thibault
john doe, le ven. 13 nov. 2020 13:27:11 +0100, a ecrit:
> The tftp root directory ('text') is taken from the pkg
> 'debian-installer-10-netboot-amd64'.

You need to use the gtk variant of the netboot image. For size
contraints, the non-gtk variant does not contain the speech synthesis.

Samuel



Re: Fully automated installation using PXE and preseed file

2020-11-13 Thread john doe

On 11/13/2020 1:52 PM, Samuel Thibault wrote:

john doe, le ven. 13 nov. 2020 13:27:11 +0100, a ecrit:

The tftp root directory ('text') is taken from the pkg
'debian-installer-10-netboot-amd64'.


You need to use the gtk variant of the netboot image. For size
contraints, the non-gtk variant does not contain the speech synthesis.




Why is that so?

I got it working with gtk! :)


Is netboot.tar.gz (1) also supposed to work (from my tests, I could not
get it to work)?


Thanks Samuel for your help, I appriciated.


1)
http://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/netboot.tar.gz

--
John Doe



Re: Fully automated installation using PXE and preseed file

2020-11-13 Thread Samuel Thibault
john doe, le ven. 13 nov. 2020 18:16:09 +0100, a ecrit:
> On 11/13/2020 1:52 PM, Samuel Thibault wrote:
> > john doe, le ven. 13 nov. 2020 13:27:11 +0100, a ecrit:
> > > The tftp root directory ('text') is taken from the pkg
> > > 'debian-installer-10-netboot-amd64'.
> > 
> > You need to use the gtk variant of the netboot image. For size
> > contraints, the non-gtk variant does not contain the speech synthesis.
> 
> Why is that so?

Because the speech synthesis support does take very significant room.

> Is netboot.tar.gz (1) also supposed to work (from my tests, I could not
> get it to work)?

The gtk variant, yes.

Samuel



Re: Fully automated installation using PXE and preseed file

2020-11-13 Thread john doe

On 11/13/2020 6:29 PM, Samuel Thibault wrote:

john doe, le ven. 13 nov. 2020 18:16:09 +0100, a ecrit:

On 11/13/2020 1:52 PM, Samuel Thibault wrote:

john doe, le ven. 13 nov. 2020 13:27:11 +0100, a ecrit:

The tftp root directory ('text') is taken from the pkg
'debian-installer-10-netboot-amd64'.


You need to use the gtk variant of the netboot image. For size
contraints, the non-gtk variant does not contain the speech synthesis.


Why is that so?


Because the speech synthesis support does take very significant room.


Is netboot.tar.gz (1) also supposed to work (from my tests, I could not
get it to work)?


The gtk variant, yes.



For the sake of clarity, the gtk varient is at (1) or use the gtk
directory found in the netboot's Debian installer package (EG:
debian-installer-10-netboot-amd64).

1)
http://ftp.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/gtk/netboot.tar.gz

--
John Doe