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


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

Boot Debian via PXE without Internet connection

Started byValerio <valerio.click@gmx.com>
First post2016-09-17 19:20 +0200
Last post2016-09-18 08:50 +0200
Articles 4 — 2 participants

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


Contents

  Boot Debian via PXE without Internet connection Valerio <valerio.click@gmx.com> - 2016-09-17 19:20 +0200
    Re: Boot Debian via PXE without Internet connection "Thomas Schmitt" <scdbackup@gmx.net> - 2016-09-17 20:30 +0200
      Re: Boot Debian via PXE without Internet connection Valerio <valerio.click@gmx.com> - 2016-09-18 02:30 +0200
        Re: Boot Debian via PXE without Internet connection Valerio <valerio.click@gmx.com> - 2016-09-18 08:50 +0200

#172352 — Boot Debian via PXE without Internet connection

FromValerio <valerio.click@gmx.com>
Date2016-09-17 19:20 +0200
SubjectBoot Debian via PXE without Internet connection
Message-ID<sirrr-5ma-3@gated-at.bofh.it>
Hi all,

I recently started playing around to install Debian via PXE.
I successfully managed to install the netinst version following the
documentation available at https://wiki.debian.org/PXEBootInstall.

Now I'd like to understand how to boot any debian ISO.

For instance, suppose that on my PXE server I
havedebian-8.5.0-amd64-CD-1.iso, what boot parameters do I have to pass
to my netboot kernel in order to install it?

More generally, suppose I create my own iso (with build-simple-cdd), how
can I install it via PXE?

many thanks in advance,
Valerio

PS: If useful these are my actual booting parameters

kernel debian-installer/amd64/linux
	append auto=true priority=critical vga=788
initrd=debian-installer/amd64/initrd.gz
preseed/url=tftp://192.168.1.109/preseed/preseed.cfg --- quiet

[toc] | [next] | [standalone]


#172355

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2016-09-17 20:30 +0200
Message-ID<sisxb-5XO-9@gated-at.bofh.it>
In reply to#172352
Hi,

Valerio wrote:
> suppose that on my PXE server I havedebian-8.5.0-amd64-CD-1.iso, [...]
> More generally, suppose I create my own iso (with build-simple-cdd), how
> can I install it via PXE?

I guess this is what you need:
  http://www.syslinux.org/wiki/index.php?title=MEMDISK
(I never tested it but only know it from hearsay.)

It says that a isohybrid ISO can be used in both roles, as "APPEND iso"
and as "APPEND harddisk". So you have two shots.


Have a nice day :)

Thomas

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


#172372

FromValerio <valerio.click@gmx.com>
Date2016-09-18 02:30 +0200
Message-ID<siy9A-Y3-13@gated-at.bofh.it>
In reply to#172355
Hi,

thanks for your feedback.
I managed to successfully to boot the .iso via memdisk but now the
problem is that i cannot preseed the installation as the machine boots.

I have two options:
- either I hack the iso and set a default preseed
- I backtrack and use the netinst installation by preseeding a local apt
repository.


To this regard, i used build-simple-cdd --do-mirror command on the pxe
server in order to let the pxe client load packages from that
repository. The problem is that in tmp/mirror/dists/jessie/ there is the
file Release but not Release.gpg.
Now when the debian-installer looks fro this file it blocks the client
installation.

Any suggestions?

best reagrds,
Valerio

Il 17/09/2016 20:28, Thomas Schmitt ha scritto:
> Hi,
> 
> Valerio wrote:
>> suppose that on my PXE server I havedebian-8.5.0-amd64-CD-1.iso, [...]
>> More generally, suppose I create my own iso (with build-simple-cdd), how
>> can I install it via PXE?
> 
> I guess this is what you need:
>   http://www.syslinux.org/wiki/index.php?title=MEMDISK
> (I never tested it but only know it from hearsay.)
> 
> It says that a isohybrid ISO can be used in both roles, as "APPEND iso"
> and as "APPEND harddisk". So you have two shots.
> 
> 
> Have a nice day :)
> 
> Thomas
> 

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


#172380

FromValerio <valerio.click@gmx.com>
Date2016-09-18 08:50 +0200
Message-ID<siE5j-4Gy-7@gated-at.bofh.it>
In reply to#172372
Hi all,

I solved the issue by adding

d-i debian-installer/allow_unauthenticated  string true

to the preseed file.

best,
Valerio

Il 18/09/2016 02:03, Valerio ha scritto:
> Hi,
> 
> thanks for your feedback.
> I managed to successfully to boot the .iso via memdisk but now the
> problem is that i cannot preseed the installation as the machine boots.
> 
> I have two options:
> - either I hack the iso and set a default preseed
> - I backtrack and use the netinst installation by preseeding a local apt
> repository.
> 
> 
> To this regard, i used build-simple-cdd --do-mirror command on the pxe
> server in order to let the pxe client load packages from that
> repository. The problem is that in tmp/mirror/dists/jessie/ there is the
> file Release but not Release.gpg.
> Now when the debian-installer looks fro this file it blocks the client
> installation.
> 
> Any suggestions?
> 
> best reagrds,
> Valerio
> 
> Il 17/09/2016 20:28, Thomas Schmitt ha scritto:
>> Hi,
>>
>> Valerio wrote:
>>> suppose that on my PXE server I havedebian-8.5.0-amd64-CD-1.iso, [...]
>>> More generally, suppose I create my own iso (with build-simple-cdd), how
>>> can I install it via PXE?
>>
>> I guess this is what you need:
>>   http://www.syslinux.org/wiki/index.php?title=MEMDISK
>> (I never tested it but only know it from hearsay.)
>>
>> It says that a isohybrid ISO can be used in both roles, as "APPEND iso"
>> and as "APPEND harddisk". So you have two shots.
>>
>>
>> Have a nice day :)
>>
>> Thomas
>>

[toc] | [prev] | [standalone]


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


csiph-web