How To Boot Latest In Dev ISO?
I am trying to save a CD and boot of a flash drive. I have grub2, i
think. I am using this in my config file:
set isofile_trisquel="/trisquel.iso"
menuentry "Trisquel" {
loopback loop (hd0,0)$isofile_trisquel
linux (loop)/casper/vmlinuz boot=casper
iso-scan/filename=$isofile_trisquel noeject noprompt nosplash --
initrd (loop)/casper/initrd.lz
}
I get kernel panic and a moan about the boot code/pram/cheat "root=". I
have tried guessing because I can't find any doc, adding: "root=0,0" or
"root=UUID=" of course both failed.
There is an error in (hd0,0) expression. The hard drive number starts from zero while partition number starts from 1. Try change to (hd0,1).
Here is the crub.cfg entry that worked for me:
menuentry "Trisquel" {
set isofile="/trisquel.iso"
loopback loop $isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile quiet noeject noprompt splash --
initrd (loop)/casper/initrd
}
Thanks. the key was the "set " needed to be in "menuentry
"Trisquel" { }"
On 21/12/12 10:30, name at domain wrote:
> There is an error in (hd0,0) expression. The hard drive number starts
> from zero while partition number starts from 1. Try change to (hd0,1).
>
> Here is the crub.cfg entry that worked for me:
>
> menuentry "Trisquel" {
> set isofile="/trisquel.iso"
> loopback loop $isofile
> linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile
> quiet noeject noprompt splash --
> initrd (loop)/casper/initrd
> }