View Single Post
Posts: 490 | Thanked: 191 times | Joined on May 2010
#337
sfdisk -uM /dev/mmcblk1 << EOF
,3778,C
,1900,L
,2500,83
EOF

creates 3 partitions, but they don't have a proper filesystems for some reason. oO

This can be fixed by manually reformating each one

mkfs.vfat /dev/mmcblk1p1 #first one into fat32
mkfs.ext3 /dev/mmcblk1p2 #second one into ext3 (android)
mkfs.ext3 /dev/mmcblk1p3 #for easy debian . also ext3

you can copy-paste with comments, it will just ignore them
 

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