Add the following kernel boot option to the kernel line in grub’s menu.lst and reboot ( I’m not sure which one does the trick ):
loop.max_part=63 max_part=63
Create a sparse disk image file ( 40 GB reserved, 0 bytes on disk )
dd if=/dev/zero of=fs.image bs=1024 seek=40000000 count=0
Initialize a new loop device ( /dev/loop0 )
losetup -f fs.image
Create a [...]
Continue reading about Partitions on a loop device ( /dev/loop0p0, /dev/loop0p1, … ) »