HowtoCreateaBootableUSB:ForLinux
STEP0:Yourmotherboard(BIOS)hastosupportbootfromusb(usbkeyorusbhdd).
Youdon'tneedtoknowwhichofthesetypesyourmediaisthough,yourBIOSrecognizes
theusbcontrollerinthedevice,andthisdeterminesusbkeyorusbhddtype.
STEP1:Downloadthelatestcopyofsyslinuxandextractit.Download .
STEP2:Openacommandpromptandcdtoyour'syslinux/linux'folder.Run./syslinuxi/dev/sdX1
replacingXwiththedevicenodeofyourmedia.
STEP3:Ensuretheusbdriveisbootable.Forthat,weneedaworkingMBRcodeandanactivepartition.
Openacommandpromptandcdtoyour'syslinux/mbr'folder.Runthefollowingtwocommands,
replacingXwiththedevicenodeofyourusbdrive:
dd conv=notrunc bs=440 count=1 if=mbr.bin of=/dev/sdX
parted /dev/sdX set 1 boot on
Thiswillwritethesyslinuxmbrcode(mbr.bin)intothemasterbootrecordofthedrive,
andmarkfirstpartitionasactive(bootable).Forthesecondtask,youcanusefdiskorother
diskpartitioningtools.
STEP4:CopyaLinuxkernelimage(likevmlinuz)totheroot(/dev/sdX1)ofyourmedia.
STEP5:Lastly,createa'syslinux.cfg'fileintherootofyourmedia(/dev/sdX1)and
enteranyconfigurationoptionsyouneed/want.
. How to Create a Bootable USB: For Linux
STEP0:Yourmotherboard(BIOS)has to supportbootfrom usb (usb keyor usb hdd).
Youdon'tneed to knowwhichofthesetypesyourmediaisthough,yourBIOSrecognizes
the usb controllerinthedevice,andthisdetermines usb keyor usb hddtype.
STEP1:Downloadthelatestcopyofsyslinuxandextractit.Download. .
STEP2:Open a commandpromptandcd to your'syslinux /linux& apos;folder.Run./syslinuxi/dev/sdX1
replacingXwiththedevicenodeofyourmedia.
STEP3:Ensurethe usb driveis bootable. For that,weneed a workingMBRcodeandanactivepartition.
Open a commandpromptandcd to your'syslinux/mbr'folder.Runthefollowingtwocommands,
replacingXwiththedevicenodeofyour usb drive:
dd