Page 1 of 1

NAS4Free RootOnZFS New Loader

Posted: 17 Apr 2018 20:08
by JoseMR
Hello NAS4Free Full RootOnZFS users, In the recent NAS4Free version 11.1.0.4.5403, there is the inclusion for the latest RootOnZFS features listed below:
  • Support Installing onto all RAIDZx levels.
    Support for UEFI Boot with backward compatibility.
    Support for Boot Environments options at Loader Prompt .
    Support for LZ4 compression to zroot pool.
This features are processed/preformed once during the Install time(preferred) meaning users upgrading prior version 5403 will stay using the older menu loader prompt which does not support Boot Environments at boot time, however after upgrading to version 5403, the required official files will be there, so is up to the user to manually enable the new Menu Loader supporting Boot Environments if don't want to perform an OS re-install.

Though this is a shinny and a must have feature for "boot/rollback broken/tampered" system, and the steeps are very simple and straightforward to enable it, simply under SSH/PuTTY copy and paste the below commands in order one-by-one:
(For RootOnZFS advanced users only)

Code: Select all

echo "include /boot/loader.4th" > /boot/loader.rc
echo "start" >> /boot/loader.rc
echo "initialize" >> /boot/loader.rc
echo "check-password" >> /boot/loader.rc
echo "include /boot/beastie.4th" >> /boot/loader.rc
echo "beastie-start" >> /boot/loader.rc
cp -pv /etc/install/include/boot/* /boot
after that simple steeps and reboot, you will notice a new Boot Loader Menu with a new Option #7 "Select Boot Environment..." and thats it, the menu should look like the below image:
New_Menu_Plain.png
Regards

Re: NAS4Free RootOnZFS New Loader

Posted: 18 Apr 2018 08:28
by jasch
Hi JoseMR,
testet on N4F 11.1.0.4 5321@Proxmox HV.
Installed as ZFS gpt/efi, uefi Boot working.
Changed VM from EFI to BIOS -> working normal Boot. :D

wbr Alex

Re: NAS4Free RootOnZFS New Loader

Posted: 19 Apr 2018 11:31
by JoseMR
jasch wrote:
18 Apr 2018 08:28
Hi JoseMR,
testet on N4F 11.1.0.4 5321@Proxmox HV.
Installed as ZFS gpt/efi, uefi Boot working.
Changed VM from EFI to BIOS -> working normal Boot. :D

wbr Alex

Hello jasch, thank you for confirm EFI/GPT is working ok, I will take a look soon for LiveMedia EFI support by the way too. ;)

Regards

Re: NAS4Free RootOnZFS New Loader

Posted: 22 Apr 2018 07:13
by Bruce
when runnig the code?before update or after update?

Re: NAS4Free RootOnZFS New Loader

Posted: 22 Apr 2018 09:44
by JoseMR
Bruce wrote:
22 Apr 2018 07:13
when runnig the code?before update or after update?
Hello, you should run the code only once after the upgrade to enable the new feature in case a re-install is no option, after that you will be able to access Boot Environments during boot time normally. :)

Regards

Re: NAS4Free RootOnZFS New Loader

Posted: 24 Apr 2018 11:18
by Bruce
Thanks, Afterupdate Everything works good!