Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Halt on first boot before password prompt
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
bluebaron
n00b
n00b


Joined: 06 Mar 2020
Posts: 2

PostPosted: Fri Mar 06, 2020 3:49 am    Post subject: Halt on first boot before password prompt Reply with quote

Install through livecd. Had trouble with grub. Wasn't in UEFI mode. Might have done some bad things.
Boot, and it goes through starting the services, then stops. The cursor is blinking. It's almost like it has nothing else to do. Like it can't show a prompt or launch X11. I probably don't have X11 installed.
My keyboard, a K95, doesn't even light up. Can't type. It also goes off for a couple seconds when booting the livecd. I was picky about my kernel at first, but being unable to boot, I tried a genkernel all. I'm not sure if it's picking up my latest kernel, though. I ran grub-install grub-install --target=x86_64-efi --efi-directory=/boot/efi and I also ran make install and then grub-install again. Is that enough?
It was stopping on netmount [OK], so I rc-update del netmount default, and now it's stopping on cronie [OK], so I'm relatively certain that it isn't service related.
Just some advice on how to diagnose this would be amazing.
tail dmesg and it told me that my boot drive was dirty so I fscked it and rebooted, that message is gone, now.
livecd /var/log # tail dmesg
[
Code:
    1.107078] kbd_mode (1621) used greatest stack depth: 13920 bytes left
[    1.110090] loadkeys (1622) used greatest stack depth: 13680 bytes left
[    1.110516] init-early.sh (1619) used greatest stack depth: 13368 bytes left
[    1.676192] udevd[2051]: starting version 3.2.9
[    1.676565] random: udevd: uninitialized urandom read (16 bytes read)
[    1.676743] random: udevd: uninitialized urandom read (16 bytes read)
[    1.676748] random: udevd: uninitialized urandom read (16 bytes read)
[    1.680487] udevd[2051]: starting eudev-3.2.9
[    1.705891] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0
[    1.904326] EXT4-fs (nvme0n1p5): re-mounted. Opts: (null)

livecd /var/log # tail boot
livecd /var/log # tail debug
Mar  5 17:36:04 link kernel: [    0.344207] pci_bus 0000:06: resource 1 [mem 0xf7200000-0xf72fffff]
Mar  5 17:36:04 link kernel: [    0.344208] pci_bus 0000:07: resource 1 [mem 0xf7100000-0xf71fffff]
Mar  5 17:36:04 link kernel: [    0.345240] PCI: CLS 64 bytes, default 64
Mar  5 17:36:04 link kernel: [    0.371983] Monitor-Mwait will be used to enter C-1 state
Mar  5 17:36:04 link kernel: [    0.371986] Monitor-Mwait will be used to enter C-2 state
Mar  5 17:36:04 link kernel: [    0.371990] Monitor-Mwait will be used to enter C-3 state
Mar  5 17:36:04 link kernel: [    0.375084] ahci 0000:00:17.0: version 3.0
Mar  5 17:36:04 link kernel: [    0.772072] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Mar  5 17:36:04 link kernel: [    0.872147] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
Mar  5 17:36:04 link kernel: [    0.934115] sd 4:0:0:0: [sda] Mode Sense: 00 3a 00 00
livecd /var/log # tail syslog
Mar  5 17:36:04 link kernel: [    1.676743] random: udevd: uninitialized urandom read (16 bytes read)
Mar  5 17:36:04 link kernel: [    1.676748] random: udevd: uninitialized urandom read (16 bytes read)
Mar  5 17:36:04 link kernel: <30>[    1.680487] udevd[2051]: starting eudev-3.2.9
Mar  5 17:36:04 link kernel: [    1.705891] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0
Mar  5 17:36:04 link kernel: [    1.904326] EXT4-fs (nvme0n1p5): re-mounted. Opts: (null)
Mar  5 17:36:04 link kernel: [    2.360988] ip (2676) used greatest stack depth: 12320 bytes left
Mar  5 17:36:04 link crond[2888]: (CRON) STARTUP (1.5.4)
Mar  5 17:36:04 link crond[2888]: (CRON) INFO (Syslog will be used instead of sendmail.)
Mar  5 17:36:04 link crond[2888]: (CRON) INFO (RANDOM_DELAY will be scaled with factor 59% if used.)
Mar  5 17:36:04 link crond[2888]: (CRON) INFO (running with inotify support)


Code tag added by NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45383
Location: 56N 3W

PostPosted: Fri Mar 06, 2020 10:50 am    Post subject: Reply with quote

bluebaron,

Welcome to gentoo.

Wild guess. Your system is waiting for enough entropy (randomness) to seed the random number generator and something (sshd?) won't start until it can get enough randomness to be secure.
Its only a problem with first boot, when there is no saved entropy.

Computers are fully deterministic, so making them random is very hard. Unpredictable external events are used, like mouse movements and user keystrokes.
If your keyboard/mouse don't work, leave it for 30 min or so.

Its also possible that it waiting for netmount but your network doesn't work.
netmount is only needed if you want to use NFS and have remote filesystems mounted at boot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bluebaron
n00b
n00b


Joined: 06 Mar 2020
Posts: 2

PostPosted: Fri Mar 06, 2020 5:05 pm    Post subject: Reply with quote

I was correct about the kernel. I needed to run grub-mkconfig. Thanks. Issue is resolved.
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