How to create a bootable USB for linux

1 496 0
How to create a bootable USB for linux

Đang tải... (xem toàn văn)

Thông tin tài liệu

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i/dev/sdX1 replacingXwiththedevicenodeofyourmedia. STEP3:Ensuretheusbdriveisbootable.Forthat,weneedaworkingMBRcodeandanactivepartition. Openacommandpromptandcdtoyour'syslinux/mbr'folder.Runthefollowingtwocommands, replacingXwiththedevicenodeofyourusbdrive: dd conv=notrunc bs=440 count=1 if=mbr.bin of=/dev/sdX parted /dev/sdX set 1 boot on Thiswillwritethesyslinuxmbrcode(mbr.bin)intothemasterbootrecordofthedrive, andmarkfirstpartitionasactive(bootable).Forthesecondtask,youcanusefdiskorother diskpartitioningtools. STEP4:CopyaLinuxkernelimage(likevmlinuz)totheroot(/dev/sdX1)ofyourmedia. STEP5:Lastly,createa'syslinux.cfg'fileintherootofyourmedia(/dev/sdX1)and enteranyconfigurationoptionsyouneed/want. . 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& apos;folder.Run./syslinuxi/dev/sdX1 replacingXwiththedevicenodeofyourmedia. STEP3:Ensurethe usb driveis bootable. For that,weneed a workingMBRcodeandanactivepartition. Open a commandpromptandcd to your'syslinux/mbr'folder.Runthefollowingtwocommands, replacingXwiththedevicenodeofyour usb drive: dd

Ngày đăng: 13/02/2014, 00:59

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan