Jump to content

How to remove linux swap and add to fat32?


Recommended Posts

Guest whitedevilo
Posted (edited)
C:\>cd android

C:\Android>adb shell

# parted /dev/block/mmcblk0

parted /dev/block/mmcblk0

GNU Parted 1.8.8.1.179-aef3

Using /dev/block/mmcblk0

Welcome to GNU Parted! Type 'help' to view a list of commands.

(parted) print

print

print

Model: SD SU02G (sd/mmc)

Disk /dev/block/mmcblk0: 1978MB

Sector size (logical/physical): 512B/512B

Partition Table: msdos

Number Start End Size Type File system Flags

1 32.3kB 1633MB 1633MB primary fat32 lba

2 1633MB 1883MB 250MB primary ext3

3 1883MB 1978MB 94.9MB primary linux-swap(v1)

So I have such configuration and I am running now T. kernel 1.7 and modaco rom 2.8 (in combo with Advanced Task Manager very fast and smooth setup)

is there a way to delete linux swap and add it to fat32 partition w/o deleting data? or I need to backup all, then delete all partitions and make new partitions?

Edited by whitedevilo
Guest clarkEEE1
Posted (edited)

You can remove the swap partition but you cant add it to the fat32 partition without creating a new partition.

But then you would have to delete the ext partition to create room for more fat32 because ext is stuck right at the end of your fat32.

Edited by clarkEEE1
Posted

long story short: backup your fat32 contents, ext contents, and use amon ra recovery to create new partitions.

sdparted -es 256M -ss 0      creates no swap ext2=256M fat32=remaining free space
sdparted -ufs ext4 upgrades ext partition to ext4[/codebox]

obviously you can adjust the 256M to your needs.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.