# # # CompactFlash Install-HOWTO # # # Original File # ------------- # http://Wrap-Box.net/CF # # # 14-Sep-04 amo Date-of-Birth # # # # 1. Get the CF to IDE adptors # # 2. Get a Spare disk to use as a development and debugging station # - plug in your 32MB or 64MB CF into the adaptor # # 3. Find a boot image you want ot use to install intot he CF # - it's best to make your own image # # - get a boot image off the net # http://Wrap-Box.net/CF/slack-10-64MB-CF.tgz # # - harden the image and customize per your requirements # - latest kernel # - apache/bind/iptables/... # - turn off or remove unused stuff # # 4. Copy the "development" CF into the compact flash # # # # # partition the CF ( on say /dev/hdc ) # fdisk /dev/hdc # # # # # # format it with a filesystem that will tolerate a hard power failure # # # mkreiserfs /dev/hdc1 # # - or mkdos ( if you're willing to run linux on top of dos ) # # # # mount it # mount /dev/hdc1 /mnt/cf # # # install the boot image into the CF # cd /mnt/cf && tar zxvfp /someplace/slack-10-64MB-CF.tgz # # # make the CF bootable # dd if=/boot/boot.xxxx of=/dev/hdc bs=446 count=1 # -- # -- easier to configure and run lilo or grub # -- # # 5. Move the CF to the wrap board and boot it # # 6. repeat the process till you're satisfied with the results on the wrap board # # # End of file