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


Groups > linux.debian.user > #179534 > unrolled thread

Deb-Installer: Possible to set IP using a boot parameter?

Started byRon Leach <ronleach@tesco.net>
First post2017-03-28 18:20 +0200
Last post2017-03-31 19:10 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Deb-Installer: Possible to set IP using a boot parameter? Ron Leach <ronleach@tesco.net> - 2017-03-28 18:20 +0200
    Re: Deb-Installer: Possible to set IP using a boot parameter? Brian <ad44@cityscape.co.uk> - 2017-03-28 19:20 +0200
      Re: Deb-Installer: Possible to set IP using a boot parameter? Ron Leach <ronleach@tesco.net> - 2017-03-31 13:20 +0200
        Re: Deb-Installer: Possible to set IP using a boot parameter? Doug <dmcgarrett@optonline.net> - 2017-03-31 19:10 +0200

#179534 — Deb-Installer: Possible to set IP using a boot parameter?

FromRon Leach <ronleach@tesco.net>
Date2017-03-28 18:20 +0200
SubjectDeb-Installer: Possible to set IP using a boot parameter?
Message-ID<tq20G-1Mi-13@gated-at.bofh.it>
List, good afternoon,

Does anyone know whether there is a Debian-Installer boot parameter 
that enables a specific, static, IP to be set for use during the 
installation process?

I've checked the Installer guide, s 5.3 boot parameters [1], where a 
parameter to disable DHCP autoconfig is described but I'd like to be 
able to set a specific IP as well.

(The reason for wanting this, if possible, is that I will have to 
install onto a bare motherboard and disks, without screen or keyboard, 
and I'd like to control this install over SSH (if the installer would 
also start it) from another machine.  I have seen that this can be 
arranged using a pre-seeding file [2, 3] - which I found a bit 
complicated - but I am hoping there may be a simpler way for my case. 
  ... Perhaps not, albeit.)

Is there a definitive list of all the installer's boot parameters and 
values, anywhere?  Or are the parameters literally those described in 
s 5.3 of the installer guide?

Grateful for any info,

regards, Ron

[1] https://www.debian.org/releases/stable/amd64/ch05s03.html.en

[2] https://www.debian.org/releases/stable/amd64/apb.html.en
( and http://www.debian.org/releases/jessie/example-preseed.txt )

[3] 
https://www.debian.org/releases/stable/amd64/apbs02.html.en#preseed-bootparms

[toc] | [next] | [standalone]


#179539

FromBrian <ad44@cityscape.co.uk>
Date2017-03-28 19:20 +0200
Message-ID<tq2WJ-2sj-13@gated-at.bofh.it>
In reply to#179534
On Tue 28 Mar 2017 at 17:12:30 +0100, Ron Leach wrote:

> List, good afternoon,
> 
> Does anyone know whether there is a Debian-Installer boot parameter that
> enables a specific, static, IP to be set for use during the installation
> process?
> 
> I've checked the Installer guide, s 5.3 boot parameters [1], where a
> parameter to disable DHCP autoconfig is described but I'd like to be able to
> set a specific IP as well.
> 
> (The reason for wanting this, if possible, is that I will have to install
> onto a bare motherboard and disks, without screen or keyboard, and I'd like
> to control this install over SSH (if the installer would also start it) from
> another machine.  I have seen that this can be arranged using a pre-seeding
> file [2, 3] - which I found a bit complicated - but I am hoping there may be
> a simpler way for my case.  ... Perhaps not, albeit.)

You are nearly there. Any combination of preseed directives can be used
as boot parameters. For example: netcfg/get_ipaddress=192.168.1.42.

>From https://www.debian.org/releases/stable/amd64/ch05s03.html.en:

 > With some exceptions, a value can be set at the boot prompt
 > for any question asked during the installation......

> Is there a definitive list of all the installer's boot parameters and
> values, anywhere?  Or are the parameters literally those described in s 5.3
> of the installer guide?

AFAIK, not on the website. You can generate all the preseed options for
yourself. Search the wiki for "preseed".

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#179632

FromRon Leach <ronleach@tesco.net>
Date2017-03-31 13:20 +0200
Message-ID<tr2KZ-3Tn-7@gated-at.bofh.it>
In reply to#179539
On 28/03/2017 18:15, Brian wrote:
>
> Any combination of preseed directives can be used
> as boot parameters. For example: netcfg/get_ipaddress=192.168.1.42.
>
>
> AFAIK, not on the website. You can generate all the preseed options for
> yourself. Search the wiki for "preseed".
>


Brian, thanks for the reply.  I see that that would seem to work

In the end I veered towards the 'preseed' approach, partly because 
some guidelines I was following and which included the USB rewrite 
were based on that objective.  My first try has failed to produce a 
bootable USB, but I'll do a lot more testing and checking before 
perhaps asking for any more help.  I recall that there's recently been 
a long thread about preseeding which will be helpful, I think.

regards, Ron

[toc] | [prev] | [next] | [standalone]


#179658

FromDoug <dmcgarrett@optonline.net>
Date2017-03-31 19:10 +0200
Message-ID<tr8dI-7tj-19@gated-at.bofh.it>
In reply to#179632
On 03/31/2017 07:20 AM, Ron Leach wrote:
> On 28/03/2017 18:15, Brian wrote:
>>
>> Any combination of preseed directives can be used
>> as boot parameters. For example: netcfg/get_ipaddress=192.168.1.42.
>>
>>
>> AFAIK, not on the website. You can generate all the preseed options for
>> yourself. Search the wiki for "preseed".
>>
>
>
> Brian, thanks for the reply.  I see that that would seem to work
>
> In the end I veered towards the 'preseed' approach, partly because 
> some guidelines I was following and which included the USB rewrite 
> were based on that objective.  My first try has failed to produce a 
> bootable USB, but I'll do a lot more testing and checking before 
> perhaps asking for any more help.  I recall that there's recently been 
> a long thread about preseeding which will be helpful, I think.
>
> regards, Ron
>
>
>
Isn't the boot device set in the BIOS? Perhaps your BIOS doesn't include 
a USB device in its selections?

--doug

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web