Quantcast
Channel: Hacking Linux Kernel
Viewing all articles
Browse latest Browse all 25

Modifying Bootup Scripts in initrd

0
0
Unpack it
--------
gunzip -c /minirt | cpio -idm

OR
>>mv minirt minirt.gz
>>gzip -d minirt.gz
>>cpio -i

modify initrc or init

Pack it back
------------
find | cpio -H newc -o > ../new_initrd_file
gzip -9 new_initrd_file

Viewing all articles
Browse latest Browse all 25

Latest Images

Trending Articles





Latest Images