grub2 pxeboot feature

Post there if you plan to contribute to this SystemCd
Posts: 26
Joined: 17 Jun 2008, 08:05
Location: Cagnes-sur-Mer, France

grub2 pxeboot feature

Postby richard » 07 Sep 2010, 12:23

The 1.98 version of grub2 works fine, I had bad experience with the version 1.97.1 and 1.97.2, it could provide an alternative to syslinux for preboot environment.

Make your pxegrub.0

Code: Select all

[email protected] /lib/grub/i386-pc % grub-mkimage -o core.img --prefix="(pxe)/" pxe pxecmd sh linux && cat pxeboot.img core.img > /tftpboot/pxegrub.0

File /tftpboot/grub.cfg

Code: Select all

# Timeout for menu
set timeout=10
# Set default boot entry as Entry 0
set default=0
# Entry 0 - Run SytemRescueCD on the net with NBD
menuentry "SytemRescueCD NBD" {
    set root=(pxe)
    linux /rescuecd netboot=nbd:// setkmap=fr
    initrd /initram.igz

diff /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.OLD

Code: Select all

<    filename "/pxegrub.0";
>    filename "/pxelinux.0";


Return to “Contributions”

Who is online

Users browsing this forum: No registered users and 1 guest