Translated message

A translation of this page exists in English.

当 EFI 系统分区有 raid 标记时,EFI 系统无法引导

Solution In Progress - Updated -

Issue

  • 我尝试使用 Linux 软件 RAID 克隆带有 EFI 系统分区和操作系统的磁盘。

  • 使用以下现有的系统磁盘:

# parted /dev/mapper/mpatha unit s print
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpathb: 419430400s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start     End         Size        File system  Name  Flags
 1      2048s     411647s     409600s     fat16              boot
 2      411648s   1435647s    1024000s    ext4
 3      1435648s  419428351s  417992704s                     lvm
  • 在磁盘上创建相同的分区布局进行镜像:
# parted /dev/mapper/mpathb  mkpart primary  2048s 411647s 
# parted /dev/mapper/mpathb  mkpart primary 411648s 1435647s
# parted /dev/mapper/mpathb  mkpart primary 1435648s 419428351s
  • 在所有要镜像的分区中添加 RAID 标志。
parted /dev/mapper/mpatha set 1 raid on
parted /dev/mapper/mpatha set 2 raid on
parted /dev/mapper/mpatha set 3 raid on

parted /dev/mapper/mpathb set 1 raid on
parted /dev/mapper/mpathb set 2 raid on
parted /dev/mapper/mpathb set 3 raid on
  • 在这一步之后,系统无法引导。

Environment

  • Red Hat Enterprise Linux 6
  • EFI 固件
  • 引导磁盘中的软件 RAID

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content