View Single Post
Posts: 65 | Thanked: 113 times | Joined on Mar 2011 @ Austria
#2
ALTERNATIVE with fdisk
- HOWTO possibly resize partitions on an EMTPY N900 using rescueOS with fdisk


This is an alternative to the above resize steps, using fdisk instead of sfdisk.

The resulting size of the partitions on the internal 32GB card are 6GB for MyDocs and 23,6 GB for home (and opt), 900+MB for swap.

Start with step (1) (see above)!

Code:
fdisk -S 32 -H 64 /dev/mmcblk0
Within fdisk do the following:

delete partitions
d / 4, d /3, d /2,d
verify that you have an empty partition table with "p"

add new partitions
n / p / ENTER / +6000M
n / p / ENTER /+23600M
n / p / ENTER / ENTER

toggle partition type
t / 1 / c
t / 3 / 82

"w" write the parition table to disk

Continue with step "2-b" to make filesystems, then flash combined (see above).
 

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