The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
linux options
2014-05-01, 16:38
Post: #1
linux options
I've got this ISO with a linux-based diagnostics tool and I'd like to boot it from the network using iPXE.

Here's the original boot configuration file (isolinux-based):
Code:
label ldiag
    kernel /live/vmlinuz
    append file=/live/filesystem.squasfs boot=live vga=791 initrd=/live/initrd.img ro quiet 2

I'd like to know how to translate that into a iPXE script, especially the "file" argument?
This is what I got
Code:
#!ipxe
set boot-path=http://srv1/lenovo-diags
initrd ${boot-path}/initrd.img
imgfetch ${boot-path}/filesystem.squashfs
kernel ${boot-path}/vmlinuz boot=live vga=791 ro file=filesystem.squashfs
boot vmlinuz

The kernel boots and the script inside initrd seem to run but after it complains it cannot find the filesystem...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
linux options - blanalex - 2014-05-01 16:38
RE: linux options - MultimediaMan - 2014-05-02, 08:14
RE: linux options - MultimediaMan - 2014-05-04, 16:56
RE: linux options - numbnuts - 2014-11-04, 03:57
RE: linux options - numbnuts - 2014-11-04, 11:02
RE: linux options - robinsmidsrod - 2014-12-03, 15:38



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