Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567002 - Mounting the boot partition makes grub2-install to fail
Summary: Mounting the boot partition makes grub2-install to fail
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Wiki (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Matthew Marchese
URL: https://wiki.gentoo.org/wiki/Handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-27 22:40 UTC by mimosinnet
Modified: 2017-02-11 18:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mimosinnet 2015-11-27 22:40:08 UTC
The handbook suggests to mount the boot and root partitions before entering the chroot environment. Nevertheless, as the gentoo wiki suggests (https://wiki.gentoo.org/wiki/GRUB2/Troubleshooting#Installing_GRUB2_from_within_a_chroot) the boot partition should be mounted AFTER entering in the chroot environment. 

Reproducible: Always

Steps to Reproduce:
1. Installing gentoo from a chroot environment following the handbook. 
2.
3.
Actual Results:  
# grub2-install /dev/sda
Installing for i386-pc platform.
grub2-install: error: failed to get canonical path of «/boot/grub».

Expected Results:  
# grub2-install /dev/sda
Installing for i386-pc platform.
Ha acabat la instal·lació. No s'ha reportat cap error.
(no errors message)
Comment 2 mimosinnet 2017-02-11 18:46:30 UTC
Thanks! :D :)