В Tue, 06 Nov 2012 10:17:07 -0800 Gorden <[email protected]> пишет:
> On 11/06/2012 07:51 AM, Andrey Borzenkov wrote: > > В Mon, 05 Nov 2012 20:00:41 -0800 > > Gorden<[email protected]> пишет: > > > > > >> 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. _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
