I have difficulties when trying to boot ISO image provided by Kasperky. I have tried two options:
A. Boot by loading kernel:
menuentry "Kaspersky Rescue" {
# Taken from http://rescuedisk.kaspersky-labs.com/rescuedisk/updatable/kav_rescue_10.iso
set isofile="/iso/kav_rescue_10.iso"
echo "Booting from $isofile. Wait for a minute..."
loopback loop $isofile
set root=(loop)
# From $isofile/boot/grub/i386-efi/cfg/kav_menu.cfg
linux /boot/rescue root=live:CDLABEL=BOOT rootfstype=auto vga=791 init=/init kav_lang=ru udev liveimg splash quiet doscsi nomodeset
initrd /boot/rescue.igz
}
Tried options below but nothing worked:
root=live:CDLABEL=BOOT(as above;BOOTis USB disk label, as seen by e.g. file manager)root=live:CDLABEL=KRD10root=live:UUID=A1234-1234
B. Boot by loading the whole ISO into memory:
menuentry "Kaspersky Rescue" {
set isofile="/iso/kav_rescue_10.iso"
set memdisk=/image/memdisk-5.10.bin
echo "Booting from $isofile. Wait for a minute..."
linux16 $memdisk
initrd16 $isofile
}
2nd try goes a bit further because I was able to see ISO boot loader options, but both of them at certain moment crash with the following error:
dracut Warning: Can't mount root filesystem
dracut Warning: dracut: FATAL: Failed to mount block device of live image
dracut Warning: dracut: Refusing to continue
mount: special device /dev/sr* does not exist
mount: special device /dev/mapper/live-rw does not exist
Kernel panic - not syncing: Attempt to kill init! exitcode=0x00000100
Pid: 1, comm: init Not tainted 3.4.24-krd10 #1
Call Trace:
[<c090b902>] panic+0x7d/0x171
[<c0429481>] do_exit+0x325/0x6c9
[<c042988b>] do_group_exit+0x66/0x8f
[<c04298c7>] sys_exit_group+0x13/0x17
[<c0912d93>] sys_enter_do_call+0x12/0x22
I see that system loader cannot find/mount root partition. Is there any workaround?