Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PXE




>
> Hey, I did almost exactly the same thing about 6 months ago...BUT I could
> never figure out the format of the file it wanted to TFTP in. Can you provide
> more details of the file "bootlinux" you are booting from? Is it a simple
> vmlinuz or have you "wrapped it" in something else? I kept getting an error
> message after DHCP had done its stuff and after TFTP had started up saying
> something about how the loaded file was not in the correct format (or
> something similar).
>
> Cheers,
>

Ahh yes, it isn't wrapped, but it is loaded using bpbatch.  its kind of a two
stage process...
http://cuiwww.unige.ch/info/pc/remote-boot/soft/bpb-exe.tar.gz

then you create a script in your tftpboot directory that bpbatch runs, mine is
just  a couple lines...
---
[root@roux /root]# cat /tftpboot/bootlinux.bpb
set CacheNever = "ON"
Clear
LinuxBoot "linux-new.krn" "root=/dev/nfs
nfsroot=192.168.1.4:/home/DISKLESS-ROOT-EXPORT"
---
and the kernel is completely normal, just a zImage or bzImage



>
> Bob Edwards,
> Chief I.T. Officer,
> Faculty of Engineering and Information Technology,
> Australian National University,
> Canberra, AUSTRALIA, 0200.
>
> > # DHCP configuration file for DHCP ISC 3.0 & BpBatch
> > # Matthew Hoskins
> >
> > # Global options
> > option subnet-mask 255.255.255.0;
> > default-lease-time -1;
> > option space PXE;
> > option PXE.mtftp-ip    code 1 = ip-address;
> > option PXE.mtftp-cport code 2 = unsigned integer 16;
> > option PXE.mtftp-sport code 3 = unsigned integer 16;
> > option PXE.mtftp-tmout code 4 = unsigned integer 8;
> > option PXE.mtftp-delay code 5 = unsigned integer 8;
> >
> > # Subnet-specific options
> > subnet 192.168.1.0 netmask 255.255.255.0 {
> >   range 192.168.1.201 192.168.1.206;
> >   option routers 192.168.1.1;
> >   filename "bpbatch";
> >   next-server 192.168.1.4;
> >   option option-135 "bootlinux";
> >   # PXE specific options
> >   class "pxeclients"
> >         {
> >          match if substring (option vendor-class-identifier, 0, 9) =
> >                 "PXEClient";
> >          option vendor-class-identifier "PXEClient";
> >          # At least one of the vendor-specific option must be set. We set
> >          # the MCAST IP address to 0.0.0.0 to tell the bootrom to still use
> >          # TFTP (address 0.0.0.0 is considered as "no address")
> >          option PXE.mtftp-ip 0.0.0.0;
> >          vendor-option-space PXE;
> >         }
> >
> > #hardcoded ip for a particular mac addr
> > host whisper1 {
> >        hardware ethernet 00:90:27:4e:ac:14;
> >        fixed-address 192.168.1.201;
> >        }
> >
> >   }
> ===========================================================================
> This Mail was sent to netboot mailing list by:
> Bob Edwards <Robert.Edwards@anu.edu.au>
> To get help about this list, send a mail with 'help' as the only string in
> it's body to majordomo@baghira.han.de. If you have problems with this list,
> send a mail to netboot-owner@baghira.han.de.

--
=========================================================================
It is by Linux alone I set my machine in motion.
      It is by the open source alone that kernel acquires speed,
       the modules acquire patches.
      The patches become a new release.
It is by Linux alone I set my machine in motion.



===========================================================================
This Mail was sent to netboot mailing list by:
Matthew Hoskins <mhoskins@microdsi.net>
To get help about this list, send a mail with 'help' as the only string in
it's body to majordomo@baghira.han.de. If you have problems with this list,
send a mail to netboot-owner@baghira.han.de.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.