When a virus locks up your Windows PC, an Ubuntu Live CD offers a lifeline. Using free tools like ClamAV, this simple method lets you scan and clean your system without booting into Windows. Whether malware is slowing you down or causing a full crash, these steps will get you back on track—no tech wizardry required!
Table Of Contents
show
- Step 1: Create a bootable Ubuntu Live CD or USB
- Step 2: Boot your PC from the Ubuntu Live CD/USB
- Step 3: Open a Terminal and install ClamAV
- Step 4: Update ClamAV virus definitions
- Step 5: Locate your Windows drive
- Step 6: Scan the Windows drive for viruses
- Step 7: Remove infected files if needed
- Step 8: Shut down and restart
- Conclusion
Step 1: Create a bootable Ubuntu Live CD or USB
- Go to ubuntu.com on a working computer.
- Download the latest Ubuntu ISO (e.g., Ubuntu 24.04 as of 2025).
- Use Rufus (Windows) or Etcher (cross-platform) to burn the ISO to a blank CD or USB drive (4 GB minimum).
- Plug the CD or USB into the infected PC.
Step 2: Boot your PC from the Ubuntu Live CD/USB
- Choose the CD or USB from the list.
- On the Ubuntu welcome screen, select Try Ubuntu to run it live without installing.
Step 3: Open a Terminal and install ClamAV
- Search for Terminal and open it.
- Type sudo apt update and press Enter to update the package list.
- Then, type sudo apt install clamav and press Enter to install ClamAV, a free antivirus program for Linux.
Step 4: Update ClamAV virus definitions
- In Terminal, type sudo freshclam and press Enter.
- This fetches the latest virus definitions. Wait until it finishes (you’ll see “Database updated”).
- You’ll need internet—connect via wi-fi or Ethernet if you can.
Step 5: Locate your Windows drive
- Click to mount it. Note the path, typically /media/user/Windows (replace “user” with your Live session username—type whoami in Terminal to check).
Step 6: Scan the Windows drive for viruses
- In Terminal, type clamscan -r /media/user/Windows (use your actual path) and press Enter.
- The -r flag scans all files and folders recursively. It may take time based on drive size.
- Check the output—it’ll flag infected files (e.g., “file.exe: Trojan.Generic FOUND”).
Step 7: Remove infected files if needed
- If threats are found, note their paths from the scan results.
- Type rm /media/user/Windows/path/to/infected/file.exe (adjust the path) in Terminal to delete them. Be careful—only remove confirmed malware.
Step 8: Shut down and restart
- When done, click the power icon (top-right) and choose Shut Down.
- Remove the CD or USB when prompted.
- Restart your PC—it should boot into Windows if the virus was the issue.
Conclusion
Using an Ubuntu Live CD to scan your Windows PC is a straightforward fix for virus woes. This knowledge will ensure you are protected, and you can proceed worry-free using your Windows PC. With ClamAV, you can detect and remove threats in a few steps, then boot back into Windows as good as new. It’s a handy trick for anyone facing malware—quick, free, and effective!

