Help - Search - Members - Calendar
Full Version: Kaspersky Rescue Disk 10 in Isolinux?
The CD Forum > The CD Forum > Bootable CDs
kaiserslautern
Since a long time I'm using the Kaspersky Rescue CD on my Multiboot (Isolinux) DVD. Version 2008 didn't made any problems to integrate.
Version 10 was difficult, but I got it work with Rescue2USB (a little Tool from Kaspersky):
I made an USB-Stick with KRD10, and copied all files to the root of my Mulitboot DVD.
To the Isolinux.cfg I added the following lines:
CODE
LABEL Kaspersky Rescue Disk 10
KERNEL /rescue/grub.exe --config-file="errorcheck off; find --set-root --ignore-cd /rescue/rescueusb.iso; errorcheck on; map /rescue/rescueusb.iso (0xff) || map --mem /rescue/rescueusb.iso (0xff); map --hook; chainloader (0xff); boot"

This worked so far.

After a few months I wanted to update my DVD and made it the usual way. But now KRD10 doesn't start correctly.
Following error :
QUOTE
dracut Warning: Can't mount rot file system

Dropping to debug shell.

Dracut:/#


Any solution for this?
jaclaz
I am not really sure I get it. dubbio.gif

You are not actually using Isolinux to boot the Kaspersky thingy, you are using it t load grub4dos grub.exe that then maps and loads the .iso.

BUT, since you are saying that you needed to copy all files from an USB thingy to the root of the DVD, maybe you are not actually booting "fully" the .iso but rather, after an initial loading of the .iso, what is actually accessed are the single files. unsure.gif

And using the "rescueusb.iso" should not be "needed", see:
http://reboot.pro/8397/

The error report however comes from Linux, not from either Isolinux or grub4dos.

Can you post a link to the EXACT version you are attemptng to use?

Is it this one?
hxxp://rescuedisk.kaspersky-labs.com/rescuedisk/updatable/kav_rescue_10.iso

If this is the case, the actual .iso structure has greatly changed, GRUB2 is used to boot the thingy, and after jumping to and fro a number of .cfg files, the essential part is this one:
QUOTE
linux /boot/rescue root=live:CDLABEL=KRD10 rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=${kav_lang} udev liveimg splash quiet doscsi nomodeset
initrd /boot/rescue.igz

that seemingly uses the CDLABEL to identify the device to boot from.

So, it seems to me like at least two steps are needed:
  1. find the right setting to replace the value of "root="
  2. find a way to either change the .iso contents (the kav_menu.cfg) or use some "external" methods to load another instance of GRUB2 and a "hand-made" .cfg


The alternative being using not a .iso (expanded files) that should work with grub4dos with this approach:
http://forum.kaspersky.com/index.php?showt...p;#entry1816025
http://translate.google.it/translate?u=htt...it&ie=UTF-8

or, changing the label of your "whole" DVD to "KRD10" ....
http://forum.oszone.net/post-1851871.html
http://translate.google.com/translate?u=ht...it&ie=UTF-8

It seems like that thingy uses the same syntax of Fedora:
http://forums.fedoraforum.org/archive/inde...p/t-263654.html
and seemingly it is a (possibly still UNresolved) Dracut bug ph34r.gif
Check these:
https://bugzilla.redhat.com/show_bug.cgi?id=650672
https://bugzilla.redhat.com/show_bug.cgi?id=723801

The way the otherwise good Linux guys managed this bug seems to me "terrible", but it is seemingly solved:
https://bugzilla.redhat.com/show_bug.cgi?id=766955
REally cannot say what is actually inside the Kaspersky thingy.

cheers.gif
jaclaz
kaiserslautern
Hi jaclaz,

thanks for your post! I will take a lokk at your links.

Yes, I'm using this one:
http://rescuedisk.kaspersky-labs.com/rescu...v_rescue_10.iso

There was one mistake in the codebox, here is the right code (the other was one of my experiments):
CODE
LABEL Kaspersky Rescue Disk 10
KERNEL /rescue/grub.exe
APPEND --config-file="errorcheck off; find --set-root --ignore-cd /rescue/rescueusb.iso; errorcheck on; map /rescue/rescueusb.iso (0xff) || map --mem /rescue/rescueusb.iso (0xff); map --hook; chainloader (0xff); boot"
TEXT HELP

Version: 10.0.31.4 (03.03.2012)
ENDTEXT



QUOTE (jaclaz @ Mar 14 2012, 08:24 PM) *
And using the "rescueusb.iso" should not be "needed", see:
http://reboot.pro/8397/

I saw this one before. The Thread is too old. In the past it worked very well without the recueusb.iso, but since last year every of my attempts failed. I only got it working by creating an USB-Stick and copying all files to the DVD.

QUOTE (jaclaz @ Mar 14 2012, 08:24 PM) *
You are not actually using Isolinux to boot the Kaspersky thingy, you are using it t load grub4dos grub.exe that then maps and loads the .iso.

Yes and no. It's right the rescue(usb).iso will be booted by GRUB4DOS, but Isolinux is my general Boot-Menu. All commands for booting the iso with GRUB are in the isolinux.cfg.
kaiserslautern
Renamed the DVD to KRD10 and get the following error:




I don't really understand your other links, especially the Fedora-Links. confused1.gif



QUOTE (jaclaz @ Mar 14 2012, 08:24 PM) *
If this is the case, the actual .iso structure has greatly changed, GRUB2 is used to boot the thingy, and after jumping to and fro a number of .cfg files, the essential part is this one:

that seemingly uses the CDLABEL to identify the device to boot from.

So, it seems to me like at least two steps are needed:
  1. find the right setting to replace the value of "root="
  2. find a way to either change the .iso contents (the kav_menu.cfg) or use some "external" methods to load another instance of GRUB2 and a "hand-made" .cfg


The alternative being using not a .iso (expanded files) that should work with grub4dos with this approach:
http://forum.kaspersky.com/index.php?showt...p;#entry1816025
http://translate.google.it/translate?u=htt...it&ie=UTF-8

Ok, but how to integrate this in my Isolinux.cfg?
jaclaz
QUOTE (kaiserslautern @ Mar 15 2012, 05:50 PM) *
Ok, but how to integrate this in my Isolinux.cfg?

Right now your OLD Isolinux.cfg contains TWO lines:
  1. KERNEL /rescue/grub.exe
  2. APPEND --config-file="errorcheck off; find --set-root --ignore-cd /rescue/rescueusb.iso; errorcheck on; map /rescue/rescueusb.iso (0xff) || map --mem /rescue/rescueusb.iso (0xff); map --hook; chainloader (0xff); boot"

First one loads grub.exe as a Linux kernel, second one adds the parameters - basically it passes to grub.exe the contents of an entry in grub4dos menu.lst.

If you prefer, the second line is equivalent to issue on grub command line:
QUOTE
errorcheck off
find --set-root --ignore-cd /rescue/rescueusb.iso
errorcheck on
map /rescue/rescueusb.iso (0xff) || map --mem /rescue/rescueusb.iso (0xff)
map --hook
chainloader (0xff)
boot

The given thread provides instead a set of menu.lst entries, there is no difference between a set of commands and a menu.lst entry, exception made for:
the presence of a "title" line
the absence of the final "boot" command (which is implied in a menu.lst entry).
So, the first menu.lst in the given thread:
QUOTE
title Kaspersky Rescue Disk. Графический режим
kernel /boot/rescue root=live:CDLABEL=KRD10 rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=ru udev liveimg splash quiet doscsi nomodeset
initrd /boot/rescue.igz

becomes on command line:
QUOTE
kernel /boot/rescue root=live:CDLABEL=KRD10 rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=ru udev liveimg splash quiet doscsi nomodeset
initrd /boot/rescue.igz
boot

and in the line of Isolinux.cfg:
QUOTE
APPEND --config-file="kernel /boot/rescue root=live:CDLABEL=KRD10 rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=ru udev liveimg splash quiet doscsi nomodeset;initrd /boot/rescue.igz; boot"

but of course it is advised to test it on command line first.
I would add to it a "find --set-root /boot/rescue" to it, to make sure that the root is initially established correctly,
QUOTE
find --set-root /boot/rescue
kernel /boot/rescue root=live:CDLABEL=KRD10 rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=ru udev liveimg splash quiet doscsi nomodeset
initrd /boot/rescue.igz
boot


cheers.gif

jaclaz
jaclaz
cdob just posted a possible solution:
http://reboot.pro/topic/5041-post-here-any...b4dos/?p=150776
You will need a recent grub4dos:
http://code.google.com/p/grub4dos-chenall/downloads/list

cheers.gif
jaclaz
kaiserslautern
Hi jaclaz,

Thanks for your links!
After a lot of testing and experimenting I got it working for now. Needs more testing with my "real" PC, I only testet with Virtual PC 2007.
Well, it's quite easy but I found out that only randomly.

Here is my solution for ISOLINUX:

1. Download Kaspersky Rescue Disk from here.

2. Download GRUB4DOS.

3. Create an USB-Stick with Rescue2USB. Copy the rescueusb.iso from this Stick to a new folder in your CD/DVD-Root called "rescue". After that extract all except the "boot"-folder into the root of your CD/DVD (the folder structure of your CD/DVD must be the same as of the kav_rescue_10.iso).
OR (not testet yet)
3. Copy the kav_rescue_10.iso to a new folder called "rescue" in the root of your CD/DVD and rename it into rescueusb.iso. Now extract all data except the "boot"-folder into the root of your CD/DVD (the folder structure of your CD/DVD must be the same as of the kav_rescue_10.iso). Now you can delete the folder "rescue" in the rescueusb.iso with UltraISO. The size of rescueusb.iso should be smaller than 20 MB.

4. Extract the "grub.exe" from the downloaded GRUB4DOS into the "rescue"-folder.

5. Add to your isolinux.cfg (still the same as before):
CODE
LABEL Kaspersky Rescue Disk 10
KERNEL /rescue/grub.exe
APPEND --config-file="errorcheck off; find --set-root --ignore-cd /rescue/rescueusb.iso; errorcheck on; map /rescue/rescueusb.iso (0xff) || map --mem /rescue/rescueusb.iso (0xff); map --hook; chainloader (0xff); boot"
TEXT HELP

Version: 10.0.31.4 (03.03.2012)
ENDTEXT


6. Burn your CD/DVD. celebrate3.gif
jaclaz
Good smile.gif, but cdob's solution uses the .iso with no need to extract anything.

cheers.gif
jaclaz
kaiserslautern
QUOTE (jaclaz @ Mar 19 2012, 04:21 PM) *
Good smile.gif, but cdob's solution uses the .iso with no need to extract anything.

Yep, but I found my solution already yesterday. rolleyes.gif
With cdobs solution I do'nt knw how to integrate it into Isolinux. The whole code?

One other thing I didn't mention: It's not necessary to rename the label of the CD/DVD into "KRD10".
cdob
QUOTE (jaclaz @ Mar 19 2012, 10:11 AM) *
cdob just posted a possible solution:

That's a version to support fragmented files and low RAM usage.
Kapersky introduced rescueusb.iso because of fragmented files too.
Most likely files are continuous at a CD/DVD, no need to support fragmented files.
kDn's approach is fine at a CD/DVD http://reboot.pro/5041/page__view__findpost__p__97266

QUOTE (kaiserslautern @ Mar 19 2012, 07:36 PM) *
One other thing I didn't mention: It's not necessary to rename the label of the CD/DVD into "KRD10".

No, the label refers to emulated CD, hence rescue.iso.
If you add single files, you have to adjust CD label.

Try
CODE
LABEL Kaspersky Rescue Disk 10
KERNEL /rescue/grub.exe
APPEND --config-file="map /rescue/rescue.iso (0xff); map --hook; chainloader (0xff); boot"
TEXT HELP
/rescue/rescue.iso
Version: 10.0.31.4 (03.03.2012)
ENDTEXT


How do you build the DVD ISO image?
I suspect missing flag file, file case or file system previously.

Edited:
I wonder: does Kapersky support /rescue/rescue.iso at a DVD at all?
cdob
Flat file approach at DVD:
Expand all Rescue Disk 10 files
Use label MYDVD at DVD.

CODE
LABEL Kaspersky Rescue Disk 10
LINUX  /boot/rescue
INITRD /boot/rescue.igz
APPEND root=live:CDLABEL=MYDVD rootfstype=auto vga=791 init=/init kav_lang=en udev liveimg splash quiet doscsi nomodeset
TEXT HELP
graphic mode
flat files
Version: 10.0.31.4 (03.03.2012)
ENDTEXT
D3m3
Just registered to say thanks.
QUOTE (jaclaz @ Mar 16 2012, 01:34 AM) *
errorcheck off
find --set-root --ignore-cd /rescue/rescueusb.iso
errorcheck on
map /rescue/rescueusb.iso (0xff) || map --mem /rescue/rescueusb.iso (0xff)
map --hook
chainloader (0xff)
boot

This one works as well as the next one. I use USB stick NTFS
QUOTE (jaclaz @ Mar 16 2012, 01:34 AM) *
find --set-root /boot/rescue
kernel /boot/rescue root=live:CDLABEL=KRD10 rootfstype=auto vga=791 init=/init initrd=rescue.igz kav_lang=ru udev liveimg splash quiet doscsi nomodeset
initrd /boot/rescue.igz
boot

I just change kav_lang=ru to kav_lang=en for english. I just copied the content of KRD CD to usb dont have to raname usb to KRD works fine
TKS Jaclaz
D3m3
QUOTE (D3m3 @ Sep 8 2012, 12:21 AM) *
I just change kav_lang=ru to kav_lang=en for english. I just copied the content of KRD CD to usb dont have to raname usb to KRD works fine
TKS Jaclaz

Weird yesterday it run smoothely without renaming the USB to KRD10. I got this error to day " Kernel panic - not syncing: Attempting to kill init!
Pid: 1, com: int Not tainted 3.0.13-KRD10 #1" After I rename the USB to KRD10 it went well again.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.