PDA

View Full Version : [SOLVED] Is it possible to put a live ISO on a hard drive partition?


MaxIBoy
January 9th, 2009, 12:06 AM
Basically, I want to create a SquashFS partition on my hard drive, sized at exactly 700 Mb (the size of a CD,) so I can install distros from the LiveCD image without the slowness of the optical drive. Is it possible?

x22
January 9th, 2009, 01:14 AM
well, let's call the new partition /dev/sdb3--whatever
let's call the unmounted CD /dev/sdc--w'r

in a root terminal (or "sudo")

"dd if=/dev/sdc of=/dev/sdb3"

MaxIBoy
January 9th, 2009, 01:21 AM
That is easy! And I'm guessing this works just as well for disk images (so I don't have to waste the CD.) But how would I go about editing grub's menu.lst file to boot this? As in, do I have to do anything special for squashFS partitions?

Sorivenul
January 9th, 2009, 01:37 AM
That is easy! And I'm guessing this works just as well for disk images (so I don't have to waste the CD.) But how would I go about editing grub's menu.lst file to boot this? As in, do I have to do anything special for squashFS partitions?

You may want to take a look at this post (http://ubuntuforums.org/showpost.php?p=5711022&postcount=23) by kagashe regarding LiveCDs on partitions and GRUB entries.

MaxIBoy
January 9th, 2009, 11:41 AM
Thanks, that's exactly what I was looking for.