View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#5
Sorry been busy all day long.
The table.txt looks good. Try
Code:
sudo gainroot
sfdisk -d --no-reread /dev/mmcblk0 < table.txt
Or try this command to create your table without any editor. There are some errors happening through editors using LF, CR or both
Code:
echo "unit: sectors
> /dev/mmcblk0p1 : start= 64, size= 4194304, Id=c
> /dev/mmcblk0p2 : start= 4194368, size= 56631296, Id=83
> /dev/mmcblk0p3 : start= 60825664, size= 1572864, Id=82
> /dev/mmcblk0p4 : start= 0, size= 0, Id= 0" > table_new
sfdisk -d --no-reread /dev/mmcblk0 < table_new
 

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