anspectrum
March 5th, 2018, 11:19 AM
Hello,
Ive HP laptop with a traditional HDD and an SSD. The SSD is recent addition to hardware, earlier I had just HDD and I was using it with Ubuntu 16.04.1 (32-bit).
Now Ive installed Ubuntu 16.04.4 (64-bit) and Windows-7 (64-bit) in dual boot mode on SSD and things are working fine. I intend to use HDD as a data storage only with no OS on it.
The problem is that I've left over space ~190GB on SSD that I am unable to use due to failing in creating partition. Somehow my HDD does not let the GParted run and makes it crash. I've tried using "parted" as well to create partition (logical) in unallocated space but it does not let me use the correct bytes.
Here is some of the relevant outputs:
sudo fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xa11cac6d
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 860162047 860160000 410.2G 7 HPFS/NTFS/exFAT
/dev/sda2 860164094 976771071 116606978 55.6G 5 Extended
/dev/sda3 0 0 0 0B 0 Empty
/dev/sda5 860164096 968959999 108795904 51.9G 83 Linux
/dev/sda6 968960000 976771071 7811072 3.7G 82 Linux swap / Solaris
Partition 2 does not start on physical sector boundary. ///// I think this is causing the issue for GParted to fail
Partition table entries are not in disk order.
Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: dos
Disk identifier: 0xd7b0c43e
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 48828415 48826368 23.3G 83 Linux
/dev/sdb2 48830462 56641535 7811074 3.7G 5 Extended
/dev/sdb3 * 56641536 56846335 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb4 56846336 128321535 71475200 34.1G 7 HPFS/NTFS/exFAT
/dev/sdb5 48830464 56641535 7811072 3.7G 82 Linux swap / Solaris
Partition table entries are not in disk order.
And parted output:
sudo parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print free
Model: ATA NT-256 (scsi)
Disk /dev/sdb: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
32.3kB 1049kB 1016kB Free Space
1 1049kB 25.0GB 25.0GB primary ext4
25.0GB 25.0GB 1048kB Free Space
2 25.0GB 29.0GB 3999MB extended
5 25.0GB 29.0GB 3999MB logical linux-swap(v1)
3 29.0GB 29.1GB 105MB primary ntfs boot
4 29.1GB 65.7GB 36.6GB primary ntfs
65.7GB 256GB 190GB Free Space //// Free Space
One solution that I can think of as a last resort is backup all my data on HDD and format it from Windows. Then come back to Ubuntu and try to use Gparted to see if it works. But that would be last resort.
Please suggest how can I create partition to use that unallocated space.
Ive HP laptop with a traditional HDD and an SSD. The SSD is recent addition to hardware, earlier I had just HDD and I was using it with Ubuntu 16.04.1 (32-bit).
Now Ive installed Ubuntu 16.04.4 (64-bit) and Windows-7 (64-bit) in dual boot mode on SSD and things are working fine. I intend to use HDD as a data storage only with no OS on it.
The problem is that I've left over space ~190GB on SSD that I am unable to use due to failing in creating partition. Somehow my HDD does not let the GParted run and makes it crash. I've tried using "parted" as well to create partition (logical) in unallocated space but it does not let me use the correct bytes.
Here is some of the relevant outputs:
sudo fdisk -l
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xa11cac6d
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 860162047 860160000 410.2G 7 HPFS/NTFS/exFAT
/dev/sda2 860164094 976771071 116606978 55.6G 5 Extended
/dev/sda3 0 0 0 0B 0 Empty
/dev/sda5 860164096 968959999 108795904 51.9G 83 Linux
/dev/sda6 968960000 976771071 7811072 3.7G 82 Linux swap / Solaris
Partition 2 does not start on physical sector boundary. ///// I think this is causing the issue for GParted to fail
Partition table entries are not in disk order.
Disk /dev/sdb: 238.5 GiB, 256060514304 bytes, 500118192 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
Disklabel type: dos
Disk identifier: 0xd7b0c43e
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 48828415 48826368 23.3G 83 Linux
/dev/sdb2 48830462 56641535 7811074 3.7G 5 Extended
/dev/sdb3 * 56641536 56846335 204800 100M 7 HPFS/NTFS/exFAT
/dev/sdb4 56846336 128321535 71475200 34.1G 7 HPFS/NTFS/exFAT
/dev/sdb5 48830464 56641535 7811072 3.7G 82 Linux swap / Solaris
Partition table entries are not in disk order.
And parted output:
sudo parted /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print free
Model: ATA NT-256 (scsi)
Disk /dev/sdb: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
32.3kB 1049kB 1016kB Free Space
1 1049kB 25.0GB 25.0GB primary ext4
25.0GB 25.0GB 1048kB Free Space
2 25.0GB 29.0GB 3999MB extended
5 25.0GB 29.0GB 3999MB logical linux-swap(v1)
3 29.0GB 29.1GB 105MB primary ntfs boot
4 29.1GB 65.7GB 36.6GB primary ntfs
65.7GB 256GB 190GB Free Space //// Free Space
One solution that I can think of as a last resort is backup all my data on HDD and format it from Windows. Then come back to Ubuntu and try to use Gparted to see if it works. But that would be last resort.
Please suggest how can I create partition to use that unallocated space.