Bug#106399: GRUB with netboot feature
Piotr Roszatycki
Piotr Roszatycki <Piotr_Roszatycki@netia.net.pl>, 106399@bugs.debian.org
Fri, 1 Apr 2005 13:37:33 +0200
--Boundary-00=_9JTTCJXmRudwrAg
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi.
Please support netboot feature. It is the only way to boot the old Intel
network card if it can't be upgraded. This card can't connect to tftp server
from bootrom because of broken tcp/ip stack in its bios. The only way is to
boot it from floppy with GRUB.
I've attached my patch. It works for me.
I've attached also the menu.lst for netboot debian installer.
I've prepared the floppy with following commands:
# superformat /dev/fd0
# mke2fs /dev/fd0
# tune2fs -i0 -c9999 -m0 /dev/fd0
# mount /floppy
# mkdir -p /floppy/boot/grub
# cp -f /lib/grub/i386-pc/{stage1,stage2,*stage1_5} /floppy/boot/grub
# cp menu.lst /floppy/boot/grub
# grub
grub> root (fd0)
grub> setup (fd0)
grub> quit
# umount /floppy
--
.''`. Piotr Roszatycki, Netia SA
: :' : mailto:Piotr_Roszatycki@netia.net.pl
`. `' mailto:dexter@debian.org
`-
--Boundary-00=_9JTTCJXmRudwrAg
Content-Type: text/x-diff;
charset="us-ascii";
name="grub-0.95+cvs20040624.netboot.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="grub-0.95+cvs20040624.netboot.diff"
diff -Nru grub-0.95+cvs20040624/debian/changelog grub-0.95+cvs20040624.netboot/debian/changelog
--- grub-0.95+cvs20040624/debian/changelog 2005-03-31 16:32:05 +0200
+++ grub-0.95+cvs20040624.netboot/debian/changelog 2005-03-30 20:45:23 +0200
@@ -1,3 +1,10 @@
+grub (0.95+cvs20040624-6.0.0.1) unstable; urgency=low
+
+ * Unofficial
+ * Enable networking support.
+
+ -- Piotr Roszatycki <dexter@debian.org> Wed, 30 Mar 2005 20:09:56 +0200
+
grub (0.95+cvs20040624-16) unstable; urgency=low
* update-grub: fix kopt parsing to handle + signs in kernel versions
diff -Nru grub-0.95+cvs20040624/debian/rules grub-0.95+cvs20040624.netboot/debian/rules
--- grub-0.95+cvs20040624/debian/rules 2005-03-31 16:32:05 +0200
+++ grub-0.95+cvs20040624.netboot/debian/rules 2005-03-30 20:45:08 +0200
@@ -94,8 +94,40 @@
--prefix=/ \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-auto-linux-mem-opt
-
+ --disable-auto-linux-mem-opt \
+ --enable-pci-direct \
+ --enable-3c509 \
+ --enable-3c529 \
+ --enable-3c595 \
+ --enable-3c90x \
+ --enable-cs89x0 \
+ --enable-davicom \
+ --enable-depca \
+ --enable-eepro \
+ --enable-eepro100 \
+ --enable-epic100 \
+ --enable-3c507 \
+ --enable-exos205 \
+ --enable-ni5210 \
+ --enable-lance \
+ --enable-ne2100 \
+ --enable-ni6510 \
+ --enable-natsemi \
+ --enable-ni5010 \
+ --enable-3c503 \
+ --enable-ne \
+ --enable-ns8390 \
+ --enable-wd \
+ --enable-otulip \
+ --enable-rtl8139 \
+ --enable-sis900 \
+ --enable-sk-g16 \
+ --enable-smc9000 \
+ --enable-tiara \
+ --enable-tulip \
+ --enable-via-rhine \
+ --enable-w89c840 \
+ --enable-diskless
touch configure-stamp
build: build-arch
--Boundary-00=_9JTTCJXmRudwrAg
Content-Type: text/plain;
charset="us-ascii";
name="menu.lst"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="menu.lst"
default 0
serial
terminal --timeout=10 console serial
color cyan/blue white/blue
title linux
bootp
root (nd)
kernel /debian-installer/i386/linux ramdisk_size=9424 root=/dev/rd/0 devfs=mount,dall rw --
initrd /debian-installer/i386/initrd.gz
boot
title cdrom
bootp
root (nd)
kernel /install/vmlinuz vga=normal ramdisk_size=10240 root=/dev/rd/0 devfs=mount,dall rw
initrd /install/initrd.gz
boot
title expert
bootp
root (nd)
kernel /debian-installer/i386/linux DEBCONF_PRIORITY=low vga=normal ramdisk_size=9424 root=/dev/rd/0 devfs=mount,dall rw --
initrd /debian-installer/i386/initrd.gz
boot
title linux26
bootp
root (nd)
kernel /debian-installer/i386/2.6/linux vga=normal ramdisk_size=10934 root=/dev/rd/0 devfs=mount,dall rw --
initrd /debian-installer/i386/2.6/initrd.gz
boot
title expert26
bootp
root (nd)
kernel /debian-installer/i386/2.6/linux DEBCONF_PRIORITY=low vga=normal ramdisk_size=10934 root=/dev/rd/0 devfs=mount,dall rw --
initrd /debian-installer/i386/2.6/initrd.gz
boot
--Boundary-00=_9JTTCJXmRudwrAg--