06:57:51 # Life Depressed. I tried to add a new partition with gparted, and somehow all of my partition tables are gone. I don't know how to recover from here... Too bad. Does it have a problem with FAT and GPT partition tables? ... and I recovered partition table from /var/log/installer/partman.log. Gparted tip; I can specify 'unit B' to use the values I can see in partman.log. Good luck that power didn't run out...
# parted unit B mklabel gpt mkpart primary fat32 20480 209735679 mkpart primary hfs+ 209735680 37656481791 mkpart primary ext3 37656481792 47656482303 mkpart primary ext3 47656482304 120034106879 # gptsync
UPDATE: there is a tool called testdisk which can scan disk and recover partition table.
$Id: dancer-diary.el,v 1.93 2009/01/04 03:42:29 dancer Exp $