I want to be able to boot GParted (latest) from grub so I don't have to burn a LiveCD/USB. The following 40_custom file isn't working.
After I select Gparted live from the grub menu, the first error says it cannot find the iso. The set isofile= entry is correct.
Code:
#!/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 "Name of OS here"{
# set root='(hd0,x)'
# configfile /boot/grub/grub.cfg
#}
menuentry "Gparted live" {
set isofile="/home/paul/Downloads/ISOs/gparted-live-0.22.0-1-amd64.iso"
loopback loop $isofile
linux (loop)/live/vmlinuz boot=live config union=aufs noswap noprompt ip=frommedia toram=filesystem.squashfs iso-scan/filename=$isofile
initrd (loop)/live/initrd.img
}









Comment