Need some help NFS booting a mounted Ubuntu 16.04 mini.iso (both UEFI and BIOS)
|
2016-05-23, 21:43
Post: #1
|
|||
|
|||
Need some help NFS booting a mounted Ubuntu 16.04 mini.iso (both UEFI and BIOS)
Hey there,
I'm completely new to network booting/iPXE, etc., and I'm having some problems getting a network boot setup working. I'm hoping somebody here can help. Here's a quick overview of my setup: 1. I have configured a DHCP server to instruct chainloading of either ipxe.efi or undionly.kpxe depending on whether or not the boot client is UEFI or BIOS 2. The DHCP server sends the client to a TFTP server running on a QNAP TurboNAS to serve up the correct file 3. The same QNAP TurboNAS has the mini.iso for Ubuntu 16.04 mounted with read-only guest permissions and available via NFS 4. I have built iPXE w/ DOWNLOAD_PROTO_NFS enabled Up to here is where things seem to fall apart; I Ctrl+B in to the command line to start playing with stuff but I can't seem to get the kernel to load. I know that NFS is working, because I can get to files such as the initrd without issue: Code: dhcp Works just fine. But when I try to get the kernel to load, I get Exec format error. From cursory Googling I'm going to assume that the kernel image doesn't have the EFI stub compiled properly but I'm not totally sure. I have tried several different commands: Code: kernel nfs://guest@<server ip>/Ubuntu1604Mini/linux #doesn't work Is this an EFI issue, or am I just missing something monumentally obvious? Any help on this would be incredibly appreciated. |
|||
2016-11-02, 11:50
Post: #2
|
|||
|
|||
RE: Need some help NFS booting a mounted Ubuntu 16.04 mini.iso (both UEFI and BIOS)
Have you verified that the same setup works with legacy BIOS? Is this an UEFI-specific issue?
Can you show the entire script with all the commands involved for booting this menu entry? Alternatively use DEBUG=script and "imgstat" right before booting to show us a screenshot with the issue. |
|||
2016-11-02, 15:31
(This post was last modified: 2016-11-02 15:38 by MultimediaMan.)
Post: #3
|
|||
|
|||
RE: Need some help NFS booting a mounted Ubuntu 16.04 mini.iso (both UEFI and BIOS)
"Doesn't work" doesn't work: what is displayed? Screen Grabs are very useful. I built and run a large NFS boot farm on UEFI hardware.
You can get some useful debugging info without resorting to a full debug build by changing some of your scripts: from this: Code: initrd nfs://guest@<server ip>/Ubuntu1604Mini/initrd.gz to this: Code: initrd nfs://guest@<server ip>/Ubuntu1604Mini/initrd.gz || Also which version of Ubuntu are you attempting to run? i386, x86_64? "Thus far, you have been adrift within the sheltered harbor of my patience..." |
|||
2016-11-02, 18:06
(This post was last modified: 2016-11-02 18:19 by maggreg.)
Post: #4
|
|||
|
|||
RE: Need some help NFS booting a mounted Ubuntu 16.04 mini.iso (both UEFI and BIOS)
This config working for me (desktop live), efi and legacy, 16.04 and 16.10:
Code: :ubuntu And mini: Code: :ubuntumini My "exports" for this share: Code: "/data/tftpboot" *(insecure,insecure_locks,root_squash,anongid=99,anonuid=99,no_subtree_check,rw,async) pzdr |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)