help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grup-pc and boot iso


From: Gorden
Subject: Re: grup-pc and boot iso
Date: Tue, 06 Nov 2012 13:21:27 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121027 Icedove/3.0.11

On 11/06/2012 11:00 AM, Andrey Borzenkov wrote:
В Tue, 06 Nov 2012 10:17:07 -0800
Gorden<address@hidden>  пишет:

On 11/06/2012 07:51 AM, Andrey Borzenkov wrote:
В Mon, 05 Nov 2012 20:00:41 -0800
Gorden<address@hidden>   пишет:


set root='(hd0,msdos10)/ISO'

...

Do I have a syntax error? Or have I left something out?

Yes. Assuming file "ISO" is the image

loopback loop0 (hd0,msdos10)/ISO
set root=loop0


Thanks Andrey for the reply.
The ISO is a directory which contains the nst-2.16.0.img file. I also
mounted the iso to /mnt and
extracted the 'vmlinuz0' and initrd.0.img files to the directory.
This had been suggested by some of
the tutorials on how to do this.

The full "path name" would be /data/ISO/nst-2.16.0.iso for the iso.
And /data/ISO/vmlinuz0 and /data/ISO/initrd0.img for those two files.

Also the /data path name is /dev/sda10, or in grub speak '(hd0,10)'.

If you want to load files from filesystem and not from ISO image you
can simply do

linux (hd0,10)/data/ISO/vmlinuz0 ... other options ...
initrd (hd0,10)/data/ISO/initrd0.img

There is no need to set root variable.
Andrey..
Once again I must add more information.
The error messages I am getting are:
1-"file not found"
2-"no argument specified"
3-"no such disk"
4-"you need to load the kernel first"
"press any key to continue"

Gorden


--
Gorden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]