Re: /boot on RAID1 with fedora21

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/15/2015 04:29 PM, Alex Regan wrote:
However, on UEFI, /boot/efi on RAID is not supported.  I'm not sure I
understand all the reasons for that, but I'm actually going to be
experimenting this weekend to see whether that works for a partition
with 0.90 or 1.0 metadata, and a system that does not boot Windows.

That would be great.

Sorry to say that the one system I have where I can test this has a Gigabyte motherboard with a buggy UEFI (Hybrid UEFI) implementation. It resets the EFI boot order in between boots, so nothing that is set with "efibootmgr" persists. Spent a while on that before giving up.

So, I still don't know whether an EFI System Partition can be RAID 1 with metadata 0.90 or 1.0. I can't find any documentation that gives a reason why it can't.

If anyone else wants to test that out, I think the following would be a good way to start. (but only do this on a test system, because you might destroy everything)

# Set an unused md device name
raid=/dev/md125
# Set your EFI boot partitions
efip1=/dev/sda1
efip2=/dev/sdb1

# Save /boot/efi
cd /boot
tar cf efi.tar efi

# Create the RAID device
umount /boot/efi
mdadm --create "$raid" --level=1 --raid-devices=2 \
	--metadata=0.90 "$efip1" "$efip2"

# Create the filesystem
mkfs -t vfat "$raid"

# Get the UUID of the new filesystem
blkid "$raid"
# Fix the entry for /boot/efi in /etc/fstab
vi /etc/fstab
# If you got the previous two steps right, the filesystem will mount
mount /boot/efi

# Restore /boot/efi
cd /boot
tar xf efi.tar

reboot
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux