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

Re: Sound card not detected by the incoming Debian installer for Debian 10



Hello

On 6/25/19 9:32 AM, Samuel Thibault wrote:
Thanks for checking! AIUI then, it's a problem with the kernel sound
drivers themselves, not speakup or espeakup. I guess your Slint
installer is not using a 4.19 kernel?

Bad guess ;-) It uses a 4.19.30. Additionally, not to miss anything it
we ship all kernel modules, cf. for the sound subdirectory attached file
sound_modules_4.19.30, output of find "-type f" typed from
/lib/modules/4.19.30/kernel/sound.
As an aside that makes a huge initramfs, of course, but the modules are
compressed in it and no one complained so far that it be to gig to fit
in one's available RAM.

Does sound get eventually detected on an installed Debian system on that
machine?  If so, could you send a list of the loaded modules?  (Perhaps
we are missing some of them on the installer image)
I didn't do that yet (I'd have to install Debian first) but instead:
1. Start the installer with speech
2. As soon as tty2 becomes available type in it lsmod|sort>a
3. Later in the startup process type lsmod|sort>b
4. Mount an ext4 partition as /mnt and cp a b /mnt/tmp

I attach the files a and b. Also:

didier[/tmp]$ diff -u a b|grep snd
-snd                    94208  5 snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
-snd_hda_codec         151552  1 snd_hda_intel
-snd_hda_core           94208  2 snd_hda_intel,snd_hda_codec
+snd                    94208  7 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
+snd_hda_codec         151552  3 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel
+snd_hda_codec_conexant    24576  1
+snd_hda_codec_generic    86016  1 snd_hda_codec_conexant
+snd_hda_core           94208  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec
 snd_hda_intel          45056  0
 snd_hwdep              16384  1 snd_hda_codec
 snd_pcm               114688  3 snd_hda_intel,snd_hda_codec,snd_hda_core
didier[/tmp]$

Looks like at time of starting S38 espeakup, snd_hda_codec_conexant and
snd_hda_codec_generic are not yet loaded.

For additional information I also attach our main initialization script
in the installer rc.S (modified from Slackware). You can see that we
start udev early (actually eudev-3.1.5, not the systemd udev).

HTH.

Best, Didier
./core/snd-hwdep.ko
./core/snd.ko
./core/oss/snd-mixer-oss.ko
./core/oss/snd-pcm-oss.ko
./core/snd-seq-device.ko
./core/snd-timer.ko
./core/seq/snd-seq-virmidi.ko
./core/seq/snd-seq.ko
./core/seq/oss/snd-seq-oss.ko
./core/seq/snd-seq-midi-emul.ko
./core/seq/snd-seq-midi.ko
./core/seq/snd-seq-midi-event.ko
./core/seq/snd-seq-dummy.ko
./core/snd-rawmidi.ko
./core/snd-hrtimer.ko
./core/snd-pcm.ko
./firewire/snd-firewire-lib.ko
./firewire/oxfw/snd-oxfw.ko
./firewire/snd-isight.ko
./firewire/digi00x/snd-firewire-digi00x.ko
./firewire/motu/snd-firewire-motu.ko
./firewire/tascam/snd-firewire-tascam.ko
./firewire/dice/snd-dice.ko
./firewire/bebob/snd-bebob.ko
./firewire/fireface/snd-fireface.ko
./firewire/fireworks/snd-fireworks.ko
./x86/snd-hdmi-lpe-audio.ko
./pci/snd-maestro3.ko
./pci/ctxfi/snd-ctxfi.ko
./pci/ca0106/snd-ca0106.ko
./pci/riptide/snd-riptide.ko
./pci/snd-ad1889.ko
./pci/snd-es1938.ko
./pci/snd-rme96.ko
./pci/nm256/snd-nm256.ko
./pci/snd-bt87x.ko
./pci/snd-azt3328.ko
./pci/lola/snd-lola.ko
./pci/emu10k1/snd-emu10k1-synth.ko
./pci/emu10k1/snd-emu10k1.ko
./pci/emu10k1/snd-emu10k1x.ko
./pci/snd-via82xx.ko
./pci/snd-als4000.ko
./pci/snd-intel8x0.ko
./pci/cs46xx/snd-cs46xx.ko
./pci/trident/snd-trident.ko
./pci/ali5451/snd-ali5451.ko
./pci/snd-fm801.ko
./pci/lx6464es/snd-lx6464es.ko
./pci/snd-atiixp.ko
./pci/snd-via82xx-modem.ko
./pci/snd-es1968.ko
./pci/rme9652/snd-hdspm.ko
./pci/rme9652/snd-hdsp.ko
./pci/rme9652/snd-rme9652.ko
./pci/au88x0/snd-au8810.ko
./pci/au88x0/snd-au8820.ko
./pci/au88x0/snd-au8830.ko
./pci/snd-intel8x0m.ko
./pci/oxygen/snd-oxygen.ko
./pci/oxygen/snd-oxygen-lib.ko
./pci/oxygen/snd-virtuoso.ko
./pci/ac97/snd-ac97-codec.ko
./pci/pcxhr/snd-pcxhr.ko
./pci/snd-ens1371.ko
./pci/aw2/snd-aw2.ko
./pci/echoaudio/snd-echo3g.ko
./pci/echoaudio/snd-gina20.ko
./pci/echoaudio/snd-indigodjx.ko
./pci/echoaudio/snd-darla24.ko
./pci/echoaudio/snd-gina24.ko
./pci/echoaudio/snd-layla20.ko
./pci/echoaudio/snd-indigo.ko
./pci/echoaudio/snd-mia.ko
./pci/echoaudio/snd-indigoiox.ko
./pci/echoaudio/snd-layla24.ko
./pci/echoaudio/snd-indigoio.ko
./pci/echoaudio/snd-indigodj.ko
./pci/echoaudio/snd-darla20.ko
./pci/echoaudio/snd-mona.ko
./pci/snd-ens1370.ko
./pci/ymfpci/snd-ymfpci.ko
./pci/vx222/snd-vx222.ko
./pci/snd-cmipci.ko
./pci/snd-als300.ko
./pci/ice1712/snd-ice1712.ko
./pci/ice1712/snd-ice17xx-ak4xxx.ko
./pci/ice1712/snd-ice1724.ko
./pci/hda/snd-hda-codec-realtek.ko
./pci/hda/snd-hda-codec-cirrus.ko
./pci/hda/snd-hda-codec.ko
./pci/hda/snd-hda-codec-hdmi.ko
./pci/hda/snd-hda-codec-cmedia.ko
./pci/hda/snd-hda-intel.ko
./pci/hda/snd-hda-codec-ca0110.ko
./pci/hda/snd-hda-codec-analog.ko
./pci/hda/snd-hda-codec-idt.ko
./pci/hda/snd-hda-codec-si3054.ko
./pci/hda/snd-hda-codec-ca0132.ko
./pci/hda/snd-hda-codec-via.ko
./pci/hda/snd-hda-codec-conexant.ko
./pci/hda/snd-hda-codec-generic.ko
./pci/snd-atiixp-modem.ko
./pci/snd-cs4281.ko
./pci/snd-sonicvibes.ko
./pci/snd-rme32.ko
./pci/korg1212/snd-korg1212.ko
./pci/mixart/snd-mixart.ko
./pci/asihpi/snd-asihpi.ko
./soundcore.ko
./usb/bcd2000/snd-bcd2000.ko
./usb/caiaq/snd-usb-caiaq.ko
./usb/usx2y/snd-usb-us122l.ko
./usb/usx2y/snd-usb-usx2y.ko
./usb/line6/snd-usb-variax.ko
./usb/line6/snd-usb-podhd.ko
./usb/line6/snd-usb-pod.ko
./usb/line6/snd-usb-toneport.ko
./usb/line6/snd-usb-line6.ko
./usb/snd-usbmidi-lib.ko
./usb/6fire/snd-usb-6fire.ko
./usb/hiface/snd-usb-hiface.ko
./usb/misc/snd-ua101.ko
./usb/snd-usb-audio.ko
./synth/emux/snd-emux-synth.ko
./synth/snd-util-mem.ko
./pcmcia/pdaudiocf/snd-pdaudiocf.ko
./pcmcia/vx/snd-vxpocket.ko
./i2c/snd-cs8427.ko
./i2c/other/snd-ak4113.ko
./i2c/other/snd-ak4114.ko
./i2c/other/snd-ak4117.ko
./i2c/other/snd-ak4xxx-adda.ko
./i2c/other/snd-pt2258.ko
./i2c/snd-i2c.ko
./ac97_bus.ko
./hda/snd-hda-core.ko
./drivers/snd-serial-u16550.ko
./drivers/vx/snd-vx-lib.ko
./drivers/mpu401/snd-mpu401-uart.ko
./drivers/mpu401/snd-mpu401.ko
./drivers/snd-dummy.ko
./drivers/snd-mtpav.ko
./drivers/snd-mts64.ko
./drivers/opl3/snd-opl3-synth.ko
./drivers/opl3/snd-opl3-lib.ko
./drivers/snd-virmidi.ko
./drivers/snd-portman2x4.ko
./drivers/snd-aloop.ko
./isa/sb/snd-sb-common.ko
Module                  Size  Used by
ahci                   40960  0
cdrom                  65536  1 sr_mod
cqhci                  28672  1 sdhci_pci
crc_itu_t              16384  1 firewire_core
ehci_hcd               94208  1 ehci_pci
ehci_pci               16384  0
evdev                  28672  0
firewire_core          81920  1 firewire_ohci
firewire_ohci          45056  0
hid                   135168  2 usbhid,hid_generic
hid_generic            16384  0
libahci                40960  1 ahci
libata                270336  2 libahci,ahci
mmc_core              172032  3 sdhci,cqhci,sdhci_pci
psmouse               172032  0
scsi_mod              245760  5 sd_mod,usb_storage,uas,libata,sr_mod
sd_mod                 61440  0
sdhci                  57344  1 sdhci_pci
sdhci_pci              45056  0
snd                    94208  5 snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
snd_hda_codec         151552  1 snd_hda_intel
snd_hda_core           94208  2 snd_hda_intel,snd_hda_codec
snd_hda_intel          45056  0
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               114688  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
soundcore              16384  1 snd
speakup               131072  1 speakup_soft
speakup_soft           16384  0
sr_mod                 28672  0
thermal                20480  0
uas                    28672  0
usb_common             16384  1 usbcore
usb_storage            73728  1 uas
usbcore               290816  7 xhci_hcd,ehci_pci,usbhid,usb_storage,ehci_hcd,xhci_pci,uas
usbhid                 57344  0
xhci_hcd              266240  1 xhci_pci
xhci_pci               16384  0
Module                  Size  Used by
ahci                   40960  0
cdrom                  65536  1 sr_mod
cfg80211              761856  1 iwlwifi
cqhci                  28672  1 sdhci_pci
crc_itu_t              16384  1 firewire_core
e1000e                282624  0
efivars                20480  0
ehci_hcd               94208  1 ehci_pci
ehci_pci               16384  0
evdev                  28672  0
fat                    86016  1 vfat
firewire_core          81920  2 firewire_ohci,firewire_sbp2
firewire_ohci          45056  0
firewire_sbp2          28672  0
hid                   135168  2 usbhid,hid_generic
hid_generic            16384  0
isofs                  49152  1
iwlwifi               241664  0
libahci                40960  1 ahci
libata                270336  2 libahci,ahci
mmc_core              172032  3 sdhci,cqhci,sdhci_pci
nls_ascii              16384  0
nls_cp437              20480  0
nls_utf8               16384  1
psmouse               172032  0
rfkill                 28672  1 cfg80211
scsi_mod              245760  6 sd_mod,usb_storage,firewire_sbp2,uas,libata,sr_mod
sd_mod                 61440  2
sdhci                  57344  1 sdhci_pci
sdhci_pci              45056  0
snd                    94208  7 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm
snd_hda_codec         151552  3 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel
snd_hda_codec_conexant    24576  1
snd_hda_codec_generic    86016  1 snd_hda_codec_conexant
snd_hda_core           94208  4 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec
snd_hda_intel          45056  0
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               114688  3 snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
soundcore              16384  1 snd
speakup               131072  1 speakup_soft
speakup_soft           16384  0
sr_mod                 28672  0
thermal                20480  0
uas                    28672  0
usb_common             16384  1 usbcore
usb_storage            73728  2 uas
usbcore               290816  7 xhci_hcd,ehci_pci,usbhid,usb_storage,ehci_hcd,xhci_pci,uas
usbhid                 57344  0
vfat                   20480  0
xhci_hcd              266240  1 xhci_pci
xhci_pci               16384  0
#!/bin/sh
# rc.S:  Basic system initialization.

# Any /etc/mtab that exists here is old, so we start with a new one:
/bin/rm -f /etc/mtab{,~,.tmp} && /bin/touch /etc/mtab

# Add (fake) entry for / to /etc/mtab:
/sbin/mount -f -w /dev/initramfs / -t tmpfs 1> /dev/null

# Mount /proc:
/sbin/mount -v proc /proc -t proc 1> /dev/null

# Mount sysfs next:
/sbin/mount -v sysfs /sys -t sysfs 1> /dev/null

# Activate swap:
/sbin/swapon -a 1> /dev/null

if [ -x /sbin/ldconfig ]; then
  /sbin/ldconfig 1> /dev/null
fi

export TEXTDOMAIN=slint
. gettext.sh
. /usr/lib/setup/SeTlocales

## Detect serial console from kernel command line:
#if cat /proc/cmdline | grep console=ttyS 1> /dev/null 2> /dev/null ; then
#  SERIAL_CONSOLE="true"
#fi

# System logger (mostly to eat annoying messages):
/sbin/syslogd 2> /dev/null
sleep 1
/sbin/klogd -c 3 1> /dev/null

# Try to load the loop module:
modprobe loop 1> /dev/null 2> /dev/null

# Run udev:
if ! grep -wq noudev /proc/cmdline ; then
  /bin/bash /etc/rc.d/rc.udev start

  # Re-assemble RAID volumes:
  /sbin/mdadm -E -s > /etc/mdadm.conf
  /sbin/mdadm -S -s
  /sbin/mdadm -A -s
  # This seems to make the kernel see partitions more reliably:
  fdisk -l /dev/md* 1> /dev/null 2> /dev/null
else

  # Look for USB keyboard or storage:
  /etc/rc.d/rc.usb start
  sleep 3

  # Look for IEEE1394 devices:
  if grep 1394 /proc/pci 1> /dev/null 2> /dev/null ; then
    /etc/rc.d/rc.ieee1394 start
    #sleep 3
  fi

  ### PROBABLY USELESS WITHOUT SOME TIMED DELAY ABOVE
  ## Start USB again (in case we missed a USB keyboard)
  #/etc/rc.d/rc.usb start

  # Make detected partitions:
  /dev/makedevs.sh

  # Re-assemble RAID volumes:
  /sbin/mdadm -E -s > /etc/mdadm.conf
  /sbin/mdadm -S -s
  /sbin/mdadm -A -s
  # This seems to make the kernel see partitions more reliably:
  fdisk -l /dev/md* 1> /dev/null 2> /dev/null

  # Check /proc/partitions again:
  /dev/makedevs.sh

  # Create LVM nodes:
  /dev/devmap_mknod.sh

fi # End Run udev:

sleep 1

# Start brltty if it has not yet been started by udev - Didier Spaier
NBPROC="`ps -C brltty --noheaders|wc -l`"
if [ "$NBPROC" = "0" ]; then
	echo "starting brltty"
	/bin/brltty
sleep 2
fi

touch /.today
/bin/sh /sbin/fakedate

if [ -x /etc/rc.d/rc.inet1 ]; then
  /bin/sh /etc/rc.d/rc.inet1
fi

# pcmciautils is installing rc.pcmcia as chmod 644, so we'll change that.
# It won't be run at boot time, but it'll make it easy for the pcmcia script
# or to run it from the command line.
chmod 755 /etc/rc.d/rc.pcmcia

# Scan for existing LVM partitions:
# We will run 'vgscan -ay' in the setup to prevent a 10 second sleep;
vgscan --mknodes 2> /tmp/foo
cat /tmp/foo | uniq
rm -f /tmp/foo

# Activate LVM volumes:
echo "Activating LVM volumes:"
vgchange -ay

/bin/sh /etc/rc.d/rc.font

# Don't automatically blank the screen, or it will go black during the install
# process when stray keystrokes might be dangerous:
/bin/setterm -blank 0

TMP=/var/log/setup/tmp
if [ ! -d $TMP ]; then
 mkdir -p $TMP
fi

TMP=/var/log/setup/tmp
if grep -wq brltty /proc/cmdline; then
  if [ ! -r /dev/tty1 ]; then
    mknod /dev/tty1 c 4 1
    chown root:tty /dev/tty1
    chmod 620 /dev/tty1
  fi
  if [ ! -r /dev/tty2 ]; then
    mknod /dev/tty2 c 4 2
    chown root:tty /dev/tty2
    chmod 620 /dev/tty2
  fi
  if [ ! -r /dev/tty3 ]; then
    mknod /dev/tty3 c 4 3
    chown root:tty /dev/tty3
    chmod 620 /dev/tty3
  fi
  if [ ! -r /dev/tty4 ]; then
    mknod /dev/tty4 c 4 4
    chown root:tty /dev/tty4
    chmod 620 /dev/tty4
  fi
    /bin/stty -F /dev/tty1 cols 80 rows 25
    /bin/stty -F /dev/tty2 cols 80 rows 25
    /bin/stty -F /dev/tty3 cols 80 rows 25
    /bin/stty -F /dev/tty4 cols 80 rows 25
fi

kbd_stored="`cat /tmp/Pkeymap`"
kbd=${kbd_stored%.*}
#SavedLANG=$LANG
#LANG=en_US.utf8
ll_TT=${LANG%.*}
SeTFonts
PutFonts
set_voice () {
	locale="$1"
	lang=`echo $locale | sed 's/_.*//'`
	country=`echo $locale | sed 's/.*_//;s/\..*//;s/@.*//' | tr A-Z a-z`
	if [ "$lang" = gl ]; then
		# Not supported by espeak yet, but pt should be fine enough, better
		# than English anyway
		# Comment above from Debian. We don't propose gv in Slint yet, but
		# maybe later ?
		lang=pt
	fi
	
	if grep -qr "^language $lang-$country$" /usr/share/espeak-ng-data/lang; then
		VOICE="$lang-$country"
	elif grep -qr "^language $lang$" /usr/share/espeak-ng-data/lang; then
		VOICE="$lang"
	else
		VOICE=en
	fi
	echo $VOICE > /tmp/speech
}
# Taken from Debian
. /usr/share/alsa/utils.sh
preinit_levels all
sanify_levels all
# speakup initialization.
if ! grep -q speakup /proc/cmdline; then
	# Create '/dev/(soft)synth' if not present
	(cd /dev
	if [ ! -c /dev/softsynth ]; then
		mknod softsynth c 10 26
	fi
	)
	# Load the software synthesizer
	echo "soft" > /sys/accessibility/speakup/synth
	sleep 1
	# chmod 666 not needed in the installer, we are root.
	# chmod 666 /sys/accessibility/speakup/soft/*
	echo 1 > /sys/accessibility/speakup/soft/direct
else
	touch /tmp/noespeakup
fi
# End speakup initialization
# Mostly from Debian
if [ ! -f /tmp/noespakeup ]; then
	set_voice $LANG
	# Probe the sound cards as in Debian
	sh /usr/sbin/probe_sound_cards
	sleep 2
fi
# If a working sound card has been found, its id has been written in
# /tmp/alsacard, else /tmp/noespeakup has been written
if [ ! -f /tmp/noespeakup ]; then
	sleep 2
	clear
	read -N 10000000 -t 0.01
	gettext  "This installer has speech and Braille device support in order
to be accessible to visually impaired users. To have speech turned on
during installation type S, then press [Enter]. Else, just press Enter.
"
	read sound
	if [ ! "$sound" = "s" ] && [ ! "$sound" = "S" ]; then
		PID=$(ps -C espeakup --noheaders -o pid)
		kill -s 9 $PID
		sleep 1
		touch /tmp/noespeakup
	fi
fi
clear

if [ ! -f /tmp/noespeakup ] || grep -q speakup /proc/cmdline; then
	gettext  "To display keyboard shortcuts for reviewing the screen with speech
press R, then press [Enter],
Else, just press [Enter]: "
	read ANSWER
	if [ "$ANSWER" = "R" ] ||  [ "$ANSWER" = "r" ]; then
		clear
		/bin/less /Speakup.txt
		read
	fi
fi
clear
NOTE=""
if [ ! -f /tmp/noespeakup ]; then
	NOTE="$(gettext "
Note: espeakup, used for speech, lacks a voice in Ukrainian.")"
fi
INITLANG=$LANG
TITLE=$(gettext "LANGUAGE TO USE DURING INSTALLATION")
dialog --visit-items --no-tags --no-cancel --title "$TITLE" --default-item "$INITLANG" --menu \
"$(eval_gettext "Please select the language to use for installation.\$NOTE")" 0 0 0 \
en_US.utf8 "$(gettext "English (USA)")" \
nl_NL.utf8 "$(gettext "Dutch")" \
fr_FR.utf8 "$(gettext "French")" \
de_DE.utf8 "$(gettext "German")" \
el_GR.utf8 "$(gettext "Greek")" \
it_IT.utf8 "$(gettext "Italian")" \
nb_NO.utf8 "$(gettext "Norwegian")" \
pl_PL.utf8 "$(gettext "Polish")" \
pt_BR.utf8 "$(gettext "Portuguese (Brazil)")" \
pt_PT.utf8 "$(gettext "Portuguese (Portugal)")" \
ru_RU.utf8 "$(gettext "Russian")" \
es_CR.utf8 "$(gettext "Spanish (Latin America)")" \
sv_SE.utf8 "$(gettext "Swedish")" \
tr_TR.utf8 "$(gettext "Turkish")" \
uk_UA.utf8 "$(gettext "Ukrainian")" \
 2> /tmp/.SlintInstallationLANG
if [ ! $? = 0 ]; then
	echo $INITLANG > /tmp/.SlintInstallationLANG
fi 
LANG=$(</tmp/.SlintInstallationLANG)
ll_TT=${LANG%.*}
SeTlocales
SeTKeymap
SeTFonts
PutFonts
if [ ! -f /tmp/noespeakup ] && [ ! "$INITLANG" = "$LANG" ]; then
	PID=$(ps -C espeakup --noheaders -o pid)
	kill -s 9 $PID
	sleep 1
	set_voice $LANG
	ALSA_CARD=$(cat /tmp/alsacard)
	ALSA_CARD=$ALSA_CARD /usr/bin/espeakup -V $(cat /tmp/speech) >> /tmp/espeakup.log 2>&1
	echo "ALSA_CARD=$ALSA_CARD /usr/bin/espeakup -V $(cat /tmp/speech)" >> /tmp/report
fi
clear

eval_gettext "<OPTION TO LOAD SUPPORT FOR ANOTHER KEYBOARD>

If you are not using a \"\$kbd\" keyboard map, you may load another one now.
To select a different keyboard map, please enter 1 now.
To continue using the \"\$kbd\" keyboard map, just hit [Enter]."
echo
echo
gettext "Enter 1 to select a keyboard map: "
read ONE
if [ "$ONE" = "1" ]; then
  /usr/lib/setup/SeTkeymap
fi
clear
rm -f /etc/motd
touch /etc/motd
GCOUNT=30
eval_gettext "
To partition your device(s), you can use 'cfdisk' or 'fdisk' and also,
only for a GPT layout, 'cgdisk' or 'gdisk'. 'parted' is also available.
TIP: to enhance accessibility of cgdisk, use its -a option.

If you partition a new device, we recommend that you set up a gpt (GUID
partition label) for it, for more flexibility.

You can also let the installer auto-partition a device, if and only if:
1. Its size is of least \${GCOUNT}G.
2. You agree that this device will be dedicated to Slint.
3. You agree that all data currently stored on it will be erased.
4. None of the partitions it could include is mounted.
WARNING: if it has already been used, make a back-up first!

After having used the auto-partitioning feature, you will be allowed to
make changes, like adding another partition to the drive.

For an auto-partitioning type now 'auto'.

To start the main installation (after partitioning), type 'setup'.
" >> /etc/motd
echo > /etc/motd.net

. /etc/profile

# Provision for unattended network configuration:
/usr/lib/setup/SeTnet boot
# Start dropbear ssh server (only if a configured interface is present):
/etc/rc.d/rc.dropbear start

# Fake login:  (fooled ya! ;^)
#
Version=14.2.1.2
GCOUNTMIN=20
eval_gettext "Welcome to the Slint Linux installation media! (version \${Version})

######  IMPORTANT!  READ THE INFORMATION BELOW CAREFULLY.  ######

On the device where Slint will be installed you will need:
- at least one partition of type 'Linux', of size at least \${GCOUNTMIN}G,
  for the system itself (not counting the user files).
- if the device has a GPT layout, a small (4M) partition of type ef02
  (BIOS Boot partition) to install GRUB on this drive in Legacy mode.
- an EFI System partition, of type ef01, to install GRUB in EFI mode,
  of size at least 100M, unless you want to use an existing one.

It is recommended that you have a swap partition (type 'Linux swap')
prior installation, but you can also set up a swap file afterwards.

On the next screen we will present the tools you can use to partition
the device.

You may now login as 'root'.

Slint login: "
read BOGUS_LOGIN
echo
cat /etc/motd

Reply to: