Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #195665

Re: minimal installation

From Dan Norton <dnorton@mindspring.com>
Newsgroups linux.debian.user
Subject Re: minimal installation
Date 2018-05-12 23:50 +0200
Message-ID <vOKyT-2ZO-45@gated-at.bofh.it> (permalink)
References (2 earlier) <vMPCF-2tz-11@gated-at.bofh.it> <vMWut-7ew-7@gated-at.bofh.it> <vMWNP-7np-1@gated-at.bofh.it> <vMWXw-7qD-9@gated-at.bofh.it> <vMXAe-7Xs-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 8 May 2018 00:10:50 +0100
Brian <ad44@cityscape.co.uk> wrote:

> On Mon 07 May 2018 at 18:37:16 -0400, Dan Norton wrote:
> 
> > On Mon, 7 May 2018 23:22:46 +0100
> > Brian <ad44@cityscape.co.uk> wrote:
> >   
> > > On Mon 07 May 2018 at 18:04:47 -0400, Dan Norton wrote:
> > >   
> > > > On Mon, 7 May 2018 10:42:17 -0400
> > > > Felix Miata <mrmazda@earthlink.net> wrote:
> > > >     
> > > > > jpff composed on 2018-05-07 12:34 (UTC+0100):
> > > > >     
> > > > > > Felix Miata wrote:      
> > > > >     
> > > > > >> My Debian installations are all net installs that
> > > > > >> include      
> > > > >     
> > > > > >> 	tasks=standard
> > > > > >> base-installer/install-recommends=false      
> > > > >     
> > > > > >> on the kernel cmdline. I get nothing I don't need installed
> > > > > >> that way. Xorg and whatever else I need I get with apt*
> > > > > >> once booted normally.      
> > > > >     
> > > > > > That looks interesting; it attemts to answer my deep problem
> > > > > > about no X, xdm, xterm etc.      
> > > > >     
> > > > > > My problem nowis I do not know where/how to apply this.  I
> > > > > > have not seen any mention of a kernel command line in the
> > > > > > net install.  More please!      
> > > > > 
> > > > > I'm not up to speed on the conventional HOWTO for answering
> > > > > this. I rarely use conventional installation boot media.
> > > > > Virtually all my installs are in multiboot environments. This
> > > > > enables installation booting by using a bootloader already
> > > > > present on the system, by loading an installation kernel and
> > > > > initrd, complete with the parameters mentioned, plus several
> > > > > others, such as network configuration, and leaving off quiet
> > > > > and splash=silent.
> > > > > 
> > > > > IME, virtually any distro's installation media when its
> > > > > presence first appears on screen allows for some method of
> > > > > appending parameters to the kernel cmdline. It may be an "e"
> > > > > key, or an ESC key, or an up or down arrow key, or a function
> > > > > key, and likely will suggest how when its screen first
> > > > > paints.    
> > > > 
> > > > That "kernel cmdline" phrase is a point of confusion. By editing
> > > > the "Install" item in the netinst menu, I can change:
> > > > 
> > > >   linux   /install.amd/vmlinuz vga=788 --- quiet
> > > > 
> > > > ...to this, all on one line:
> > > > 
> > > >   linux   /install.amd/vmlinuz vga=788 --- tasks=standard
> > > >   base-installer/install-recommends=false
> > > > 
> > > > Is that going to result in a minimum installation?    
> > > 
> > > Leave off tasks=standard for more minimalness.
> > >   
> > 
> > This is getting exciting. Will I still get a command line?  
> 
> If you mean at first boot; yes.
> 
> I preseed in a file with "tasksel tasksel/first multiselect", which
> means no task is selected for installation. I've never done it from
> a prompt. Perhaps "tasks="?
> 

With the ethernet unplugged, installing with a netinst iso, I do get a
minimal installation. With ethernet plugged in, the installed kernel
can be booted repeatedly, presenting a login prompt each time. adduser,
mount, cat, lp... just work.

Now, I want to update and upgrade and start to slowly add packages, but
my network ignorance is getting in the way. 

Tried to run "/sbin/ifconfig -a" but ifconfig is not found. Anyway, ran:
  dhclient lo
  dhclient eth0
...with no effect (could not ping google)

Comparing files on this install with the same on this one (where I'm
writing this post):

/etc/network  # same contents on both after I added a link: 
    run -> /network
/etc/network/interfaces.d  # empty on both
/run/network  # same on both
/var/log/syslog  # doesn't show anything obvious to me

root@debm:/etc/network# cat interfaces
# This file describes...
# and how to ...

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

root@debm:/# /etc/init.d/networking stop
Stopping networking (via systemctl): networking.service.
root@debm:/# /etc/init.d/networking start
Starting networking (via systemctl): networking.service.
root@debm:/# ping -c 3 http://www.google.com
ping: http://www.google.com: Temporary failure in name resolution

Please point me to how to get ethernet up. Thanks.

 - Dan

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A long rant on Debian 9 John <jpff@codemist.co.uk> - 2018-05-06 23:20 +0200
  Re: A long rant on Debian 9 Forest Dean Feighner <forest.feighner@gmail.com> - 2018-05-06 23:40 +0200
  Re: A long rant on Debian 9 Felix Miata <mrmazda@earthlink.net> - 2018-05-07 00:20 +0200
    Re: A long rant on Debian 9 Dan Norton <dnorton@mindspring.com> - 2018-05-07 05:40 +0200
      Re: A long rant on Debian 9 Curt <curty@free.fr> - 2018-05-07 17:30 +0200
        Re: A long rant on Debian 9 Curt <curty@free.fr> - 2018-05-07 17:40 +0200
          Re: A long rant on Debian 9 Dan Norton <dnorton@mindspring.com> - 2018-05-07 23:50 +0200
            Re: A long rant on Debian 9 Felix Miata <mrmazda@earthlink.net> - 2018-05-08 00:10 +0200
              Re: A long rant on Debian 9 jpff <jpff@codemist.co.uk> - 2018-05-08 18:00 +0200
            Re: minimal installation (was: A long rant on Debian 9) Felix Miata <mrmazda@earthlink.net> - 2018-05-08 00:10 +0200
            Re: A long rant on Debian 9 Curt <curty@free.fr> - 2018-05-08 09:50 +0200
              Re: A long rant on Debian 9 Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-05-08 14:00 +0200
                Re: A long rant on Debian 9 Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-08 14:40 +0200
                Re: A long rant on Debian 9 "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-08 16:00 +0200
                Re: A long rant on Debian 9 Dan Norton <dnorton@mindspring.com> - 2018-05-08 21:00 +0200
            Re: A long rant on Debian 9 Steve McIntyre <steve@einval.com> - 2018-05-08 16:00 +0200
              Re: A long rant on Debian 9 Steve McIntyre <steve@einval.com> - 2018-05-08 16:10 +0200
    Re: A long rant on Debian 9 jpff <jpff@codemist.co.uk> - 2018-05-07 13:40 +0200
      Re: A long rant on Debian 9 Brian <ad44@cityscape.co.uk> - 2018-05-07 14:20 +0200
        Re: A long rant on Debian 9 Roberto C. Sánchez <roberto@debian.org> - 2018-05-07 16:50 +0200
        Re: A long rant on Debian 9 jpff <jpff@codemist.co.uk> - 2018-05-07 16:50 +0200
          Re: A long rant on Debian 9 bw <bwtnguy@yahoo.com> - 2018-05-07 17:10 +0200
          Re: A long rant on Debian 9 Brian <ad44@cityscape.co.uk> - 2018-05-07 18:00 +0200
      Re: A long rant on Debian 9 Kenneth Parker <sea7kenp@gmail.com> - 2018-05-07 14:30 +0200
      Re: minimal installation (was: A long rant on Debian 9) Felix Miata <mrmazda@earthlink.net> - 2018-05-07 16:50 +0200
        Re: minimal installation (was: A long rant on Debian 9) Dan Norton <dnorton@mindspring.com> - 2018-05-08 00:10 +0200
          Re: minimal installation (was: A long rant on Debian 9) Brian <ad44@cityscape.co.uk> - 2018-05-08 00:30 +0200
            Re: minimal installation (was: A long rant on Debian 9) Dan Norton <dnorton@mindspring.com> - 2018-05-08 00:40 +0200
              Re: minimal installation (was: A long rant on Debian 9) Brian <ad44@cityscape.co.uk> - 2018-05-08 01:20 +0200
                Re: minimal installation Dan Norton <dnorton@mindspring.com> - 2018-05-12 23:50 +0200
                Re: minimal installation Felix Miata <mrmazda@earthlink.net> - 2018-05-13 00:30 +0200
            Re: minimal installation Felix Miata <mrmazda@earthlink.net> - 2018-05-08 02:00 +0200
              Re: minimal installation Brian <ad44@cityscape.co.uk> - 2018-05-08 21:00 +0200
          Re: minimal installation Felix Miata <mrmazda@earthlink.net> - 2018-05-08 00:30 +0200
            Re: minimal installation Dan Norton <dnorton@mindspring.com> - 2018-05-08 01:40 +0200
  Re: A long rant on Debian 9 Rick Thomas <rbthomas@pobox.com> - 2018-05-07 01:10 +0200
  Re: A long rant on Debian 9 Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-07 15:10 +0200
    Re: A long rant on Debian 9 Steve McIntyre <steve@einval.com> - 2018-05-07 15:40 +0200
    Re: A long rant on Debian 9 Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:00 +0200
      Re: A long rant on Debian 9 jpff <jpff@codemist.co.uk> - 2018-05-07 19:20 +0200
        Re: A long rant on Debian 9 Brian <ad44@cityscape.co.uk> - 2018-05-07 20:20 +0200
          Re: A long rant on Debian 9 Ric Moore <wayward4now@gmail.com> - 2018-05-07 22:40 +0200
          Re: A long rant on Debian 9 jpff <jpff@codemist.co.uk> - 2018-05-08 15:40 +0200
            Re: 3-button trackpoint configuration (was: A long rant on Debian 9) Felix Miata <mrmazda@earthlink.net> - 2018-05-08 16:10 +0200
            Re: A long rant on Debian 9 Brian <ad44@cityscape.co.uk> - 2018-05-08 21:20 +0200

csiph-web