Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE NetBooting Ubuntu 14.04.3 LTS
2016-02-06, 12:54
Post: #2
RE: iPXE NetBooting Ubuntu 14.04.3 LTS
(2016-02-05 17:53)brownmit Wrote:  set ns 192.168.15.25
set np /pxe/linsetup/ubuntu/14043dx64
set args boot=casper netboot=nfs nfsroot=${ns}:${np} ipv6.disable=1 hostname=ubuntu64
initrd nfs://${ns}:${np}/casper/initrd.lz || goto doError
kernel nfs://${ns}:${np}/casper/vmlinuz.efi ${args} || goto doError
boot

Quick check: is this a BIOS boot or a UEFI boot? (I'm guessing BIOS given the "undionly.kpxe", but you then mention "vmlinuz.efi".) If it's UEFI then you need to add "initrd=initrd.lz" to the kernel arguments. You can add this extra argument anyway; it's harmless for a BIOS boot and means that the same iPXE script should then work for both BIOS and UEFI.

Quote:This does not work. It loads the vmlinuz.efi and initrd.lz just fine; during debugging I inserted "imgstat" and "prompt key" before the boot so I could check that the parameters were correct. Boot starts and a few seconds later I get a kernel panic VFS: Unable to mount root fs on unknown block(0,0)

Is the problem that the kernel is failing to find the initrd, or that the initrd is failing to mount the NFS root filesystem? If you're not sure, paste a copy of the boot output here.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: iPXE NetBooting Ubuntu 14.04.3 LTS - mcb30 - 2016-02-06 12:54



User(s) browsing this thread: 2 Guest(s)