How to create USB boot Kaspersky Rescue Disk with Grub4dos
#1
Posted 12 July 2009 - 11:13 AM
From Kaspersky ver. 2010, it create Kaspersky Rescue Disk in Linux OS.
Anybody tutor me create a USB boot? The link to download .iso file:
http://195.222.17.41...rescue_2008.iso
Thanks a lot for help!
Sorry for my English!!!
#2
Posted 12 July 2009 - 11:42 AM
I.e.:
DIR D: /S >C:\Kaspersky.dir(assuming D: is the CD ROM drive or the drive letter to which you have mounted the .iso)
Zip the resulting file and attach it to your next post.
jaclaz
#3
Posted 12 July 2009 - 12:24 PM
Install grub4dos (see grub4dos tutorial).
Put this in your menu.lst file:
title Kaspersky Rescue Disk: defaultkernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot quiet noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: safekernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot nox trace noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: tracekernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot quiet trace noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: textkernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot console=tty2 console=ttyS2,115200 softlevel=iamt nox kavshell trace noapicinitrd /isolinux/rescue.igz
#4
Posted 27 July 2009 - 05:12 AM
tested and working for me
title 2. Kaspersky Rescue-CD kernel /KAV2009_JUL_13/isolinux/rescue subdir=/KAV2009_JUL_13 setkmap=us scandelay=5 root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/KAV2009_JUL_13/image.squashfs cdroot initrd /KAV2009_JUL_13/isolinux/rescue.igz
ps: thanks to the original post
#5
Posted 05 August 2009 - 01:31 PM
Thank you very much.Extract the iso with 7zip to the root of your USB thumb drive.
Install grub4dos (see grub4dos tutorial).
Put this in your menu.lst file:title Kaspersky Rescue Disk: defaultkernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot quiet noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: safekernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot nox trace noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: tracekernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot quiet trace noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: textkernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot console=tty2 console=ttyS2,115200 softlevel=iamt nox kavshell trace noapicinitrd /isolinux/rescue.igz
And today, I want to ask you guide me how to create a USB boot with Avast! Bart PE USB? Here
which was REMOVED by jaclaz
Thanks!
#6
Posted 05 August 2009 - 01:38 PM
Be VERY, VERY aware of Rule #1:
http://www.boot-land...?act=boardrules
NO links to un-redistributable files.
jaclaz
#7
Posted 05 August 2009 - 02:27 PM
Sr, tks for your reminder!Lãng khách
Be VERY, VERY aware of Rule #1:
http://www.boot-land...?act=boardrules
NO links to un-redistributable files.
jaclaz
But can you guide me how to create a USB boot with Avast! Bart PE USB?
#8
Posted 25 August 2009 - 01:02 AM
I modified the menu.lst here:
title Kaspersky Rescue-CD:default
kernel /images/KRD/isolinux/rescue subdir=/images/KRD setkmap=us scandelay=5 root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/images/KRD/image.squashfs cdroot
initrd /images/KRD/isolinux/rescue.igz
When grub boots isolinux, it fails because it cannot find the CD-ROM. Do I have to modify the linux config to not look for the CD-ROM? Not sure why it works for others but not on my USB drive. I have tried another drive. What am I missing? TIA.
Contrails
#9
Posted 27 October 2009 - 03:59 PM
Determining root device ...
Could not find the root block device in .
I'm using a USB stick formatted with NTFS and a single partition. I've tried both 0xFF and hd32. I've tried extracting the ISO into a folder as well as directly mounting the ISO with the image.squashfs file copied into the root of the USB.
Although I've tried many combinations here is my latest menu.lst
title Kaspersky Rescue CD Test find --set-root /images/kav_rescue_2008.iso map /images/kav_rescue_2008.iso (hd32) || map --mem /images/kav_rescue_2008.iso (hd32) map --hook root (hd32) chainloader (hd32)
And here's a couple of attempts that also did NOT work:
# title Kaspersky Rescue Disk: default # kernel /Kaspersky/isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot quiet noapic # initrd /Kaspersky/isolinux/rescue.igz title Kaspersky Rescue-CD find --set-root /Kaspersky/isolinux/rescue.igz kernel /Kaspersky/isolinux/rescue subdir=/Kaspersky setkmap=us scandelay=5 root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/Kaspersky/image.squashfs cdroot initrd /Kaspersky/isolinux/rescue.igz
Hopefully someone out there can find a reason why I'm not having any luck!
Thanks!
George
#10
Posted 27 October 2009 - 04:11 PM
http://www.boot-land...?...=9391&st=10
http://www.boot-land...?...ic=9354&hl=
AND try with FAT/FAT32.
jaclaz
#11
Posted 27 October 2009 - 04:28 PM
#12
Posted 27 October 2009 - 04:43 PM
I was wondering if the NTFS could be the reason. The USB does boot first into NTLDR and then I chose to load Grub4DOS from the boot.ini menu.
If it is NTFS, which app do you recommend to change from NTFS to FAT32 without loosing everything I've done so far or is it better to backup and start all over (I hope not!).
#13
Posted 27 October 2009 - 05:31 PM
- the map/unmap by tinybit
- the cdroot=/dev/xxx or cdroot=/dev/sda1, etc.
- another filesystem (FAT or FAT32)
There are no easy/handy/free ways to convert from NTFS to FAT/FAT32 AFAIK/AFAICR without re-formatting.
But I guess that you can use the "poorman"'s method:
http://www.msfn.org/...on-t131017.html
http://www.msfn.org/...017-page-3.html
Copy elsewhere, then copy back.
The only "sensible" files are those involved in the very early boot stage, like grldr, ntldr, ntdetect.com, etc, that should be near the beginning of the parition, to be on the safe side.
jaclaz
#14
Posted 27 October 2009 - 08:41 PM
title Kaspersky Rescue CD Test find --set-root /images/kav_rescue_2008.iso map --mem /images/kav_rescue_2008.iso (hd32) map --hook root (hd32) kernel /Kaspersky/isolinux/rescue subdir=/Kaspersky setkmap=us scandelay=5 root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/Kaspersky/image.squashfs cdroot initrd /Kaspersky/isolinux/rescue.igz map --unmap=0:0xff map --unhook boot
For now as a test I extracted the ISO into the Kaspersky folder and I still have image.squashfs in the root (as well as in the Kaspersky folder).
Running this code the system just hangs with (hd0,0) and then I get "Filesystem type is iso9660, using whole disk"
It then repeats my kernel line and gives "Error 15: File not found" which I see now is probably because I don't have linuxrc. I copied that kernel line from somewhere else on the forum and the Kaspersky ISO doesn't have that so I'm not sure why the other person decided to use it. If I look in the isolinux folder in the ISO and then in the isolinux.cfg I find these statements:
default rescue timeout 300 prompt 1 display boot.msg F1 F1.msg label rescue kernel rescue append root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot initrd=rescue.igz quiet noapic
How do I extract out the linuxrc or can I just get it from another distribution? Based on this isolinux.cfg file do you think it's possible to just start over with this knowledge and be able to mount the ISO with the correct files in place?
#15
Posted 28 October 2009 - 10:46 AM
I see that you are still new at this.
The idea is not to "assemble" an entry in menu.lst and try it, and report what happens.
The idea is writing a "possible" menu.lst entry on a piece of paper, then enter EACH line, one by one, in Command Line mode and report what happens after EACH command.
http://diddy.boot-la...s/files/cli.htm
http://diddy.boot-la...iles/basics.htm
Additionally, please do READ the "whole" instead of the "part", the map --unhook is NOT needed in this case:
http://www.boot-land...?...=9391&st=19
You do not need a boot command inside a menu.lst (whilst you need it when using command line).
jaclaz
#16
Posted 29 October 2009 - 12:08 AM
I've gone back and done some additional reading as well as booting into the commandline and seeing the results of different commands.
It seems as though I can successfully start the linux kernel from either the iso image or from the extracted folder however once I get into the shell I haven't been able to access the flash disk at all. I see /dev/sda1-4 and /devsdb1 but issuing an ls command on any of those devices doesn't show any data.
What's a little odd to me is that I don't see any hd* devices for either what would have been mapped for the flash drive or the internal hd on the system I'm booting.
No matter what combination of parameters I try I always get to the point that the "cdrom cannot be found" and the "could not find the root block device".
I did try to change the kernel command so that cdroot was changed to cdroot=/dev/sda1 but that didn't change the outcome.
I starting thinking though that I wonder if I'm having trouble because the system I'm booting on does not have an actual CD drive? If it matters it's a netbook running win7.
I hope that you can help me debug how to fix this issue as I'm sure that going through this is going to really help me understand the whole multi-boot process even more.
Thanks,
George
#17
Posted 29 October 2009 - 12:18 AM
The 2006.0 LiveCD comes out, it comes with Gnome-2.12, finally we have a Knoppix-equivalent liveCD, now we can install Gentoo in a graphical environment!
Grub entry for harddisk boot:
Code:
title=Gentoo-2006.0-livecd
root (hd0,4)
kernel /isolinux/gentoo root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot=/dev/hda5 vga=791 splash=silent,theme:livecd-2006.0 CONSOLE=/dev/tty1 quiet
initrd /isolinux/gentoo.igz
The funny thing is you need that empty file 'livecd' for the init to treat /dev/hda5 to be a cd!
I do see a 0 byte file in the root of the Kaspersky ISO with a filename of livecd so I tried this trick by adding splash=silent,theme:livecd option to the kernel line but that didn't seem to help.
#18
Posted 29 October 2009 - 11:53 AM
cdroot=/dev/<something>problem, from what I can get from Icecube, it is possible that besides that setting, something needs to be changed in some other files WITHIN the Linux source:
http://www.boot-land...?...=9354&st=12
More or less it's what I keep saying :
http://www.boot-land...?showtopic=8944
there is no problem within grub4dos but changes in the source may be needed.
Unless Icecube or some of the other Linux experts happen to "pass by", it is likely that you will get more "targeted" help in a dedicated Linux Forum, now that you know "which" questions you have to ask.
Knowing on which "base" distro thosis Kaspersky thingy is based might help. (i.e. it is possible that a solution/workaround is available for the "mother" distro or however you may ask the question on the "appropriate" Linux forum)
jaclaz
#19
Posted 16 December 2009 - 10:11 PM
#20
Posted 16 December 2009 - 11:37 PM
Cheers
#21
Posted 04 January 2010 - 10:56 PM
NTFS filesystem is the cause, you use fat or fat32 and kav rescue cd work properly on usb stick
#22
Posted 09 April 2010 - 10:14 PM
Extract the iso with 7zip to the root of your USB thumb drive.
Install grub4dos (see grub4dos tutorial).
Put this in your menu.lst file:title Kaspersky Rescue Disk: defaultkernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot quiet noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: safekernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot nox trace noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: tracekernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot quiet trace noapicinitrd /isolinux/rescue.igztitle Kaspersky Rescue Disk: textkernel /isolinux/rescue root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot console=tty2 console=ttyS2,115200 softlevel=iamt nox kavshell trace noapicinitrd /isolinux/rescue.igz
THANKS. But when kasperload sucessfully they display message database is corrupted i also create new ISO file and extract it agasin but the result is same?? plzzz solved this problum
#23
Posted 10 April 2010 - 09:48 AM
read instruction here : http://www.boot-land...?...50&start=50
#24
Posted 18 April 2010 - 08:34 PM
Hi,1. Create empty file liveusb in root USB drive
2. Download kav*.iso and rename to rescue.iso http://devbuilds.kas...s/RescueDisk10/
3. Create folder "rescue" and put "rescue.iso" into it.title KAV 2010 Rescue.iso map /rescue/rescue.iso (0xff) || map --mem /rescue/rescue.iso (0xff) map --hook root (0xff) chainloader (0xff)
i do not understand the context in this instructions. We are mapping the iso into 0xff. So, it should make no difference, where u locate the kaspersky.iso, what name it have or if there is a empty file on the usb root or not.
Is there an explanation for this? Anyway, i was not able to map and boot the ISO, without extraction.
#25
Posted 19 April 2010 - 05:39 AM
i do not understand the context in this instructions. We are mapping the iso into 0xff. So, it should make no difference, where u locate the kaspersky.iso, what name it have or if there is a empty file on the usb root or not.
Renaming the file to "rescue.iso" and keeping it inside the "rescue" folder is necessary.
Creating a blank file with name "liveusb" (with no extension) is necessary.
By mapping iso file to (0xff) , you can boot only kernel(rescue) and initrd(rescue.igz) file only , rest of the files cannot be accessed by linux kernel.
By default kaspersky looks for an iso file with name "rescue.iso" inside the "rescue" folder on the drive which have "liveusb" file on it.
And use the latest version of kaspersky. older version don't work by this method.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users