Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Login/boot issue at last step of Sakaki UEFI 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
jraximus
n00b
n00b


Joined: 22 Jan 2016
Posts: 7

PostPosted: Mon Feb 22, 2016 7:34 pm    Post subject: [Solved]Login/boot issue at last step of Sakaki UEFI install Reply with quote

Hi guys,

I've been using the Sakaki install guide and on the final step of the process of rebooting and login, I hit a snag. The weird thing is, the process was very smooth up to this point. The install requested my passphrase to unlock the LUKS partition just fine but after this it just stalls out. Here's a snapshot of my screen at this point, I'm currently going line by line googling the lines (slow going since I can't copy paste the logs at this point) but any help on what this could be is appreciated. I have a feeling from reading some posts regarding nouveau, it may be that but that's a shot in the dark.

I'm unsure if there are other logs I can have access to as well.

Thanks,
jraximus.


Last edited by jraximus on Wed Feb 24, 2016 5:36 am; edited 1 time in total
Back to top
View user's profile Send private message
alinefr
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2009
Posts: 112
Location: São Paulo, Brasil

PostPosted: Mon Feb 22, 2016 8:45 pm    Post subject: Reply with quote

It seems that plymouthd has crashed.

I had some issues with buildkernel, so I ended up building straight with genkernel. It's trivial. Just build the kernel with EFI stub support and copy it to the EFI partition.
genkernel takes care of the initramfs for unlocking the LUKS container.

And then you could pass kernel cmd line options into efibootmgr.

You could test it without plymouth:
Code:

efibootmgr --create --part 1 --label "Gentoo (splash disabled)" --loader '\efi\boot\bootx64.efi' -u 'initrd=/EFI/Boot/initramfs-x.x.x root=/dev/mapper/vg-root ro crypt_root=UUID=<UUID> rootfstype=ext4 dolvm net.ifnames=0'

And with plymouth enabled:

Code:

efibootmgr --create --part 1 --label "Gentoo (splash enabled)" --loader '\efi\boot\bootx64.efi' -u 'initrd=/EFI/Boot/initramfs-x.x.x root=/dev/mapper/vg-root ro crypt_root=UUID=<UUID> rootfstype=ext4 dolvm net.ifnames=0 splash quiet'
Back to top
View user's profile Send private message
jraximus
n00b
n00b


Joined: 22 Jan 2016
Posts: 7

PostPosted: Mon Feb 22, 2016 10:34 pm    Post subject: Reply with quote

Thanks for reply, highly appreciated! I'm currently at work, but I'll definitely try out your suggestions and report back.
Back to top
View user's profile Send private message
jraximus
n00b
n00b


Joined: 22 Jan 2016
Posts: 7

PostPosted: Mon Feb 22, 2016 10:40 pm    Post subject: Reply with quote

I actually had one question on switching to a different kernel builder since I've already built it with buildkernel,...

I assume when changing the builder it's just doing an emerge to get that and using it? Do I need to do anything to the other builder/kernel built from buildkernal so there isn't anything conflicting?

Thanks,
jraximus
Back to top
View user's profile Send private message
alinefr
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2009
Posts: 112
Location: São Paulo, Brasil

PostPosted: Mon Feb 22, 2016 11:22 pm    Post subject: Reply with quote

buildkernel is just a wrapper script which calls genkernel & efibootmgr. It doesn't do anything special.

The task itself is simple, but it makes difficult to debug.

You can just execute 'genkernel --luks --lvm --menuconfig all' yourself, and make sure to enable
Code:

Processor type and features  --->
    [*] EFI runtime service support
    [*]   EFI stub support


Follow the example 'efibootmgr' command above replacing for your UUID's and device names.

Also have a look in the wiki pages for EFI stub kernel and genkernel.
Back to top
View user's profile Send private message
jraximus
n00b
n00b


Joined: 22 Jan 2016
Posts: 7

PostPosted: Mon Feb 22, 2016 11:33 pm    Post subject: Reply with quote

Ok cool, thanks. :D
Back to top
View user's profile Send private message
Sakaki
Apprentice
Apprentice


Joined: 21 May 2014
Posts: 287

PostPosted: Wed Feb 24, 2016 4:44 am    Post subject: Re: Login/boot issue at last step of Sakaki UEFI install Reply with quote

jraximus wrote:
Hi guys,

I've been using the Sakaki install guide and on the final step of the process of rebooting and login, I hit a snag. The weird thing is, the process was very smooth up to this point. The install requested my passphrase to unlock the LUKS partition just fine but after this it just stalls out.

Hi jraximus, sorry to hear you've had some trouble with this. At which point in the guide exactly did you hit the problem? If it was just after plymouth was enabled for the first time, you can follow the recovery instructions here (essentially, renaming the backup kernel file on the boot usb key to gentoo.efi, and restarting, then disabling the plymouth splash in your buildkernel.conf for future builds). It may be that there is some conflict with nouveau and plymouth on your hardware; however, assuming the initial precautionary reboot without plymouth worked, you should be able to at least use text mode boot (using textual boot won't affect your ability to use X/GNOME etc).

As to the steps buildkernel performs, I've tried to cover this in reasonable detail in the guide (here), in the manpage, and in the script itself (source here; scroll to the bottom to follow the main flow). As alinefr notes, there's no magic going on; it's a convenience to try to ensure users get through the configuration process in a straightforward manner. Many users do elect to migrate to direct use of efibootmgr and genkernel once they have their system up and running. If you go this route, do be mindful of possible pinentry conflicts with plymouth if using the default (genkernel-included) gpg in the initramfs and a graphical boot splash (buildkernel installs a custom, static v1 gpg that does not require this service).
_________________
Regards,

sakaki
Back to top
View user's profile Send private message
jraximus
n00b
n00b


Joined: 22 Jan 2016
Posts: 7

PostPosted: Wed Feb 24, 2016 5:35 am    Post subject: Reply with quote

Hi Sakaki! Let me say I'm honored you replied to this msg! 8O

I hit the problem in the step after setting the BIOS back to EFI boot mode -> restarting -> entering LUKs passphrase -> (here) waiting on login prompt. I was basically just waiting for an extended amount of time for the login because I wasn't quite sure of what I was seeing at the time hence me asking for some help. Now that I know that was the section referring me to errors it seems obvious (which always seem to be the case in retrospect)!

I didn't mean to make it sound like your guide was lacking if it came across that way, it was actually greatly detailed and I thoroughly enjoyed learning through it. I just didn't have the experience to understand what the problem may have been. I still find myself going back to read through both the main guide and this to understand it all, it's just a bit much to digest for a first timer. I've recently tried alinefr's solution and all seems well and good, so I can't express how grateful I am to you guys of the community!

Cheers and thanks again! :D :D
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