View Single Post
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#96
Originally Posted by chethanbp521 View Post
How to Delete The Partitions created to Install NITDroid on the Nokia N900? Please help.
Well, first, do you actually want to delete the partition or just delete nitdroid from it? If the latter is the case, just run:

Code:
root
mount -o noatime,rw /dev/mmcblk0p5
rm -rf /and/.
in xterm. You can then use the nitdroid partition for whatever you want.

Deleting it won't give you any more space unless you resize MyDocs. If you do that, you will lose all data. That said, if you have a backup and want to continue, you can follow these steps (I take no responsibility if you brick your device, make sure you understand what you are doing):

Code:
/home/user/bin/fdisk /dev/mmcblk0
Delete partition 1 (MyDocs) and partition 5 (NITDroid):

Code:
d
1
d
5
Create new primary parition:

Code:
n
p
1
leave the defaults for start and end.
If you are sure you want to continue:

Code:
w
reboot
After the restart:

Code:
root
/home/user/bin/fdisk /dev/mmcblk0
t
1
0c
w
mkfs.vfat -F 32 -n MyDocs  /dev/mmcblk0p1
reboot
Restore from your backup, and everything should be back to normal.
 

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