install grub from rescue mode

use chroot

warning // lessons learnedwarning // lessons learned

we cannot just install grub from the rescue system, we need to install it from within the chrooted system. in case of slackware 15.0 it’s grub 2.06 and we need 2.12. therefore we had to build it within the chroot.

the troublethe trouble

while using gentoo admincd (grub 2.12!) against a slackware system w/o chroot

grub-install: error: failed to get canonical path of `LiveOS_rootfs'.

building within chrootbuilding within chroot

see (grub-source](grub-source)

resourcesresources

https://www.system-rescue.org/disk-partitioning/Repairing-a-damaged-Grub/

https://unix.stackexchange.com/questions/96977/grub-probe-error-failed-to-get-canonical-path-of-cow

https://unix.stackexchange.com/questions/251670/arch-linux-errorfailed-to-get-canonical-path-of-airootfs-grub-to-usb-instal

http://unix.stackexchange.com/questions/414952/is-it-necessary-to-chroot-while-doing-grub-install-in-recovery-mode ==> use chroot


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Licensed under MIT