how do i create a bootable image using mkisofs

Greg Helton gt at
Fri May 4 19:52:33 UTC 2007

I think the option you're looking for is "-b"
ie, `mkisofs -o recovery-dvd.iso -b /edited-cd-file-dir/BOOTIMG.BIN

This is, of course, assuming the BOOTIMG.BIN is what was used to make
the original boot (and going by the `file` output, chances are it is)

Tomoki Taniguchi wrote:
> My laptop came with a recovery dvd.
> The recovery disc contains a harddrive image
> and restores it using some program (i think its called PQimage)
> i am trying to use that disc to install windows XP
> under VMware player.
> But the recovery disc does a hardware check to see if
> is the laptop for which it was built for.
> So I am have copied the contents of the disk to a folder.
> And trying to edit the automain.bat to skip the hardware check.
> I created an ISO image file using mkisofs
> mkisofs -o recovery-dvd.iso /edited-cd-file-dir
> i mounted this under vmware player.
> but the image file doesn't seem to be a bootable image.
> the root dir of the cd contains two files i feel
> are some how related to the issue
> BOOTIMG.BIN: DOS floppy 1440k, x86 hard disk boot sector
> what options do i need to include in the mkisofs command to
> to make the image file bootable?
> Tomoki Taniguchi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the ubuntu-users mailing list