View Single Post
Posts: 490 | Thanked: 191 times | Joined on May 2010
#324
You can probably manually edit the partition table dump and put it back.

sfdisk -d /dev/mmcblk1 > partition.table.dump
and the do cat partition.table.dump

it should give you something like

# partition table of /dev/mmcblk1
unit: sectors

/dev/mmcblk1 : start= 0, size= 8388608, Id= 0

and you can add partitions to it here is for example my partition table of ssd

# partition table of /dev/sda
unit: sectors

/dev/sda1 : start= 0, size= 0, Id= 0
/dev/sda2 : start= 63, size= 21012957, Id=83
/dev/sda3 : start= 21013020, size= 72196110, Id=83
/dev/sda4 : start= 93209130, size= 31824765, Id= 5
/dev/sda5 : start= 93209193, size= 31824702, Id= b

you can use http://www.t1shopper.com/tools/calculate/ tool to convert gb to kilobytes.

Last edited by aligatro; 2010-07-26 at 04:39.
 

The Following User Says Thank You to aligatro For This Useful Post: