2010-12-11

How-To: Create a DOS Bootable iso file from an .img file


Method 1 : use UltraISO <<< 實作成功 >>>
Bootable->Load boot file –> select image file –> save as *.iso

 
Method 2 : Use mkisofs.exe <<< 尚未實作成功 >>>
Assuming the floppy image file to be turned into a bootable CD is /scratch/linuxinst/m91inst/images/network.img, master CD image /tmp/cd.iso with the following command (Unix-like example):
mkisofs -pad -b network.img -R -o /tmp/cd.iso /scratch/linuxinst/m91inst/images/network.img
Note the following:
Command parameter or part Functionality
-pad : Add padding to the end to make it readable on all CD players
-b network.img : -b tells mkisofs which *floppy image* to use for booting. If the floppy image boots as a floppy, it will boot as a CD. Note that there is no path prepended to network.img. The network.img bootable image is assumed to be relative to the file being imagized, in this case /scratch/linuxinst/m91inst/images/network.img
-R : Include Rock-Ridge extensions for readability everywhere
-o /tmp/cd.iso : This defines the output file, an ISO9660 image ready for burning
/scratch/linuxinst/m91inst/images/network.img : This is the file to put on the CD.

Method 3 : use ImgBurn <<< 實作成功 >>>
Please refer to http://www.pcmech.com/article/how-to-create-a-bootable-cd-with-imgburn/
重點在於 (1) 資料是要放在 ---- 開機區資料區. (2) 開機區的容量限制.
詳細區別參見 : 使用 ultraiso 修改 DOS 開機 ISO 檔

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.