LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-14-2020, 04:05 PM   #1
budrz89
Member
 
Registered: Apr 2017
Distribution: LFS/Slackware
Posts: 42

Rep: Reputation: Disabled
Unhappy Can't find Windows 10 partition


Hi,

I can't seem to figure out why I cannot view the Windows 10 partition using various partitioning programs like fdisk, gdisk, etc. Running fdisk:

Code:
 $ sudo fdisk -l

Disk /dev/loop0: 55 MiB, 57618432 bytes, 112536 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 /dev/loop1: 122.9 MiB, 128831488 bytes, 251624 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 /dev/loop2: 62.1 MiB, 65105920 bytes, 127160 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 /dev/loop3: 161.4 MiB, 169254912 bytes, 330576 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 /dev/loop4: 54.8 MiB, 57479168 bytes, 112264 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 /dev/loop5: 27.1 MiB, 28405760 bytes, 55480 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 /dev/loop6: 55 MiB, 57614336 bytes, 112528 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 /dev/loop7: 160.2 MiB, 167931904 bytes, 327992 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 /dev/sda: 114.6 GiB, 123060879360 bytes, 240353280 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: gpt
Disk identifier: 9FFDEAC6-7A41-4708-82C2-10C61D5A52E1

Device        Start       End   Sectors  Size Type
/dev/sda1  45041664 240351231 195309568 93.1G Linux filesystem
/dev/sda2  13791232  45041663  31250432 14.9G Linux swap
/dev/sda3  11790336  13791231   2000896  977M EFI System

Partition table entries are not in disk order.


Disk /dev/loop8: 30.3 MiB, 31756288 bytes, 62024 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
and similarly for gdisk. Here, no Windows 10 partition is displayed. For clarity, I'm running Linux Mint 19.3 from a USB flash drive with secure boot disabled; the laptop that I'm using is a Dell Vostro 5590. I thought maybe I was missing some sort of program that I had to install but I've even booted GParted live from a USB drive and the Windows partition is still not there.

What I'd like to do is install a Linux distribution on this computer, but now it doesn't seem possible. Is there something that I'm missing?
 
Old 06-14-2020, 04:24 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,937

Rep: Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804Reputation: 804
What are all of those loop devices 1-8? Is that part of that Mint usb boot?
There is one hard drive shown /dev/sda: 114.6 GiB. Disklabel type: gpt

Is has 3 partitions on it, EFI, swap, Linux. Or it that a usb drive. If it is then there doesn't seem to be a hard drive in the machine.

I would expect a usb drive to be /dev/sdb

Is windows still bootable on that machine? Is that windows drive encrypted?
What is the output of
Code:
lsblk
 
Old 06-14-2020, 06:07 PM   #3
budrz89
Member
 
Registered: Apr 2017
Distribution: LFS/Slackware
Posts: 42

Original Poster
Rep: Reputation: Disabled
Sorry, allow me to clarify further. Drive /dev/sda is the 128G USB drive where I booted Linux Mint from (I have the actual OS installed to that USB instead of having a live USB preinstall because I wanted a portable OS for my other projects).

I didn't know what those loop drives where but running lsblk revealed that they are for the "snap" package:

Code:
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0    7:0    0    55M  1 loop /snap/core18/1754
loop1    7:1    0 122.9M  1 loop /snap/ubports-installer/275
loop2    7:2    0  62.1M  1 loop /snap/gtk-common-themes/1506
loop3    7:3    0 161.4M  1 loop /snap/gnome-3-28-1804/128
loop4    7:4    0  54.8M  1 loop /snap/gtk-common-themes/1502
loop5    7:5    0  27.1M  1 loop /snap/snapd/7264
loop6    7:6    0    55M  1 loop /snap/core18/1705
loop7    7:7    0 160.2M  1 loop /snap/gnome-3-28-1804/116
loop8    7:8    0  30.3M  1 loop /snap/snapd/7777
sda      8:0    1 114.6G  0 disk 
├─sda1   8:1    1  93.1G  0 part /
├─sda2   8:2    1  14.9G  0 part [SWAP]
└─sda3   8:3    1   977M  0 part /boot/efi
Windows is bootable on this machine but I am not sure if it's encrypted. I don't recall having to do anything special during the installation process but maybe it did something during the installation process that I wasn't aware of. I had it installed and booted yesterday and it seemed to work just fine.
 
Old 06-14-2020, 06:15 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,061

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
Do you have windows hibernated which is the default? If so, no Linux will mount those partitions and therefore they won't be seen.
 
Old 06-14-2020, 06:26 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,977

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Maybe you have Win on a dynmaic disk ?. Never used it, wouldn't know how it displays.
I'm surprised Mint has snapd - Clem has been pretty vociferous about that.
 
Old 06-14-2020, 10:24 PM   #6
budrz89
Member
 
Registered: Apr 2017
Distribution: LFS/Slackware
Posts: 42

Original Poster
Rep: Reputation: Disabled
@teckk, the disk was encrypted using BitLocker and I turned it off but still no dice.

@syg00, according to my Disk Management the disk types are basic. I had to download snapd at one point for a program that it had for one of my projects and I saw that it was available on Linux Mint. I didn't realize that Clem felt that way about it though.

@yancek, I think I have it off but I'm not sure. I tried shutting it down before but the partitions (using fdisk for example) still didn't show up on Linux Mint. I followed this link: https://support.microsoft.com/en-us/...hat-is-running

Last edited by budrz89; 06-14-2020 at 10:35 PM.
 
Old 06-14-2020, 10:39 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,977

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Re snapd - it's your machine to do with whatever you want. So many people try to get rid of it from Ubuntu ...

I don't understand why the device node is not being created regardless of fast start or bitlocker. Time to scour the logs methinks - early in the boot cycle I'd imagine.
 
Old 06-14-2020, 11:45 PM   #8
budrz89
Member
 
Registered: Apr 2017
Distribution: LFS/Slackware
Posts: 42

Original Poster
Rep: Reputation: Disabled
I've attached my dmesg log if it helps.

Let me know if you need anything else that may help with this.
Attached Files
File Type: txt dmesg.txt (92.0 KB, 4 views)
 
Old 06-15-2020, 12:14 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,977

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Thinking some more, it's probably set as "RAID" rather than ACHI in the firmware (aka BIOS) menus.
 
Old 06-15-2020, 11:02 AM   #10
budrz89
Member
 
Registered: Apr 2017
Distribution: LFS/Slackware
Posts: 42

Original Poster
Rep: Reputation: Disabled
@syg00, turns out that RAID was enabled in the BIOS settings. I switched it to AHCI and now I can see the Windows partitions:

Code:
$ sudo fdisk -l
[sudo] password for oem:             
Disk /dev/nvme0n1: 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: gpt
Disk identifier: 7848870E-2312-4110-9A5E-2FC71E3A0A87

Device             Start       End   Sectors   Size Type
/dev/nvme0n1p1      2048   1333247   1331200   650M EFI System
/dev/nvme0n1p2   1333248   1595391    262144   128M Microsoft reserved
/dev/nvme0n1p3   1595392 277970943 276375552 131.8G Microsoft basic data
/dev/nvme0n1p4 465977344 468004863   2027520   990M Windows recovery environment
/dev/nvme0n1p5 468004864 497696767  29691904  14.2G Windows recovery environment
/dev/nvme0n1p6 497698816 500084735   2385920   1.1G Windows recovery environment


Disk /dev/sda: 114.6 GiB, 123060879360 bytes, 240353280 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: gpt
Disk identifier: 9FFDEAC6-7A41-4708-82C2-10C61D5A52E1

Device        Start       End   Sectors  Size Type
/dev/sda1  45041664 240351231 195309568 93.1G Linux filesystem
/dev/sda2  13791232  45041663  31250432 14.9G Linux swap
/dev/sda3  11790336  13791231   2000896  977M EFI System

Partition table entries are not in disk order.
FYI, I did end up removing snapd and it's applications because it was taking up some space and I didn't really need it anymore, but that's beside the point.

Thanks syg00!

I've never used RAID before but it seems to offer some sort of performance boost. I think there is a thing called ZRAID as well but I've never looked into it. I wonder if I should try it on my next Linux distro.

** EDIT **

It's actually ZFS not ZRAID.

Last edited by budrz89; 06-15-2020 at 02:26 PM.
 
  


Reply

Tags
partition, windows 10


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I find 'find last used block + 1' on a reiser4 partition and truncate it so I can use spare space for another partition type. ? Glenn D. Linux - Software 12 09-06-2016 08:36 AM
[SOLVED] Grub : Lost my windows partition, can't find menu.lst in /boot/grub.Someone can help? lucid_dino Ubuntu 9 11-01-2010 01:51 PM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
where can i find a partition manager for windows with rfs support? cheater1034 General 2 07-20-2005 09:36 PM
dual boot...can't find windows partition weeboab Linux - Newbie 7 08-22-2003 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration