grub-devel
[Top][All Lists]
Advanced

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

Re: pxe-nfs-loop-iso syntax in grub.cfg


From: Andrey Borzenkov
Subject: Re: pxe-nfs-loop-iso syntax in grub.cfg
Date: Thu, 13 Mar 2014 09:57:06 +0400

В Wed, 5 Mar 2014 20:53:05 +0200
rsb <address@hidden> пишет:

> 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




reply via email to

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