It will work. The following detail is for anyone who isn't as
familiar with UNIX as you are.
As long as your PXE-booted configuration doesn't need the hard drive
to which you want to copy m0n0wall, your approach won't be a problem.
BTW, I haven't done this via PXE boot, but I *have* done it by booting
from a live-bootable Linux CDs (Knoppix, and the Knoppix-derived
INSERT). The concept is identical:
- boot the system
- make the m0n0wall image accessible to the local system
- for PXE boots, just have the .img file on a locally
accessible NFS filesystem, or use rsh (ssh for preference) as you
suggest
- for live CD boots, just FTP the file to your
ramdisk, or use NFS if you don't have much RAM
- uncompress the image and write it to the hard disk
gunzip < imagename | dd of=/dev/hda
- replace "hda" with the device special file that
represents your target hard disk, and be careful (!!) if you have more
than one HD in the system :-)
This is generally how I install new m0n0walls.
-klode
On Wed, 9 Mar 2005 23:25:45 -0500 (EST), Seth Rothenberg
<seth at pachai dot net> wrote:
>
> Sorry to ask a question that sounds familiar.
> I thnk it's a bit different...
>
> The question is, can I use PXE Linux to install m0n0wall?
>
> I want to try PXE booting a soekris, so I
> can determine if I'll be able to load a 4526.
> (If it's too hard, then I can just stick with 4521 :-)
>
> I have a Linux environment.
> I have nothing against FreeBSD, but I need to
> know Solaris, AIX, and Linux, and don't need
> to try to maintain another widget at home.
>
> My assumption, based on my experience with Solaris,
> is that once I boot a box with any OS, bring up
> the network, I can dd an image from somewhere
> onto the CF...eg, change the "gunzip | dd" to
> rsh host cat m0n0.gz | gunzip | dd
>
> Thus the above question, has anyone done this in reality?
> URL's or other pointers welcome. As long as I don't need
> to go burn BSD CD's and find a working PC to put it on.
>
> Again, sorry if it is a repeat, but I asked google,
> and he can't recall...
>
> Thanks
> Seth
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch
|