mirror of
https://github.com/mbusb/multibootusb
synced 2024-10-30 21:20:16 +00:00
add support for finnix isos on grub2
This commit is contained in:
parent
fa89b28f27
commit
b7ddf09006
14
data/multibootusb/grub/menus/finnix.d/live-generic.cfg
Normal file
14
data/multibootusb/grub/menus/finnix.d/live-generic.cfg
Normal file
@ -0,0 +1,14 @@
|
||||
for isofile in $isopath/finnix-*.iso; do
|
||||
if [ -e "$isofile" ]; then
|
||||
regexp --set=isoname "$isopath/(.*)" "$isofile"
|
||||
submenu "$isoname (loopback.cfg) ->" "$isofile" {
|
||||
iso_path="$2"
|
||||
export iso_path
|
||||
search --set=root --file "$iso_path"
|
||||
loopback loop "$iso_path"
|
||||
root=(loop)
|
||||
configfile /boot/grub/loopback.cfg
|
||||
loopback --delete loop
|
||||
}
|
||||
fi
|
||||
done
|
Loading…
Reference in New Issue
Block a user