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

Bug#254735: marked as done (PXE/netboot installation: success)



Your message dated Sun, 11 Jul 2004 14:48:09 +0200
with message-id <200407111448.09038.aragorn@tiscali.nl>
and subject line Closing report of successful PXE/netboot installation
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Jun 2004 17:03:09 +0000
>From aragorn@tiscali.nl Wed Jun 16 10:03:09 2004
Return-path: <aragorn@tiscali.nl>
Received: from (elrond.fjphome.nl) [195.240.184.66] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Badoa-0000MH-00; Wed, 16 Jun 2004 10:03:09 -0700
Received: from galadriel.fjphome.nl ([10.19.66.21] ident=fjp)
	by elrond.fjphome.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1Bado5-0001tg-00; Wed, 16 Jun 2004 19:02:37 +0200
From: Frans Pop <aragorn@tiscali.nl>
To: submit@bugs.debian.org
Subject: PXE/netboot installation: success
Date: Wed, 16 Jun 2004 19:02:37 +0200
User-Agent: KMail/1.6
Cc: madduck@debian.org
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200406161902.37148.aragorn@tiscali.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: installation-reports
Version: TC1

Triggered by a question on #debian-boot and my own curiosity, I decided to try 
and netboot d-i for my Toshiba Satellite A40 laptop using PXE booting.

Here's how I did it.
The documentation (d-i manual) is not quite correct, but the solutions were 
fairly easy after combining info from several places
I'll update the relevant parts of the manual.

Preparing the server
====================
I already had dhcp3-server installed on a Woody server in my network.
- installed packages atftpd (tftpd does not work!)
  installing atftpd with all options default works
- installed package syslinux
  only one file from this package is needed; I purged it after copying that
- create directory /tftpboot (world readable, contents also)
- cp /usr/lib/syslinux/pxelinux.0 /tftpboot
- wget netboot files (initrd.gz, mini.iso, vmlinuz) into /tftpboot
  I downloaded the TC1 version
- create file 'default' in new directory /tftpboot/pxelinux.cfg/ (see below)
- edit /etc/dhcp3/dhcpd.conf (see below)
- boot laptop => d-i starts :-)
That's all!

First installation test
=======================
The installation using only default options (getting both d-i modules and base 
system from the network) went perfectly.

Second installation test
========================
I next set up netboot to start d-i at medium priority (nice :-).
I selected cdrom-detect as an extra installer module to load, because I wanted 
to see if I could install the base-system from CD-ROM. So I selected 'Detect 
and mount CD-ROM' after 'Load installer components'.
After I selected 'Install the base system' it started installation off the 
CD-ROM automatically :-).
Note: netboot d-i and the CD have to be compatible; combining TC1 netboot with 
sid_d-i CD-ROM results in 'Debbootstrap error: Couldn't download libdb2'.
After switching the CD to the TC1 version, everything worked perfectly again.

/tftpboot/pxelinux.cfg/default (last two lines actually on same line)
==============================
LABEL linux
   KERNEL vmlinuz
   APPEND load initrd=initrd.gz ramdisk_size=8192 devfs=mount root=/dev/ram \
          DEBCONF_PRIORITY=medium

Not sure if the 'load' option is necessary...

Addition to /etc/dhcp3/dhcpd.conf (can probably be improved a bit)
=================================
host tftpserver {
   fixed-address 10.x.x.x;
   hardware ethernet AA:BB:CC:DD:EE:FF;
}

host pxeclient {
   hardware ethernet UU:VV:WW:XX:YY:ZZ;
   fixed-address 10.x.x.y;
   option host-name "pxeclient";

   filename "/tftpboot/pxelinux.0";
   next-server tftpserver;
}

Cheers,
FJP

---------------------------------------
Received: (at 254735-done) by bugs.debian.org; 11 Jul 2004 12:48:40 +0000
>From aragorn@tiscali.nl Sun Jul 11 05:48:40 2004
Return-path: <aragorn@tiscali.nl>
Received: from (elrond.fjphome.nl) [195.240.184.66] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bjdl2-0006ej-00; Sun, 11 Jul 2004 05:48:40 -0700
Received: from galadriel.fjphome.nl ([10.19.66.21] ident=fjp)
	by elrond.fjphome.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1BjdkX-0001pr-00
	for <254735-done@bugs.debian.org>; Sun, 11 Jul 2004 14:48:09 +0200
From: Frans Pop <aragorn@tiscali.nl>
To: 254735-done@bugs.debian.org
Subject: Closing report of successful PXE/netboot installation
Date: Sun, 11 Jul 2004 14:48:09 +0200
User-Agent: KMail/1.6
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <200407111448.09038.aragorn@tiscali.nl>
Delivered-To: 254735-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Thank me for my installation report ;-)



Reply to: