zsh.li Linux Blog My Memories About ?

Dear My
Linux

Trying Linux Deeping

POST_AT

Today was a very funny and exhausting day. I deleted my Arch Linux installation and :c it brought me back nostalgic memories:

To tell you the truth I wanted a simpler Linux distribution so that I could be focused on Gentoo because Arch is also a complex Linux distro.

I tried to install Ubuntu with debootstrap but surprisingly I failed :c , you could say it is surprisingly since I am able to install Gentoo but not so Ubuntu. I was able to install the core system and make chroot, also I was able to install everything with no problems.

The issue was that Ubuntu booted into emergency mode, despite of realizing I had forgotten to add the file system in fstab, fixing it didn’t solved the problem.

The most important thing is that I learned that we have to be careful when using bootstrap to install a distribution and make a list of steps or diagram.

And my main mistake was to forgot the fact that Ubuntu have several repositories D: I was indeed overconfident, it it hard to me to understand how was I able to flawlessly install Debian Sid in the same fashion, Arch and of course Gentoo and failed with Ubuntu :c

Maybe systemd is not enough stable in Ubuntu yet, by the other hand I learned a new concept UTMP, is a kind of special file where every login is recorded. It depends in the symlink in /var/run of /run

Possibly it had to do the improperly unmounting of LVM partitions in Gentoo, now I remember once Arch did not let me boot into until I runned fsck, well, never mind.

What a troublesome init system is this systemd. It seems that getting back to Openrc right in Gentoo was a very wise decision ^o^

After failing to install Ubuntu I tried to install Deepin and it was perfect, it is gorgeous, my dream Linux distro

image

And now guess what, I also installed deepin in the cli way, to tell you the truth I wanted to do it using a usb flash but I wonder where my pen drive is :c , anyway.

The most challenging thing was to set up the root password, I didn’t know what I was not able to set the root password within chroot, I had to boot with a kernel parameter (init=/bin/bash) in order to set up the root password and so my local user password.

I think it is perfection

image

And finally I did a backup of my root file-system using the following command:

zsh.li/c/backup-root

This will create a tar.7z highly compressed file, I choosed the 7z method since it supports multi-thread compressing -I have 8 threads-, and for the sake of time saving