Friday, January 11, 2008

Mounting ISO

mount /path/to/image.iso /mnt/mountpoint -t iso9660 -o loop=/dev/loop

Testing with XP ISO.

sudo mount ./WinXP_sp2.iso /mnt/xpiso -t iso9660 -o loop=/dev/loop0

The above code works.

I need to trick the system into thinking that it is accessing the CD for installing linux.