Hard-Disk HDD Disk

you might think that you have viruses on your Windows partition. Or probably you have big problems with viruses on your Windows partition.

You can use Linux to scan and clean Windows partitions from viruses. For anyone that doesn’t know, you are able to use dual-boot, by having Windows operating system and Linux operating system on your computer.

Install Ubuntu Linux Alongside Windows 10

How to Install Linux Ubuntu on Windows 7 ?

Windows and Linux Dual Booting

To scan your Windows partition from Ubuntu or any Linux I would recommend you the following Antivirus Programs:

AVG Free

First I would like to recommend you AVG Free. It is one of the most powerful antiviruses here. It also provides antivirus protection for Windows/Linux/FreeBSD for free.

AVG Free is a version of the AVG antivirus which is free for private and non-commercial use. There is no graphical interface available for the current Linux versions of AVG.

You will have to download AVG FREE here.

After installing it, reboot the PC to initialize it, or you can just run the following command in the Terminal window:

Run daemons at boot or on-demand

By default, the AVG package sets up several daemons to start when the system is booted. If you only run scans occasionally, you may not want to run the daemons all the time. In this case, you can disable the daemons’ automatic starting by running:

sudo update-rc.d avgd disable

Then, when you want to run a scan, start the daemons by running:

sudo /etc/init.d/avgd start

You can stop the daemons afterwards by running:

sudo /etc/init.d/avgd stop

If you decide later that you want to run the daemons at boot again, simply reinstall the package.

Update virus definitions

After installing the package, you should update the virus definitions by running:

sudo avgupdate

Scan files and directories

You can scan files and directories on-demand by running avgscan. Refer to the avgscan man page for details. A thorough, “paranoid” scan, storing the report in a file, might look like:

avgscan -aPcijk -r /tmp/avgscan.log /path1 /path2

Avast! Linux Home Edition

Also one of the best antiviruses you can find. To use avast we will have to download it and install.

First, download and install Avast! Linux Home Edition.

Then launch Avast and update its Antivirus Database Definitions.

Then you will have to mount your Windows partition. Check: Automount NTFS Windows Partition on Linux

Avast Linux Scan

The to start scanning you will have to click on Selected folders and browse your Windows partition, click OK and then click Start to scan.

I hope that this tutorial helped you a lot in removing viruses from your Windows partition using Linux. If you know better ideas of doing this, please share in the comments bellow.

Leave a Reply