![]() Registered Member ![]()
|
Hi,
I set up a new htpc with two 1To nvme and want to run raid1 to secure my system and data. I know that Neon live installer does not give this option, so I did this : 1 - Boot last Neon live user edition 2 - Install mdadm 3 - Create two same partitions on both disks (little fat32 for efi with boot/esp flags and unformatted for raid) 4 - Create the raid device :
5 - Create two ext4 partitions on md0 for / and home 6 - Run Neon installer, /boot/efi mount point for /dev/nvme0n1p1, / for /dev/md0p1 and /home for /dev/md0p2 Everything goes fine until installer stop on grub-install error, let's do this manually : 7 - Mount needed stuff
8 - Chroot installed system :
9 - Install grub :
10 - Install mdadm Everything done without errors => exit chroot and reboot => system boot on grub prompt, I can manually boot the OS with :
I think I miss just a little thing to get the grub menu, it seems grub could not find grub.cfg but don't know why, I spent all the day to find a solution but without results... Secureboot is disabled in the bios so I tried to create an entry pointing on grubx64.efi instead of shimx64.efi, I tried to create device.map for grub and I tried to use path instead of uuid, everything has no effects. All ideas are welcome ![]() /etc/fstab
/etc/mdadm/mdadm.conf
/boot/efi/EFI/neon/grub.cfg
efibootmgr -v
ls -l /dev/disk/by-partuuid/
Last edited by rela on Wed Aug 11, 2021 8:53 am, edited 1 time in total.
|
![]() Registered Member ![]()
|
I finally found out the problem, it's due to bad grub prefix. It should be (hd1,gpt1)/EFI/neon but it is (hd1,gpt1)/EFI/ubuntu So grub is looking for a folder which not exist.
The workaround is to install grub with --bootloader-id=ubuntu instead of neon or simply copy /boot/efi/EFI/neon to /boot/efi/EFI/ubuntu I'd prefer change the grub prefix but it seems this variable is generate by grub-install and there is no option to change this way... What is strange is that apparently this problem is not related to the use of mdadm... My Neon install on raid1 is now fully functional, is there a place (wiki or something else ) where write an howto ? It could help people who wants to do same. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft