Posts: 591
Threads: 46
Joined: Nov 2014
Reputation:
0
03-24-2015, 09:36 PM
(This post was last modified: 03-27-2015, 03:21 PM by Scott(0).)
Maybe someone can help me with a small problem.
I have an 8gb micro sd card with a linux swap, ext4 and fat 32 partition on it. But it only shows the fat32 partition. Now i want to remove the linux swap and ext4 partition but they dont show up in gparted.
How can i remove them so i can use the complete card?
Life on earth is expensive but it does include a free trip around the sun.
Posts: 1,255
Threads: 21
Joined: Aug 2014
Reputation:
0
Quote:How can i remove them so i can use the complete card?
http://askubuntu.com/questions/511467/ho...ro-sd-card
Then in gparted. Create new msdos drive. Then after that format new fat partition to your liking.
You can find the id of sd card in gparted or with
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Posts: 591
Threads: 46
Joined: Nov 2014
Reputation:
0
The problem is that the card isnt showing as a 8gb card but only 5gb. When i open gparted i only see the fat32 partition, the other 2 arent visible.
Life on earth is expensive but it does include a free trip around the sun.
Posts: 591
Threads: 46
Joined: Nov 2014
Reputation:
0
03-25-2015, 12:25 PM
(This post was last modified: 03-25-2015, 12:34 PM by TMG1961.)
(03-25-2015, 10:12 AM)Jerry link Wrote: rokytnji's link already contains the solution you need. Look at the second answer on the link. First do:
to see what the card is listed as. Be very careful with dd, don't wipe the wrong drive!
I did follow the instructions. But the drive still only shows as 5gb, the 2 other partitions are completely invisible. Now i have a 5gb card instead of an 8gb. No idea why the other 2 partitions are invisible.
Life on earth is expensive but it does include a free trip around the sun.
Posts: 591
Threads: 46
Joined: Nov 2014
Reputation:
0
I did follow the instructions. But the drive still only shows as 5gb, the 2 other partitions are completely invisible. Now i have a 5gb card instead of an 8gb. No idea why the other 2 partitions are invisible.
Life on earth is expensive but it does include a free trip around the sun.
Posts: 1,255
Threads: 21
Joined: Aug 2014
Reputation:
0
Quote:I did follow the instructions. But the drive still only shows as 5gb,
If fdisk -l and parted -l did not list the card as 8 gig. Which you could have provided readouts to show in this thread.
Then we do not know what to tell you other than that you own a counterfeit 8 gig micro sd card.
http://www.humanlogic.com/sdinsight/
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Posts: 591
Threads: 46
Joined: Nov 2014
Reputation:
0
Code:
theo@theo-laptop:~$ sudo parted -l
Model: ATA Hitachi HTS72106 (scsi)
Disk /dev/sda: 58,5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 54,2GB 54,2GB primary ext4 boot
2 54,2GB 58,5GB 4290MB extended
5 54,2GB 58,5GB 4290MB logical linux-swap(v1)
Model: HTC Android Phone (scsi)
Disk /dev/sdb: 5263MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Number Start End Size File system Flags
1 0,00B 5263MB 5263MB fat32
Code:
theo@theo-laptop:~$ fdisk -l
Disk /dev/sda: 58.5 GB, 58506416640 bytes
255 heads, 63 sectors/track, 7113 cylinders, total 114270345 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e21ef
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 105889791 52943872 83 Linux
/dev/sda2 105891838 114270207 4189185 5 Extended
/dev/sda5 105891840 114270207 4189184 82 Linux swap / Solaris
Disk /dev/sdb: 5262 MB, 5262802944 bytes
162 heads, 62 sectors/track, 1023 cylinders, total 10278912 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
The card was a 8gb and always showed as 8gb. But i was trying to install a custom rom on phone and i think i did something i shouldnt have done. I created 3 partitions..1 ext4, 1 linux swap and 1 fat32 partition. Now only the fat32 partition shows..the other 2 arent visible even after using dd
Life on earth is expensive but it does include a free trip around the sun.
Posts: 1,255
Threads: 21
Joined: Aug 2014
Reputation:
0
Not really sure what to tell you myself. If this is the soldered in 8 gig Android Phone hard drive. Though you mention micro sd which makes makes me think it goes into a slot.
Maybe someone else has a idea on where to go from here. Because I do not know how you may have broke it with the general/generic info that is given.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
Posts: 688
Threads: 49
Joined: Jul 2014
TMG1961, Is your microSD card in your phone and your phone is conected to your PC with the cable?
If that is the case, Android, for some reason, hasn't mounted all the partitions on microSD card to your PC.
If you have a microSD card reader, use that to connect microSD card to your computer and then use Gparted.
I'm sure that there is a way to repartition it from an Android phone.
Maybe there is some application, but I think it will work only if you rooted your phone.
Perhaps if you can boot your phone into recovery mode and format your drive from there.
Look up on the internet