installed Ubuntu 14.04 against Windows 7. I installed GParted to partition my harddrive since it had occupied entire disk. But, I'm not able to repartition.
Note: After installing Ubuntu replacing Windows 7, almost 70GB is missing.
sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.8
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory.
***************************************************************
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): D7EFA26A-1DD8-4C04-833D-0547B9D384D8
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 5485 sectors (2.7 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1946189823 928.0 GiB 8300 Linux filesystem
5 1946191872 1953523711 3.5 GiB 8200 Linux swap
sudo fdisk -l /dev/sda
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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: 0x0001f044
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1946189823 973093888 83 Linux
/dev/sda2 1946191870 1953523711 3665921 5 Extended
/dev/sda5 1946191872 1953523711 3665920 82 Linux swap / Solaris
gdisk -l /dev/sda
andfdisk -l /dev/sda
– bain Aug 01 '14 at 11:39gdisk -l /dev/sda gives GPT fdisk (gdisk) version 0.8.8
Problem opening -l/dev/sda for reading! Error is 2. The specified file does not exist!
fdisk -l /dev/sda gives Cannot open /dev/sda
– kaspa Aug 01 '14 at 11:48sudo gdisk -l /dev/sda
andsudo fdisk -l /dev/sda
– bain Aug 01 '14 at 11:51fixparts
to delete it http://www.rodsbooks.com/fixparts/ – bain Aug 01 '14 at 12:30