Update of /cvsroot/leaf/doc/guide/user-bering-uclibc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3350
Modified Files: bucu-ide.xml Log Message: rewrote cd section additional fixes Index: bucu-ide.xml =================================================================== RCS file: /cvsroot/leaf/doc/guide/user-bering-uclibc/bucu-ide.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** bucu-ide.xml 21 Jun 2004 17:04:12 -0000 1.17 --- bucu-ide.xml 23 Jun 2004 21:19:03 -0000 1.18 *************** *** 94,97 **** --- 94,107 ---- <revremark>added IDE chapter (from Bering Guide)</revremark> </revision> + + <revision> + <revnumber>0.5</revnumber> + + <date>2004-06-24</date> + + <authorinitials>kp</authorinitials> + + <revremark>reworked IDE chapter </revremark> + </revision> </revhistory> </chapterinfo> *************** *** 141,145 **** <section> ! <title>Step 1: Create a bootable 1,44MB floppy</title> <para>Format a floppy disk, add a msdos filesystem and make it bootable --- 151,155 ---- <section> ! <title>Step1 Create a bootable 1,44MB floppy</title> <para>Format a floppy disk, add a msdos filesystem and make it bootable *************** *** 153,164 **** onto the floppy.</para> ! <para>Before umounting the floppy edit syslinux.cfg on the floppy disk. ! Make shure the PKGPATH points to the CD-ROM device and floppy as well ! (that's the place where you store your configuration settings).<programlisting>display syslinux.dpy timeout 0 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/fd0:msdos PKG PATH=/dev/cdrom:iso9660,/dev/fd0:msdos LRP=root,etc,loca.....</programlisting></para> ! <para>Now you have a bootable floppy for your CD.</para> </section> --- 163,197 ---- onto the floppy.</para> ! <para>Before umounting the floppy edit syslinux.cfg on the floppy disk.</para> ! ! <section> ! <title>syslinux.cfg for Bering-uClibc 2.1 and earlier versions</title> ! ! <para>Edit <filename>syslinux.cfg</filename> and make shure the ! PKGPATH points to the CD-ROM device and floppy as well (that's the ! place where you store your configuration settings).<programlisting>display syslinux.dpy timeout 0 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/fd0:msdos PKG PATH=/dev/cdrom:iso9660,/dev/fd0:msdos LRP=root,etc,loca.....</programlisting></para> ! <para>Now you have a bootable floppy for your CD.</para> ! </section> ! ! <section> ! <title>syslinuxcfg for Bering-uClibc 2.2 and later versions</title> ! ! <para>Edit <filename>syslinux.cfg</filename> and change the LEAFCFG ! variable to point to your floppy device (so you can easily add or ! remove packages to load without buring a new ISO-image:</para> ! ! <para><screen>display syslinux.dpy ! timeout 0 ! default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/fd0:msdos</screen></para> ! ! <para>This will be your bootable the floppy for the CD creation.</para> ! ! <para>The floppy device will be used to store your configuration ! settings.</para> ! </section> </section> *************** *** 174,177 **** --- 207,269 ---- # cdrecord -v dev=[target] Bering-uClibc-CD.iso</programlisting></para> </section> + + <section> + <title>Step 3: Adding packages and backup configuration </title> + + <para>Packages can be added or removed in a flexibel way by + declaring/undeclaring them in <filename>lrpkg.cfg</filename> + (Bering-uClibc <= 2.1) or <filename>leaf.cfg</filename> + (Bering-uClibc >= 2.2) on a new formatted floppy.</para> + + <para>Additionally your configuration settings for all packages can be + stored on the same floppy.</para> + + <section> + <title>Declaring packages for Bering-uClibc 2.1 and earlier versions + </title> + + <para>To add or remove packages just edit <filename>lrpkg.cfg</filename> + on a blank formatted floppy disk - all entries on one line. It looks + like:</para> + + <screen>root,etc,local,modules,pump,keyboard,shorwall,dnscache,weblet</screen> + </section> + + <section> + <title>Declaring packages for Bering-uClibc 2.2 and later versions</title> + + <para>Edit <filename>leaf.cfg</filename> on a blank formatted floppy + disk, add your packages to LRP and change PKGPATH to point to your + CDROM and the floppy device.</para> + + <para><screen>LRP="root config etc local modules iptables dnsmasq keyboard shorwall ulogd libz mawk libssl libm ezipupd dropbear weblet ppp pppoe libpcap" + PKGPATH=/dev/fd0:msdos,/dev/cdrom:iso9660 + syst_size=8M + log_size=2M</screen></para> + + <note> + <para>The order in PKGPATH is important!</para> + + <para>The leftmost entry will be loaded last - so your packages will + be load first from CDROM and then from /dev/fd0. This will overwrite + the configuration with the settings you stored on the floppy.</para> + </note> + </section> + + <section> + <title>Backing up your configuration</title> + + <para>You can backup your configuration changes onto the floppy, you + have declared <filename>leaf.cfg</filename>/<filename>lrpkg.cfg</filename>.</para> + + <para>To only backup the changes in configuration and not the complete + packages, which may be too big to fit onto a floppy, choose + "partial backup" and /dev/fd0 as destination for the packages.</para> + + <important> + <para>Partial backup does not work for etc.lrp.</para> + </important> + </section> + </section> </section> *************** *** 207,258 **** versions and Bering-uClibc 2.2 and later versions are different.</para> ! <para>For Bering-uClibc 2.1 and earlier versions edit the ! <filename>syslinux.cfg</filename> file and change the "boot" and ! "PKGPATH" entries to point to your harddisk. It will look like:</para> ! <screen> display syslinux.dpy timeout 0 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/hda1:msdos PKGPATH=/dev/hda1 ! LRP=root,etc,local,modules,iptables,pump,keyboard,shorwall,ulogd,dnscache,sshd,ipsec,weblet</screen> ! <para>For Bering-uClibc 2.2 and later versions edit <filename>syslinux.cfg</filename> ! and change the LEAFCFG variable to point to your harddisk:</para> ! <para><screen>display syslinux.dpy timeout 0 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda1:msdos</screen></para> ! <para>Edit <filename>leaf.cfg</filename> and add your packages to LRP and ! change PKGPATH to point to your harddisk.</para> ! <para><screen>LRP="root config etc local modules iptables dnsmasq keyboard shorwall ulogd libz mawk libssl libm ezipupd dropbear weblet ppp pppoe libpcap" PKGPATH=/dev/hda1:msdos syst_size=8M log_size=2M</screen></para> ! <para>If you have declared two partitions on your harddisk, and intend to ! use the second partition for backups, you have to add the second partition ! in the PKGPATH variable. Your second partition has to be the first entry ! to load the stored configuration, or partial backup, after the original ! (unconfigured) package:</para> ! <screen>LRP="root config etc local modules iptables dnsmasq keyboard shorwall ulogd libz mawk libssl libm ezipupd dropbear weblet ppp pppoe libpcap" PKGPATH=/dev/hda2:msdos,/dev/hda1:msdos syst_size=8M log_size=2M</screen> ! <para>Once you have finished with your floppy preparation, copy all the ! files from it EXCEPT <filename>ldlinux.sys</filename> (which is created by ! syslinux) to the IDE device that you prepared earlier. You should now be ! able to boot from the IDE device. Once again be careful not to copy ! <filename>ldlinux.sys</filename> from the floppy otherwise your disk ! won't be bootable and you will have to go over the installation of ! syslinux on your hard disk again.</para> ! <para>An alternative methode is to prepare and load the packages onto your ! disk with pxeinstall.tgz described in the next chapter. Besides it's ! pretty fast, once you'cve setup the environment, it is useful if your ! router has no floppy drive.</para> </section> --- 299,378 ---- versions and Bering-uClibc 2.2 and later versions are different.</para> ! <section> ! <title>Bering-uClibc 2.1 and earlier versions</title> ! <para>For Bering-uClibc 2.1 and earlier versions edit the ! <filename>syslinux.cfg</filename> file and change the "boot" and ! "PKGPATH" entries to point to your harddisk. It will look like:</para> ! ! <screen> display syslinux.dpy timeout 0 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/hda1:msdos PKGPATH=/dev/hda1 ! LRP=root,etc,loc</screen> ! <para>Once you have finished with your floppy preparation, copy all the ! files from it EXCEPT <filename>ldlinux.sys</filename> (which is created ! by syslinux) to the IDE device that you prepared earlier. You should now ! be able to boot from the IDE device. Once again be careful not to copy ! <filename>ldlinux.sys</filename> from the floppy otherwise your disk ! won't be bootable and you will have to go over the installation of ! syslinux on your hard disk again.</para> ! <para>An alternative methode is to prepare and load the packages onto ! your disk with pxeinstall.tgz described in the next chapter. Besides ! it's pretty fast, once you'cve setup the environment, it is ! useful if your router has no floppy drive.</para> ! </section> ! ! <section> ! <title>Bering-uClibc 2.2 and later versions</title> ! ! <para>For Bering-uClibc 2.2 and later versions edit ! <filename>syslinux.cfg</filename> and change the LEAFCFG variable to ! point to your harddisk:</para> ! ! <para><screen>display syslinux.dpy timeout 0 default linux initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 LEAFCFG=/dev/hda1:msdos</screen></para> ! <para>Edit <filename>leaf.cfg</filename> and add your packages to LRP ! and change PKGPATH to point to your harddisk.</para> ! <para><screen>LRP="root config etc local modules iptables dnsmasq keyboard shorwall ulogd libz mawk libssl libm ezipupd dropbear weblet ppp pppoe libpcap" PKGPATH=/dev/hda1:msdos syst_size=8M log_size=2M</screen></para> ! <para>If you have declared two partitions on your harddisk, and intend ! to use the second partition for backups, you have to add the second ! partition in the PKGPATH variable:</para> ! <screen>LRP="root config etc local modules iptables dnsmasq keyboard shorwall ulogd libz mawk libssl libm ezipupd dropbear weblet ppp pppoe libpcap" PKGPATH=/dev/hda2:msdos,/dev/hda1:msdos syst_size=8M log_size=2M</screen> ! <note> ! <para>The order in PKGPATH is important!</para> ! <para>Your second partition has to be the first entry to load the ! stored configuration, or partial backup, after the original ! (unconfigured) package.</para> ! </note> ! ! <para>Once you have finished with your floppy preparation, copy all the ! files from it EXCEPT <filename>ldlinux.sys</filename> (which is created ! by syslinux) to the IDE device that you prepared earlier. You should now ! be able to boot from the IDE device. Once again be careful not to copy ! <filename>ldlinux.sys</filename> from the floppy otherwise your disk ! won't be bootable and you will have to go over the installation of ! syslinux on your hard disk again.</para> ! ! <para>An alternative methode is to prepare and load the packages onto ! your disk with pxeinstall.tgz described in the next chapter. Besides ! it's pretty fast, once you'cve setup the environment, it is ! useful if your router has no floppy drive.</para> ! </section> </section> ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Leaf-cvs-commits mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits