Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Grub not booting into install.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
moepikd
n00b
n00b


Joined: 14 Apr 2024
Posts: 6
Location: Australia

PostPosted: Sun Apr 14, 2024 5:21 am    Post subject: [Solved] Grub not booting into install. Reply with quote

I was installing Gentoo following the AMD64 handbook. When I rebooted grub came up with the Gentoo option, so I hit enter. it showed the regular boot process until I got this:

Code:
EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path


If it's of any information I'm using manual kernel configuration, and my system uses uefi.


Last edited by moepikd on Mon Apr 15, 2024 1:37 am; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4170
Location: Bavaria

PostPosted: Sun Apr 14, 2024 10:10 am    Post subject: Reply with quote

moepikd,

Welcome to Gentoo Forums ! :D

Maybe you miss something in your kernel .config. Some questions: If you have configured your kernel manually, why do you need an initramfs ? How have you build your initramfs ?

Or you have run into this problem ->
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Confusion_with_root%3DPARTUUID%3D_and_root%3DUUID%3D

Maybe read also:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves

If you want that we check your kernel .config we would need these:
https://wiki.gentoo.org/wiki/User:Pietinger/Overview_of_System_Information

Do you know how to chroot again into your Gentoo installation ? If not please read:
https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
moepikd
n00b
n00b


Joined: 14 Apr 2024
Posts: 6
Location: Australia

PostPosted: Sun Apr 14, 2024 11:05 am    Post subject: Reply with quote

pietinger wrote:
moepikd,

Welcome to Gentoo Forums ! :D

Maybe you miss something in your kernel .config. Some questions: If you have configured your kernel manually, why do you need an initramfs ? How have you build your initramfs ?

Or you have run into this problem ->
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Confusion_with_root%3DPARTUUID%3D_and_root%3DUUID%3D

Maybe read also:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves

If you want that we check your kernel .config we would need these:
https://wiki.gentoo.org/wiki/User:Pietinger/Overview_of_System_Information

Do you know how to chroot again into your Gentoo installation ? If not please read:
https://wiki.gentoo.org/wiki/User:Pietinger/New_at_Gentoo#Pause_during_Installation


I'll try the install without the initramfs then.

As for why I needed it I read through the handbook and saw it didn't say "optional" so decided to do it just in case. I built the initramfs using dracut, as described in the handbook. And I'm positive I didn't miss anything in my kernel, as I did extensive research on each option in the config, but I'll make sure to double check because maybe I missed something. Also don't worry, I know how to chroot back into my system.

Thank you for your help.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4170
Location: Bavaria

PostPosted: Sun Apr 14, 2024 11:35 am    Post subject: Reply with quote

moepikd wrote:
Thank you for your help.

You are very Welcome ! :D

If everything works for you, you could edit your first post and add a [Solved] in the title. (If not we will help you.)

Have fun with Gentoo ! 8)
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
moepikd
n00b
n00b


Joined: 14 Apr 2024
Posts: 6
Location: Australia

PostPosted: Sun Apr 14, 2024 12:36 pm    Post subject: Reply with quote

pietinger wrote:
moepikd wrote:
Thank you for your help.

You are very Welcome ! :D

If everything works for you, you could edit your first post and add a [Solved] in the title. (If not we will help you.)

Have fun with Gentoo ! 8)


It hasn't worked yet. I removed the initramfs and it didn't work, although the error message was gone, I got another one basically saying the initramfs was missing. I built the initramfs again this time I tried installkernel to build it, but it didn't work and the boot process freezes now at:

Code:
loading linux <kernel>


I reconfigured my kernel, and still it wouldn't go past loading the kernel. I'd post my .config file but I am rather inexperienced and don't know how to, or what search term to use to research a method of posting it.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4170
Location: Bavaria

PostPosted: Sun Apr 14, 2024 1:35 pm    Post subject: Reply with quote

moepikd wrote:
Code:
loading linux <kernel>

Maybe you are missing framebuffer devices and/or framebuffer console. More here:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21651

PostPosted: Sun Apr 14, 2024 2:59 pm    Post subject: Reply with quote

moepikd wrote:
I'd post my .config file but I am rather inexperienced and don't know how to, or what search term to use to research a method of posting it.
In the installed environment (which you can get into using the same chroot steps that let you rebuild your kernel), emerge app-text/wgetpaste, then use wgetpaste to upload your kernel configuration to a pastebin site. Post here the link that wgetpaste prints for you.
Back to top
View user's profile Send private message
moepikd
n00b
n00b


Joined: 14 Apr 2024
Posts: 6
Location: Australia

PostPosted: Sun Apr 14, 2024 3:27 pm    Post subject: Reply with quote

pietinger wrote:
Maybe you are missing framebuffer devices and/or framebuffer console. More here:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_Configuring_Kernel_Version_6.6#Part_3_-_Must_Haves


I think enabled all the options for framebuffer devices and consoles that applied to me and I still get the freeze. Maybe I'll try to completely reconfigure my kernel tomorrow when I'm not as tired, as it's 1am here.

I also don't know if this is of importance but when it does freeze there are these couple of pixels that are both red and blue, the blue ones seem to be dotted, where as the red ones are in a small line. They also are on the exact same row of pixels where the cursor underneath the "loading linux" text. I'd say this is some sort of graphical glitch, if it's needed I have an NVIDIA 1050 TI GPU.
Back to top
View user's profile Send private message
moepikd
n00b
n00b


Joined: 14 Apr 2024
Posts: 6
Location: Australia

PostPosted: Sun Apr 14, 2024 3:47 pm    Post subject: Reply with quote

Hu wrote:
moepikd wrote:
I'd post my .config file but I am rather inexperienced and don't know how to, or what search term to use to research a method of posting it.
In the installed environment (which you can get into using the same chroot steps that let you rebuild your kernel), emerge app-text/wgetpaste, then use wgetpaste to upload your kernel configuration to a pastebin site. Post here the link that wgetpaste prints for you.


Thank you for telling me. My kernel .config file can be found here: https://dpaste.com/E5QK8NS9Y

But if it's a bad configuration it was mostly configured late at night (12 am to 4 am) whilst I was really tired so that would probably explain it.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4170
Location: Bavaria

PostPosted: Sun Apr 14, 2024 4:43 pm    Post subject: Reply with quote

I guess you have overlooked an important setting because you have been so tired ... :lol:

In my article (chapter 3) AND in: https://wiki.gentoo.org/wiki/Nouveau#Kernel you will find:
Code:
[*] Enable legacy fbdev support for your modesetting driver

but you have: # CONFIG_DRM_FBDEV_EMULATION is not set

BTW: Please disable this: CONFIG_DRM_GMA500=y
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
moepikd
n00b
n00b


Joined: 14 Apr 2024
Posts: 6
Location: Australia

PostPosted: Mon Apr 15, 2024 1:18 am    Post subject: Reply with quote

pietinger wrote:
I guess you have overlooked an important setting because you have been so tired ... :lol:

In my article (chapter 3) AND in: https://wiki.gentoo.org/wiki/Nouveau#Kernel you will find:
Code:
[*] Enable legacy fbdev support for your modesetting driver

but you have: # CONFIG_DRM_FBDEV_EMULATION is not set

BTW: Please disable this: CONFIG_DRM_GMA500=y


I'll try this out. I'll change the title to have [solved] in it if it works. Thanks for helping.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum