I had Linux Debian installed onto my computer. My partition table was as follows:
sda1: __________________________________________________________________________
File system:       vfat
Boot sector type:  FAT32
sda2: __________________________________________________________________________
File system:       ext4
Operating System:  Debian GNU/Linux buster/sid
sda4: __________________________________________________________________________
File system:       ext4
On /dev/sda1 I had EFI boot partition, /dev/sda2 was my root (/), and /dev/sda4 was mounted as /home. To install Manjaro Linux, I resized partitions (by GParted) and arrived at the following partition table:
sda1: __________________________________________________________________________
File system:       vfat
Boot sector type:  FAT32
sda2: __________________________________________________________________________
File system:       ext4
Operating System:  Debian GNU/Linux buster/sid
sda3: __________________________________________________________________________
File system:       swap
sda4: __________________________________________________________________________
File system:       ext4
sda5: __________________________________________________________________________
File system:       ext4
Operating System:  Manjaro
As you can see, I added /dev/sda3 as swap partition and /dev/sda5 as a partition where I installed Manjaro. During the installation, I formatted /dev/sda1 (where I booted Debian from) and Manjaro installed its boot files there. After installation, I have two options in GRUB: boot Debian and boot Manjaro. Booting Manjaro is working fine, but booting Debian leads to the Welcome to emergency mode! problem. I am asked to give the root password but after I enter it nothing seems to happen (perhaps I've forgotten the password but there is no message indicating that it is wrong). After some googling, I have come to conclusion that Debian's fstab may be incorrect. Please have a look at it:
# / was on /dev/sda2 during installation
UUID=de26f007-befa-4524-b1c8-059e115aa36c /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda1 during installation
#UUID=B1D2-AC43  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda4 during installation
UUID=5c273b54-01ad-4186-9821-1e90980a8913 /home           ext4    defaults        0       2
# swap was on /dev/sda3 during installation
#UUID=9da48f63-2583-4e29-8997-3c6474e4bcbc none            swap    sw              0       0
UUID=ECA5-260F  /boot/efi   vfat    defaults    0   1
What should I do to have my Debian working?
EDIT
I've tried what A.B suggested in the comments (i.e. adding /dev/sda2 to grub parameters) but it didn't work.
I cannot provide the
journalctl -xbas that error message as jdwolf suggested in the comments since Debian after providing root password won't let me in (I cannot login).I tried commenting things out of fstab as thrig suggested in the comments. Now Debian boots to a different mode than emergency mode.
EDIT 2
$ lsblk -f
NAME   FSTYPE LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
sda                                                                     
├─sda1 vfat         5AD2-7533                             510.7M     0% /boot/efi
├─sda2 ext4         de26f007-befa-4524-b1c8-059e115aa36c    5.5G    60% /mnt/sda2
├─sda3 swap         62f96d88-8521-453b-8df7-9c61095ec52c                [SWAP]
├─sda4 ext4         5c273b54-01ad-4186-9821-1e90980a8913   19.5G    71% /run/media/michal/5c273b54-01ad-4186-9821-1e90980a8913
└─sda5 ext4         d6f9b919-1373-4285-81e8-9f0838d660d7      1G    86% /
    
root=/dev/sda2to the command line just before actually booting Debian. If this works, then well I don't know what else (grub issue?). Also if you did this just at the wrong time when having on Debian udev 240-2 or 240-3 (and not -4) then you hit a systemd/udev bugjournalctl -xbas that error message mentions?lsblk -foutput