Not able to edit init script under initrd in centos 7(32 bit)
Hi all,
I am trying to edit init script under initrd image, But I am not able to edit it.
I followed below steps :
mkdir /tmp/initrdmount
# Copied the image from the centos 7.2(32 bit) source code and uncompressed -->\CentOS-7-i386-Everything-1511\isolinux\initrd
cp Desktop\CentOS-7-i386-Everything-1511\isolinux\initrd.img /tmp/initrd.img.gz
gunzip -v /tmp/initrd.img.gz
cd /tmp/initrdmount
cpio -i < /tmp/initrd.img
Under /tmp/initrdmount --> init script available.
I am not able to view/edit this file.
If any one have any Idea then Please help or give suggestion to edit init script. It will help me lot.
Thanks in advance.
|