First boot of netrunner 19 (debian) went well, right after live installation, second boot though netrunner failed to start the graphical session and also failed to boot into rescue mode, while printing the following message on the console : cannot open access to console : root account is locked.
There are also instructions to use journalctl -xb to view what’s wrong in the logs, but this is impossible since even rescue mode isn’t working and I have no shell to work with.
Thats unfortunate. Can you try to use the live system and see if you can grab the installation log of the installed system partitions /var/log folder.
Also you might want to chroot into the installed system from the live system and can check the journal from there.
[ OK ] Mounted /home.
[ OK ] Started Raise network interfaces.
[ OK ] Reached target Network.
[ OK ] Reached target Network is Online.
[FAILED] Failed to mount /dev/sda3.
See 'systemctl status dev-sda3.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
Starting Set console font and keymap...
[ OK ] Stopped Forward Password Requests to Wall Directory Watch.
[ OK ] Reached target Login Prompts.
[ OK ] Closed Syslog Socket.
[ OK ] Reached target Timers.
[ OK ] Reached target Sound Card.
[ OK ] Reached target Sockets.
[ OK ] Reached target Paths.
[ OK ] Started Emergency Shell.
Starting Tell Plymouth To Write Out Runtime Data...
Starting Create Volatile Files and Directories...
Starting Load AppArmor profiles...
[ OK ] Reached target Emergency Mode.
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Started Set console font and keymap.
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
I can see there was a problem with /dev/sda3, which is an ntfs filesystem (my windows D:/ drive)
Unfortunately, I cannot get the status since I am running in chroot
root@ychaouche-PC:/# systemctl status dev-sda3.mount
Running in chroot, ignoring request: status
root@ychaouche-PC:/#
/dev/sda3 is not important anyways, it just holds some user data.
Here’s the end of boot.log
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Set console font and keymap.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[ OK ] Started File System Check on /dev/disk/by-uuid/8ec978fe-39d3-4c9b-ab57-4eaf4b975dd7.
Mounting /home...
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Load AppArmor profiles.
[ OK ] Started Entropy daemon using the HAVEGE algorithm.
Starting Raise network interfaces...
[ OK ] Mounted /home.
[ OK ] Started Raise network interfaces.
[ OK ] Reached target Network.
[ OK ] Reached target Network is Online.
You had the right feeling ! now I’m booting netrunner
A few things remain mystery :
-1 Why no emergency console ? (root account is locked)
-2 Why didn’t the system simply ignore the faulty line in fstab and continue the boot process (root partition could be mounted) ?
Here’s the faulty /etc/fstab if anyone’s interested :
ychaouche#ychaouche-pc 10:25:14 ~ $ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=8ec978fe-39d3-4c9b-ab57-4eaf4b975dd7 /home ext4 defaults,noatime 0 2
UUID=0bf7120b-2b1d-432c-a3a9-1f2603240e2f swap swap defaults,noatime 0 2
UUID=0448474f-1ba1-4ef9-b627-c8dfaaae8644 / btrfs subvol=@,defaults,noatime,space_cache,autodefrag 0 1
# Yassine
# stolen from /etc/fstab on /dev/sda5 mint 17 Qiana
# UUID=2CC6D327C6D2EFD6 /dev/sda3 /mnt/partage_local ntfs defaults 0 2
By default we don’t set a root password but your user password is used for sudo tasks. I assume this option in the installer does not set a root password then and might lock the account then.
But it needs a bit of investigation.
This is indeed very strange but the default behavior of systemd.
In general add only the partitions to your fstab (in the installer under manual partitioning) that you are sure of that they can be read and mounted by system).
A windows partition or any other operating system partition that you don’t actually need at boot time I would dynamically mount with udisks by just clicking on the drive/partition after bootup in dolphin.