otwórz
Kod: Zaznacz cały
gedit /etc/grub.d/40_custom
Kod: Zaznacz cały
#!/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.
######
menuentry "Ubuntu 12.04 ISO" {
set isofile="/home/microtech/Pobrane/ubuntu-12.04.2-desktop-i386.iso"
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject toram
initrd (loop)/casper/initrd.lz
}
Kod: Zaznacz cały
update-grub2