[Voyage-linux] 0.8.0: netboot tools in initrd.img

John Schultz (spam-protected)
Sat Sep 17 00:27:03 HKT 2011


Sorry for the multiple emails, had to do a brain dump

My setup is as follows:
PXE Server: Windows SBS Premium 2003
NFS Server: Debian 0.6.0a with kernel 2.6.39
1000 Hardwire network

PXE File structure (Keep in mind, my setup uses WDS for the PXE server so
some of the files listed below you will NOT need.):

> PXE Root
>
|   abortpxe.com
> |   abortpxe.o
> |   chain.c32
> |   default.bcd
> |   DeploymentBackground.png
> |   memdisk
> |   pxeboot.0
> |   pxeboot.n12
> |   pxelinux.com
> |   vesamenu.c32
> |   wdsnbp.com
> |
> +---dos
> |       boot98se.ima
> |
> +---linux
> |   \---voyage
> |       +---0.7.5
> |               initrd1.img
> |               vmlinuz1
> |
> \---pxelinux.cfg
>         default
>

PXE default file listing:

> DEFAULT      vesamenu.c32
> PROMPT       0
> NOESCAPE     0
> ALLOWOPTIONS 0
> # Timeout in units of 1/10 s
> TIMEOUT 30
> MENU WIDTH 40
> MENU MARGIN 0
> MENU ROWS 12
> MENU TIMEOUTROW 14
> MENU HSHIFT 5
> MENU VSHIFT 2
> MENU COLOR BORDER 30;44       #00000000 #00000000 none
> MENU COLOR TABMSG 1;36;44     #00000000 #00000000 none
> MENU COLOR TITLE 1;36;44     #00000000 #00000000 none
> MENU COLOR SEL   30;47       #40000000 #20ffffff
> MENU BACKGROUND DeploymentBackground.png
>
> MENU TITLE PXE Boot menu
> MENU WIDTH 80
> MENU MARGIN 18
> MENU ROWS 25
>
> #LABEL      wds
> #MENU       DEFAULT
> #MENU       LABEL Windows Deployment Services
> ##KERNEL    pxeboot.0
> #KERNEL     abortpxe.0
>
> LABEL        windows98se
> MENU LABEL   Windows 98 SE Boot Disk
> KERNEL       memdisk keeppxe
> INITRD       dos/boot98se.ima
>
> LABEL        sysrcd
> MENU         LABEL System Rescue Disk
> KERNEL       linux/sysresccd/rescuecd
> INITRD       linux/sysresccd/initram.igz
> APPEND       scandelay=1 docache netboot=nfs://10.0.0.4:/export/sysrcd
> setkmap=us toram
>
> LABEL        voyage075
> MENU         DEFAULT
> MENU         LABEL Voyage Linux 0.7.5
> KERNEL       linux/voyage/0.7.5/vmlinuz1 root=LABEL=ROOT_FS
> INITRD       linux/voyage/0.7.5/initrd1.img
> APPEND       boot=live netboot=nfs nfsroot=10.0.0.4:/export/voyage-one-current
> username=root
>

NFS Settings:
/etc/exports

> /export
> *(rw,sync,no_wdelay,insecure_locks,no_root_squash,insecure,no_subtree_check)
> /export/voyage-one-current *(ro,async,no_root_squash,no_subtree_check)
>
/export/voyage-current *(ro,async,no_root_squash,no_subtree_check)
> /export/voyage-mpd-current *(ro,async,no_root_squash,no_subtree_check)
>

Create the following directories (if you do not have them) with +0755
permissions

> /export
> /export/voyage-one-current
> /export/voyage-current
> /export/voyage-mpd-current
>

mount your ISO image(s) to the above folders and you will want to change
your /etc/fstab file to auto mount those image(s) at boot.

The above setup works for me 100% of the time (have installed over 20
alix.3D3 installs)

any questions, let me know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20110916/dae1bf7d/attachment.html>


More information about the Voyage-linux mailing list