* [gentoo-user] grub2 upgrade not working
@ 2013-11-24 2:06 Valmor de Almeida
2013-11-24 4:05 ` William Kenworthy
0 siblings, 1 reply; 7+ messages in thread
From: Valmor de Almeida @ 2013-11-24 2:06 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 749 bytes --]
Hello,
I have been searching the web for help on this but no luck.
I have just upgraded from grub legacy to grub2. Followed the gentoo docs
and grub2 will not boot. It hangs in the beginning with the messages:
Loading Linux 3.10.17-gentoo ...
Loading initial ramdisk ...
Here is the section I try to run on my grub.conf
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda3 dolvm
initrd /boot/initramfs-genkernel-x86_64-3.10.17-gentoo
I used genkernel to create the initramfs using the options: --lvm
--disklabel --firmware --no-ramdisk-modules. The system booted using the
old grub legacy.
I would be also interested in information on how to completely wipe out
grub2 from my system and go back to grub legacy.
Thank you for your help.
--
Valmor
[-- Attachment #2: Type: text/html, Size: 983 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] grub2 upgrade not working
2013-11-24 2:06 [gentoo-user] grub2 upgrade not working Valmor de Almeida
@ 2013-11-24 4:05 ` William Kenworthy
2013-11-24 7:19 ` Valmor de Almeida
0 siblings, 1 reply; 7+ messages in thread
From: William Kenworthy @ 2013-11-24 4:05 UTC (permalink / raw
To: gentoo-user
On 24/11/13 10:06, Valmor de Almeida wrote:
> Hello,
> I have been searching the web for help on this but no luck.
> I have just upgraded from grub legacy to grub2. Followed the gentoo docs
> and grub2 will not boot. It hangs in the beginning with the messages:
>
> Loading Linux 3.10.17-gentoo ...
> Loading initial ramdisk ...
>
> Here is the section I try to run on my grub.conf
>
> root (hd0,0)
> kernel /boot/vmlinuz root=/dev/sda3 dolvm
> initrd /boot/initramfs-genkernel-x86_64-3.10.17-gentoo
>
> I used genkernel to create the initramfs using the options: --lvm
> --disklabel --firmware --no-ramdisk-modules. The system booted using the
> old grub legacy.
>
> I would be also interested in information on how to completely wipe out
> grub2 from my system and go back to grub legacy.
>
> Thank you for your help.
>
> --
> Valmor
>
sadly most of my systems didnt work first time either though I am slowly
working through the issues.
Did you add the dolvm stuff to /etc/default/grub?
Mine is (one liner):
GRUB_CMDLINE_LINUX='memmap=1M\$157M dolvm i915.modeset=1
enable_mtrr_cleanup=1 zcache resume=/dev/sdb1'
Did you get any errors with either of:
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub/grub.cfg
I would also really wish that there was a simple grub and complex grub2
for the masochists rather than just torturing everyone :)
BillK
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] grub2 upgrade not working
2013-11-24 4:05 ` William Kenworthy
@ 2013-11-24 7:19 ` Valmor de Almeida
2013-11-24 7:28 ` Pavel Volkov
0 siblings, 1 reply; 7+ messages in thread
From: Valmor de Almeida @ 2013-11-24 7:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]
On Sat, Nov 23, 2013 at 11:05 PM, William Kenworthy <billk@iinet.net.au>wrote:
> On 24/11/13 10:06, Valmor de Almeida wrote:
> > Hello,
> > I have been searching the web for help on this but no luck.
> > I have just upgraded from grub legacy to grub2. Followed the gentoo docs
> > and grub2 will not boot. It hangs in the beginning with the messages:
> >
> > Loading Linux 3.10.17-gentoo ...
> > Loading initial ramdisk ...
> >
> > Here is the section I try to run on my grub.conf
> >
> > root (hd0,0)
> > kernel /boot/vmlinuz root=/dev/sda3 dolvm
> > initrd /boot/initramfs-genkernel-x86_64-3.10.17-gentoo
> >
> > I used genkernel to create the initramfs using the options: --lvm
> > --disklabel --firmware --no-ramdisk-modules. The system booted using the
> > old grub legacy.
> >
> > I would be also interested in information on how to completely wipe out
> > grub2 from my system and go back to grub legacy.
> >
> > Thank you for your help.
> >
> > --
> > Valmor
> >
>
> sadly most of my systems didnt work first time either though I am slowly
> working through the issues.
>
> Did you add the dolvm stuff to /etc/default/grub?
>
No I have not touched any of the grub files. On my kernel boot line above I
do use dolvm. Will check on that though.
>
> Mine is (one liner):
> GRUB_CMDLINE_LINUX='memmap=1M\$157M dolvm i915.modeset=1
> enable_mtrr_cleanup=1 zcache resume=/dev/sdb1'
>
Thanks.
--
Valmor
>
> Did you get any errors with either of:
>
> grub2-install /dev/sda
> grub2-mkconfig -o /boot/grub/grub.cfg
>
Nope. No errors. All clean.
>
> I would also really wish that there was a simple grub and complex grub2
> for the masochists rather than just torturing everyone :)
>
> BillK
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2745 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] grub2 upgrade not working
2013-11-24 7:19 ` Valmor de Almeida
@ 2013-11-24 7:28 ` Pavel Volkov
2013-11-24 20:32 ` Valmor de Almeida
0 siblings, 1 reply; 7+ messages in thread
From: Pavel Volkov @ 2013-11-24 7:28 UTC (permalink / raw
To: gentoo-user
On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote:
> No I have not touched any of the grub files. On my kernel boot line above I
> do use dolvm. Will check on that though.
Of course it won't boot then.
GRUB 2 does not use grub.conf anymore.
It reads /boot/grub/grub.cfg. This file is formed automatically by grub2-
mkconfig command, you have to edit the parameters in /etc/default/grub.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] grub2 upgrade not working
2013-11-24 7:28 ` Pavel Volkov
@ 2013-11-24 20:32 ` Valmor de Almeida
2013-11-24 21:20 ` Valmor de Almeida
2013-11-24 23:08 ` Pavel Volkov
0 siblings, 2 replies; 7+ messages in thread
From: Valmor de Almeida @ 2013-11-24 20:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]
On Sun, Nov 24, 2013 at 2:28 AM, Pavel Volkov <negaipub@gmail.com> wrote:
> On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote:
> > No I have not touched any of the grub files. On my kernel boot line
> above I
> > do use dolvm. Will check on that though.
>
> Of course it won't boot then.
> GRUB 2 does not use grub.conf anymore.
> It reads /boot/grub/grub.cfg. This file is formed automatically by grub2-
> mkconfig command, you have to edit the parameters in /etc/default/grub.
>
> Did edit the new /etc/default/grub:
GRUB_CMDLINE_LINUX="dolvm"
Still no booting. Hangs on loading the initial ramdisk ...
I can boot using systemrescuecd. Unfortunately I finalized the install of
grub2 and no longer have grub legacy installed. I regret that. Also, before
I finalized the grub2 install I tested the initramfs with grub legacy and
it worked. There were two new issues I addressed in this recent portage
sync. One was the use of a initramfs because my / and /usr are not in the
same filesystem. /usr is actually under lvm control. I created a initramfs
with genkernel (--lvm option) and as I stated earlier it worked with grub
legacy. So the problem is grub2 configuration at this point.
Thanks for any help including info on how to go back to grub legacy if
necessary.
Best,
--
Valmor
[-- Attachment #2: Type: text/html, Size: 1764 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] grub2 upgrade not working
2013-11-24 20:32 ` Valmor de Almeida
@ 2013-11-24 21:20 ` Valmor de Almeida
2013-11-24 23:08 ` Pavel Volkov
1 sibling, 0 replies; 7+ messages in thread
From: Valmor de Almeida @ 2013-11-24 21:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1564 bytes --]
On Sun, Nov 24, 2013 at 3:32 PM, Valmor de Almeida <val.gentoo@gmail.com>wrote:
> On Sun, Nov 24, 2013 at 2:28 AM, Pavel Volkov <negaipub@gmail.com> wrote:
>
>> On Sunday 24 November 2013 02:19:05 Valmor de Almeida wrote:
>> > No I have not touched any of the grub files. On my kernel boot line
>> above I
>> > do use dolvm. Will check on that though.
>>
>> Of course it won't boot then.
>> GRUB 2 does not use grub.conf anymore.
>> It reads /boot/grub/grub.cfg. This file is formed automatically by grub2-
>> mkconfig command, you have to edit the parameters in /etc/default/grub.
>>
>> Did edit the new /etc/default/grub:
>
> GRUB_CMDLINE_LINUX="dolvm"
>
> Still no booting. Hangs on loading the initial ramdisk ...
> I can boot using systemrescuecd. Unfortunately I finalized the install of
> grub2 and no longer have grub legacy installed. I regret that. Also, before
> I finalized the grub2 install I tested the initramfs with grub legacy and
> it worked. There were two new issues I addressed in this recent portage
> sync. One was the use of a initramfs because my / and /usr are not in the
> same filesystem. /usr is actually under lvm control. I created a initramfs
> with genkernel (--lvm option) and as I stated earlier it worked with grub
> legacy. So the problem is grub2 configuration at this point.
>
> Thanks for any help including info on how to go back to grub legacy if
> necessary.
>
> Best,
>
> --
> Valmor
>
Does anyone know whether there is a place I can look for error messages?
still no luck on booting with grub2.
Thanks,
--
Valmor
[-- Attachment #2: Type: text/html, Size: 2439 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] grub2 upgrade not working
2013-11-24 20:32 ` Valmor de Almeida
2013-11-24 21:20 ` Valmor de Almeida
@ 2013-11-24 23:08 ` Pavel Volkov
1 sibling, 0 replies; 7+ messages in thread
From: Pavel Volkov @ 2013-11-24 23:08 UTC (permalink / raw
To: gentoo-user
On Sunday 24 November 2013 15:32:45 Valmor de Almeida wrote:
> > Did edit the new /etc/default/grub:
> GRUB_CMDLINE_LINUX="dolvm"
>
> Still no booting. Hangs on loading the initial ramdisk ...
> I can boot using systemrescuecd. Unfortunately I finalized the install of
> grub2 and no longer have grub legacy installed. I regret that. Also, before
> I finalized the grub2 install I tested the initramfs with grub legacy and
> it worked. There were two new issues I addressed in this recent portage
> sync. One was the use of a initramfs because my / and /usr are not in the
> same filesystem. /usr is actually under lvm control. I created a initramfs
> with genkernel (--lvm option) and as I stated earlier it worked with grub
> legacy. So the problem is grub2 configuration at this point.
>
> Thanks for any help including info on how to go back to grub legacy if
> necessary.
Did you generate the config with
"grub2-mkconfig -o /boot/grub/grub.cfg" after that?
Attach grub.cfg here and your /boot directory listing.
Also the boot messages.
If you want to get GRUB 0.97 back, it should be simple:
1. Boot into systemrescuecd
2. Chroot into you Gentoo (see the handbook)
3. "emerge -C grub"
4. "emerge grub:0"
5. Run grub-install
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2013-11-24 23:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-24 2:06 [gentoo-user] grub2 upgrade not working Valmor de Almeida
2013-11-24 4:05 ` William Kenworthy
2013-11-24 7:19 ` Valmor de Almeida
2013-11-24 7:28 ` Pavel Volkov
2013-11-24 20:32 ` Valmor de Almeida
2013-11-24 21:20 ` Valmor de Almeida
2013-11-24 23:08 ` Pavel Volkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox