View Single Post
Banned | Posts: 358 | Thanked: 160 times | Joined on Dec 2010
#6
Originally Posted by danramos View Post
Forewarning.. don't do what he suggested without first backing up your data. I've never used sfdisk but it strongly smells like a command to create an unusable card. (You're a real a**hole, epitaph.)

I suggest, instead, backing up all your contents and reading this:
https://garage.maemo.org/plugins/wik...id=1382&type=g also
http://wiki.maemo.org/Repartitioning_the_flash

He's covering how to restore the internal memory--but it should give you hints on how to figure out partitioning your mmcblk1 (SD card).

You're welcome.
Why I'm A*hole? I'm just wondering where my post is gone, because this is what I use on my card and also sfdisk is the right command. BTW. I reported you.


Code:
#!/bin/sh
sfdisk /dev/mmcblk1 << EOF
0,,0b
EOF
Extension doesn't matter in Linux because of multi-user system but it is good practice to add .sh to the script .

Last edited by epitaph; 2011-04-19 at 12:18.