Article Title: How to fix virus-infected Grep programs in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open-source, and other basic classification, General viruses will mainly infect executable files under/bin.
After the system is restarted, the system stops booting in init version 2.85.
Or when welcome appears, it will tell you that a segment error occurs in a line of/etc/rc. d/rc. sysinit.
Solution:
Boot with the corresponding boot disc and enter linux rescue at the boot: Prompt
When you are prompted to find the previously installed system, select OK.
Then run the following command:
#cd /mnt/source#cp coreutils-4.5.3-26.i386.rpm cpio-2.5-3.i386.rpm gawk-3.1.1-9.i386.rpm grep-2.5.1-16.i386.rpm iputils-20020927-11.i386.rpm mount-2.11y-31.1.1AX.i386.rpm net-tools-1.60-20.i386.rpm rpm-4.2.1-4.6.i386.rpm /mnt/sysimage/#chroot /mnt/sysimage#cd /#rpm -ivh --force rpm-4.2.1-4.6.i386.rpm#for i in *.rpm>do>rpm -ivh --force $i>done
|
After installing these rpm packages, You can restart the system.