03-25-2015, 01:17 PM
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.