我最近买了一台华硕 Zenbook UX32VD,配备 128Gb SSD,似乎是由两个 64Gb SSD 驱动器组成的 RAID-0。它预装了 Windows 8。
我想在其上安装 Arch Linux,同时保留 Windows 8。但我在对此 RAID-0 进行分区时遇到了问题。我能够从 Windows 磁盘管理中缩小 Windows 8 分区,并获得大约 30Gb 的未分配空间,但当我从 LiveUSB 启动 Linux 时,我不明白如何进行分区。
我可以看到/dev/sda
和/dev/sdb
,它们似乎与我的 RAID-0 中的 SSD 驱动器相对应。blkid
为这些驱动器提供以下内容:
/dev/sdb: TYPE="isw_raid_member"
/dev/sda: TYPE="isw_raid_member"
但是当我启动gparted
从 Live USB 启动的 Kali Linux 时,它会显示以下警告窗口:
- 首先,“发现 Libparted Bug!:在 /dev/sda 上寻找读取时参数无效”,带有“重试”、“忽略”、“取消”按钮。
- 我按下“忽略”并得到“发现 Libparted 错误!:备份 GPT 表已损坏,但主表看起来正常,因此将被使用”以及“确定”和“取消”按钮。
- 我按下“确定”并得到“发现 Libparted Bug!:在函数 _parse_header() 中位于 ../../../libparted/labels/gpt.c:723 的断言(last_usable <= disk->dev->length)失败。”并按下“否”按钮。
- 我按“否”并
gparted
退出。
所以我的问题是:如何在此配置上创建一个新的分区以便将 Linux 安装在那里,同时保留 Windows?
附加信息:
gdisk
给/dev/sda
我
Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.
Warning! One or more CRCs don't match. You should repair the disk!
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: damaged
****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************
Command (? for help): p
Disk /dev/sda: 125045424 sectors, 59.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 72D98FD5-AFA6-4935-8DF5-B325A9C2B722
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 230686686
Partitions will be aligned on 2048-sector boundaries
Total free space is 62918589 sectors (30.0 GiB)
Number Start (sector) End (sector) Size Code Name
1 2048 616447 300.0 MiB EF00 EFI system partition
2 616448 2459647 900.0 MiB 2700 Basic data partition
3 2459648 2721791 128.0 MiB 0C01 Microsoft reserved part
4 2721792 125087743 58.3 GiB 0700 Basic data partition
5 188002304 188721151 351.0 MiB 2700
6 188721152 230684671 20.0 GiB 2700 Basic data partition
gdisk
给/dev/sdb
我
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries.
Command (? for help): p
Disk /dev/sdb: 125045424 sectors, 59.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 8BA050D6-16B3-418E-BAAE-7E2916A15267
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 125045390
Partitions will be aligned on 2048-sector boundaries
Total free space is 125045357 sectors (59.6 GiB)
Number Start (sector) End (sector) Size Code Name
答案1
你所问的基本上与这个问题。不过,我要补充一点,您应该在 Linux 中的 RAID 设备上使用gdisk
、或其他分区工具,而不是在底层磁盘设备(和)上使用。parted
/dev/sda
/dev/sdb