[ipxe-devel] how to edit kernel & initrd
    Michael Brown 
    mbrown at fensystems.co.uk
       
    Thu Mar  7 13:36:58 UTC 2013
    
    
  
On Thursday 07 Mar 2013 11:47:10 Leo Baltus wrote:
> A kernel command line can get quite complex with all sorts of arguments. So
> it would be very convenient in ad hoc situations.
> 
> Is there a possibility of editing a predefined kernel and initrd in the
> same way as you can edit things with 'config'?
Yes, you can do this using the "read" command:
  #!ipxe
  set cmdline selinux=0 console=ttyS0,115200n8 console=tty0
  echo -n Kernel command line: ${}
  read cmdline
I've updated http://ipxe.org/cmd/read to include this as an example.
Michael
    
    
More information about the ipxe-devel
mailing list