Gentoo Archives: gentoo-user

From: Valmor de Almeida <val.gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub2 upgrade not working
Date: Sun, 24 Nov 2013 20:32:56
Message-Id: CAMpmEiHbN8Wm8DNrj2SCTw+QqVgT9Dvc6t2WFJcFLcDO4_J_eQ@mail.gmail.com
In Reply to: Re: [gentoo-user] grub2 upgrade not working by Pavel Volkov
1 On Sun, Nov 24, 2013 at 2:28 AM, Pavel Volkov <negaipub@×××××.com> wrote:
2
3 > On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote:
4 > > No I have not touched any of the grub files. On my kernel boot line
5 > above I
6 > > do use dolvm. Will check on that though.
7 >
8 > Of course it won't boot then.
9 > GRUB 2 does not use grub.conf anymore.
10 > It reads /boot/grub/grub.cfg. This file is formed automatically by grub2-
11 > mkconfig command, you have to edit the parameters in /etc/default/grub.
12 >
13 > Did edit the new /etc/default/grub:
14
15 GRUB_CMDLINE_LINUX="dolvm"
16
17 Still no booting. Hangs on loading the initial ramdisk ...
18 I can boot using systemrescuecd. Unfortunately I finalized the install of
19 grub2 and no longer have grub legacy installed. I regret that. Also, before
20 I finalized the grub2 install I tested the initramfs with grub legacy and
21 it worked. There were two new issues I addressed in this recent portage
22 sync. One was the use of a initramfs because my / and /usr are not in the
23 same filesystem. /usr is actually under lvm control. I created a initramfs
24 with genkernel (--lvm option) and as I stated earlier it worked with grub
25 legacy. So the problem is grub2 configuration at this point.
26
27 Thanks for any help including info on how to go back to grub legacy if
28 necessary.
29
30 Best,
31
32 --
33 Valmor

Replies

Subject Author
Re: [gentoo-user] grub2 upgrade not working Valmor de Almeida <val.gentoo@×××××.com>
Re: [gentoo-user] grub2 upgrade not working Pavel Volkov <negaipub@×××××.com>