How To Boot Latest In Dev ISO?

2 replies [Last post]
Alexander Stephen Thomas Ross
Offline
Joined: 09/17/2012

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.

Dar
Dar
Offline
Joined: 12/21/2012

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
}

Alexander Stephen Thomas Ross
Offline
Joined: 09/17/2012

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
> }