[SOLVED] SystemD creeping out of a new MX Linux installation
antiX / MX LinuxThis forum is for the discussion of antiX and MX Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Rep:
SystemD creeping out of a new MX Linux installation
I have two installations of MX Linux as virtual clients in VB.
Installation 1 is old and it was first installed as MX Linux 17 then updated up to current version of MX Linux 19.
Installation 2 is a fresh installation of MX Linux 19 from iso followed by system update.
Both installations are up to date MX Linux 19.
Should be identical? Not so much:
In both cases I use custom kernels.
MX Linux (update 17 to 19) works well so I used exactly the came kernel config file to update freshly installed MX Linux 19
.. and I see the following error after issuing:
Quote:
sudo dpkg -i /usr/src/*.deb
Quote:
Selecting previously unselected package linux-headers-5.4.3-betelgeuse.
(Reading database ... 277387 files and directories currently installed.)
Preparing to unpack .../linux-headers-5.4.3-betelgeuse_5.4.3-1_amd64.deb ...
Unpacking linux-headers-5.4.3-betelgeuse (5.4.3-1) ...
Selecting previously unselected package linux-image-5.4.3-betelgeuse.
Preparing to unpack .../linux-image-5.4.3-betelgeuse_5.4.3-1_amd64.deb ...
Unpacking linux-image-5.4.3-betelgeuse (5.4.3-1) ...
Preparing to unpack .../linux-libc-dev_5.4.3-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.4.3-1) over (5.4.3-1) ...
Setting up linux-headers-5.4.3-betelgeuse (5.4.3-1) ...
Setting up linux-image-5.4.3-betelgeuse (5.4.3-1) ... System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down
Warning: Unable to find an initial ram disk that I know how to handle.
Will not try to make an initrd.
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
Error! Bad return status for module build on kernel: 5.4.3-betelgeuse (x86_64)
Consult /var/lib/dkms/virtualbox-guest/6.0.12/build/make.log for more information.
update-initramfs: Generating /boot/initrd.img-5.4.3-betelgeuse
cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
nor crypto modules. If that's on purpose, you may want to uninstall the
'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
integration and avoid this warning.
I: The initramfs will attempt to resume from /dev/sda3
I: (UUID=11cb99ee-7c02-4ad3-b5c0-4d1a84bf9978)
I: Set the RESUME variable to override this.
VirtualBox Guest Additions: Building the modules for kernel 5.4.3-betelgeuse.
update-initramfs: deferring update (hook will be called later)
Generating grub configuration file ...
Found theme: /boot/grub/themes/linen/theme.txt
Found linux image: /boot/vmlinuz-5.4.3-betelgeuse
Found initrd image: /boot/initrd.img-5.4.3-betelgeuse
Found linux image: /boot/vmlinuz-4.19.0-6-amd64
Found initrd image: /boot/initrd.img-4.19.0-6-amd64
Found memtest86+ image: /boot/memtest86+.bin
done
Setting up linux-libc-dev:amd64 (5.4.3-1)
after reboot, system just hangs on initramfs and that is all. Yes, I can select previous kernel and system boots, but I wonder why using the same kernel config file old MX Linux 19 boots without any issues while the new fresh install complains about systemd and PID1?
note:
antix also works with the same custom kernel config so the issue of systemd/PID1 is related only to the fresh installation of MX Linux 19
Last edited by Aeterna; 12-15-2019 at 06:29 PM.
Reason: additional information
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Original Poster
Rep:
Quote:
Originally Posted by Tonus
To choose at boot. Looks like you messed something...
no, in fact I know about systemd boot option, nothing new.
Read my post again, MX Linux that I was updating from ver 17 to 19 boots successfully with the same config. I can try and use the same deb files of course.
Because MX Linux is SysV/systemd hybrid (making possible to install systemd) and up until now all worked and still works on MX linux that was updated, this is possible screw up that occurs only in a new MX Linux 19.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493
Rep:
Was your new install material checked before installing(?), about all I can think of, my MX19 installed no problem, from pendrive, but I use it as it comes.
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008
Original Poster
Rep:
Quote:
Originally Posted by fatmac
Was your new install material checked before installing(?), about all I can think of, my MX19 installed no problem, from pendrive, but I use it as it comes.
Edit: Did you update & upgrade(?).
Thank you fatmac:
this is what I did:
1) downloaded iso from MX site
2) checked mdsums
3) attached iso from VirtualBox Host to the created VM Client
4) installed MX Linux 19
5) upgraded system
6) installed VirtualBox 6.1 additions
7) compiled a ne kernel 5.4.3 using config tested previously on antix and MX Linux 18
8) reboot
system hangs with the above error (my first post). Reboot to the original MX Linux kernel (obviously this one works)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.