vytvorenie butovatelnych diskiet disketa boot rdevom povedat image ze ramdisk bude a ze ma cakat na disketu lilo nakonfigurovat na disketu a povedat velkost ramdisku zkomprimovat root fs pozri dolu zkopirovat rootfs.gz na root disketu jedno z drastickych uspornych opatreni bolo odmazavanie riadkov z termcapu PRILOHY /root/old/Bootdisks |-- boot | |-- rdev.doc | `-- vmlinuzfd |-- images.doc |-- inram |-- lilo | |-- lilo.conf | `-- lilo.doc |-- root | |-- bin | | |-- bash | | |-- cat | | |-- chmod | | |-- chown | | |-- cp | | |-- dd | | |-- df | | |-- echo | | |-- kill | | |-- ln | | |-- ls | | |-- mkdir | | |-- mknod | | |-- more | | |-- mount | | |-- mv | | |-- ps | | |-- rm | | |-- rmdir | | |-- sh -> bash | | |-- sync | | |-- umount | | |-- vi -> vim | | `-- vim | |-- dev | | |-- cdrom -> hdb | | |-- console | | |-- fd0 | | |-- ftape -> rft0 | | |-- hda | | |-- hda1 | | |-- hda2 | | |-- hda3 | | |-- hda4 | | |-- hda5 | | |-- hda6 | | |-- hda7 | | |-- hda8 | | |-- hdb | | |-- inportbm | | |-- kmem | | |-- mem | | |-- null | | |-- ram | | |-- rft0 | | |-- sbpcd | | |-- systty -> console | | |-- tty | | |-- tty0 | | |-- tty1 | | |-- tty2 | | |-- tty3 | | |-- tty4 | | |-- tty5 | | |-- tty6 | | |-- tty7 | | |-- tty8 | | |-- tty9 | | `-- zero | |-- etc | | |-- HOSTNAME | | |-- fstab | | |-- group | | |-- inittab | | |-- issue | | |-- ld.so.cache | | |-- motd | | |-- passwd | | |-- profile | | |-- rc.d | | | |-- init.d | | | | |-- autofs | | | | |-- functions | | | | |-- random | | | | `-- single | | | |-- rc | | | |-- rc.local | | | |-- rc.sysinit | | | `-- rc1.d | | | |-- K08autofs -> ../init.d/autofs | | | |-- S00single -> ../init.d/single | | | `-- S20random -> ../init.d/random | | |-- shells | | `-- termcap | |-- lib | | |-- ld-2.0.5.so | | |-- ld-linux.so.2 -> ld-2.0.5.so | | |-- libc-2.0.5.so | | |-- libc.so.6 -> libc-2.0.5.so | | |-- libcom_err.so.2 -> libcom_err.so.2.0 | | |-- libcom_err.so.2.0 | | |-- libext2fs.so.2 -> libext2fs.so.2.3 | | |-- libext2fs.so.2.3 | | |-- libncurses.so -> libncurses.so.3.0 | | |-- libncurses.so.1.9.9e | | |-- libncurses.so.3.0 -> libncurses.so.1.9.9e | | |-- libproc.so.1.2 | | |-- libtermcap.so.2 -> libtermcap.so.2.0.8 | | |-- libtermcap.so.2.0.8 | | |-- libutil-2.0.5.so | | |-- libutil.so.1 -> libutil-2.0.5.so | | |-- libuuid.so.1 -> libuuid.so.1.1 | | `-- libuuid.so.1.1 | |-- mnt | |-- proc | |-- sbin | | |-- e2fsck | | |-- fdisk | | |-- fsck | | |-- fsck.ext2 | | |-- halt | | |-- init | | |-- mingetty | | |-- mke2fs | | |-- reboot -> halt | | |-- runlevel | | |-- telinit -> init | | `-- update | |-- tmp | |-- usr | | |-- adm | | `-- lib | `-- var | |-- run | | `-- utmp | `-- tmp `-- rootfs.gz 21 directories, 116 files prva disketa by mala byt boot disketa vytvorte podla pokynov v boot a lilo rootfs.gz je zkomprimovany fs adresar root v tejto kniznici po spusteni inram ked je hotovy staci skopirovat na disketu ukazka toho suboru #!/bin/sh # Directory structure dependant !!! dd if=/dev/zero of=/dev/ram0 bs=1k count=5900 mke2fs -m 0 /dev/ram0 mount -t ext2 /dev/ram0 /mnt/ram cd root/ find . -print | cpio -pmd /mnt/ram umount /mnt/ram cd .. dd if=/dev/ram0 of=rootfs bs=1k count=5900 gzip -9 rootfs kernel imagu (zImage vmlinuz a pod.) treba povedat ze ma cakat na root floppy a ze root floppy sa zacina od bloku nula rdev -r vmlinuzfd 49152 az potom operujeme s lilom Nepodarilo sa mi povedat kernelu aky velky ma byt ramdisk preto pouzivam lilo treba urobit ext2 floppy vytvorit na nej /boot do bootu (napr. /mnt/floppy/boot ) treba skopirovat zImage (alebo vmlinuz a pod) a boot.b a map potom /sbin/lilo -Cpatricny subor tykajuci sa floppy