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

Re: installer defaults for desktops (was Re: Suggested edit)



On Fri 24 Mar 2017 at 18:46:43 (-0400), Catherine Gramze wrote:
> 
> > On Mar 24, 2017, at 6:05 PM, David Wright <deblis@lionunicorn.co.uk> wrote:
> > 
> >> On Fri 24 Mar 2017 at 15:44:15 (-0400), Catherine Gramze wrote:
> >> Sent from my iPad
> >> 
> >>> On Mar 24, 2017, at 2:30 PM, Steve McIntyre <steve@einval.com> wrote:
> >>> 
> >>> but that went away years ago. At the end of the single installer run,
> >>> it should be finished. Do you mean "reboots into the newly installed
> >>> system" instead, maybe?
> >>> 
> >> Yes, it boots into that bare bones system before it has you select a mirror.
> > 
> > Here's the netinst installation menu after Advanced/Expert options
> > have been chosen. The asterisks are mine, and show what's probably
> > the most typical path from start to finish (in order).
> > At which step is the reboot?
> > 
> Between "Install the base system" and "Configure package manager." It boots to the installed base system after ejecting the netinst cd/dvd. You can miss it if you are not watching.

I think you must be running a different installer. Or are you saying
that the installation kernel can reboot without disturbing the
processes that are running?

I've just installed a machine with 260046848 Jan 16 05:01 debian-8.7.1-amd64-netinst.iso
whose SHA512 is 534795785d2706e64e3a4dff9648fd0302a1272c668a99a81ba3a984695986ac814d8193c5335bd13dce0592fc470eebe9fc4a6c9991f87a6686329a667ac30d

You've already seen its menu. Here are some process lists taken during
installation. Obviously I used the ssh installation method with a
fully configured NIC; therefore you can see _two_ ssh daemons, one
(4927) running the installation itself, and one (4998) running the
shell with which I ran ps.

It's quite clear that these two processes are running from start to
finish with no rebooting. A staggering number of processes run in
the meantime. BTW I left in the Task Selection menu as it first
appears, for reference.

Sorry the post is so long…

-- Set up users and passwords prompt (first command with ssh):

BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # ps
  PID USER       VSZ STAT COMMAND
    1 root      4072 S    /bin/busybox init
…
  194 root     48848 S    debconf -o d-i /usr/bin/main-menu
  200 root     10220 S    /usr/bin/main-menu
 4884 root     19608 S    /usr/sbin/sshd
 4927 root     23820 S    sshd: installer@pts/1
 4928 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 4936 root     49992 S    debconf -o d-i /bin/network-console-menu
 4942 root     10684 S    main-menu
 4996 root         0 SW   [kworker/0:2]
 4997 root         0 SW   [kworker/0:0]
 4998 root     23820 R    sshd: installer@pts/2
 4999 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 5007 root     49860 S    debconf -o d-i /bin/network-console-menu
 5013 root      6460 S    udpkg --configure --force-configure di-utils-shell
 5014 root      4544 S    {di-utils-shell.} /bin/sh /var/lib/dpkg/info/di-util
 5015 root      4544 S    {start-shell} /bin/sh /bin/start-shell di-utils-shel
 5016 root      4540 S    sh -c /bin/sh
 5017 root      4544 S    /bin/sh
 5018 root      4544 R    ps
~ # 

-- Kernel version prompt:

…
  194 root     48848 S    debconf -o d-i /usr/bin/main-menu
  200 root     10220 S    /usr/bin/main-menu
 4884 root     19608 S    /usr/sbin/sshd
 4927 root     23820 S    sshd: installer@pts/1
 4928 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 4936 root     53380 S    debconf -o d-i /bin/network-console-menu
 4942 root     10688 S    main-menu
 4998 root     23820 R    sshd: installer@pts/2
 4999 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 5007 root     49860 S    debconf -o d-i /bin/network-console-menu
 5013 root      6460 S    udpkg --configure --force-configure di-utils-shell
 5014 root      4544 S    {di-utils-shell.} /bin/sh /var/lib/dpkg/info/di-util
 5015 root      4544 S    {start-shell} /bin/sh /bin/start-shell di-utils-shel
 5016 root      4540 S    sh -c /bin/sh
 5017 root      4544 S    /bin/sh
…
 9355 root      6460 S    udpkg --configure --force-configure bootstrap-base
 9356 root      4544 S    {bootstrap-base.} /bin/sh /var/lib/dpkg/info/bootstr
16890 root         0 SW   [kauditd]
25120 root         0 SW   [kworker/u8:1]
26303 root      4544 R    ps
~ # 

-- Configure the package manager prompt:

…
  200 root     10220 S    /usr/bin/main-menu
  448 root      4544 R    ps
 4884 root     19608 S    /usr/sbin/sshd
 4927 root     23820 S    sshd: installer@pts/1
 4928 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 4936 root     53480 S    debconf -o d-i /bin/network-console-menu
 4942 root     10684 S    main-menu
 4998 root     23820 R    sshd: installer@pts/2
 4999 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 5007 root     49860 S    debconf -o d-i /bin/network-console-menu
 5013 root      6460 S    udpkg --configure --force-configure di-utils-shell
 5014 root      4544 S    {di-utils-shell.} /bin/sh /var/lib/dpkg/info/di-util
 5015 root      4544 S    {start-shell} /bin/sh /bin/start-shell di-utils-shel
 5016 root      4540 S    sh -c /bin/sh
 5017 root      4544 S    /bin/sh
…
~ # 

-- Select and install software prompt:

…
  194 root     48848 S    debconf -o d-i /usr/bin/main-menu
  200 root     10220 S    /usr/bin/main-menu
  449 root         0 SW   [kworker/0:1]
  597 root         0 SW   [kworker/0:0]
 1579 root      4544 R    ps
 4884 root     19608 S    /usr/sbin/sshd
 4927 root     23820 S    sshd: installer@pts/1
 4928 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 4936 root     53656 S    debconf -o d-i /bin/network-console-menu
 4942 root     10684 S    main-menu
 4998 root     23820 R    sshd: installer@pts/2
 4999 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 5007 root     49860 S    debconf -o d-i /bin/network-console-menu
 5013 root      6460 S    udpkg --configure --force-configure di-utils-shell
 5014 root      4544 S    {di-utils-shell.} /bin/sh /var/lib/dpkg/info/di-util
 5015 root      4544 S    {start-shell} /bin/sh /bin/start-shell di-utils-shel
 5016 root      4540 S    sh -c /bin/sh
 5017 root      4544 S    /bin/sh
…
~ # 

-- PopCon prompt:

…
  194 root     48848 S    debconf -o d-i /usr/bin/main-menu
  200 root     10220 S    /usr/bin/main-menu
  597 root         0 SW   [kworker/0:0]
 1580 root      6460 S    udpkg --configure --force-configure pkgsel
 1581 root      4544 S    {pkgsel.postinst} /bin/sh /var/lib/dpkg/info/pkgsel.
 4884 root     19608 S    /usr/sbin/sshd
 4927 root     23820 S    sshd: installer@pts/1
 4928 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 4936 root     53760 S    debconf -o d-i /bin/network-console-menu
 4942 root     10688 S    main-menu
 4998 root     23820 R    sshd: installer@pts/2
 4999 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 5007 root     49860 S    debconf -o d-i /bin/network-console-menu
 5013 root      6460 S    udpkg --configure --force-configure di-utils-shell
 5014 root      4544 S    {di-utils-shell.} /bin/sh /var/lib/dpkg/info/di-util
 5015 root      4544 S    {start-shell} /bin/sh /bin/start-shell di-utils-shel
 5016 root      4540 S    sh -c /bin/sh
 5017 root      4544 S    /bin/sh
…
 6764 root      6320 S    log-output -t pkgsel /usr/lib/pre-pkgsel.d/90popcon
 6765 root      4540 S    {90popcon} /bin/sh /usr/lib/pre-pkgsel.d/90popcon
 6766 root      4544 S    {apt-install} /bin/sh /bin/apt-install --no-recommen
 6767 root      4540 S    {in-target} /bin/sh /bin/in-target sh -c debconf-apt
 6817 root      6320 S    log-output -t in-target chroot /target sh -c debconf
 6818 root      4336 S    sh -c debconf-apt-progress --no-progress --logstderr
 6819 root     61400 S    {frontend} /usr/bin/perl -w /usr/share/debconf/front
 6821 root     29200 S    {debconf-apt-pro} /usr/bin/perl -w /usr/bin/debconf-
 6822 root     61568 S    apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o
 6827 root     28268 S    /usr/lib/apt/methods/cdrom
 6828 root         0 Z    [dpkg]
 6829 root      4336 S    /bin/sh -c /usr/sbin/dpkg-preconfigure --apt || true
 6830 root     62848 S    {dpkg-preconfigu} /usr/bin/perl -w /usr/sbin/dpkg-pr
 6832 root         0 Z    [dpkg-preconfigu]
 6839 root      4336 S    {popularity-cont} /bin/sh /tmp/popularity-contest.co
 6840 root         0 SW   [kworker/0:1]
 6841 root      4544 R    ps
…
~ # 

--
┌──────────────────────────────────────┤ [!] Software selection ├───────────────────────────────────────┐
│                                                                                                       │
│ At the moment, only the core of the system is installed. To tune the system to your needs, you can    │
│ choose to install one or more of the following predefined collections of software.                    │
│                                                                                                       │
│ Choose software to install:                                                                           │
│                                                                                                       │
│                                     [*] Debian desktop environment                                    │
│                                     [ ] ... GNOME                                                     │
│                                     [ ] ... Xfce                                                      │
│                                     [ ] ... KDE                                                       │
│                                     [ ] ... Cinnamon                                                  │
│                                     [ ] ... MATE                                                      │
│                                     [ ] ... LXDE                                                      │
│                                     [ ] web server                                                    │
│                                     [*] print server                                                  │
│                                     [ ] SSH server                                                    │
│                                     [*] standard system utilities                                     │
│                                                                                                       │
│     <Go Back>                                                                          <Continue>     │
│                                                                                                       │
└───────────────────────────────────────────────────────────────────────────────────────────────────────┘

-- Install GRUB prompt:

…
  194 root     48848 S    debconf -o d-i /usr/bin/main-menu
  200 root     10220 S    /usr/bin/main-menu
 4884 root     19608 S    /usr/sbin/sshd
 4927 root     23820 S    sshd: installer@pts/1
 4928 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 4936 root     56100 S    debconf -o d-i /bin/network-console-menu
 4942 root     10684 S    main-menu
 4998 root     23820 R    sshd: installer@pts/2
 4999 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 5007 root     49860 S    debconf -o d-i /bin/network-console-menu
 5013 root      6460 S    udpkg --configure --force-configure di-utils-shell
 5014 root      4544 S    {di-utils-shell.} /bin/sh /var/lib/dpkg/info/di-util
 5015 root      4544 S    {start-shell} /bin/sh /bin/start-shell di-utils-shel
 5016 root      4540 S    sh -c /bin/sh
 5017 root      4544 S    /bin/sh
…
25598 root      4544 R    ps
~ # 

-- Finish the installation:

…
  194 root     48848 S    debconf -o d-i /usr/bin/main-menu
  200 root     10220 S    /usr/bin/main-menu
 4884 root     19608 S    /usr/sbin/sshd
 4927 root     23820 S    sshd: installer@pts/1
 4928 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 4936 root     56100 S    debconf -o d-i /bin/network-console-menu
 4942 root     10684 S    main-menu
 4998 root     23820 R    sshd: installer@pts/2
 4999 root      4540 S    {debian-installe} /bin/sh /sbin/debian-installer /bi
 5007 root     49860 S    debconf -o d-i /bin/network-console-menu
 5013 root      6460 S    udpkg --configure --force-configure di-utils-shell
 5014 root      4544 S    {di-utils-shell.} /bin/sh /var/lib/dpkg/info/di-util
 5015 root      4544 S    {start-shell} /bin/sh /bin/start-shell di-utils-shel
 5016 root      4540 S    sh -c /bin/sh
 5017 root      4544 S    /bin/sh
…
30103 root      4544 R    ps
~ # 

Cheers,
David.


Reply to: