PXE booting a 5.4-RC2 system ...
Jose M Rodriguez
josemi at freebsd.jazztel.es
Sun Apr 17 23:30:13 PDT 2005
El Monday 18 April 2005 01:34, Joe Greco escribió:
> So I'm playing with 5.4-RC2.
> I can get the system to PXE boot into a normal full base system
> environment just fine, all the way to multiuser.
> However, for system installs, we've historically PXE booted the boot
> floppy images and then proceeded to do NFS or FTP based installs.
> So I set off to do this with 5.4-RC2. I pulled the contents out of
> boot.flp, kern1.flp, and kern2.flp and stuffed them all on one of our
> boot servers.
> /boot/5.4X-i386-load 358 # ls -al
> total 3716
> drwxr-xr-x 4 root wheel 512 Apr 17 18:14 .
> drwxr-xr-x 10 root wheel 512 Apr 17 18:07 ..
> drwxr-xr-x 2 root operator 512 Apr 10 04:26 .snap
> -rw-r--r-- 1 root wheel 138998 Apr 10 04:26 acpi.ko.gz
> drwxr-xr-x 3 root wheel 512 Apr 10 04:26 boot
> -rw-r--r-- 1 root wheel 1425408 Apr 10 04:26 kernel.gz.aa
> -rw-r--r-- 1 root wheel 1060816 Apr 10 04:26 kernel.gz.ab
> -rw-r--r-- 1 root wheel 16384 Apr 10 04:26 kernel.gz.boot
> -rw-r--r-- 1 root wheel 91 Apr 10 04:26 kernel.gz.split
> -rw-r--r-- 1 root wheel 1081726 Apr 10 04:26 mfsroot.gz
> -rw-r--r-- 1 root wheel 69 Apr 17 18:10 notes
> Same setup works fine with /boot/5.4X-i386-pxe1, which is just the
> entire 5.4-RC2 distribution extracted to that directory.
> Going back to the above setup:
> The client PC, a Gigabyte 7VM400-RZ with an AMD 2700 XP and 512MB
> RAM, a CD drive, and an Adaptec 2940U2W controller, starts loading
> the PXE loader just fine.
> PXE Loader 1.00
> Building the boot loader arguments
> Relocating the loader and the BTX
> Starting the BTX loader
> BTX loader 1.00 BTX is version 1.01
> Console: internal video/keyboard
> BIOS drive A: is disk0
> PXE version 2.1, real mode entry point @9e2b:00f6
> BIOS 640kB/490432kB available memory
> FreeBSD/i386 bootstrap loader, Revision 1.1
> (root at harlow.cse.buffalo.edu, Sun Apr 10 04:50:34 UTC 2005)
> pxe_open: server addr: XXXXXXXXXXXX
> pxe_open: server path: /boot/5.4X-i386-load
> pxe_open: gateway ip: XXXXXXXXXXXXX
> Loading /boot/defaults/loader.conf
> panic: free: guard1 fail @ 0x54a7c from
> /usr/src/lib/libstand/gzipfs.c:192 --> Press a key on the console to
> reboot <--
> So I figure maybe it's a bug or maybe I need to tweak something.
> Anyone have a clue which is the correct answer?
try what is used in the CD install boot: mount a kernel and use a
mfsroot. This maybe even more easy to setup. Take a look into boot/
> ... JG
More information about the freebsd-stable