Systemd boot - Cannot open access to console, the root account is locked  [Solved]

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
Catalin-
Posts: 27
Joined: Mon May 09, 2022 11:44 am

Systemd boot - Cannot open access to console, the root account is locked

#1 Post by Catalin- »

Hello MX community!

Code: Select all

System:
  Kernel: 5.10.0-14-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-14-amd64 
  root=UUID=<filter> ro quiet splash 
  Desktop: KDE Plasma 5.20.5 wm: kwin_x11 vt: 7 dm: SDDM 
  Distro: MX-21.1_KDE_x64 Wildflower April 9  2022 
  base: Debian GNU/Linux 11 (bullseye) 
Machine:
  Type: Desktop Mobo: Gigabyte model: B365M H v: x.x 
  serial: <filter> UEFI: American Megatrends v: F3 
  date: 09/05/2019 
CPU:
  Info: 6-Core model: Intel Core i5-9400F bits: 64 type: MCP 
  arch: Kaby Lake note: check family: 6 model-id: 9E (158) 
  stepping: A (10) microcode: EC cache: L2: 9 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 34798 
  Speed: 1819 MHz min/max: 800/4100 MHz Core speeds (MHz): 
  1: 1819 2: 1742 3: 1933 4: 1947 5: 1448 6: 1838 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache 
  flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass mitigation: Speculative Store Bypass 
  disabled via prctl and seccomp 
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and 
  __user pointer sanitization 
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU117 [GeForce GTX 1650] vendor: Gigabyte 
  driver: nvidia v: 510.47.03 bus-ID: 01:00.0 chip-ID: 10de:1f82 
  class-ID: 0300 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa 
  alternate: nv display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 91 
  s-size: 535x301mm (21.1x11.9") s-diag: 614mm (24.2") 
  Monitor-1: DP-0 res: 1920x1080 dpi: 90 
  size: 544x303mm (21.4x11.9") diag: 623mm (24.5") 
  OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2 
  v: 4.6.0 NVIDIA 510.47.03 direct render: Yes 
Audio:
  Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte 
  driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
  chip-ID: 8086:a2f0 class-ID: 0403 
  Device-2: NVIDIA vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus-ID: 01:00.1 chip-ID: 10de:10fa class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.0-14-amd64 running: yes 
  Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel port: d000 
  bus-ID: 07:00.0 chip-ID: 10ec:8168 class-ID: 0200 
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci 
  v: 3.0 port: f020 bus-ID: 00:17.0 chip-ID: 8086.2822 rev: 
  class-ID: 0104 
Drives:
  Local Storage: total: 1.18 TiB used: 143.88 GiB (11.9%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: Kingston 
  model: SA400S37240G size: 223.57 GiB block-size: 
  physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD 
  serial: <filter> rev: B1D2 scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital 
  model: WD10EZEX-60WN4A1 size: 931.51 GiB block-size: 
  physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD 
  rpm: 7200 serial: <filter> rev: 1A03 scheme: GPT 
  ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: Kingston 
  model: DataTraveler 3.0 size: 57.73 GiB block-size: 
  physical: 512 B logical: 512 B type: N/A serial: <filter> 
  rev: 0000 scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported 
  enclosure? 
Partition:
  ID-1: / raw-size: 70.11 GiB size: 68.45 GiB (97.64%) 
  used: 10.18 GiB (14.9%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 
  ID-2: /home raw-size: 150 GiB size: 146.59 GiB (97.72%) 
  used: 100.64 GiB (68.7%) fs: ext4 dev: /dev/sdb1 maj-min: 8:17 
Swap:
  Kernel: swappiness: 15 (default 60) 
  cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 20 GiB used: 0 KiB (0.0%) 
  priority: -2 dev: /dev/sda4 maj-min: 8:4 
Sensors:
  System Temperatures: cpu: 27.8 C mobo: 16.8 C gpu: nvidia 
  temp: 47 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0% 
Repos:
  Packages: note: see --pkg apt: 2506 lib: 1396 flatpak: 0 
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
  1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list 
  1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
  2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
  3: deb-src http://deb.debian.org/debian/ bullseye non-free contrib main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/megasync.list 
  1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
  Active apt repos in: /etc/apt/sources.list.d/mx.list 
  1: deb https://mirrors.netix.net/mx/MX-Packages/mx/repo/ bullseye main non-free
  2: deb https://mirrors.netix.net/mx/MX-Packages/mx/repo/ bullseye ahs
  Active apt repos in: /etc/apt/sources.list.d/onlyoffice.list 
  1: deb https://download.onlyoffice.com/repo/debian/ squeeze main
Info:
  Processes: 295 Uptime: 48m wakeups: 1 Memory: 15.58 GiB 
  used: 4.09 GiB (26.3%) Init: SysVinit v: 2.96 runlevel: 5 
  default: 5 tool: systemctl Compilers: gcc: 10.2.1 alt: 10 
  Shell: Bash v: 5.1.4 
  running-in: quick-system-info-mx inxi: 3.3.06 
Boot Mode: UEFI
I have an issue with booting Systemd - when it's loading before showing me the login option it stops and then it tell me cannot open access to console, the root account is locked https://i.imgur.com/YF0zJND.jpg
What I did is to use live mode via chroot to reinstall grub. But that didn't work. I haven't done anything to my system.. I don't know what it's doing it like this but I would like to be able to also use systemd too. At the moment I am using the standard init.
I am still rather new to Linux, so I would appreciate some baby steps. Thanks! :smiley:

Huckleberry Finn

Re: Systemd boot - Cannot open access to console, the root account is locked

#2 Post by Huckleberry Finn »

https://forum.mxlinux.org/viewtopic.php ... 02#p663302

Also (though this may/may not be related) change sata mode to Ahci (from Raid) in Bios settings.

(If you have Windows, too: Before Bios, open Regedit and make 2 simple changes there to not make Windows unbootable.)

User avatar
Catalin-
Posts: 27
Joined: Mon May 09, 2022 11:44 am

Re: Systemd boot - Cannot open access to console, the root account is locked

#3 Post by Catalin- »

Sata option was set to intel but not it's AHCI and I reinstalled systemd.
Huckleberry Finn wrote: Mon May 30, 2022 6:05 am https://forum.mxlinux.org/viewtopic.php ... 02#p663302

Also (though this may/may not be related) change sata mode to Ahci (from Raid) in Bios settings.
I followed these steps but it's still not working, same error. I don't have dual boot, only MX.

User avatar
dolphin_oracle
Developer
Posts: 22835
Joined: Sun Dec 16, 2007 12:17 pm

Re: Systemd boot - Cannot open access to console, the root account is locked

#4 Post by dolphin_oracle »

any custom boot options?

its not a grub error, its well after grub hands off to the system, but it could be a boot option with a format problem.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Catalin-
Posts: 27
Joined: Mon May 09, 2022 11:44 am

Re: Systemd boot - Cannot open access to console, the root account is locked

#5 Post by Catalin- »

dolphin_oracle wrote: Mon May 30, 2022 7:21 am any custom boot options?
I haven't modified Grub in /etc/default. I only used Grub Customizer to select mx_logo_ribbon theme and I also added a couple of days ago this flock -n /tmp/google_drv_sync.lock /usr/bin/rclone copy --transfers 20 --retries 5 "/mnt/HDD/HDD2/Datele mele/Catalin" "GoogleDrive:Backup Linux/Catalin" to Job Scheduler for Rclone sync to my GDrive at an hourly rate.

User avatar
dolphin_oracle
Developer
Posts: 22835
Joined: Sun Dec 16, 2007 12:17 pm

Re: Systemd boot - Cannot open access to console, the root account is locked

#6 Post by dolphin_oracle »

Probably should post your /boot/grub/grub.cfg file.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Catalin-
Posts: 27
Joined: Mon May 09, 2022 11:44 am

Re: Systemd boot - Cannot open access to console, the root account is locked

#7 Post by Catalin- »

This is my grub info

Code: Select all

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="1>0"
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="$(unset PRETTY_NAME; (. /etc/lsb-release; echo ${PRETTY_NAME:?}) 2>/dev/null || echo Debian)"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="1024x768"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

GRUB_DISABLE_OS_PROBER="false"
#export GRUB_MENU_PICTURE="/usr/share/backgrounds/MXLinux/grub/linen-gradientblu-grub.png"
#export GRUB_MENU_PICTURE="/usr/share/backgrounds/MX18ALPHAWALL.png"

GRUB_THEME="/boot/grub/themes/mx_logo_ribbon/theme.txt"
and grub.cfg file

Code: Select all

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="1>0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
else
  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=1024x768
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_output gfxterm
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
else
  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
fi
insmod gfxmenu
loadfont ($root)/boot/grub/themes/mx_logo_ribbon/DejaVuSans-Bold14.pf2
loadfont ($root)/boot/grub/themes/mx_logo_ribbon/DejaVuSans10.pf2
loadfont ($root)/boot/grub/themes/mx_logo_ribbon/DejaVuSans12.pf2
loadfont ($root)/boot/grub/themes/mx_logo_ribbon/ascii.pf2
insmod png
set theme=($root)/boot/grub/themes/mx_logo_ribbon/theme.txt
export theme
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=3
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=3
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
	set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'MX 21.1 Wildflower' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7b80403e-f1bb-40a2-bfb7-ca024d1884ec' {
	load_video
	insmod gzio
	if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
	else
	  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
	fi
	echo	'Loading Linux 5.10.0-14-amd64 ...'
	linux	/boot/vmlinuz-5.10.0-14-amd64 root=UUID=7b80403e-f1bb-40a2-bfb7-ca024d1884ec ro  quiet splash
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-5.10.0-14-amd64
}
submenu 'Advanced options for MX 21.1 Wildflower' $menuentry_id_option 'gnulinux-advanced-7b80403e-f1bb-40a2-bfb7-ca024d1884ec' {
	menuentry 'MX 21.1 Wildflower, with Linux 5.10.0-14-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-14-amd64-advanced-7b80403e-f1bb-40a2-bfb7-ca024d1884ec' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		else
		  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		fi
		echo	'Loading Linux 5.10.0-14-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-14-amd64 root=UUID=7b80403e-f1bb-40a2-bfb7-ca024d1884ec ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-14-amd64
	}
	menuentry 'MX 21.1 Wildflower, with Linux 5.10.0-14-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-14-amd64-init-systemd-7b80403e-f1bb-40a2-bfb7-ca024d1884ec' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		else
		  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		fi
		echo	'Loading Linux 5.10.0-14-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-14-amd64 root=UUID=7b80403e-f1bb-40a2-bfb7-ca024d1884ec ro  quiet splash init=/lib/systemd/systemd
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-14-amd64
	}
	menuentry 'MX 21.1 Wildflower, with Linux 5.10.0-13-amd64' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-13-amd64-advanced-7b80403e-f1bb-40a2-bfb7-ca024d1884ec' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		else
		  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		fi
		echo	'Loading Linux 5.10.0-13-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-13-amd64 root=UUID=7b80403e-f1bb-40a2-bfb7-ca024d1884ec ro  quiet splash
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-13-amd64
	}
	menuentry 'MX 21.1 Wildflower, with Linux 5.10.0-13-amd64 (systemd)' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-5.10.0-13-amd64-init-systemd-7b80403e-f1bb-40a2-bfb7-ca024d1884ec' {
		load_video
		insmod gzio
		if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		else
		  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
		fi
		echo	'Loading Linux 5.10.0-13-amd64 ...'
		linux	/boot/vmlinuz-5.10.0-13-amd64 root=UUID=7b80403e-f1bb-40a2-bfb7-ca024d1884ec ro  quiet splash init=/lib/systemd/systemd
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-5.10.0-13-amd64
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
if [ "${grub_platform}" == "efi" ]; then
   if [ "${grub_cpu}" == "x86_64" ]; then
true
menuentry "Memory Test (64-bit UEFI)" {
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  7b80403e-f1bb-40a2-bfb7-ca024d1884ec
	else
	  search --no-floppy --fs-uuid --set=root 7b80403e-f1bb-40a2-bfb7-ca024d1884ec
	fi
	chainloader	/boot/uefi-mt/mtest-64.efi
}
  fi
fi
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Last edited by Catalin- on Mon May 30, 2022 10:53 am, edited 1 time in total.

Huckleberry Finn

Re: Systemd boot - Cannot open access to console, the root account is locked

#8 Post by Huckleberry Finn »

Yes, but : /boot/grub/grub.cfg

Edit: Ok now :)

User avatar
dolphin_oracle
Developer
Posts: 22835
Joined: Sun Dec 16, 2007 12:17 pm

Re: Systemd boot - Cannot open access to console, the root account is locked

#9 Post by dolphin_oracle »

well I don't think its a boot option, nothing is jumping out at me.

you could set up a root account while under sysVinit and then see if that helps anything.

Code: Select all

sudo passwd root
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
dolphin_oracle
Developer
Posts: 22835
Joined: Sun Dec 16, 2007 12:17 pm

Re: Systemd boot - Cannot open access to console, the root account is locked

#10 Post by dolphin_oracle »

its probably worth checking the journal, as the boot message indicates. I think the ACPI messages might be a red-herring.

dumb question, if you remove the job scheduler, (which uses cron) does the the boot improve?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “MX KDE Official Release”