Changes between Version 1 and Version 2 of howtostarthdt

Show
Ignore:
Timestamp:
10/29/09 21:18:14 (7 years ago)
Author:
erwan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howtostarthdt

    v1 v2  
    1111 
    1212HDT is a com32 module that requires syslinux 3.74 or later. As every com32 module it can be booted like : 
    13  
     13{{{ 
    1414   label hdt 
    1515     COM32 hdt.c32 
    16  
     16}}} 
    1717=== Using the com32 module with kvm/qemu === 
    1818 
     
    2121First, install kvm/qemu, then setup you environment by creating a local pxe directory like "~/pxe". 
    2222In this pxe dir, create another 'pxelinux.cfg' directory where you'll put the following configuration file named "default" : 
    23  
     23{{{ 
    2424  default hdt 
    2525  prompt 1 
     
    2727  label hdt 
    2828    KERNEL hdt.c32 
    29  
     29}}} 
    3030The copy the pxelinux.0 file from the syslinux archive to the ~/pxe dir. 
    3131At last, copy the hdt.c32 file in the same directory. 
    3232 
    3333Create a dummy disk file with  
     34{{{ 
    3435  dd if=/dev/zero of=dummy.img bs=1M count=5 
    35  
     36}}} 
    3637It's now time to start qemu/kvm to use that local configuration. 
    37  
     38{{{{ 
    3839  kvm -hda ~/pxe/dummy.img -net nic -net user -boot n -tftp ~/pxe -bootp /pxelinux.0  
    39  
     40}}} 
    4041That's it ! 
    4142