Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: switch from gnome/systemd to xfce/openrc borked my system
Date: Mon, 19 Aug 2019 12:23:53
Message-Id: 73c66f32-4026-561c-6f84-6d445b759b78@st.com
In Reply to: Re: [gentoo-user] Re: switch from gnome/systemd to xfce/openrc borked my system by Mick
1 Mick wrote:
2 > On Monday, 19 August 2019 07:41:20 BST Raffaele Belardi wrote:
3 >
4 > You have 3 drives attached while you're trying to boot. The kernel seems to
5 > come to a stop after /dev/sdc. It may need some driver for this device/fs.
6 > I'd start by unplugging any drives which do not contain the system you're
7 > trying to boot, then go through a step by step process of installing/setting
8 > up openrc, DM and boot loader.
9
10 sdc is an external USB drive, I'll try to unplug that.
11
12 > The DM is not necessary to boot your system, but while you chrooted into it
13 > you might as well install and set up sddm as a DM - there are others but be
14 > careful they do not try to bring in 2/3 of Gnome and its dependencies too.
15
16 I'll do but first I want to see a working terminal, too much stuff to debug otherwise.
17
18 > Re-install GRUB or whichever boot manager you use and make sure it points to
19 > the correct kernel. If you're on an UEFI system and you boot directly using
20 > the kernel EFI stub, re-run efibootmgr to specify the kernel UEFI will boot
21 > with, but first run fsck.vfat on the EFI partition just in case this fs was
22 > messed up too.
23
24 It's grub2, non-UEFI. I don't normally reinstall it when I update the kernel, I only run
25 grub-mkconfig. I did the same this time.
26
27 > Make sure you are using a kernel set up for openrc.
28
29 Good catch, although I'm not sure where to find that info in the available kernel log.
30 I'll look better, I need to stop it from scrolling.
31
32 > In /etc/rc.conf set up a log file and temporarily enable logging. If any
33 > openrc scripts fail and can't boot, you will able to look at the logs when you
34 > chroot back into it - using less/cat/plain text editor. ;-)
35
36 Good idea.
37
38 > I hope the above should allow you to boot, or at least arrive at some
39 > meaningful failure message to resolve.
40 >
41
42 One of the last things printed in the kernel log is "random: crng init done". The random
43 service is part (possibly the last service) of the boot runlevel which is entered after
44 the sysinit runlevel. So apparently a lot of openrc stuff has already started
45 successfully. Instead, nothing from the default runlevel is output. I'll re-check those
46 services.
47
48 raffaele

Replies

Subject Author
Re: [gentoo-user] Re: switch from gnome/systemd to xfce/openrc borked my system Daniel Frey <djqfrey@×××××.com>
Re: [gentoo-user] Re: switch from gnome/systemd to xfce/openrc borked my system Peter Humphrey <peter@××××××××××××.uk>