Make .iso images bootable from MBR (or GPT) partitions

Ask your support questions in here

Moderator: Moderator Team

Post Reply
saulius2
Posts: 18
Joined: Sat Jan 17, 2009 4:01 pm

Make .iso images bootable from MBR (or GPT) partitions

Post by saulius2 »

Hello there,

once I saw the challenge (or feature bounty) called: Make our ISOs flashable to USB drives ("isohybrid")

I suppose this works now: CORE-12648, CORE-13184
I guess one can overwrite hard disk with the .iso , and then it boots. Fine.

My idea is to take the implementation a step further: to copy .iso image into a specific partition on HDD thus preserving other partitions intact.

Or does this already work?
saulius2
Posts: 18
Joined: Sat Jan 17, 2009 4:01 pm

Re: Make .iso images bootable from MBR (or GPT) partitions

Post by saulius2 »

I mean scenario like this:
Re: Booting El Torito image from a partition table wrote:
Download SGD [2] , Kaspersky [1] or Rescatux [3]. All three are hybrid GRUB iso9660 images. Dump one of them into /dev/loop1p1

# cat [...].iso > /dev/loop1p1

Run under kvm or qemu. It will hang on "GRUB":

# qemu -hda /dev/loop1

Now download almost whatever live distro. We'll try with SLAX [4] because it is small:

# wget http://www.slax.org/download/7.0.8/slax ... 8-i486.iso

Make it hybrid "partOK" and dump it into the partitioned device:

# isohybrid -partok slax-Russian-7.0.8-i486.iso
# cat slax-Russian-7.0.8-i486.iso > /dev/loop1p1

Test again with virtualization or emulation. It will show the SLAX splash welcome screen.

# qemu -hda /dev/loop1
Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests