Linux Rescue CD

Basis: ivrescue-1.1.7

mount -o loop ivrescue-1.1.7.iso tmp
mkdir -p bootcd
cd bootcd
( cd ../tmp ; tar cf - * ) | tar xpf -
cd ..
# cramfs 
mount -o loop bootcd/usr.img oldusr
mkdir -p usr
cd usr 
( cd ../oldusr ; tar cf - *) | tar xpf -

Jetzt in /usr/lib/modules die entsprechenden Kernelmodule einbinden Dann cramfs neu erstellen:

mkcramfs usr usr.img
cp usr.img bootcd/usr.img

Passenden Kernel ins isolinux Verzeichnis kopieren

cp /boot/vmlinuz-2.4.21-20.EL bootcd/isolinux/rescue.lnx
mkisofs -o ../bootcd.iso -b boot/isolinux/isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info
-table .
 
wissen/security/recovery/rescuecd.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de