NTFS formatted external hard disk working fine on Linux but whole disk detected as "Unallocated" in Windows 11

huangapple go评论67阅读模式
英文:

NTFS formatted external hard disk working fine on Linux but whole disk detected as "Unallocated" in Windows 11

问题

我的驱动器只有一个分区(或者没有,我不确定)/dev/sdc(例如)。我认为它没有分区表。格式是NTFS,我可以在Linux(OpenSUSE Tumbleweed)上挂载它,并与其中的文件互动没有任何问题。

但是,当我将它连接到Windows 11时,它不会出现在“我的电脑”下。它确实出现在管理磁盘工具中,但是它是灰色的,并标记为“未分配”,只提供格式化选项(并擦除所有我的数据)。

那个驱动器上有很多东西,所以我没有足够的存储空间来备份和进行清洗安装...

我尝试了Linux工具ntfsfixtextdisk,但在Windows中什么都没有改变,它们都没有返回错误。

我认为我一段时间前遇到过完全相同的问题,而且幸运地在网上找到了正确的解决方法,不到一分钟就解决了,但是我没有找到我当时的方法。

我真诚地希望有人知道如何帮助我。我坚持认为这个驱动器是为两个平台而设计的,所以格式化为ext4等选项不可行。

最后注意:在最后的情况下,即使涉及到复制分区等脏操作,只要在合理的时间内可行,也可以接受。谢谢!

英文:

My drive only has one partition (or none idk) /dev/sdc (for example). I don't think it has a partition table. The format is NTFS, and I can see-mount it on Linux (OpenSUSE Tumbleweed) and interact with the files it contains without any problem.

However when I plug it in Windows (11), it doesn't appear under "My Computer". It does appear in the admin disk utility but it is greyed out and labeled "Unallocated", with only options to format it (and erase all my data).

There's a lot on that drive so I don't really have enough storage anywhere to do a backup and a clean install...

I tried the Linux tools ntfsfix and textdisk and both returned no errors, even though back in Windows nothing changed.

I think I had the exact same problem a while ago and got lucky and found online the right way to fix this under one minute, but I had no luck retreiving what I did.

I genuinly hope someone will know how to help me. I insist on the fact that this drive is meant to be used on both platforms, so formatting it to ext4 for example is not an option.

Last note: in last resort, even a dirty manipulation involving duplicating partitions and such would be ok, as long as it works in a reasonable amount of time. Thanks!

答案1

得分: 1

我想我一段时间前遇到了完全相同的问题,幸运地在网上找到了在一分钟内修复此问题的正确方法,但我没有运气找回我所做的事情。

你是否在寻找这个3年前的Stack Exchange主题?
https://unix.stackexchange.com/questions/618216/how-to-make-linux-formatted-ntfs-partition-recognized-by-windows

(引用)
显然,fdisk会给它创建的分区分配0x83的分区类型,标记为“Linux”。恰好的是,尽管Linux似乎不会根据这个值进行区分,但Windows会要求分区类型为0x07,也称为“HPFS/NTFS”,适用于旧版(?) fdisk。
(取消引用)

看起来你可以通过在Windows中使用diskpart来轻松解决这个问题。

英文:

>>I think I had the exact same problem a while ago and got lucky and found online the right way to fix this under one minute, but I had no luck retreiving what I did.

Are you looking for this 3 years old thread in Stack Exchange?
https://unix.stackexchange.com/questions/618216/how-to-make-linux-formatted-ntfs-partition-recognized-by-windows

(quote)
Apparently, fdisk gives the partition type 0x83 to the partitions it creates, which is labeled "Linux". It so happens that, while Linux doesn't appear to discriminate according to this value, Windows does - requiring the partition type to be 0x07, also known as "HPFS/NTFS" on older(?) versions of fdisk.
(unquote)

It seems you can fix this issue by using diskpart in Windows quite easily.

huangapple
  • 本文由 发表于 2023年6月29日 08:06:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76577378.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定