Hi all, I am looking for some help restoring grub in legacy BIOS after upgrading my system from 6 to 7 and now to 8. System uses root on ZFS
The most promising approach in my eyes has been the following:
1. Boot using a Ubuntu live cd
2. Import the zfs pool
3. Mount proc, dev, sys and chroot into the pool
4. Run apt dist-upgrade
5. update-initramfs && update-grub
6. grub-install to all disks
7. exit chroot and export the zfs pool
8. reboot
So something like:
After reboot the system will boot into bios. Sorry if this info is all posted elsewhere, any pointers would be greatly appreciated!
Code:
$ lsblk -o +FSTYPE
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
FSTYPE
sda 8:16 0 931,5G 0 disk
├─sda1 8:17 0 1007K 0 part
├─sda2 8:18 0 931,5G 0 part zfs_member
└─sda9 8:25 0 8M 0 part
The most promising approach in my eyes has been the following:
1. Boot using a Ubuntu live cd
2. Import the zfs pool
3. Mount proc, dev, sys and chroot into the pool
4. Run apt dist-upgrade
5. update-initramfs && update-grub
6. grub-install to all disks
7. exit chroot and export the zfs pool
8. reboot
So something like:
Code:
zpool import -f -R /mnt rpool
mount -o rbind /proc /mnt/proc
mount -o rbind /sys /mnt/sys
mount -o rbind /dev /mnt/dev
mount -o rbind /run /mnt/run
grub-install /dev/sda
Installing for x86_64-efi platform.
grub-install.real: error: cannot find EFI directory
update-grub2
update-initramfs -u
reboot
After reboot the system will boot into bios. Sorry if this info is all posted elsewhere, any pointers would be greatly appreciated!