wiki:howto/Embedded

Version 1 (modified by Edwin Eefting, 14 years ago) (diff)

--

Installatie op embedded systeem via serial en PXE

(dit is nog een concept)

Fix pxelinux in /home/shares/tftp:

[Syn-3] root@kantoor2.datux.nl /home/shares/tftp# ls -l pxelinux.0
-rwxr-xr-x  1 root root 16794 Apr 12 11:14 pxelinux.0*

[Syn-3] root@kantoor2.datux.nl /home/shares/tftp# cat pxelinux.cfg/default
TIMEOUT 100
PROMPT 1
DEFAULT embedded
SERIAL 0 38400
DISPLAY boot.txt
LABEL embedded
        KERNEL embedded/bzImage
        APPEND initrd=embedded/initrd.gz net_server=gateway net_iso=embedded/install.iso sup console=ttyS0,38400 ro root=/dev/ram0 init=/linuxrc ramdisk_size=64000 text cdroot cdboot
LABEL embeddedboot
        KERNEL embedded/bzImage
        APPEND initrd=embedded/initrd.gz net_server=gateway net_iso=embedded/install.iso sup console=ttyS0,38400 ro root=/dev/ram0 init=/linuxrc ramdisk_size=64000 text
LABEL normal
        KERNEL normal/bzImage
        APPEND initrd=normal/initrd.gz net_server=gateway net_iso=normal/install.iso sup console=tty1 ro root=/dev/ram0 init=/linuxrc ramdisk_size=64000 cdroot cdboot text
LABEL normalboot
        KERNEL normal/bzImage
        APPEND initrd=normal/initrd.gz net_server=gateway net_iso=normal/install.iso sup console=tty1 ro root=/dev/ram0 init=/linuxrc ramdisk_size=64000 text
LABEL bko
        KERNEL gpxe.0

[Syn-3] root@kantoor2.datux.nl /home/shares/tftp# ls embedded/
bzImage  initrd.gz  install.iso

Embedded kernel + init zitten in initrd_embedded en linux_embedded.

Iso is normale installer iso.

Zorg dat guest/guest-account bij tftp samba share kan.