[Top][All Lists]

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

Re: Configure grub for pxe boot and nfs-mounted root

From: Beeblebrox
Subject: Re: Configure grub for pxe boot and nfs-mounted root
Date: Tue, 26 Nov 2013 13:26:29 +0200

>> This doesn't seem to be a GRUB problem at all. I use tftpd which serves
from /var/tftpd
You are right, it is not a GRUB problem; it's a folder structure error
in the way I approached the problem.

>> boot/grub ($prefix) is where grub.cfg goes. Judging from your first
>> question, is it possible you serve from a different folder than you think 
>> you do?
No, the dhcp-tftp chain is correct. Because /data/amd64 is a jail
(like a chroot) and the chroot is where dhcp and tftpd are running, I
thought maybe the correct sytax should be "grub-mknetdir
--net-directory=/ --subdir=boot/grub", then copy the files to
boot/grub under the chroot folder. No difference, however and client
drops to "grub rescue". /var/log/xferlog shows:
in.tftpd[41762]: RRQ from filename i386-pc/core.0
in.tftpd[41762]: tftp: client does not accept options
in.tftpd[41763]: RRQ from filename i386-pc/core.0
in.tftpd[41764]: RRQ from filename /boot/grub/i386-pc/normal.mod
in.tftpd[41764]: sending NAK (1, File not found) to

grub rescue> set

I changed the dhcp-tftpd configuration from prefix /boot/grub/i386-pc,
to test whether the problem lay in tftpd's inability to rad giles from
folders one level up (cd ..). Same result.

reply via email to

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