# # InitRD.floppy.txt # ================= # - read by InitRD-RootFS.sh.txt ( was Make.RD.Loop.sh ) # # # # # list of files for creating a minimal initrd.gz to untar RootFS.tgz from floppy into memory # # # # # Original Files # -------------- # http://Linux-Boot.net//Boot.Standalone/Scripts/InitRD.Floppy.txt # # # ---------------------------------- # -- Standalone Boot Floppy Howto -- you need a high quality drive and floppy media # ---------------------------------- # a) fdformat [ -n ] /dev/fd0u2880 # b) get the minimum list of binaries, libs and files for initrd-floppy.gz # c) create /linuxrc # d) copy initrd-floppy.gz and vmlinuz to /mnt/floppy/boot # e) lilo -C /etc/lilo.fd.conf # boot=/dev/fd0 # root=/dev/fd0 # # # 20-Nov-00 amo Date-of-Birth # 04-Apr-05 amo Clean up InitRD for floppy # # # # # # # Copy minimum /dev # ----------------- /dev/loop /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 # /dev/ram /dev/ram0 /dev/ram1 /dev/ram2 /dev/ram3 # /dev/initrd # /dev/fd0 /dev/fd0u1440 /dev/fd0u1722 # /dev/systty /dev/tty? # /dev/console /dev/null /dev/zero # # # Copy minimum /etc # ------------------ # ldconfig -f initrd/etc/ld.so.conf -C initrd/etc/ld.so.cache # /etc/ld.so.conf /etc/fstab # # # # For init=/bin/bash # #etc/HOSTNAME /etc/DIR_COLORS /etc/inputrc # # # display as local time # --------------------- /etc/localtime /etc/adjtime /usr/share/zoneinfo/localtime /sbin/hwclock # # # Copy minimum set of commands to load the rootfs into memory # ----------------------------------------------------------- # - i give up, use 2.88MB floppy instead # /bin/bash /bin/sh /bin/cat /bin/date /bin/df /bin/hostname /bin/ls /bin/mount /bin/more /bin/ps /bin/tcsh /bin/tar # /usr/bin/whoami # # # for hard coded cmds /sbin/mount # # # For Networking # /etc/resolv.conf /bin/ping /sbin/ifconfig /sbin/route # # # # Which libraries are required # ---------------------------- # # mimimum required libs # # ldd /bin/gzip ; ldd /bin/mount ; ldd /usr/sbin/chroot ; ldd /sbin/modprobe # /lib/libdl* /lib/libc* /lib/ld* # # # # for buffer overflow protection /etc/ld.so.preload /lib/libsafe* # # # ldd /bin/bash ; ldd /usr/bin/vi /lib/libtermcap* # # ldd /bin/tcsh /lib/libncurses* /lib/libgpm* # # ldd /bin/tar ( gzip) ; ldd /bin/ls ; ldd /bin/date /lib/librt* /lib/libpthread* # # # ldd /bin/ps /lib/libproc* # # # ldd /usr/bin/ping ; ldd /usr/bin/vi ; ldd /usr/bin/tset ( reset, clear for vi ) /lib/libresolv* /lib/libncursesw* # # for ping xxxxxx.com /lib/libnss_dns* # # # # End of file