Nazdar,
na nete som našiel tutorial, ako si môžem do GRUB2 ponuky pridať načítanie .ISO súboru, a spustenie LIVE obsahu.
Chcem sa ale spýtať, či mi to bude fungovať, a či mi to nejakým spôsobom nepokazí GRUB2.
Môj kód, ktorý som si upravil o zistenie existovania .ISO file-u a zmenil som si (hd0,6). Tento kód budem vkladať do 40_custom:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
if test -e /boot/ubuntu.iso ; then
echo "Ubuntu LIVE CD Image finded!" >&2
cat << EOF
menuentry "Ubuntu LIVE CD" {
loopback loop (hd0,6)/boot/ubuntu.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/ubuntu.iso noprompt noeject quiet splash
initrd (loop)/casper/initrd.lz
}
EOF
fi
Ďakujem. J.