1 (edited by ggherdov 2016-04-23 15:32:20)

Topic: GParted seems to miss the Linux partition in dual boot system

Hello, I'm trying to edit the partitions on my system in order to get rid of windows entirely (I am currently dual booting win/openSUSE).

I am inspecting my current partitioning layout and I don't quite understand it; I'd say that the linux partition sits on top of the windows one, as opposed to next to each other.

A few symtoms: "df ." says I'm on partition called /dev/nvme0n1p6 117G large:

gghh@dhcp233:~> df -h .
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p6  117G   82G   36G  70% /home

but GParted doesn't see that at all:

http://i.imgur.com/BJK4CJw.png

"parted -l" is more insteresting, as it seems to hint that the region 86GB->131GB is both btrfs and ntfs

gghh@dhcp233:~> sudo parted -l

Model: ATA ST1000DM003-1ER1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  525MB   524MB   fat32        EFI system partition          boot
 2      525MB   567MB   41.9MB  fat32        Basic data partition          hidden
 3      567MB   701MB   134MB                Microsoft reserved partition  msftres
 4      701MB   1488MB  786MB   ntfs         Basic data partition          hidden, diag
 5      1488MB  992GB   990GB   ntfs         Basic data partition
 6      992GB   1000GB  8371MB  ntfs                                       hidden, diag


Model: Unknown (unknown)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system     Name                          Flags
 1      1049kB  135MB   134MB                   Microsoft reserved partition  msftres
 2      135MB   85.5GB  85.4GB  ntfs            Basic data partition
 3      85.5GB  85.7GB  160MB   fat16           primary                       boot
 4      85.7GB  87.8GB  2155MB  linux-swap(v1)  primary
 5      87.8GB  131GB   43.0GB  btrfs           primary
 6      131GB   256GB   125GB   xfs             primary

Any idea of what's going on? This layout was produced by the openSUSE installer.

EDIT: used image tag

2

Re: GParted seems to miss the Linux partition in dual boot system

It looks like you have at least two drives in your computer:  1000 GB /dev/sda, and 256 GB /dev/nvme0n1

The Linux file systems are only on the /dev/nvme0n1 device.

Your home directory is in the /dev/nvme0n1p6 partition.
This leads me to believe your Linux root partition is in the /dev/nvme0n1p5 partition.

The boot partition for dual boot is currently /dev/sda1.  For performance reasons you might consider settting up the EFI boot partition on the /dev/nvme0n1 device.  You would also need to edit your UEFI firmware to point to this boot device.

Before you delete your Windows partitions, I highly recommend that you backup your data.  That way if anything goes wrong then you have the option of restoring your data.