We continue to experiment with the Kaspersky Rescue Disk. This time, we will try to cram its contents on the USB flash drive, and then make it bootable. Thus we will need: Linux Live CD that uses the grub loader and Kaspersky Rescue Disc.
As an example, I will use the traditional Ubuntu. You can download KRD here.
Ah, yes, the USB flash drive is needed too. The size of KRD is approximately 180 MB; you should choose appropriate USB flash drive so that enough free space will stay after loading. Using a clean flash drive is not necessarily, just free space is required.
Start Ubuntu OS and connect the USB flash drive.
Once it is identified you should to know the following:
1. How it is pointed.
2. Where it is installed.
To answer the first question, open a terminal window and enter the command
In the answer, the system displays all available storage media with the information about them. On my computer it looked like this:
We can see three discs:
USB flash drive is /dev/sdc as you might guess by the size.
Now look at the path following which our USB flash drive was mounted. Open File Browser and move cursor on the flash drive icon (or find by the name):
Pop-up tooltip shows on /media/kru.
We can install grub loader directly on our USB flash drive using our knowledge. To do this, we will type in the terminal:
In the command as the root directory we will point the place where flash drive is mounted and the last parameter shows the device, which is identified in the system as USB flash drive.
If the installation is finished successfully, the system reports that errors were not detected:
And the folder "boot" will appear on USB flash drive:
Now we pass on to Kaspersky Rescue Disc. If you do not have it, then you can download it directly. Open a browser, go to http://devbuilds.kaspersky-labs.com/devbuilds/RescueDisk10 and download:
Once the Disc is downloaded we will unpack its contents. You can open ISO image of KRD using the archive manager, that is on Ubuntu disk and simply copy files from it to USB flash drive. First, copy everything except the folder "boot":
Then we go to this folder on a flash drive in the archive and copy everything except the folder "grub":
It remains only to create a configuration file grub.cfg. Go to the folder /boot/grub on our USB flash drive and click the right mouse button on the free space. In the context menu that appears we choose option to create a new empty file:
We set "grub.cfg" as the name. Then open the file using editor (it opens automatically when you double-click) and write in it:
Code :
set kav="Kaspersky Rescue Disk. Graphic Mode"
set kav_rescue_text="Kaspersky Rescue Disk. Text Mode"
set kav_lang=en
Remember that Live CD of Ubuntu OS is a complete system with the browser that is running. And if you have a wish to repeat all this, there is no need to learn by heart or print out and then laboriously type, because you can always go to the av-school, open this article and copy everything you need.
That is actually all. When the GNU GRUB is launched you should select one of the modes: a graphic or text:
Then everything the same as when you are working with original KDR:
This USB flash drive is handy, because allows you update itself by simply copying. After creating the loader you can work with it in Windows OS, Linux OS and Mac OS. In this case you can continue to use it as removable media, it will boot as usual. You should the following is noteworthy: do not forget to get it when system is rebooted, otherwise a computer can boot from it, not with your main system.