Bydefault 18.04 marked incorrect disk for the boot loader installation which caused the machine not boot properly. Due to this EFI mounts from secondary disk causing the booting issue.
Marked the correct disk during installation by choosing bootloader fixed the issue
Please mark this request as closed
Notes:-for dual boot in Aurora R9
For Ubuntu 18.04 / 16.04 below is the fix from my side
From BIOS
Disable secure boot,
Storage AHCI mode
Remove quiet and splash and add "nomodeset" from grub and install the OS. Mark correct disk from the bootloader list in the custom partitioning page
On First boot, quiet and splash and add "nomodeset" and install the NVIDIA proprietary drivers preferably latest one ( 440 ) . Then reboot, it will work
Current status:- Able to install 18.04 with passing "nomodeset" after upgrading BIOS to 1.0.8. Post reboot failed, even after installed the NVIDIA driver - 440 Only boot, by passing nomodeset in grub.
Please investigate the logs and provide us the fix. how to safely boot along with NVIDIA graphics driver
Below is the journal logs, for the failure of machine boots into emergency mode. For some reasons, while unpacking the initramfs, it's unable to mount the EFI partition and dropping into emergency mode. And it's points bad superblock
Might-be this is a bug in the 18.04. At the same time 20.04 worked without any issues.
~~~ Jun 07 17:08:32 test-Alienware-Aurora-R9 kernel: Initramfs unpacking failed: Decoding failed Jun 07 17:08:32 test-Alienware-Aurora-R9 kernel: Freeing initrd memory: 48284K Jun 07 17:08:33 test-Alienware-Aurora-R9 systemd[1]: Found device PM981a NVMe SAMSUNG 2048GB ESP. Jun 07 17:08:33 test-Alienware-Aurora-R9 systemd[1]: Starting File System Check on /dev/disk/by-uuid/CCF3-E7D6... Jun 07 17:08:33 test-Alienware-Aurora-R9 systemd[1]: Started File System Check Daemon to report status. Jun 07 17:08:33 test-Alienware-Aurora-R9 systemd[1]: Found device ST2000DM008-2FR102 4.
Jun 07 17:08:33 test-Alienware-Aurora-R9 kernel: Adding 62499836k swap on /dev/sda4. Priority:-2 extents:1 across:62499836k FS Jun 07 17:08:33 test-Alienware-Aurora-R9 systemd-fsck[623]: fsck.fat 4.1 (2017-01-24) Jun 07 17:08:33 test-Alienware-Aurora-R9 systemd-fsck[623]: /dev/nvme0n1p1: 389 files, 36496/74752 clusters Jun 07 17:08:33 test-Alienware-Aurora-R9 systemd[1]: Started File System Check on /dev/disk/by-uuid/CCF3-E7D6. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Mounting /boot/efi... Jun 07 17:08:34 test-Alienware-Aurora-R9 mount[669]: mount: /boot/efi: wrong fs type, bad option, bad superblock on /dev/nvme0n1p1, missing codepage or helper program, or other error. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: boot-efi.mount: Mount process exited, code=exited status=32 Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: boot-efi.mount: Failed with result 'exit-code'. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Failed to mount /boot/efi. Jun 07 17:08:34 test-Alienware-Aurora-R9 kernel: FAT-fs (nvme0n1p1): IO charset iso8859-1 not found Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Dependency failed for Local File Systems. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Dependency failed for Clean up any mess left by 0dns-up. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: dns-clean.service: Job dns-clean.service/start failed with result 'dependency'. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: local-fs.target: Triggering OnFailure= dependencies. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Starting Set console font and keymap... Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Started Stop ureadahead data collection 45s after completed startup. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Reached target Timers. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Closed Syslog Socket. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Started Emergency Shell. Jun 07 17:08:34 test-Alienware-Aurora-R9 systemd[1]: Reached target Emergency Mode. ~~~
We are able to boot even after passing "nomodeset" in grub
This is a freshly installed machine, and tried with different kernels while switching from higher to lower. In all the case, same result. But 20.04 LTS no issues.
I suspect it might be caused issue with hardware dependency? seems a bug with UEFI mode.
Disable Fast Boot and Secure Boot (or Secure loader).
Plug in the bootable USB with the Linux distro (mine was Ubuntu 16.04)
When you see the loader to "Install Ubuntu" etc ... press "e" and edit a line: Replace "quiet splash" to "nomodeset" and press F10 to boot.
Then after the installation is complete, you will have to reboot. This time you will now encounter the GRUB. Again, press "e" and edit a line: In the line that starts with "linux", add "nouveau.modeset=0" at the end of that line. Your Linux should now boot.
After this, you need to install the nvidia drivers. Reboot. And then it's done.
Fast boot haven't done not sure this has any significance.
After installation, first boot lands into maintainence mode, after further investigation on journal logs and found that the issue is with unable to mount /boot/efi mount point during boot. I beleive it's a bug with 18.04 with dual boot.
jaylinuxgeek
17 Posts
3075
0
Posted June 16th, 2020 03:00
Issue fixed.
Bydefault 18.04 marked incorrect disk for the boot loader installation which caused the machine not boot properly. Due to this EFI mounts from secondary disk causing the booting issue.
Marked the correct disk during installation by choosing bootloader fixed the issue
Please mark this request as closed
Notes:-for dual boot in Aurora R9
For Ubuntu 18.04 / 16.04 below is the fix from my side
From BIOS
Disable secure boot,
Storage AHCI mode
Remove quiet and splash and add "nomodeset" from grub and install the OS. Mark correct disk from the bootloader list in the custom partitioning page
On First boot, quiet and splash and add "nomodeset" and install the NVIDIA proprietary drivers preferably latest one ( 440 ) . Then reboot, it will work