Difference between revisions of "HowTos"

From Syslinux Wiki
Jump to: navigation, search
m (Category added)
(How to Create a Bootable USB: Windows XP and Vista)
Line 32: Line 32:
 
the usb controller in the device, and this determines usb-key or usb-hdd type.<br>
 
the usb controller in the device, and this determines usb-key or usb-hdd type.<br>
  
'''STEP 1:'''
+
'''STEP 1:'''  
Download the 'HP USB Disk Storage Format Tool', found [http://downloads.pcworld.com/pub/new/utilities/peripherals/SP27608.exe here] to format<br>
+
your disk.  Be sure to check the "Make MS-DOS Boot Disk" option.<br>
+
 
+
'''STEP 2:'''  
+
 
Delete all MS-DOS system files(such as io.sys, command.com, etc) from your USB drive.<br>
 
Delete all MS-DOS system files(such as io.sys, command.com, etc) from your USB drive.<br>
 
Also, at this time, we can use FreeDos.org boot files. They work well.<br>
 
Also, at this time, we can use FreeDos.org boot files. They work well.<br>
  
'''STEP 3:'''
+
'''STEP 2:'''
 
Download the latest copy of syslinux and extract it. [http://syslinux.zytor.com/wiki/index.php/Download Download].
 
Download the latest copy of syslinux and extract it. [http://syslinux.zytor.com/wiki/index.php/Download Download].
  
'''STEP 4:'''  
+
'''STEP 3:'''  
Open a command prompt and cd to your 'syslinux\win32' folder. Run syslinux.exe X: <br>
+
Open a command prompt and cd to your 'syslinux\win32' folder. Run syslinux.exe -m -a X: <br>
replacing X with the drive letter of your media.
+
replacing X with the drive letter of your media.  This will install suitable MBR code into your
 +
flash drive and mark the partition on it as active.
  
'''STEP 5:'''  
+
'''STEP 4:'''  
 
Copy a Linux kernel image (like vmlinuz) to the root (X:\) of your media. <br>
 
Copy a Linux kernel image (like vmlinuz) to the root (X:\) of your media. <br>
  
'''STEP 6:'''  
+
'''STEP 5:'''  
 
Lastly, create a 'syslinux.cfg' file in the root of your media (X:\) and <br>
 
Lastly, create a 'syslinux.cfg' file in the root of your media (X:\) and <br>
 
enter any configuration options you need/want.
 
enter any configuration options you need/want.
  
 +
 +
 +
Download the 'HP USB Disk Storage Format Tool', found [http://downloads.pcworld.com/pub/new/utilities/peripherals/SP27608.exe here] to format<br>
 +
your disk.  Be sure to check the "Make MS-DOS Boot Disk" option.<br>
  
 
= How to Create a Bootable USB: For Linux =
 
= How to Create a Bootable USB: For Linux =

Revision as of 09:28, 28 December 2010


Please add more HowTo's here. We can start with the questions, and later fill up the answers.

SYSLINUX Configuration

  • How to write the config file for {PXE/ISO/EXT}LINUX?
  • How to create the simple menu system?
  • How to create the graphical menu system?

Links

installing syslinux / how to create a bootable...


How to Create a Bootable USB: Windows XP and Vista

STEP 0: Your motherboard (BIOS) has to support boot from usb (usb-key or usb-hdd).
You don't need to know which of these types your media is though, your BIOS recognizes
the usb controller in the device, and this determines usb-key or usb-hdd type.

STEP 1: Delete all MS-DOS system files(such as io.sys, command.com, etc) from your USB drive.
Also, at this time, we can use FreeDos.org boot files. They work well.

STEP 2: Download the latest copy of syslinux and extract it. Download.

STEP 3: Open a command prompt and cd to your 'syslinux\win32' folder. Run syslinux.exe -m -a X:
replacing X with the drive letter of your media. This will install suitable MBR code into your flash drive and mark the partition on it as active.

STEP 4: Copy a Linux kernel image (like vmlinuz) to the root (X:\) of your media.

STEP 5: Lastly, create a 'syslinux.cfg' file in the root of your media (X:\) and
enter any configuration options you need/want.


Download the 'HP USB Disk Storage Format Tool', found here to format
your disk. Be sure to check the "Make MS-DOS Boot Disk" option.

How to Create a Bootable USB: For Linux

STEP 0: Your motherboard (BIOS) has to support boot from usb (usb-key or usb-hdd).
You don't need to know which of these types your media is though, your BIOS recognizes
the usb controller in the device, and this determines usb-key or usb-hdd type.

STEP 1: Download the latest copy of syslinux and extract it. Download.

STEP 2: Open a command prompt and cd to your 'syslinux/linux' folder. Run syslinux.exe /dev/sdX1
replacing X with the device node of your media.

STEP 3: Copy a Linux kernel image (like vmlinuz) to the root (/dev/sdX1) of your media.

STEP 4: Lastly, create a 'syslinux.cfg' file in the root of your media (/dev/sdX1) and
enter any configuration options you need/want.


Creating bootable images

Booting

No native BIOS support

  • Possible to boot from CD if there is no native CD support in bios?
  • Possible to boot from USB if there is no native USB support in bios?