Duckduckgo search: Linux failed to setup virtual console
https://ask.fedoraproject.org/en/que...rtual-console/
The article describes it as grub init error. Can this be used to fix it?
Need help.
Toshiba satellite A215
Duckduckgo search: Linux failed to setup virtual console
https://ask.fedoraproject.org/en/que...rtual-console/
The article describes it as grub init error. Can this be used to fix it?
Need help.
Toshiba satellite A215
Is it causing any problems?
I see that message, but everything works as it should. So I’m not worrying about it. I’m pretty sure that there’s an open bug report about it.
There is one bug report already.
Shutdown won’t complete. It freezes at ‘shutting down’. Related? Until I fix this bug, I won’t be sure. Still need to see if it’s in the opensuse bug list.
https://bugzilla.opensuse.org/show_bug.cgi?id=1104235
This happens on shutdown or reboot. Looks like the bug.
I think it is more the problem described in New Boot Error -"[FAILED] Failed to start Setup Virtual Console."
For that there is a bug report, [FAILED] Failed to start Setup Virtual Console](https://bugzilla.opensuse.org/show_bug.cgi?id=1055834). with a work-around:
#patch -p1 < /home/username/bin/systemd-vconsole-setup-race-fix.patch
If ‘patch’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf patch
If you received that message, then you can just install “patch”. It’s a small simple program for applying patches. Or you can manually apply a patch with a text editor if you know how to read the patch.
I always seem to have “patch” already installed. But perhaps that’s because I always install the base devel pattern.
I couldn’t get it work with the full name. So, I renamed it ‘patch’, running it as script. Now, I did it a zypper install. Did it work?
superuser:
#zypper in patch
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following NEW package is going to be installed:
patch
1 new package to install.
Overall download size: 123.6 KiB. Already cached: 0 B. After the operation, additional 244.1 KiB will be used.
Continue? [y/n/...? shows all options] (y): y
Retrieving package patch-2.7.6-lp150.3.3.1.x86_64 (1/1), 123.6 KiB (244.1 KiB unpacked)
Retrieving: patch-2.7.6-lp150.3.3.1.x86_64.rpm ................................................................[done]
Checking for file conflicts: ..................................................................................[done]
(1/1) Installing: patch-2.7.6-lp150.3.3.1.x86_64 ..............................................................[done]
Yes, that appears to have installed “patch” (the same version as I have installed).
The “patch” command is fairly quite. If you tried it, then it might have just done it’s thing silently.
The patch file (the patch you are applying) is normally a text file. The first few lines will tell you what file is being patched, though perhaps in a cryptic way.
If the patch worked, then the patched file should have a current date. And the previous version of the file is usually left behind as filename.orig .
Since you are patching something related to “dracut”, that probably won’t have any effect until you run
mkinitrd
and then reboot.
This is the output. ‘dracut: Could not find FONT_MAP none!’? Note: need to boot to see if still get the error.
#mkinitrd
Creating initrd: /boot/initrd-4.12.14-lp150.12.19-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.12.14-lp150.12.19-default 4.12.14-lp150.12.19-default
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: Could not find FONT_MAP none!
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: btrfs ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-xfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: ostree ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies and firmware ***
dracut: *** Installing kernel module dependencies and firmware done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ****
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.lvm.lv=system/root
rd.lvm.lv=system/swap
dracut: resume=/dev/mapper/system-swap
dracut: root=/dev/mapper/system-root rootfstype=btrfs rootflags=rw,relatime,ssd,space_cache,subvolid=267,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/snapshot
dracut: *** Creating image file '/boot/initrd-4.12.14-lp150.12.19-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.12.14-lp150.12.19-default' done ***
Creating initrd: /boot/initrd-4.12.14-lp150.12.22-default
dracut: Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-4.12.14-lp150.12.22-default 4.12.14-lp150.12.22-default
dracut: *** Including module: bash ***
dracut: *** Including module: systemd ***
dracut: *** Including module: warpclock ***
dracut: *** Including module: systemd-initrd ***
dracut: *** Including module: i18n ***
dracut: Could not find FONT_MAP none!
dracut: *** Including module: drm ***
dracut: *** Including module: plymouth ***
dracut: *** Including module: btrfs ***
dracut: *** Including module: dm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 60-persistent-storage-dm.rules
dracut: Skipping udev rule: 55-dm.rules
dracut: *** Including module: kernel-modules ***
dracut: *** Including module: lvm ***
dracut: Skipping udev rule: 64-device-mapper.rules
dracut: Skipping udev rule: 56-lvm.rules
dracut: Skipping udev rule: 60-persistent-storage-lvm.rules
dracut: *** Including module: resume ***
dracut: *** Including module: rootfs-block ***
dracut: *** Including module: suse-xfs ***
dracut: *** Including module: terminfo ***
dracut: *** Including module: udev-rules ***
dracut: Skipping udev rule: 40-redhat.rules
dracut: Skipping udev rule: 50-firmware.rules
dracut: Skipping udev rule: 50-udev.rules
dracut: Skipping udev rule: 91-permissions.rules
dracut: Skipping udev rule: 80-drivers-modprobe.rules
dracut: *** Including module: dracut-systemd ***
dracut: *** Including module: haveged ***
dracut: *** Including module: ostree ***
dracut: *** Including module: usrmount ***
dracut: *** Including module: base ***
dracut: *** Including module: fs-lib ***
dracut: *** Including module: shutdown ***
dracut: *** Including module: suse ***
dracut: *** Including modules done ***
dracut: *** Installing kernel module dependencies and firmware ***
dracut: *** Installing kernel module dependencies and firmware done ***
dracut: *** Resolving executable dependencies ***
dracut: *** Resolving executable dependencies done***
dracut: *** Hardlinking files ***
dracut: *** Hardlinking files done ***
dracut: *** Stripping files ***
dracut: *** Stripping files done ***
dracut: *** Generating early-microcode cpio image ***
dracut: *** Constructing AuthenticAMD.bin ****
dracut: *** Store current command line parameters ***
dracut: Stored kernel commandline:
dracut: rd.lvm.lv=system/root
rd.lvm.lv=system/swap
dracut: resume=/dev/mapper/system-swap
dracut: root=/dev/mapper/system-root rootfstype=btrfs rootflags=rw,relatime,ssd,space_cache,subvolid=267,subvol=/@/.snapshots/1/snapshot,subvol=@/.snapshots/1/snapshot
dracut: *** Creating image file '/boot/initrd-4.12.14-lp150.12.22-default' ***
dracut: *** Creating initramfs image file '/boot/initrd-4.12.14-lp150.12.22-default' done ***
Will using the ‘patch’ name cause any problems later?
Perhaps more then a folded peace of paper on the top left of your monitor when you start your computer.After the start take it away, but keep it in a handy place so you can use again on the next start.
What is the link with KDE (in your thread title)?
This is during boot, way before a user decides to log in and maybe use KDE.
Ok, problem solved, no more messages.
Thanks to all.
In other messages, I kept forgetting to add the desktop environment type. So, now I include KDE to all messages to show that if needed.
Not sure if you still see this error, but also for that problem there is a ticket and a work-around, see Bug 1013573 - “dracut: Could not find FONT_MAP none!” warning while rebuilding initrd
I rebooted and the error returned. I did ‘#zypper remove patch’. uninstall successful. I did something wrong.
#cd cd /usr/lib/dracut
#patch -p1 < /home/username/bin/systemd-vconsole-setup-race-fix.patch
If ‘patch’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf patch
#zypper in ‘/home/username/bin/systemd-vconsole-setup-race-fix.patch’
Loading repository data…
Reading installed packages…
‘/home/username/bin/systemd-vconsole-setup-race-fix.patch’ not found in package names. Trying capabilities.
No provider of ‘/home/username/bin/systemd-vconsole-setup-race-fix.patch’ found.
Resolving package dependencies…
Nothing to do.
@Lord_Valarian: please, please stop this. The main reason for your borked system(s) is right above in the quote. There is no such thing as /home/username, no one told you to install a patch with zypper, and I could go on for a while quoting from your posts. Same goes for the numerous requests to use CODE tags, to provide output and so on. Consider this a forums team warning.