Getting new hardware - can I just move the disk?
Ralf Mardorf
kde.lists at yahoo.com
Tue Oct 12 23:21:05 UTC 2021
On Tue, 12 Oct 2021 22:48:44 +0100, Colin Watson wrote:
>> On Tue, 12 Oct 2021 22:32:57 +0200, Liam Proven wrote:
>> >You can't run programs installed on the hard disk, though.
>
>Or at any rate not without a bit of setup.
systemd-nspawn isn't as complicated as chroot
[root at archlinux rocketmouse]# lsb_release -d
Description: Arch Linux
[root at archlinux rocketmouse]# systemd-nspawn -D /mnt/moonstudio/ lsb_release -d 2>/dev/null
Description: Ubuntu 16.04.7 LTS
[root at archlinux rocketmouse]# systemd-nspawn -bqD /mnt/moonstudio
[snip]
Ubuntu 16.04.7 LTS moonstudio console
moonstudio login: weremouse
Password:
Last login: Tue Oct 12 00:27:51 CEST 2021 on pts/0
Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.19.210-rt90-0.1000 x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information disabled due to load higher than 2.0
[weremouse at moonstudio ~]$ lsb_release -d
Description: Ubuntu 16.04.7 LTS
[weremouse at moonstudio ~]$ sudo shutdown -h now
[snip]
Powering off.
[root at archlinux rocketmouse]# lsb_release -d
Description: Arch Linux
More information about the ubuntu-users
mailing list