LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-13-2021, 04:10 PM   #1
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Rep: Reputation: Disabled
this one drives ntfs partitions aren't recognized in Linux


Hi everybody,

I have 2 HDDs I formatted in Windows with NTFS (and both show in Windows). One of them shows no partitions in Linux though:

Code:
$ lsblk |grep sdc
sdc      8:32   0   2,7T  0 disk
KDE Partition Manager however does find partitions, sort of:

Code:
Partition   Type     Mount point
/dev/sdc1   unknown  /run
/dev/sdc2   unknown  /run
When I export the partition table this is the content:

Code:
##|v1|## partition table of /dev/sdc
# on Sunday, 13 June 2021 22:48:23 CEST
type: "gpt"
align: "sector"

# number start end type roles label flags
1;34;262177;unknown;primary;"";"msft-reserved"
2;264192;5860532223;unknown;primary;"";"msft-data"
I cant use ntfsfix or mount because they require partitions to work with.

I ran a complete chkdsk in Windows on the disk, no errors found.

What can I do?
 
Old 06-14-2021, 07:46 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,393

Rep: Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710Reputation: 2710
Which windows are you using, windows 10? What happens when you try to mount the partitions from a terminal? Were you previously able to mount/access these windows partition from your Linux OS? If you have windows 10, did you leave it hibernated?
 
Old 06-14-2021, 07:52 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,263

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
mounting anything on /run is (at least) strange for me.
 
Old 06-14-2021, 11:13 AM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,415
Blog Entries: 7

Rep: Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955Reputation: 1955
With both drives plugged in. Output of:
Code:
fdisk -l
lsblk -af
 
Old 06-14-2021, 12:49 PM   #5
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
With both drives plugged in. Output of:
Code:
fdisk -l
lsblk -af
I removed the other disks output here, sdc is the problem child

Code:
Disk /dev/sdc: 2,73 TiB, 3000592982016 bytes, 5860533168 sectors
Disk model: ST3000DM007-1WY1
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: gpt
Disk identifier: E52764A3-711A-4990-A089-DF87A0284050

Device      Start        End    Sectors  Size Type
/dev/sdc1      34     262177     262144  128M Microsoft reserved
/dev/sdc2  264192 5860532223 5860268032  2,7T Microsoft basic data

Partition 1 does not start on physical sector boundary.


Disk /dev/sdd: 1,82 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DL004 HD20
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: 0x93eb53d4

Device     Boot      Start        End    Sectors  Size Id Type
/dev/sdd1  *          2048 3874234367 3874232320  1,8T  7 HPFS/NTFS/exFAT
/dev/sdd2       3874234368 3907022847   32788480 15,6G 82 Linux swap / Solaris
Code:
NAME   FSTYPE  FSVER            LABEL             UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0                                                                                                 
sda                                                                                                   
├─sda1 ntfs                     System-reserviert B0E60217E601DF0A                                    
├─sda2 ntfs                     system_alt        5C48304448301EE8                                    
├─sda3                                                                                                
├─sda4 ntfs                     programs          9248BEFD48BEDF63                                    
├─sda5 swap    1                                  56a5ed21-8bc6-4d35-b86e-53d3a66e3db9                
├─sda6 ext4    1.0              rootMX19          ac37142e-c102-4a57-9a84-4fdba40aa8d1                
└─sda7 ext4    1.0                                3681ec73-3d1d-4411-8dfa-c8150a1d21b6     28G    22% /
sdb                                                                                                   
├─sdb1 ntfs                     System-reserviert B0E60217E601DF0A                                    
└─sdb2 ntfs                     system            5C48304448301EE8                                    
sdc                                                                                                   
sdd                                                                                                   
├─sdd1 ntfs                     programs          D062EB1062EAF9DC                                    
└─sdd2 swap    1                swap              a5857a78-b03f-4d6d-986d-89ea8efe3dce                
sde    iso9660 Joliet Extension MANJARO_XFCE_2106 2021-06-07-19-55-50-00                              
├─sde1 iso9660 Joliet Extension MANJARO_XFCE_2106 2021-06-07-19-55-50-00                              
└─sde2 vfat    FAT12            MISO_EFI          4A03-D73C                                           
sr0
 
Old 06-14-2021, 12:50 PM   #6
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
mounting anything on /run is (at least) strange for me.
Manjaro did that by default (the working drive is /run/media/xxx/programs/), I think MX used /media
 
Old 06-14-2021, 12:51 PM   #7
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Which windows are you using, windows 10? What happens when you try to mount the partitions from a terminal? Were you previously able to mount/access these windows partition from your Linux OS? If you have windows 10, did you leave it hibernated?
Windows 7. I cant mount them because I have to use sdc1 etc for the mount command, it wont accept just /dev/sdc (and doesnt find /dev/sdc1, just as lsblk wont display it). No I wasnt able to access it previously.

Last edited by heidenau; 06-14-2021 at 12:57 PM.
 
Old 06-14-2021, 12:55 PM   #8
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Original Poster
Rep: Reputation: Disabled
Guys I think I'm onto something:

do you see how the problem drive has 4096 byte sectors? I think I did make them a little bigger. Notice how fdisk says "Partition 1 does not start on physical sector boundary"?

--> https://askubuntu.com/questions/1569...ector-boundary

Also the partition on the drive is bigger than 2gb which could also result in problems, I read elsewhere.

So would this mean I would had to reformat the partitions?

Last edited by heidenau; 06-14-2021 at 12:59 PM.
 
Old 06-14-2021, 02:16 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,758

Rep: Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318
Wat distribution / version are you running on /dev/sda7?

The limit for legacy MBR is 2TB not 2GB. It does not look like the OS is recognizing a GPT partitioned drive which is strange since support goes back to at least 2013 but must be enabled in the kernel.
 
Old 06-14-2021, 02:20 PM   #10
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Wat distribution / version are you running on /dev/sda7?

The limit for legacy MBR is 2TB not 2GB. It does not look like the OS is recognizing a GPT partitioned drive which is strange since support goes back to at least 2013 but must be enabled in the kernel.
that's Manjaro. The problem disk has no system partition, just one big data partition, although fdisk shows this odd 128M Microsoft partition

why does it say "Microsoft basic data" anyway? The other drive is "HPFS/NTFS/exFAT". I formatted both in Windows7
 
Old 06-14-2021, 02:45 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,758

Rep: Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318
A MS basic data partition is just a regular partition with a filesystem.

What version of Manjaro and is it 32 or 64bit?
 
Old 06-14-2021, 03:08 PM   #12
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
What version of Manjaro and is it 32 or 64bit?
version 21.0.7
kernel 5.10.42-1-MANJARO

Code:
[xxx@xbase ~]$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit

Last edited by heidenau; 06-14-2021 at 03:11 PM.
 
Old 06-14-2021, 03:24 PM   #13
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,758

Rep: Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318Reputation: 6318
Check the logs and the output of dmesg to see what errors if any occur when the drive is found during boot up.
 
Old 06-14-2021, 04:43 PM   #14
heidenau
LQ Newbie
 
Registered: May 2021
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Check the logs and the output of dmesg to see what errors if any occur when the drive is found during boot up.
there are no dmesg logs and in all of var/log there's not much going with "sdc" or "mount"


relevant mesg lines:

Code:
[    1.757007] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.769050] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[    1.769076] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    1.769080] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    1.806276] ata5.00: ATA-10: ST3000DM007-1WY10G, 0001, max UDMA/133
[    1.806283] ata5.00: 5860533168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    1.830593] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[    1.830601] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    1.830606] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    1.867797] ata5.00: configured for UDMA/133
[    1.868106] scsi 4:0:0:0: Direct-Access     ATA      ST3000DM007-1WY1 0001 PQ: 0 ANSI: 5
[    1.868403] sd 4:0:0:0: [sdc] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[    1.868406] sd 4:0:0:0: [sdc] 4096-byte physical blocks
[    1.868423] sd 4:0:0:0: [sdc] Write Protect is off
[    1.868426] sd 4:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    1.868451] sd 4:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.877805] sd 4:0:0:0: [sdc] Attached SCSI

working drive, not much different, except the "bad" drive had 4096-byte physical blocks
Code:
[    2.183178] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.190135] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[    2.190140] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    2.190143] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    2.196537] ata6.00: ATA-8: ST2000DL004 HD204UI, 1AQ10001, max UDMA/133
[    2.196541] ata6.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 32), AA
[    2.203633] ata6.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[    2.203637] ata6.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[    2.203640] ata6.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[    2.210040] ata6.00: configured for UDMA/133
[    2.210259] scsi 5:0:0:0: Direct-Access     ATA      ST2000DL004 HD20 0001 PQ: 0 ANSI: 5
[    2.210545] sd 5:0:0:0: [sdd] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    2.210564] sd 5:0:0:0: [sdd] Write Protect is off
[    2.210567] sd 5:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[    2.210584] sd 5:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.277917]  sdd: sdd1 sdd2
[    2.278678] sd 5:0:0:0: [sdd] Attached SCSI removable disk
 
Old 06-14-2021, 05:00 PM   #15
Grobe
Member
 
Registered: Aug 2019
Location: Close to north
Distribution: Fedora
Posts: 125

Rep: Reputation: Disabled
Have you ever "upgraded" the disk from "basic" too "dynamic" in Windows ?

That is, did you in Windows intended to use the disk in a raid setup somehow ?
 
  


Reply

Tags
drive, partition recovery


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hard drives aren't recognized until reboot Peterius Linux - Hardware 4 05-29-2011 07:59 AM
[SOLVED] ntfs volumes aren't recognized by windows Himilhil Linux - Software 2 04-03-2011 04:20 AM
added new HD as master, partitions on old drives are no longer recognized blames Linux - Hardware 2 12-21-2004 04:54 PM
url php variables aren't being recognized/used thrice Linux - Software 6 08-04-2004 05:37 AM
xmms plugins aren't recognized jbillow Linux - General 6 04-02-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:38 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