The latest update disabled my keyboard

Ralf Mardorf kde.lists at yahoo.com
Wed Sep 28 14:45:31 UTC 2022


On Wed, 2022-09-28 at 10:10 -0400, Bo Berglund wrote:
> So can it be used to repair a broken system by mounting its file system like
> this and running apt against it?

Hi,

yesno!

Some things can't be repaired by systemd-nspawn. One exception for
example is GRUB2. Repairing GRUB2 not necessarily requires a chroot, but
depending on what you want to do, you can't replace a chroot by
systemd-nspawn for this purpose.

You can even boot another Linux by systemd-nspawn. Note: Below I also
boot Ubuntu by my Arch Linux install.
The mentioned kernel 4.19.246-rt110-0.1000 is not the Ubuntu kernel,
it's the kernel of my Arch Linux install.

[root at archlinux rocketmouse]# lsb_release -dr
Description:	Arch Linux
Release:	rolling
[root at archlinux rocketmouse]# systemd-nspawn -qD /mnt/moonstudio/ lsb_release -dr
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
[root at archlinux rocketmouse]# systemd-nspawn -bqD /mnt/moonstudio/
systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
Detected virtualization systemd-nspawn.
Detected architecture x86-64.

Welcome to Ubuntu 16.04.7 LTS!
[snip]
Ubuntu 16.04.7 LTS moonstudio console

moonstudio login: weremouse
Password: 
Last login: Sun Sep  4 21:03:52 CEST 2022 on pts/0
Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.19.246-rt110-0.1000 x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Wed Sep 28 16:29:32 CEST 2022

  System load:  0.22               Processes:             18
  Usage of /:   70.1% of 34.17GB   Users logged in:       0
  Memory usage: 8%                 IP address for enp3s0: 192.168.1.3
  Swap usage:   0%                 IP address for virbr0: 192.168.122.1

  => /run/host/os-release is using 88.1% of 792.01GB

  Graph this data and manage this system at:
    https://landscape.canonical.com/
[weremouse at moonstudio ~]$ lsb_release -dr
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
[weremouse at moonstudio ~]$ sudo shutdown -h now
[snip]
Powering off.
[root at archlinux rocketmouse]# lsb_release -dr
Description:	Arch Linux
Release:	rolling

Regards,
Ralf




More information about the ubuntu-users mailing list