Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Boot Debian via PXE without Internet connection

526 views
Skip to first unread message

Valerio

unread,
Sep 17, 2016, 1:20:03 PM9/17/16
to
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

Thomas Schmitt

unread,
Sep 17, 2016, 2:30:05 PM9/17/16
to
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

Valerio

unread,
Sep 17, 2016, 8:30:04 PM9/17/16
to
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

Valerio

unread,
Sep 18, 2016, 2:50:03 AM9/18/16
to
Hi all,

I solved the issue by adding

d-i debian-installer/allow_unauthenticated string true

to the preseed file.

best,
Valerio
0 new messages