Changes between Version 3 and Version 4 of BootProcessUnraveled


Ignore:
Timestamp:
Apr 28, 2010, 2:44:55 AM (14 years ago)
Author:
Bruno Cornec
Comment:

Adds PXE entries

Legend:

Unmodified
Added
Removed
Modified
  • BootProcessUnraveled

    v3 v4  
    5353}}}
    5454* Finally the data stored in the format expected by the software present on the bootable image
     55
     56= PXE =
     57
     58== Using pxelinux ==
     59
     60The configuration information to setup a pxelinux PXE server to provide network restoration of MondoRescue images is available in the README.pxe of the mindi package (or at  http://trac.mondorescue.org/browser/branches/2.2.9/mindi/README.pxe)
     61
     62== Using Ignite-UX ==
     63(Information provided by E. Colussi)
     64
     65 * export an NFS FS from your Ignite server (hp-ux) as for HP-UX (ex: /Images/Linux)
     66 * make your mondoarchive backup using the NFS share (using -n hp-ux:/Images/Linux)
     67 * Extract from the ISO image the vmlinuz and initrd (as descrined in the pxelinux setup)
     68 * On the Ignite server, you uncompress the pxelinux archive (from the syslinux package or from another Linux distribution where pxelinux is already used) under the
     69/opt/ignite/boot directory. (You'll need the pxelinux.0 and pxelinux.cfg files). The executable will look for its configuration under the directory pxelinux.cfg.
     70 * Create under the pxelinux.cfg a default file looking like this:
     71{{{
     72   prompt  1
     73   timeout 600
     74   label restore_mondo
     75   kernel vmlinuz-mondo
     76   append initrd=initrd-mondo.img load_ramdisk=1 ramdisk_size=131072 ramdisk_blocksize=1024 rw root=/dev/ram iso_mode acpi=off apm=off devfs=nomount exec-shield=0 pxe prefix=mondorescue ipconf=eth0:ip_client_address_for_install:netmask:brodcast:router
     77nfsmount=ignite_ip_address:/images/Linux
     78}}}
     79or look at the previous paragraph on pxelinux.
     80 * Configure your DHCP server on the Ignite server by modifying /etc/rc.config.d/netdaemons:
     81{{{
     82        export DHCPV6D=1
     83        export DHCPV6SRVRD_ARGS="-c /etc/dhcptab"
     84}}}
     85 * restart your DHCP server:
     86{{{
     87/sbin/init.d/dhcpv6.server start
     88}}}
     89 * Configure the DHCP server by adding to the file /etc/dhcptab:
     90{{{
     91    dhcp_device_group:\
     92            re:\
     93            ncid:\
     94            class-name=HP_X86_0:\
     95            class-id="PXEClient:Arch:00000:UNDI:002001":\
     96            lease-time=300:\
     97            subnet-mask=255.255.255.0:\
     98            gw=192.168.2.2:\
     99            lease-policy=accept-new-clients:\
     100            allow-bootp-clients=FALSE:\
     101            addr-pool-start-address=192.168.2.110:\
     102            addr-pool-last-address=192.168.2.120:\
     103            bf=/opt/ignite/boot/pxelinux.0:
     104}}}
     105 * Enjoy an MondoRescue deployment from an Ignite server by typing restore_mondo at the boot prompt of the target machine.