Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub2 upgrade not working
Date: Sun, 24 Nov 2013 04:06:08
Message-Id: 52917B13.1030300@iinet.net.au
In Reply to: [gentoo-user] grub2 upgrade not working by Valmor de Almeida
1 On 24/11/13 10:06, Valmor de Almeida wrote:
2 > Hello,
3 > I have been searching the web for help on this but no luck.
4 > I have just upgraded from grub legacy to grub2. Followed the gentoo docs
5 > and grub2 will not boot. It hangs in the beginning with the messages:
6 >
7 > Loading Linux 3.10.17-gentoo ...
8 > Loading initial ramdisk ...
9 >
10 > Here is the section I try to run on my grub.conf
11 >
12 > root (hd0,0)
13 > kernel /boot/vmlinuz root=/dev/sda3 dolvm
14 > initrd /boot/initramfs-genkernel-x86_64-3.10.17-gentoo
15 >
16 > I used genkernel to create the initramfs using the options: --lvm
17 > --disklabel --firmware --no-ramdisk-modules. The system booted using the
18 > old grub legacy.
19 >
20 > I would be also interested in information on how to completely wipe out
21 > grub2 from my system and go back to grub legacy.
22 >
23 > Thank you for your help.
24 >
25 > --
26 > Valmor
27 >
28
29 sadly most of my systems didnt work first time either though I am slowly
30 working through the issues.
31
32 Did you add the dolvm stuff to /etc/default/grub?
33
34 Mine is (one liner):
35 GRUB_CMDLINE_LINUX='memmap=1M\$157M dolvm i915.modeset=1
36 enable_mtrr_cleanup=1 zcache resume=/dev/sdb1'
37
38 Did you get any errors with either of:
39
40 grub2-install /dev/sda
41 grub2-mkconfig -o /boot/grub/grub.cfg
42
43 I would also really wish that there was a simple grub and complex grub2
44 for the masochists rather than just torturing everyone :)
45
46 BillK

Replies

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