Storing an image on a Bootable ISO

Storing an image on a LAN computer is nice, but sometimes, you may want to burn this image on a bootable DVD. It can be useful to bring such a media to a remote site, and regenerate a computer. It can also be considered as a practical way to backup a whole system.

Directory names are given here as samples. Adapt the following according to your specific needs and configuration.

  1. We suppose you've recorded an image within the C:\PartImage\ directory. The image is called My_Image_2005-12-25.
  2. Download initrd.gz and save this file within the C:\PartImage\My_Image_2005-12-25\ directory.
  3. Download kernel and save this file within the C:\PartImage\My_Image_2005-12-25\ directory.
  4. Download isolinux.bin and save this file within the C:\PartImage\My_Image_2005-12-25\ directory.
  5. Create a text file, called isolinux.cfg, within the C:\PartImage\My_Image_2005-12-25\ directory, containing:
    DEFAULT rescue
    PROMPT 0
    LABEL rescue
    KERNEL kernel
    APPEND vga=normal devfs=nomount pxe ramdisk_size=33000 load_ramdisk=1 init=/linuxrc prompt_ramdisk=0 initrd=initrd.gz root=/dev/ram0 rw noapic lba
    

  6. Download CDR Tools 2.0.1. Install the EXE (it's an embedded MSI) on your computer.
  7. Open a DOS Prompt and go to your image directory:

  8. Use mkisofs (from CDR Tools) to generate a bootable ISO:

    mkisofs -r -b isolinux.bin -boot-info-table -no-emul-boot -boot-load-size 4 -o ../BurnMe.iso .
    /!\ Don't forget the trailing dot. If you're not familiar with DOS, remember that mkisofs.exe has to be stored somewhere in your PATH for this command to work. Why not store it in your C:\WINDOWS\SYSTEM32 directory ?

  9. The ISO generation should start...:

  10. And you should get a full working C:\PartImage\BurnMe.iso image.

  11. Burn the ISO. That's all.

Note: You might use Ahead Nero or any third-party software to generate a bootable ISO. Your mileage might vary.



NEXT  (Annex)

BACK  (Using PING)

Summary


Copyright © 2005 SysAngel