GPT/保護性 MBR 的 NTFS-3G 安裝問題

GPT/保護性 MBR 的 NTFS-3G 安裝問題

我購買了一些 WD 10TB 硬碟,使用外部 USB3.0 轉接器在 Windows 10 中對它們進行了初始化,並將它們格式化為 NTFS / GPT。現在我想將它們安裝到我的 Debian 系統中,但 blkid 不顯示 UUID,而 cat /proc/partitions 只顯示 sdb。

cat /proc/partitions
8       16 9766436864 sdb

blkid /dev/sdb
/dev/sdb: PTTYPE="PMBR"

gdisk -l /dev/sdb
GPT fdisk (gdisk) version 1.0.3

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 19532873728 sectors, 9.1 TiB
Model: WDC WD102KRYZ-01
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 28154B70-704B-4769-A0F9-AC8FF5C0F724
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 19532873694
Partitions will be aligned on 2048-sector boundaries
Total free space is 19532873661 sectors (9.1 TiB)

Number  Start (sector)    End (sector)  Size       Code  Name

我的另一個驅動器(sdc)看起來像這樣

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: not present

看來GPT有問題。我該如何解決這個問題,以正確安裝驅動器?一年前,我在另一個驅動器上就遇到了這個問題,然後我在 Windows 10 中使用 diskpart 清理了磁碟並重新初始化了它,然後分割區確實出現在我的 Debian 系統上。現在的主要問題是,10TB的磁碟已經被資料填滿了…

編輯//

gdisk /dev/sdb

Expert command (? for help): o

Disk size is 19532873728 sectors (9.1 TiB)
MBR disk identifier: 0x00000000
MBR partitions:

Number  Boot  Start Sector   End Sector   Status      Code
   1                     1   4294967295   primary     0xEE

編輯2// wmic 輸出

wmic partition get BlockSize, Name, Index, StartingOffset, Size

BlockSize  Index  Name
512        0      Disk #2, Partition #0  10000812474368  16777216

答案1

請執行以下操作:1. sudo gdisk /dev/sdb 2. x Enter o Enter v Enter- 發布輸出


據我所知,Windows 10 創建了一個無效的 GPT 結構,Linux 核心和 gdisk 都無法辨識該結構。以下是您可以嘗試解決問題的方法。

啟動進入Windows,在管理員cmd下執行:

wmic partition get BlockSize, Name, Index, StartingOffset, Size

記下/保存您感興趣的磁碟的所有分割區和偏移量。

重新啟動到 Linux,然後使用fdiskgdisk重新建立它們。然後您就可以掛載磁碟了。請注意,您可以可能會遺失所有數據在一個過程中。請極其謹慎地進行。


您可能建立了動態磁碟,在這種情況下請諮詢https://wiki.archlinux.org/index.php/Dynamic_disks

相關內容