Date: Sat, 24 Mar 2001 11:51:47 -0800 (PST) From: David Yeske <dyeske@yahoo.com> To: freebsd-small@freebsd.org Subject: grub and stuff Message-ID: <20010324195147.3066.qmail@web121.yahoomail.com>
next in thread | raw e-mail | index | archive | help
Nilo seems to be pretty stagnant. Grub will boot /boot/loader or a freebsd kernel directly. It is a freebsd port, so is etherboot. Both of these work great if you want to send a kernel with an mfsroot in it over the network. All you need is grub or etherboot on a floppy, then you can get the kernel over tftp. If you want diskless support for grub then you will need to change the port make file. Here is an example Grub Makefile patch --- ports/sysutils/grub/Makefile Mon Feb 12 04:49:47 2001 +++ ports/sysutils/grub/Makefile.eepro100 Sun Mar 4 23:42:08 2001 @@ -16,6 +16,10 @@ USE_GMAKE= yes CONFIGURE_TARGET= ${MACHINE_ARCH}-freebsd-freebsd${OSREL} +CONFIGURE_ARGS= --enable-diskless \ + --enable-verbose \ + --enable-eepro100 + MAN1= mbchk.1 MAN8= grub.8 grub-install.8 etherboot also works very well, but I don't think you can send it a gzipped kernel, here is an example etherboot patch to get freebsd support... --- ports/net/etherboot/work/etherboot-4.7.22/src/Config.orig Fri Mar 16 02:44:53 2001 +++ ports/net/etherboot/work/etherboot-4.7.22/src/Config Fri Mar 16 02:45:19 2001 @@ -143,15 +143,15 @@ # More optional features # CFLAGS32+= -DANSIESC -DGFX -# CFLAGS32+= -DPASSWD -DUSRPARMS -DFLOPPY # -DTRY_FLOPPY_FIRST=4 +CFLAGS32+= -DUSRPARMS -DFLOPPY # -DTRY_FLOPPY_FIRST=4 # For a serial console, which can run in parallel with CRT console # CFLAGS32+= -DCONSOLE_DUAL -DCOMCONSOLE=0x3F8 -DCONSPEED=9600 # Enable tagged image, generic ELF, Multiboot ELF # or FreeBSD ELF/a.out boot image support -# CFLAGS32+= -DTAGGED_IMAGE -DELF_IMAGE -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD -CFLAGS32+= -DTAGGED_IMAGE -DELF_IMAGE +CFLAGS32+= -DTAGGED_IMAGE -DELF_IMAGE -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD +#CFLAGS32+= -DTAGGED_IMAGE -DELF_IMAGE # Change download protocol to NFS, default is TFTP # CFLAGS32+= -DDOWNLOAD_PROTO_NFS Alexey Koptsevich <kopts@astro.ioffe.rssi.ru> writes: > > > And is it worthy to read about the NILO project, does it have any real > > > advantages over etherboot? taken from the NILO home page (below) : etherboot home page is http://www.slug.org.au/etherboot original NILO home page is http://www.slug.org.au/etherboot/nilo > > any URLs ? > > http://nilo.sourceforge.net/ thanks. the CVS tree hasn't moved for months (12) ! so, is this a yet another dead Linux project ? also, is this a yet another Linux capable only boot loader ? (read does it compile outside a Linux environment ?) > > personnaly, I like grub which also have network boot capabilities as > > well as many others. the main advantage of grub, is that it compile outside a Linux environment. also, it support ffs, ext2fs, reiserfs, fat and netboot. Cyrille. -- home: mailto:clefevre@poboxes.com UNIX is user-friendly; it's just particular work: mailto:Cyrille.Lefevre@edf.fr about who it chooses to be friends with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010324195147.3066.qmail>