On Tue, May 15, 2012 at 9:53 PM, Hilco Wijbenga <hilco.wijbe...@gmail.com> wrote: > On 15 May 2012 19:37, Paul Hartman <paul.hartman+gen...@gmail.com> wrote: >> Hi, >> >> I'm trying out grub2 for the first time on my old laptop. I'm >> following the guide at: https://wiki.gentoo.org/wiki/GRUB2_Quick_Start >> which seems easy enough. Basically just emerge it, install and go. >> >> However... two different questions: >> >> When I did this from a chroot, I just got the GRUB> prompt upon >> rebooting... no menu or anything. I can manually type "linux >> /boot/vmlinuz root=/dev/sda3" and then boot into my system. When I run >> grub2-mkconfig from within the chroot, I don't get any "Found linux >> image" lines. It does not create /boot/grub2/grub.cfg but rather >> grub.cfg.new. So I don't know if it's confused about where /boot is or >> what. Is there a trick to installing/updating grub2 config from within >> a chroot? > > I don't really understand where the chroot comes into this but ... did > you add the "-o /boot/grub2/grub.cfg" part? I forgot that bit a few > times and then couldn't figure out why my changes weren't taking > effect. :-)
Hehe, yeah, I used that command. I'm installing it from chroot for the first time because gentoo's bootloader was not yet present on the machine (only Windows7).