* pxe-nfs-loop-iso syntax in grub.cfg
@ 2014-03-05 18:53 rsb
2014-03-13 5:57 ` Andrey Borzenkov
0 siblings, 1 reply; 5+ messages in thread
From: rsb @ 2014-03-05 18:53 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 788 bytes --]
How do you pass a pxe-nfs-loop-iso syntax in grub.cfg? 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).
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 }
I also think that above entry would be sending the file over tftp and not
nfs. 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
[-- Attachment #2: Type: text/html, Size: 934 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pxe-nfs-loop-iso syntax in grub.cfg
2014-03-05 18:53 pxe-nfs-loop-iso syntax in grub.cfg rsb
@ 2014-03-13 5:57 ` Andrey Borzenkov
2014-03-13 12:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-03-18 8:31 ` rsb
0 siblings, 2 replies; 5+ messages in thread
From: Andrey Borzenkov @ 2014-03-13 5:57 UTC (permalink / raw)
To: The development of GNU GRUB; +Cc: rsb
В Wed, 5 Mar 2014 20:53:05 +0200
rsb <rsb@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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pxe-nfs-loop-iso syntax in grub.cfg
2014-03-13 5:57 ` Andrey Borzenkov
@ 2014-03-13 12:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-03-13 12:34 ` Andrey Borzenkov
2014-03-18 8:31 ` rsb
1 sibling, 1 reply; 5+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2014-03-13 12:28 UTC (permalink / raw)
To: The development of GNU GRUB
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
On 13.03.2014 15:27, Andrey Borzenkov wrote:
> If I'm not mistaken, ls currently supports only disk devices.
tftp (protocol) simply doesn't provide any way to list files.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 274 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pxe-nfs-loop-iso syntax in grub.cfg
2014-03-13 12:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2014-03-13 12:34 ` Andrey Borzenkov
0 siblings, 0 replies; 5+ messages in thread
From: Andrey Borzenkov @ 2014-03-13 12:34 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
В Thu, 13 Mar 2014 21:58:03 +0930
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.com> пишет:
> On 13.03.2014 15:27, Andrey Borzenkov wrote:
> > If I'm not mistaken, ls currently supports only disk devices.
> tftp (protocol) simply doesn't provide any way to list files.
>
Yes, but I mean ls without arguments that lists devices.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: pxe-nfs-loop-iso syntax in grub.cfg
2014-03-13 5:57 ` Andrey Borzenkov
2014-03-13 12:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2014-03-18 8:31 ` rsb
1 sibling, 0 replies; 5+ messages in thread
From: rsb @ 2014-03-18 8:31 UTC (permalink / raw)
To: Andrey Borzenkov, The development of GNU GRUB; +Cc: rsb
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
> How do you pass a pxe-nfs-loop-iso syntax in grub.cfg?
For a start, grub does not support NFS.
Yes I see, my mistake. Does grub support transfers other than tftp?
HTTP, for example?
> (grub) aborts with "no loop disk".How do you boot grub? PXE is
active only if you have actually booted over network;
Grub is booted over network. System starts, "boot from network" >
obtains IP from dhcpd > grub menu from server (laptop grub menu has
different entries than what server grub menu has)
Regards.
[-- Attachment #2: Type: text/html, Size: 1125 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-03-18 8:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 18:53 pxe-nfs-loop-iso syntax in grub.cfg rsb
2014-03-13 5:57 ` Andrey Borzenkov
2014-03-13 12:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-03-13 12:34 ` Andrey Borzenkov
2014-03-18 8:31 ` rsb
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.