📜 ⬆️ ⬇️

Cleaning windows from viruses using Ubuntu

Recently, many of my friends turn to me with a request to clean the computer from another sms beggar, after a lot of torment he came to an uncomplicated cleaning method.

1. Boot from the LiveCD or install the second Ubuntu system.
2. Install ClamAV antivirus
sudo apt-get install clamav
3. Update antivirus
sudo freshclam
4. Start scanning the partition with Windows
sudo clamscan -r -i --bell --move /tmp/ --log /tmp/virus.log /media/windows

Where:
-r :
--move : /tmp ( , . --remove )
--log : .
/media/windows :
--bell : ,
-i :


5. During the test, the debate for life with the subsequent recruitment to the ranks of Linux users.

Everything!
')
I, for now, this option works at 100%.
Here is a video of a simpler version with the clamav GUI add-on clamtk from a cute girl (antivirus update is missing in the video, I have point 3):




Update: If the Windows partition is suddenly not mounted, then:
1. We look where he is
sudo fdisk -l
should be in visible as ntfs section

2. We mount
$ sudo mkdir /media/windows
$ sudo mount /dev/sda2 /media/windows

Source: https://habr.com/ru/post/94408/


All Articles