Difference between revisions of "Linux.c32"

From Syslinux Wiki
Jump to: navigation, search
(Syntax)
(Syntax: Syntax change. Previously example used an old, unsupported config file syntax)
Line 10: Line 10:
  
 
= Syntax =  
 
= Syntax =  
  linux.32 path/kernel [-dhcpinfo] arguments...
+
  linux.32 [-dhcpinfo] path/kernel arguments...
  
 
If -dhcpinfo is specified, the DHCP info is written into the file /dhcpinfo.dat in the initramfs.
 
If -dhcpinfo is specified, the DHCP info is written into the file /dhcpinfo.dat in the initramfs.
Line 19: Line 19:
 
<pre>
 
<pre>
 
label superLinuxOS
 
label superLinuxOS
   kernel linux.c32 path/kernel
+
   kernel linux.c32
   append initrd=path/initramfs.cgz root=/dev/ram0 rw quiet
+
   append path/kernel initrd=path/initramfs.cgz root=/dev/ram0 rw quiet
 
</pre>
 
</pre>
  
 
= Further Reading =
 
= Further Reading =
 
None
 
None

Revision as of 21:01, 7 July 2009


About

linux.c32 is a comboot module for Syslinux that loads Linux kernels and memdisk.


Requirements

  • working Syslinux environment
  • working kernel (and initrd/initramfs)

Syntax

linux.32 [-dhcpinfo] path/kernel arguments...

If -dhcpinfo is specified, the DHCP info is written into the file /dhcpinfo.dat in the initramfs.


Example

Here is an example pxelinux.cfg file for booting

label superLinuxOS
  kernel linux.c32
  append path/kernel initrd=path/initramfs.cgz root=/dev/ram0 rw quiet

Further Reading

None