View Issue Details

IDProjectCategoryView StatusLast Update
0006165Kali LinuxGeneral Bugpublic2020-12-01 10:41
ReporterMexit Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionreopened 
Product Version2020.1 
Summary0006165: GRUB: missing kernel parameter - findiso=${iso_path}
Description

ISO image: kali-linux-2020.1-live-amd64.iso

Boot from loop-mounted ISO with GRUB2 using loopback.cfg not available for all menu entries.


ISO images: kali-linux-2020.1-installer-netinst-amd64.iso, kali-linux-2020.1a-installer-amd64.iso

findiso=${iso_path} kernel parameter don't work and missing

Steps To Reproduce

Boot from loop-mounted ISO with GRUB2 using loopback.cfg

Attached Files
grub.cfg (3,503 bytes)   
set default=0

loadfont $prefix/dejavu-bold-16.pf2
loadfont $prefix/dejavu-bold-14.pf2
loadfont $prefix/unicode.pf2
set gfxmode=auto
insmod all_video
insmod gfxterm
insmod png

set color_normal=light-gray/black
set color_highlight=white/black

if [ -e /isolinux/splash.png ]; then
    # binary_syslinux modifies the theme file to point to the correct
    # background picture
    set theme=/boot/grub/live-theme/theme.txt
elif [ -e /boot/grub/splash.png ]; then
    set theme=/boot/grub/live-theme/theme.txt
else
    set menu_color_normal=cyan/blue
    set menu_color_highlight=white/blue
fi

terminal_output gfxterm

insmod play
play 960 440 1 0 4 440 1

# Live boot
menuentry "Live system" {
	linux	/live/vmlinuz-5.4.0-kali2-amd64 boot=live components quiet splash noeject findiso=${iso_path}
	initrd	/live/initrd.img-5.4.0-kali2-amd64
}
menuentry "Live system (fail-safe mode)" {
	linux	/live/vmlinuz-5.4.0-kali2-amd64 boot=live components noeject memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal
	initrd	/live/initrd.img-5.4.0-kali2-amd64
}


menuentry "Live system (forensic mode)" {
	linux /live/vmlinuz-5.4.0-kali2-amd64 boot=live components quiet splash noeject findiso=${iso_path} noswap noautomount
	initrd /live/initrd.img-5.4.0-kali2-amd64
}
menuentry "Live system (persistence, check kali.org/prst)" {
	linux /live/vmlinuz-5.4.0-kali2-amd64 boot=live components quiet splash noeject findiso=${iso_path} persistence
	initrd /live/initrd.img-5.4.0-kali2-amd64
}
menuentry "Live system (encrypted persistence, check kali.org/prst)" {
	linux /live/vmlinuz-5.4.0-kali2-amd64 boot=live components quiet splash noeject findiso=${iso_path} persistent=cryptsetup persistence-encryption=luks persistence
	initrd /live/initrd.img-5.4.0-kali2-amd64
}

# Installer (if any)
menuentry "Start installer" {
	linux	/install/gtk/vmlinuz video=vesa:ywrap,mtrr vga=788 quiet net.ifnames=0
	initrd	/install/gtk/initrd.gz
}


menuentry "Start installer with speech synthesis" {
	linux /install/gtk/vmlinuz speakup.synth=soft video=vesa:ywrap,mtrr vga=788 quiet net.ifnames=0
	initrd /install/gtk/initrd.gz
}

submenu 'Advanced options...' {

# More installer entries (if any)
menuentry "Install in graphical mode" {
	linux	/install/gtk/vmlinuz video=vesa:ywrap,mtrr vga=788 quiet net.ifnames=0
	initrd	/install/gtk/initrd.gz
}
menuentry "Install in text mode" {
	linux	/install/vmlinuz vga=normal quiet net.ifnames=0
	initrd	/install/initrd.gz
}
menuentry "Expert install in graphical mode" {
	linux	/install/gtk/vmlinuz priority=low video=vesa:ywrap,mtrr vga=788 quiet net.ifnames=0
	initrd	/install/gtk/initrd.gz
}
menuentry "Expert install in text mode" {
	linux	/install/vmlinuz priority=low vga=normal quiet net.ifnames=0
	initrd	/install/initrd.gz
}
menuentry "Automatic install in graphical mode" {
	linux	/install/gtk/vmlinuz auto=true priority=critical video=vesa:ywrap,mtrr vga=788 quiet net.ifnames=0
	initrd	/install/gtk/initrd.gz
}
menuentry "Automatic install in text mode" {
	linux	/install/vmlinuz auto=true priority=critical vga=normal quiet net.ifnames=0
	initrd	/install/initrd.gz
}
menuentry "Rescue system in graphical mode" {
	linux	/install/gtk/vmlinuz rescue/enable=true video=vesa:ywrap,mtrr vga=788 net.ifnames=0
	initrd	/install/gtk/initrd.gz
}
menuentry "Rescue system in text mode" {
	linux	/install/vmlinuz rescue/enable=true vga=normal net.ifnames=0
	initrd	/install/initrd.gz
}


# Memtest (if any)
menuentry "memtest86" {
	linux16 /live/memtest
}


}
grub.cfg (3,503 bytes)   

Activities

rhertzog

rhertzog

2020-03-04 13:26

administrator   ~0012383

The ISO images that you are giving are installer images, they are not live images. The findiso feature is specific to live images. It's thus expected that it doesn't work.

Mexit

Mexit

2020-03-04 22:23

reporter   ~0012384

ISO image: kali-linux-2020.1-live-amd64.iso
Please check attached grub config file, menu: "Live system (fail-safe mode)", and below...
Do you see everywhere findiso=${iso_path} kernel parameter?

g0tmi1k

g0tmi1k

2020-12-01 10:41

administrator   ~0013776

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.
Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/downloads/)?
If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2020-03-03 18:35 Mexit New Issue
2020-03-03 18:35 Mexit File Added: grub.cfg
2020-03-04 13:26 rhertzog Assigned To => rhertzog
2020-03-04 13:26 rhertzog Status new => closed
2020-03-04 13:26 rhertzog Resolution open => no change required
2020-03-04 13:26 rhertzog Note Added: 0012383
2020-03-04 22:23 Mexit Status closed => feedback
2020-03-04 22:23 Mexit Resolution no change required => reopened
2020-03-04 22:23 Mexit Note Added: 0012384
2020-12-01 10:41 g0tmi1k Note Added: 0013776
2020-12-01 10:41 g0tmi1k Status feedback => closed