How to Create an Ubuntu-based Bootable USB Anti-virus Rescue Kit to Scan a Windows Drive

30. October 2010 SysAdmin 0

>

One thing I like about Linux is its versatility. It has no hardware restriction, unlike other operating systems. So versatile, in fact, that you can even install the whole system on a bootable USB flash drive.

One advantage of having a bootable Linux anti-virus rescue USB is that you can scan a malware-infested drive without booting into your native operating system. You can just boot from the flashdrive and scan the drive from there.

Step 1. Create the Ubuntu Live USB.

[*Download Ubuntu ISO from here *](http://www.ubuntu.com/)

[*Create the Ubuntu Live USB (from Windows) *](http://ubuntuforums.org/showthread.php?t=811397)

[*Create the Ubuntu Live USB (from an Ubuntu Live CD)*](http://www.ehow.com/way_5278909_steps-boot-flash-drive.html)

[*Create the Ubuntu Live USB (Ubuntu Startup Disk Creator with screenshots)*](http://www.phoronix.com/scan.php?page=article&item=ubuntu_usb_creator&num=1)

Step 2. Boot from your Ubuntu Live USB.

Step 3. Open Mozilla Firefox and download Avira AntiVir Personal – FREE Antivirus for Linux.

[*Download Avira binary*](http://dlpe.antivir.com/package/wks_avira/unix/en/pers/antivir_workstation-pers.tar.gz)

[*Download License file for Avira*](http://dlce.antivir.com/down/windows/hbedv.key)

Step**4. If the downloaded Avira tar file location is not in your /home/ubuntu (~/) folder, copy or move the file (together with the license file – hbedv.key) into that folder (for easier installation).

[![](https://i297.photobucket.com/albums/mm224/nugencs/tarloc.jpg)](https://i297.photobucket.com/albums/mm224/nugencs/tarloc.jpg)

Step 5. Extract the tar file by double-clicking (GUI) or using the terminal.

GUI
[![](https://i297.photobucket.com/albums/mm224/nugencs/extract.jpg)](https://i297.photobucket.com/albums/mm224/nugencs/extract.jpg)
Terminal
*Launch the Terminal (Applications->Accessories->Terminal)*
*Extract the tar file “tar xvpzf antivir_workstation-pers.tar.gz”*
You /home/ubuntu folder, after extraction, should contain the Avira installer
[![](https://i297.photobucket.com/albums/mm224/nugencs/installer.jpg)](https://i297.photobucket.com/albums/mm224/nugencs/installer.jpg)
Step 6. Using the Terminal, change current directory into the Avira installer folder/directory.* “cd antivir-workstation-pers-3.1.3.4-1″*
Step 7. Install Avira (follow on-screen instructions, but answer “n” when it prompts you to install dazukofs). *“sudo ./install”*
Step 8. Change location to your /home/ubuntu directory (*“cd ~/”*) and copy the license file to /usr/lib/AntiVir directory. *“sudo cp hbedv.key /usr/lib/AntiVir”*

Step 9. Start avguard (*“sudo avguard start”*), then update the virus database (may take a while). *“sudo /usr/lib/AntiVir/guard/avupdate –product=Guard*”

Step 10. Mount the drives you want to scan and run Avira with the following options. *“sudo avscan –scan-mode=all -e -del /media”. *This will scan all files, try to repair the infected ones, and delete the ones it could not repair. Read the manual for more info (/home/ubuntu/antivir-workstation-pers-3.1.3.4-1/doc).

Other advantages of using the Live USB:

**- Recover or access data from a drive with corrupted operating system.

– Recover a damaged partition table.

– Resize or repartition a drive.

– Boot onto other computers that may be unsecure, unsafe, or may have virus/malware.

– Avoid keyloggers or other programs designed to steal information when logging into your important accounts such as a bank account.

– Diagnose various computer problems such as hardware and software issues.

– many more.

Read more: [http://pinoy-computing-tips.blogspot.com/2010/03/how-to-create-ubuntu-based-bootable-usb.html#ixzz13rMbGn85](http://pinoy-computing-tips.blogspot.com/2010/03/how-to-create-ubuntu-based-bootable-usb.html#ixzz13rMbGn85)


Leave a Reply

Your email address will not be published.