# # Make.Loop.txt # =============== # - read by Make.RD.Loop.sh # - list of files for creating a minimal rootfs.gz ( linux running in memory ) # # # Another Reference # ----------------- # http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Bootdisk-HOWTO.html#LISTINGS # # # 20-Nov-00 amo Date-of-Birth # 06-Nov-04 amo Split off list of files into Make.InitRD.txt and Make.Loop.txt # 10-Mar-05 amo Remove files NOT in Suse-92 and add Files and Binaries for Suse-9.2 # # # # # # Copying /root ( color console ) # ------------- #root/.alias #root/.bashrc # # # Copy the kernel modules as needed # --------------------------------- /lib/modules/2.4.27-ow1/modules.dep #lib/modules/2.4.27-ow1/kernel/drivers/sound #lib/modules/2.4.27-ow1/kernel/drivers/usb # # # Copy minimum /dev # ----------------- #dev/loop - not Suse-92 /dev/loop0 /dev/loop1 /dev/loop2 /dev/loop3 /dev/ram /dev/ram? /dev/initrd # /dev/kmem /dev/mem /dev/shm /dev/port /dev/rtc # /dev/hda /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 /dev/hda5 /dev/hda6 /dev/hda7 /dev/hda8 /dev/hda9 /dev/hda10 /dev/hda11 /dev/hda12 /dev/hdc /dev/hdc1 /dev/hdc2 /dev/hdc3 /dev/hdc4 # /dev/console #dev/systty # not Suse-9.2 /dev/tty1 /dev/tty2 /dev/tty3 /dev/tty4 /dev/tty5 /dev/tty6 # # ssh uses tty /dev/tty /dev/ttyp? # /dev/null /dev/zero # /dev/fd /dev/stdin /dev/stdout /dev/stderr /dev/initctl /dev/pts /dev/urandom /dev/random # # # for mouse /dev/mouse /dev/psaux # # # for virtual Consoles # /dev/vcs0 /dev/vcs1 /dev/vcs2 /dev/vcs3 /dev/vcs4 /dev/vcs5 /dev/vcs6 # /dev/vcsa0 /dev/vcsa1 /dev/vcsa2 /dev/vcsa3 /dev/vcsa4 /dev/vcsa5 /dev/vcsa6 # # # Copy the Files for Booting # -------------------------- # boot files is NOT needed in the loop device # we're booting from the CF # #/boot/map - recreated by running lilo #/boot/boot.b #boot/config-2.4.27 # # RootFS needs vmlinuz to fix: after, pivot_root & chroot whcih gives "attempt to kill init" # /boot/vmlinuz-2.4.29smp /boot/System.map-2.4.29smp /boot/config-2.4.29smp # # # Copy minimum /etc # ------------------ # #etc/slackware-version /etc/SuSE-release # /etc/ld.so.conf /etc/ld.so.cache #etc/ioctl.save # - not Suse-9.2 # /etc/passwd /etc/shadow /etc/group /etc/fstab # /etc/login.* /etc/gettydefs /etc/screenrc /etc/securetty /etc/motd /etc/issue # /etc/rc.d # /etc/inittab /etc/inputrc /etc/profile /etc/protocols /etc/services /etc/shells /etc/termcap #etc/termcap-Linux # not Suse-9.2 /etc/DIR_COLORS # # For network config /etc/HOSTNAME /etc/exports #etc/ntp # not Suse-9.2 /etc/ntp.conf /etc/resolv.conf /etc/hosts /etc/host.conf /etc/hosts.allow /etc/hosts.deny /etc/localtime /etc/nsswitch.conf #etc/random-seed # not Suse-9.2 # # For autofs /etc/auto.master /etc/auto.misc #etc/auto.net # not Suse-9.2 /usr/lib/autofs # #etc/lilo.hd?.conf /etc/lilo.fd.conf #etc/lilo.sd?.conf /etc/syslog.conf #etc/sysctl.conf # # # # # Copy minimum set of commands to load the rootfs into memory # ----------------------------------------------------------- # # hostname,whoami needed by chroot # /bin/ash /bin/mount /bin/umount # /bin/bash /bin/sh /bin/dd /bin/login /bin/mkdir /bin/rmdir /bin/gzip /bin/tar # # ls, df, cat for debugging # /bin/awk /bin/cat /bin/chmod /bin/chown /bin/chgrp #bin/cut # not in Suse-9.2 /bin/cp /bin/date #bin/dircolors # not in Suse-9.2 /bin/dmesg /bin/df #bin/du # not in Suse-9.2 /bin/egrep #bin/false /bin/fgrep /bin/gawk* /bin/grep #bin/gunzip #bin/head # not in Suse-9.2 /bin/hostname #bin/killall # not in Suse-9.2 /bin/ls /bin/ln #bin/mknod /bin/more /bin/mv /bin/ps #bin/pwd /bin/rm /bin/sed #bin/setterm # not in Suse-9.2 /bin/stty /bin/sleep /bin/su /bin/sync /bin/touch #bin/true /bin/uname #bin/which # not in Suse-9.2 #bin/zcat # # for networking #bin/ipmask # not in Suse-9.2 /bin/ping # # some scripts have it hardcoded #sbin/mount # not in Suse-9.2 # /sbin/mkswap /sbin/swapon /sbin/swapoff # # for creating/formatting/checking ramdisks /sbin/losetup # /sbin/fsck.ext3 /sbin/mke2fs # #sbin/fsck.jfs #sbin/jfs_fsck # # #sbin/accton # not in Suse-9.2 /sbin/agetty /sbin/e2fsck /sbin/fsck /sbin/fdisk /sbin/getty /sbin/halt /sbin/hwclock /sbin/init /sbin/killall5 #sbin/ldconfig /sbin/pidof /sbin/poweroff /sbin/reboot /sbin/shutdown /sbin/sulogin /sbin/swapon /sbin/swapoff /sbin/sysctl /sbin/telinit /sbin/udev #sbin/update # # For modules /sbin/depmod /sbin/insmod /sbin/lsmod /sbin/modprobe /sbin/rmmod #sbin/*mod*.old # not in Suse-9.2 # # # For Networking # /sbin/ifconfig /sbin/route # # # For Firewalls # #usr/sbin/iptables #usr/lib/iptables #lib/modules/2.4.27-ow1/kernel/net/ipv4/netfilter # # /usr/sbin/automount #usr/sbin/klogd # not in Suse-9.2 /usr/sbin/gpm #usr/sbin/hdparm # not in Suse-9.2 /usr/sbin/ntpdate /usr/sbin/ntpd #usr/sbin/syslogd # not in Suse-9.2 # # /usr/bin/basename /usr/bin/chroot /usr/bin/crontab /usr/bin/diff #usr/bin/elvis /usr/bin/id /usr/bin/find #usr/bin/fuser # not in Suse-9.2 #usr/bin/head /usr/bin/last /usr/bin/ldd /usr/bin/less /usr/bin/passwd /usr/bin/pico /usr/bin/strace /usr/bin/tail /usr/bin/top #usr/bin/tr #usr/bin/traceroute # not in Suse-9.2 /usr/bin/vi /usr/bin/whoami /usr/bin/w /usr/bin/wc /usr/bin/who # /usr/bin/reset /usr/bin/clear /usr/bin/tset # # for pico, vi(elvis) /usr/share/terminfo/l/linux /usr/share/terminfo/l/linux-m /usr/share/terminfo/l/linux-nic /usr/share/terminfo/v/vt100 #usr/share/terminfo/v/vt-100 # # for source code --> /usr/local/src --> /mnt/LOCAL.ram1 # =============== #usr/src # # # for cron # -------- # /etc/rc.d/rc.crond #usr/sbin/crond # not in Suse-9.2 #var/spool/cron # # # For Sanity Checking # ------------------- /usr/bin/md5sum # # # for SSH # --------- /etc/ssh/moduli /etc/ssh/ssh_config /etc/ssh/sshd_config /usr/sbin/sshd /usr/bin/ssh-keygen /usr/bin/ssh /usr/bin/scp # # ldd /usr/sbin/sshd ( crypt* in both places ) /lib/libcrypt* /lib/libutil* /lib/libnsl* # # ldd /usr/sbin/sshd ( crypt* in both places ) /usr/lib/libcrypt* /usr/lib/libz* # # # # # # for sound files # --------------- # /etc/rc.d/rc.sound.EPIA #dev/dsp #dev/dsp0 #usr/bin/play #usr/bin/sox #usr/lib/libogg* #usr/lib/libvorbis* #usr/lib/libmad* #usr/share/sounds/phone.wav -- too big #usr/share/sounds/gaim/arrive.wav # # # for NFS - fits into 20K but CF too small # - not needed as a nfsclient # - needed for nfs server # -------- #sbin/rpc.portmap # not in Suse-9.2 #usr/sbin/rpc.lockd #usr/sbin/rpc.mountd #usr/sbin/rpc.nfsd #usr/sbin/rpc.rquotad #usr/sbin/rpc.statd # # # # For Mail # =========== # ldd /usr/bin/mail ; ldd /usr/sbin/sendmail #usr/lib/libssl* #lib/libdb-* # #etc/mail/access.db #etc/mail/aliases.db #etc/mail/local-host-names /etc/mail/sendmail.cw #etc/mail/sendmail-8.13.1.cf /etc/mail/sendmail.cf #etc/mail/submit-8.13.1.cf /etc/mail/submit.cf # #usr/sbin/sendmail #usr/bin/nail #usr/bin/mail #usr/bin/procmail #usr/bin/elm ##sr/bin/mutt - 538K ##sr/bin/pine - 3.45M # # see /root/ramdisk.sh for directory permssions on # /var/spool/{mail,mqueue,clientmqueue} # # # 10-Mar-05 amo Remove files NOT in Suse-92 and add Files and Binaries for Suse-9.2 # ---------------------------------------------------------------------------------- /bin/fuser # /usr/bin/cut /usr/bin/dircolors /usr/bin/du /usr/bin/head /usr/bin/killall /usr/bin/setterm # /usr/sbin/accton /usr/sbin/cron /usr/sbin/traceroute # /sbin/klogd /sbin/hdparm # /sbin/portmap #sbin/rcportmap /sbin/syslogd # # libs for Suse-9.2 #lib/linux-gate* /lib/libacl* /lib/libattr* /usr/lib/libtermcap* /usr/lib/libgpm* # # End Suse-9.2 Stuff # # # =========================================================== # Which libraries are required # ---------------------------- # # mimimum required libs # # ldd /bin/gzip ; ldd /bin/mount ; ldd /usr/sbin/chroot ; ldd /sbin/modprobe # ld.so = loader lib for a.out # ld-linux.so = loader lib for ELF /lib/ld* /lib/libc* /lib/libdl* # # for buffer overflow protection #lib/libsafe* # # ldd /bin/bash ; ldd /usr/bin/vi #lib/libtermcap* # not in Suse-9.2 # # ldd /bin/tar ( gzip) ; ldd /bin/ls ; ldd /bin/date /lib/librt* /lib/libpthread* # # ldd /sbin/mke2fs ; ldd /sbin/e2fsck ; ldd /sbin/jfs_fsck /lib/libext2fs* /lib/libcom_err* /lib/libblkid* /lib/libuuid* /lib/libe2p* # # ldd /bin/more ; ldd /usr/bin/top ; ldd /usr/bin/pico ; ldd /bin/setterm # ldd /usr/bin/pico ; ldd /usr/bin/less /lib/libncurses* #lib/libgpm* # not in Suse-9.2 # # ldd /usr/bin/sleep /lib/libm* # # ldd /sbin/sysctl ; ldd /usr/bin/top #lib/libproc.* # no in Suse-9.2 # # ldd /usr/bin/ping ; ldd /usr/bin/vi ; ldd /usr/bin/tset ( reset, clear for vi ) /lib/libresolv* #lib/libncursesw* # not in Suse-9.2 # # for ping xxxxxx.com /lib/libnss_dns* # # libpam_misc # libpwdb # # /lib/libnss_compat* /lib/libnss_files* /usr/lib/libnss_compat* /usr/lib/libnss_files* # # # libm and libstdc are needed by telnet-client # # End of file