В Wed, 5 Mar 2014 20:53:05 +0200
rsb <r...@ttmail.com> пишет:

> How do you pass a pxe-nfs-loop-iso syntax in grub.cfg?

For a start, grub does not support NFS.

>                                                         I'm trying to boot
> iso file (loopback) over pxe. I get far as the grub.cfg menu, but the entry
> below aborts with "no loop disk".  "grub-cli> ls" shows nothing (no pxe
> listing).
> 

If I'm not mistaken, ls currently supports only disk devices.

> insmod loopback
> insmod  gzio
> insmod  iso9660
> menuentry 'Lubuntu 13.04' {
> set root='pxe'
> set isofile="path/file"
> loopback loop (pxe)$isofile
> linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile
> initrd (loop)/casper/initrd.lz     }
> 

How do you boot grub? PXE is active only if you have actually booted
over network; if not, you cannot use network on BIOS systems (there are
simply no drivers).

> I also think that above entry would be sending the file over tftp and not
> nfs.

That's correct.

>     An alternative menu entry for example that I came accross:
> * linux  (pxe)/gentoo32/mnt/isolinux/gentoo loop=/image.squashfs
> root=/dev/ram0 init=/linuxrc looptype=squashfs
> nfsroot=<IP>:/dist/gentoo32/mnt cdroot=1 real_root=/dev/nfs


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to