Linux / Unix‎ > ‎

CDROM ISO

Linux ISO / CDROMs / DVD

ERASE CDRW

cdrecord blank=all
 

WRITE ISO

If your CDRW is on /dev/hdc :
cdrecord dev=ATAPI:/dev/hdc some-iso-file.iso
 

Bootable CDROM

   * Install syslinux (package).
   * make a directory called bootcd
   * copy /usr/lib/syslinux/isolinux.bin to bootcd
   * copy desired kernel image from /boot to bootcd/linux. Example:
   * copy desired initrd.img from /boot to bootcd/initrd.img. Example:
   * edit bootcd/isolinux.cfg and place the following line
   * mkisofs -o bootcd.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -hide-rr-moved -R bootcd/
   * burn the image to CD.

Extract boot image from an iso

isoinfo -d -i mycd.iso

CD-ROM is in ISO 9660 format
System id: Win32
Volume id: BartPE
Volume set id: 
Publisher id: 
Data preparer id: 
Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
Copyright File id: 
Abstract File id: 
Bibliographic File id: 
Volume set size is: 1
Volume set sequence number is: 1
Logical block size is: 2048
Volume size is: 94113
El Torito VD version 1 found, boot catalog is in sector 19
NO Joliet present
NO Rock Ridge present
Eltorito validation header:
    Hid 1
    Arch 0 (x86)
    ID ''
    Key 55 AA
    Eltorito defaultboot header:
        Bootid 88 (bootable)
        Boot media 0 (No Emulation Boot)
        Load segment 0
        Sys type 0
        Nsect 4
        Bootoff 53 83
  • extract cd boot image
dd if=../parkeon.iso of=boot.img bs=2048 count=4 skip=83

Burn back an iso with boot image

mkisofs -iso-level 4 -volid ""BartPE"" -A PEBUILDER/MKISOFS -sysid ""Win32"" -b boot.img -no-emul-boot -boot-load-size 4 -hide bootsect.bin -hide boot.catalog -o bartspe.iso io
-- PatrickNomblot - 07 Jan 2009
Comments