RMPrepUSB Blog - please leave a comment or feedback on RMPrepUSB or this Tutorial (please mention Tutorial number).
The Avira Antivir Rescue System ISO file can be downloaded from the Avira site here.
It can be booted as a flat file system by extracting files (2 files and 3 folders) from the ISO, or by booting directly from the .ISO file. However, you also need to extract some folders from the .ISO file even if directly booting from the ISO file - the folders in red below must exist as normal lowercase files and folders on the USB drive - the other files and folders are not required for ISO booting:
ISO contents: (only the three folders in red are required on the USB drive)
1. If you don't already have a grub4dos bootable USB drive, prepare one using RMPrepUSB. Format as FAT32 + Boot as HDD, and then install grub4dos and copy over the grldr file when prompted by pressing the <Enter> key.
2. Use 7Zip or a similar utility to extract the antivir, avupdate and system folders from the ISO file to the USB drive - make sure that these folders are lower-case. Do not use ImDisk to mount the ISO and copy over the files as this does not preserve the case of the files. The files should be lower-case.
3. Copy the whole Avira iso file to the USB drive.
4. Add the following entries to the menu.lst file if you have the ISO file present (press F4 in RMPrepUSB to load the file into Notepad).
4. Ensure the files and folders below are present on your bootable USB drive. If you wish, you can move the ISO file to a folder as long as you change the path in the menu.lst entries to match.
5. You can now test the USB drive using the RMPrepUSB QEMU button (or press F11) or try it on a real system. If the ISO file loads entirely into memory, then the ISO file is not contiguous - try CTRL+F2 in RMPrepUSB to run WinContig and make the ISO contiguous. If that doesn't work then copy all files off of the USB drive, reformat it and then copy all the files back.
Note: If you try to fully boot under QEMU then you may get a Self Check Failed error - you may need to use map --mem in order to correctly run Avira Rescue under QEMU. Be sure to assign QEMU about 900MB of memory (but don't go over 1.1GB as QEMU does not seem to handle large amounts of memory well!).
1. Press Alt+F7 to return to the graphical User Interface - this error message occurs if it cannot find some of the files and folders on the USB boot drive. Make sure that you have extracted these from .ISO file correctly and that they are lower-case and not upper-case. If you used ImDisk to mount the ISO and then copy the files to the USB drive, then the files will be converted to upper-case and you will get this error (the GUI will fail to launch). Use 7Zip to extract the required folders from the ISO.
2. Self Check Failed - this error message occurs if you have not copied the contents of the ISO to the USB drive as a flat file/folder structure. In particular, you will see this error if the \system folder is not present on the USB boot drive.
You could also boot Avira from a pure flat file structure - the ISO file would then not be needed. For this you will also need to extract the initrd.gz and vmlinuz files from the iso file. These two files can be moved to another folder on the USB boot drive, e.g. make a new \avira folder on the USB drive and place these two files in it.
The menu.lst entries should be as follows: