2 Sep

Sadly this is a bug that happens to most laptops such as Acer, Dell and HP. If you encounter such problem, here is how you can continue using Avira AntiVir Rescue System without relying on the GUI.
Just boot up the Avira AntiVir Rescue System as normal. Then press the number 1, hit enter and it should start loading vmlinuz and initrd.gz.

When the graphical user interface is fully loaded, simultaneously press Ctrl+Alt+Backspace.

That will bring you in to a black colored console screen that looks like DOS. Before you start typing anything, please be informed that the antivirus is programmed to type in German keyboard layout. For example, when you press the – key on your keyboard, you’ll notice that it chances to ß. Refer to the image below on what to type to get what character.

First we need to update the virus definition to the latest version. To do that, type the following command. There are TWO dashes.
antivir --update
To start a full scan, type the following command below. In Linux, everything is case sensitive. The Devices must have a capital D. What the command below does is scan everything on your hda1, tries to repair the infected files and rename the non-repairable files by adding a .xxx extension. You can also substitute the -ren command with -del to auto delete the non repairable files.
antivir -s -e -ren /media/Devices/hda1
When Avira AntiVir Rescue System has finished scanning, you should be able to boot in Windows. You can search in Windows for *.xxx files. These are the files that are non-repairable by Avira. You can get a list of command lines by typing antivir --help but you won’t be able to scroll up to see all the commands. So here are all the commands for your convenience.
Usage is: antivir [options] [path[\*.ext]] [*.ext]
where options are:
--help .......... display this help text (abbreviation: -h or -?)
--scan-mode=applies "extlist", "smart" or "all" scan methods:
extlist scans files according to their filename extension,
smart detects which files to scan from their name/content,
all scans all files regardless of their name or content
--allfiles ...... synonymous for --scan-mode=all
--version ....... show version information
--info .......... show list of recognized forms
--update ........ update antivir
--check ......... used with --update to check for updates
--temp=(dir) .... specify the directory for temporary files
--pid-dir=(dir) . specify the directory for PID files
--home-dir=(dir) location of executable, VDF and key files
-C (filename) ... name of configuration file
-s .............. scan subdirectories
--scan-in-archive files in archives will be extracted and scanned
-z .............. synonymous for --scan-in-archive (scan in archives, too)
--archive-max-size=N, --archive-max-recursion=N, --archive-max-ratio=N
anti DoS feature: do not scan archive content which would
exceed the given file size, nesting level or compression
factor limits on extraction (0 means unlimited)
--archive-max-count=N anti DoS feature: do not scan archive content which
has more than N files in a recursion level
--scan-in-mbox .. scan mailbox folders, too (might be time consuming!)
--heur-macro .... enable macro heuristics
--heur-nomacro .. disable macro heuristics
--heur-level=N .. setup heuristics level: 0=off, 1-3=low-high
-nolnk .......... do not follow symbolic links
-onefs .......... do not cross file systems while following links
-noboot ......... do not check any boot records
-nombr .......... do not check any master boot records
-nobreak ........ disable Ctl-C and Ctrl-Break
-nodef ......... do only check the given file types (eg. *.DOC)
-cf(filename) ... activate CRC check and name the database
-cv ............. calculate CRC over the whole file length (default 16k)
-cn ............. insert new files into the database
-cu ............. recalculate CRC values and update the database
-v .............. scan files completely (slower with possible false alerts)
-nopack ......... do not scan inside packed files
-e [-del | -ren] repair concerning files if possible
[-del] non-repairable files will be deleted
[-ren] non-repairable files will be renamed
-ren ............ rename concerning files (*.COM->*.XXX,...)
-del ............ delete concerning files
--moveto=(dir) .. quarantine concerning files
-dmdel .......... delete documents containing suspicious macros
-dmdas .......... delete all macros if one appears to be suspicious
-dmse ........... set exit code to 101 if any macro was found
-r1 ............. just log infections and warnings
-r2 ............. log all scanned paths in addition
-r3 ............. log all scanned files
-r4 ............. select verbose log mode
-rs ............. select single-line alert messages
-rf(filename) ... name of log file
%d = day, %m = month, %y = year (two digits each)
-ra ............. append new log data to existing file
-ro ............. overwrite existing log file
-q .............. quiet mode
-lang[:|=]DE .... use German texts
-lang[:|=]EN .... use English texts
-once ........... run only once a day
-if(dateiname) .. antivir uses the given ini file
--with-(type) ... detect other (non-virus but unwanted) software, too;
type may be e.g. "dial", "joke", "game", etc,
there is a --with-alltypes shortcut
--without-(type) like --with-(type), but disables this type
--alltypes ...... synonymous for --with-alltypes (obsolete)
--alert-urls=(yes|no) print URL for more detailed information on alerts
--warnings-as-alerts exit with a return code as if a concerning file
had been found when warnings have been issued
--exclude=(file) exclude files or directories from scan
--log-email=(addr) send out scan report by email, too
@(rspfile) ...... read parameters from the file (rspfile)
with each option in a separate linelist of return codes:
0: Normal program termination, nothing found, no error
1: Found concerning file or boot sector
2: An alert was found in memory
3: Suspicious file found
100: antivir only has displayed this help text
101: A macro was found in a document file
102: The option -once was given and antivir already ran today
200: Program aborted, not enough memory available
201: The given response file could not be found
202: Within a response file another @(rsp) directive was found
203: Invalid option
204: Invalid (non-existent) directory given at command line
205: The log file could not be created
210: antivir could not find a necessary dll file
211: Programm aborted, because the self check failed
212: The file antivir.vdf could not be read
213: An error occured during initialization
214: License key not found
[ Download Avira AntiVir Rescue System ]
[tags]avira, rescue, antivirus, console, command[/tags]
: Copying this article to your website is strictly NOT allowed. However, if you like this article, you can use the HTML code below to directly link to this article.
Free Avira AntiVir Rescue System CD to Clean Unremovable Virus BitDefender Offers FREE Rescue CD with Ability to Auto Update Virus Definition Avira AntiVir V9 Review – Best Free Antivirus FREE F-Secure Rescue CD 3.00 to Clean Virus from Unbootable Windows Kaspersky Offers FREE Rescue Disk To Clean Virus Without Booting in Windows FREE GData BootCD 2010 Scans for Virus With Dual Antivirus Engine Avast and BitDefender FREE Dr.Web LiveCD To Scan and Remove Virus Without Starting Windows
Have computer technical problems? Get FREE help from Raymond.CC FORUM
Thank you Raymond, very helpful, even though not easy for me to understand all those command. i will just copy all the command above to word in case i need it later, i hope you allow me, thank you :)
Linux is just the best operating system
Only if more game run on Linux :(
Thanks this will come in handy!!
Another excellent article Ray Thanks a lot.Will surely give it a try.
Interesting article Raymond!
this is really good info. Thx Ray
nice post . excellent dude….
Thank you Raymond
another great trick from you
thanks, Ray! :D
Dear Raymond,
Kaspersky rescue cd downloading speed is good. I downloaded it through the link from kaspersky 2010 internet security. And there is an option to update any time from our antivirus database, rescue cd updater automatically detect iso rescue image in our local drives.
Very useful entry again.I want to use it.
hmm, I’m not linux user and I hate when it came to write something using coding or command but when I’m try to execute –> antivir -s -e -ren /media/Devices/hda1 command it error.. huhu pain in my head… is it correct command line.. hmm hda1 or sda1 ????
Dear Raymond,
This article is very timely as I have 2 computers infected with virus now in my desk for repair with the same problem you mentioned.What worries me now is that even this Avira Antivirus program is not capable because
Nice article Ray..
I want to know is it possible to make “USB flash drive Antivirus Rescue System” just like any flash drive used for installing Windows. Because, USB’s are far more portable, easier to carry and can be used at any system. If it is, then please tell me how to get through it.
thanks.
I am a Avira user. Now I know what to do when it happens to me.
Note that you maybe have to experiment with the number in this part of the command:
hda1
to find the right partition. Try different values like 0 and 2.
newbiesblogger try this command instead:
antivir -s -ren /mnt/
No need to specify media/Devices I don’t think, worked for me!
I ran antivir rescue disk and it found 3 trojans on my laptop…now windows won’t load at all…what do I need to do?
Since I can’t get a response from you about my computer problem, I can only determine that the Antivir Rescue Disk destroyed my laptop. From what I have researched there was hope for repair of the log in log off problem…I haven’t been able to find any help for what my computer is doing since using this disk…you should have posted a warning..
very very useful commands.
better we like to protect with u
those who still have problem with the above code or it doesnt work u can try:
antivir -s -ren /mnt/
and it works (like in my case)
got once my friend’s laptop infected with a crazy virus That use grub+ bootable image to bootup,it change every files in the windows, when log in got black screen a while then stupid sound and not the windows log in sound come out chinese word, and use this avira scan non thing come out-.-’ i think some hacker know how to make a new generation virus that uses Grub with other boot image to start… AV company please find the virus-.-’