WARNING! This readme file, and the LRP-CD release it describes are under construction. I am using this release on 5 commercial firewall machines, so I know everything works (or at least enough stuff to be useful), but the documentation is thin, there's no guarantee I'm not going to significantly change stuff in the next release, and I may or may not be able to help you if you run into problems. All in all, however, if you're pretty familiar with LRP, and want to boot systems off a CD, you might find this pretty useful. You can find additional information here: http://lrp.steinkuehler.net/Packages/LRP-CD.htm LRP-CD Contents: bootdisk.ima The 1.44 meg floppy disk image used to make the CD bootable. If your system cannot boot directly from the CD, you can make a floppy disk out of this image, and use that to boot, instead. etc.lrp local.lrp log.lrp modules.lrp root.lrp The 'core' LRP packages...note root.lrp actually gets loaded from the floppy image, rather then from this file dhcpd.lrp DHCP server ipsec.lrp The IPSec package ramdisk.lrp Adds additional ramdisks, and includes the contents of log.lrp proper use of this package requires you DON'T load log.lrp, and you add a mount entry in /etc/fstab for /var/log socks5-c.lrp socks5.lrp A socks server for 'difficult' applications ssh-1.lrp ssh1-key.lrp sshd-1.lrp SSH from Koon's website update.lrp Some updates to the original LRP-CD root.lrp bwidth22.lrp nmbd-207.lrp snmp.lrp For future use...I have yet to actually configure these Using LRP-CD: First, create a CD-Rom, using either the .nrg file (and Nero), or the CD-Contents.tgz file. If you want to add or remove LRP files, you'll have to use the individual files in CD-Contents.tgz, and make your own bootable CD. Remember to use bootdisk.ima as the floppy boot image when setting up your bootable CD (exactly how to do this varies from program to program). Once you've got the CD burned, you need to figure out how your system is going to boot. There are three possibilities: Your system won't boot off a CD-Rom at all: If this is the case, you need to make a boot disk from the bootdisk.ima file on the CD-Rom, using rawrite, winimage, dd, or your favorite disk image tool. Once you've created the boot disk, you need to configure some boot parameters. Edit syslinux.cfg on the floppy, and verify the boot= parameter is correct (it probably is, it's pre-set to /dev/fd0), and make sure PKGPATH= is set to point to your CD-ROM (you may have to change this from the default, /dev/hda). If you don't have PKGPATH set properly, the system will NOT boot, as there is not a complete LRP system on the boot floppy, just the kernel and root.lrp. Your system boots off a CD, but not if there's a floppy disk inserted You can boot off the LRP-CD to get started, but you will have to make a boot disk (see above), since you'll need to store configuration information on a floppy disk. NOTE: You might want to experiment with some BIOS settings. I've got some old Pentium machines that will boot from CD, but default to the floppy disk. In the BIOS, however, you can disable floppy booting, so the system always boots from CD. Your system boots off a CD, even if you've got a floppy disk loaded You don't need to make a boot disk, just have a blank floppy handy for saving your configuration information. Now it's time to boot your LRP-CD system. Your system should come up and eventually get to the login prompt (if not, you probably didn't get the syslinux.cfg parameters correct on your boot disk, or you're not using an IDE CD-ROM drive). You'll see lots of errors along the way, but that's OK for now (no NIC modules configured, etc). NOTE: If you're booting directly off the CD, and the CD is not /dev/hda, you'll have to REMOVE ANY FLOPPY DISK before booting, or the system will not find the packages on the CD-ROM. IMPORTANT: I overlooked some things when creating this image. There is a password for root, which is 'changeme', and network.conf is configured to support 5 ethernet cards (my default LRP setup). Use the 'passwd' command to set a more appropriate password, and edit IF_AUTO in network.conf as appropriate for your system. /etc/fstab also contains a mount entry for /var/log (mounted on /dev/ram1), which is required when using the ramdisk package. CONFIGURATION: Now that LRP-CD is booting, you need to configure the system for your particular application. First, you need to verify the PKGPATH= parameter is correct for your system. If you're booting from a floppy disk, you can just edit syslinux.cfg, but if you're booting from CD, you can't change the syslinux.cfg file. To over-ride the PKGPATH setting from the CD's syslinux.cfg, add the file 'pkgpath.cfg' to your floppy disk. The contents of this file are EXACTLY what you would put after the PKGPATH= line of syslinux.cfg. You now need to configure which LRP packages to load. Again, floppy booters can edit syslinux.cfg, but if you boot from the CD, you can over-ride the default setting by creating the file 'lrpkg.cfg' on your floppy disk. The contents of this file are EXACTLY what you would put after the LRP= line in syslinux.cfg (ie a comma seperated list of package names, ALL ON ONE LINE). NOTE: This CD image includes an updated ramdisk.lrp, which is intended to REPLACE log.lrp. Make sure you have a mount entry for /var/log in /etc/fstab, and you have a secondary ramdisk defined. The etc.lrp and ramdisk.lrp provided will mount /var/log on a 4 Meg ramdisk (/dev/ram1) if left unchanged. At this point, you can configure your system normally. When you backup packages, ALL FILES in the 'core' packages (root, etc, log, local, modules) and the update package will be saved on your floppy disk. For other packages, only the configuration files (defined as files in /etc) will be backed up to the floppy, saving lots of disk space, and increasing boot time. One of my system configurations: Contents of pkgpath.cfg: /dev/hdc:iso9660 Contents of lrpkg.cfg: etc,local,modules,ramdisk,update,dhcpd,ssh-1,sshd-1,ipsec NOTE: To use ssh, you will need to manually load ssh1-key from the CD-ROM and create a host key: mount -t iso9660 -r /dev/hdc /mnt cd /mnt lrpkg -i ssh1-key mkhostkey cd / umount /mnt Then backup sshd-1