eLtévelyedés KDE világba 2. (beta1)

Hát most a SoSe van soron. Átmásolgattam stb.. viszont a boot során valahol keresi az optikai meghajtót, ami ugye nincs... ennek a kiiktatásán még dolgozom. Majd utána írok róla bővebben.

Hozzászólások

Hogy biztos légy a dolgodban:


whitehawk@gep ~ $ gzip -dc /mnt/cdrom/boot/initrd.img > initrd
whitehawk@gep ~ $ file ./initrd

Ha itt nem ext2 fájlrendszerre mutató infókat látsz:


whitehawk@gep ~ $ mkdir initrd_unpack
whitehawk@gep ~ $ ( cd initrd_unpack; cpio -x < ../initrd )

Ha ext2:


whitehawk@gep ~ $ mkdir initrd_unpack m
whitehawk@gep ~ $ sudo mount -oloop initrd m -t ext2
whitehawk@gep ~ $ cp -raf m/* initrd_unpack
whitehawk@gep ~ $ sudo umount m

ext2 esetén így visszacsomagolni:


whitehawk@gep ~ $ dd if=/dev/zero of=initrd.new bs=1M count=48
whitehawk@gep ~ $ mke2fs initrd.new
whitehawk@gep ~ $ sudo mount -oloop initrd.new m -t ext2
whitehawk@gep ~ $ cp -raf initrd_unpack/* m/
whitehawk@gep ~ $ sync && sudo umount m
whitehawk@gep ~ $ gzip < initrd.new > initrd_new.img

A cpio-s legyen HF.