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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
06-13-2021, 04:10 PM
|
#1
|
LQ Newbie
Registered: May 2021
Posts: 24
Rep: 
|
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?
|
|
|
06-14-2021, 07:46 AM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,393
|
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?
|
|
|
06-14-2021, 07:52 AM
|
#3
|
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,263
|
mounting anything on /run is (at least) strange for me.
|
|
|
06-14-2021, 11:13 AM
|
#4
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,415
|
With both drives plugged in. Output of:
|
|
|
06-14-2021, 12:49 PM
|
#5
|
LQ Newbie
Registered: May 2021
Posts: 24
Original Poster
Rep: 
|
Quote:
Originally Posted by teckk
With both drives plugged in. Output of:
|
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
|
|
|
06-14-2021, 12:50 PM
|
#6
|
LQ Newbie
Registered: May 2021
Posts: 24
Original Poster
Rep: 
|
Quote:
Originally Posted by pan64
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
|
|
|
06-14-2021, 12:51 PM
|
#7
|
LQ Newbie
Registered: May 2021
Posts: 24
Original Poster
Rep: 
|
Quote:
Originally Posted by yancek
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.
|
|
|
06-14-2021, 12:55 PM
|
#8
|
LQ Newbie
Registered: May 2021
Posts: 24
Original Poster
Rep: 
|
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.
|
|
|
06-14-2021, 02:16 PM
|
#9
|
Moderator
Registered: Aug 2002
Posts: 26,758
|
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.
|
|
|
06-14-2021, 02:20 PM
|
#10
|
LQ Newbie
Registered: May 2021
Posts: 24
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
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
|
|
|
06-14-2021, 02:45 PM
|
#11
|
Moderator
Registered: Aug 2002
Posts: 26,758
|
A MS basic data partition is just a regular partition with a filesystem.
What version of Manjaro and is it 32 or 64bit?
|
|
|
06-14-2021, 03:08 PM
|
#12
|
LQ Newbie
Registered: May 2021
Posts: 24
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
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.
|
|
|
06-14-2021, 03:24 PM
|
#13
|
Moderator
Registered: Aug 2002
Posts: 26,758
|
Check the logs and the output of dmesg to see what errors if any occur when the drive is found during boot up.
|
|
|
06-14-2021, 04:43 PM
|
#14
|
LQ Newbie
Registered: May 2021
Posts: 24
Original Poster
Rep: 
|
Quote:
Originally Posted by michaelk
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
|
|
|
06-14-2021, 05:00 PM
|
#15
|
Member
Registered: Aug 2019
Location: Close to north
Distribution: Fedora
Posts: 125
Rep: 
|
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 ?
|
|
|
All times are GMT -5. The time now is 09:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|