From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF5D2138334 for ; Mon, 19 Aug 2019 14:24:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A17DE0880; Mon, 19 Aug 2019 14:24:13 +0000 (UTC) Received: from smarthost03a.mail.zen.net.uk (smarthost03a.mail.zen.net.uk [212.23.1.20]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C18B6E0833 for ; Mon, 19 Aug 2019 14:24:12 +0000 (UTC) Received: from [82.69.80.10] (helo=peak.localnet) by smarthost03a.mail.zen.net.uk with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hziZv-0007MI-AE for gentoo-user@lists.gentoo.org; Mon, 19 Aug 2019 14:24:11 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: switch from gnome/systemd to xfce/openrc borked my system Date: Mon, 19 Aug 2019 15:24:10 +0100 Message-ID: <3435124.fnLnBBSUZ3@peak> In-Reply-To: <73c66f32-4026-561c-6f84-6d445b759b78@st.com> References: <3492301.ddNJvlMHGk@localhost> <73c66f32-4026-561c-6f84-6d445b759b78@st.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost03a-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 62257bca-52f6-4b9c-b968-69000f9012b7 X-Archives-Hash: bc41514d3fe544539754d07931ba1860 On Monday, 19 August 2019 13:24:05 BST Raffaele Belardi wrote: > Mick wrote: > > On Monday, 19 August 2019 07:41:20 BST Raffaele Belardi wrote: > > > > You have 3 drives attached while you're trying to boot. The kernel seems > > to come to a stop after /dev/sdc. It may need some driver for this > > device/fs. I'd start by unplugging any drives which do not contain the > > system you're trying to boot, then go through a step by step process of > > installing/setting up openrc, DM and boot loader. > > sdc is an external USB drive, I'll try to unplug that. > > > The DM is not necessary to boot your system, but while you chrooted into > > it > > you might as well install and set up sddm as a DM - there are others but > > be > > careful they do not try to bring in 2/3 of Gnome and its dependencies too. > > I'll do but first I want to see a working terminal, too much stuff to debug > otherwise. > > Re-install GRUB or whichever boot manager you use and make sure it points > > to the correct kernel. If you're on an UEFI system and you boot directly > > using the kernel EFI stub, re-run efibootmgr to specify the kernel UEFI > > will boot with, but first run fsck.vfat on the EFI partition just in case > > this fs was messed up too. > > It's grub2, non-UEFI. I don't normally reinstall it when I update the > kernel, I only run grub-mkconfig. I did the same this time. > > > Make sure you are using a kernel set up for openrc. > > Good catch, although I'm not sure where to find that info in the available > kernel log. I'll look better, I need to stop it from scrolling. It may be possible to hit CTRL-s to pause the scrolling, then CTRL-q to resume it. > > In /etc/rc.conf set up a log file and temporarily enable logging. If any > > openrc scripts fail and can't boot, you will able to look at the logs when > > you chroot back into it - using less/cat/plain text editor. ;-) > > Good idea. > > > I hope the above should allow you to boot, or at least arrive at some > > meaningful failure message to resolve. > > One of the last things printed in the kernel log is "random: crng init > done". The random service is part (possibly the last service) of the boot > runlevel which is entered after the sysinit runlevel. So apparently a lot > of openrc stuff has already started successfully. Instead, nothing from the > default runlevel is output. I'll re-check those services. > > raffaele -- Regards, Peter.