2014年8月27日星期三

CentOS 6.5 Linux install raid 1 with efi firmware system


during the centos install.

make the two harddisk partition tables as below

sda (first drive)
- sda1 - FAT32 - /boot/efi - in firmware boot menu as "CentOS"
- sda2 - Linux software RAID - /boot
- sda3 - Linux software RAID - /

sdb (second drive)
- sdb1 - FAT32 - copy of /boot/efi - in firmware boot menu as "CentOS Backup"
- sdb2 - Linux software RAID - /boot
- sdb3 - Linux software RAID - /

example screen :




after the installation complete

do this commandsto make the secound harddisk bootable

# dd if=/dev/sda1 of=/dev/sdb1
# efibootmgr --create --disk /dev/sdb --label "CentOS Backup" --load "\\EFI\\redhat\\grub.efi"         

after that, update efi bios to boot the CentOS and CentOS Backup for the first and secound device in boot sequence.

沒有留言: