Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] UEFI boot (with grub2) hangs on loading kernel
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
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 93

PostPosted: Sat Jun 02, 2018 5:23 am    Post subject: [SOLVED] UEFI boot (with grub2) hangs on loading kernel Reply with quote

A few days ago i started installing gentoo on a Dell Latitude notebook.
I have a few years of experience in installing gentoo, but so far it has been either BIOS + MBR or BIOS + GPT configurations.
This time i thought i should try UEFI installation.

After following the handbook instaructions, i managed to enter the grub menu with uefi, but when i select the kernel to load, it justt says "Loading [kernel-name-version]" and hangs there.

here is the main hard disk trough parted (the only difference from the handbook example is, that i have swap on the second ssd and created a home partition) - btw, the hard drive is an SSD:
Code:
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name    Flags
 1      1049kB  3146kB  2097kB               grub    bios_grub
 2      3146kB  137MB   134MB   fat32        boot    boot, esp
 3      137MB   21.1GB  21.0GB  ext4         rootfs
 4      21.1GB  256GB   235GB   ext4         home


Here is the current kernel config: https://pastebin.com/DhvDdL95
make.conf: https://pastebin.com/1CyEdi5d
fstab: https://pastebin.com/rnaXz45B
and may be relevant to post blkid:
Code:
root@sysresccd /root % blkid
/dev/loop0: TYPE="squashfs"
/dev/sda2: UUID="4219-31C1" TYPE="vfat" PARTLABEL="boot" PARTUUID="c8ad05a2-f080-41be-b95b-06f7dcd986b4"
/dev/sda3: UUID="22d24b1c-0c13-4442-b6f3-e47d83f578dd" TYPE="ext4" PARTLABEL="rootfs" PARTUUID="39f76021-b293-4525-9d26-226ce6834a00"
/dev/sda4: UUID="46a0d84b-988a-4f09-a4f9-6991bad7b0ad" TYPE="ext4" PARTLABEL="home" PARTUUID="333ef67b-c8c2-43b2-aef2-4eb2c5e829fd"
/dev/sdb1: UUID="0922e661-8e3e-4ece-92dc-c025069aec46" TYPE="swap" PARTLABEL="swap" PARTUUID="61d2115b-0514-42a4-8871-ec5e38d0db35"
/dev/sdb2: UUID="9599adec-3b0a-4dd6-9ef5-75d8c29cf523" TYPE="ext4" PARTLABEL="support" PARTUUID="c1f2e429-00ae-4319-ba10-23ffe110738f"
/dev/sdc1: LABEL="UUI" UUID="1E03-1B54" TYPE="vfat"
/dev/sda1: PARTLABEL="grub" PARTUUID="4b24110d-5477-492b-915b-1938249d9aea"


I just can't figure it out if this is a efi/grub/kernel problem.
Thanks.


Last edited by printf on Tue Jun 05, 2018 7:57 am; edited 1 time in total
Back to top
View user's profile Send private message
tuggbuss
Apprentice
Apprentice


Joined: 20 Mar 2017
Posts: 215

PostPosted: Sat Jun 02, 2018 6:33 am    Post subject: Reply with quote

Just a sanity check, but did you install dosfstools before you rebooted?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5846

PostPosted: Sat Jun 02, 2018 8:48 am    Post subject: Reply with quote

If you see hard drive activity after the loading message, then chances are you have the wrong framebuffer selected. You'll have to either log in remotely to make the change and recompile the kernel, or use a livecd and make the changes there.

Cheers
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 93

PostPosted: Tue Jun 05, 2018 5:36 am    Post subject: Reply with quote

it was the lack of framebuffer device.
i saw disk activity after the hang.
compiling the efi framebuffer and the intel framebuffer for the i965 card solved the issue
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