Custom entry for grub not working.
by coltson from LinuxQuestions.org on (#6Q20A)
Hi. I decided to move the iso file for one of my Linux distros to another partition. To be able to boot it through grub, I proceeded to update my custom initialization file. The entry for this specific iso file was:
Code:menuentry "Lubuntu 16.04 ISO" {
set root=(hd0,6)
set isofile="/videos/lubuntu-16.04.6-desktop-amd64.iso"
loopback loop (hd0,6)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd
}and now it is:
Code:menuentry "Lubuntu 16.04 ISO" {
set root=(hd0,1)
set isofile="/home/leopoldo/lubuntu-16.04.6-desktop-amd64.iso"
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd
}So, what am I doing wrong here? Thanks for your time.
Code:menuentry "Lubuntu 16.04 ISO" {
set root=(hd0,6)
set isofile="/videos/lubuntu-16.04.6-desktop-amd64.iso"
loopback loop (hd0,6)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd
}and now it is:
Code:menuentry "Lubuntu 16.04 ISO" {
set root=(hd0,1)
set isofile="/home/leopoldo/lubuntu-16.04.6-desktop-amd64.iso"
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd
}So, what am I doing wrong here? Thanks for your time.