root/contrib/pxe-installer/README

Revision d24f377aeb6c2d15f0326753551ca2e7bb84c7bf, 0.9 KB (checked in by Frederic Lepied <frederic.lepied@…>, 3 years ago)

add a generic pxe-installer contrib

  • Property mode set to 100644
Line 
1-*- outline -*-
2
3* PXE installer
4
5** How to build
6
7Edit the build.sh and init files to put your repositories and pxemngr
8urls. The build.sh script builds an initrd from a Debian Lenny
9repository. You must run it as root, for example, like this:
10
11./build.sh
12
13This builds a chroot and copy a special init in the lenny-root
14directory. After the build, copy the kernel image to the pxe directory
15and then create the initrd with a command like this as root:
16
17find . | cpio -o -H newc | gzip -v9 > /var/lib/tftpboot/pxeinstaller.img
18
19Then add a profile for pxemngr in
20/var/lib/tftpboot/pxelinux.cfg/profiles/gen.prof like:
21
22prompt 0
23timeout 0
24default 0
25
26label 0
27  kernel vmlinuz-2.6.26-1-686
28  append initrd=pxeinstaller.img ramdisk_size=210000 root=/dev/ram0 rw
29
30** How to use it
31
32The init script downloads an install script from the follwing url:
33$insturl/$profile/install.script and runs it. This way you have a
34generic installer that can do whatever you want.
Note: See TracBrowser for help on using the browser.