Can only boot with initramfs fallback (tried to install a custom kernel from aur)

I installed linux-manjaro-xanmod-cacule-uksm from aur . I rebooted my system and was greeted with a blank screen with lasted forever.even my grub boot-loader did not appear.Hence i booted into a live disk ch-rooted into manjaro and tried to reinstall grub.It failed(i did not note down the error message). I also had kubuntu installed in my hard disk, hence i ch-rooted into kubuntu and tried to update grub.It was successful.I rebooted chose the option manjaro(on /dev/sda3) from grub menu.it did not boot.Then i tried selecting the option “advanced options for manjaro Linux” from grub menu and selected the “Manjaro Linux (Kernel: 5.11.2-1-MANJARO x64 - fallback initramfs5.11.2-1)” option.it worked(booted successfully).I tried all other options(xanmod , xanmod fallback initramfs,official kernel) only fallback initramfs of the official kernel(5.11.2-1) worked.i uninstalled xanmod and kernel 5.11 using pamac gui and manjaro kernel manager respectively.then installed the official kernel 5.9 from manjaro kernel manager.but still i am facing the same issue only " Manjaro Linux (Kernel: 5.9.16-1-MANJARO x64 - fallback initramfs)" option from grub menu boots.
sudo mkinitcpio -P
did not help.

Here’s some information about my pc

System:    Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=a8fa830a-9f41-4d29-b8e2-eaf9ecc98afb ro net.ifnames=0 
           biosdevname=0 quiet apparmor=1 security=apparmor udev.log_priority=3 nvidia-drm.modeset=1 
           Console: tty 1 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: INTEL model: H81 serial: N/A UEFI: American Megatrends v: 4.6.5 date: 05/30/2019 
CPU:       Info: Quad Core model: Intel Core i5-4440 socket: BGA1155 bits: 64 type: MCP arch: Haswell family: 6 
           model-id: 3C (60) stepping: 3 microcode: 1D L1 cache: 256 KiB L2 cache: 6 MiB L3 cache: 5.9 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24753 
           Speed: 2810 MHz min/max: 800/3300 MHz base/boost: 3100/3800 volts: 1.2 V ext-clock: 100 MHz Core speeds (MHz): 
           1: 2810 2: 2002 3: 2991 4: 2334 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, STIBP: disabled, RSB filling 
           Type: srbds status: Vulnerable: No microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ZOTAC driver: nvidia v: 460.56 alternate: nouveau,nvidia_drm 
           bus ID: 01:00.0 chip ID: 10de:1287 class ID: 0300 
           Display: server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: nvidia display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 101 s-size: 483x272mm (19.0x10.7") s-diag: 554mm (21.8") 
           Monitor-1: VGA-0 res: 1920x1080 hz: 60 dpi: 102 size: 476x268mm (18.7x10.6") diag: 546mm (21.5") 
           OpenGL: renderer: GeForce GT 730/PCIe/SSE2 v: 4.6.0 NVIDIA 460.56 direct render: Yes 
Audio:     Device-1: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:8c20 class ID: 0403 
           Device-2: NVIDIA GK208 HDMI/DP Audio vendor: ZOTAC driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           chip ID: 10de:0e0f class ID: 0403 
           Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 v: kernel port: d000 bus ID: 03:00.0 
           chip ID: 10ec:8136 class ID: 0200 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           IF-ID-1: br0 state: up speed: 100 Mbps duplex: unknown mac: <filter> 
           IF-ID-2: tap0 state: down mac: <filter> 
Bluetooth: Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb v: 0.8 bus ID: 3-10:6 
           chip ID: 0a12:0001 class ID: e001 
           Message: Required tool hciconfig not installed. Check --recommends 
Drives:    Local Storage: total: 230.79 GiB used: 24.99 GiB (10.8%) 
           ID-1: /dev/sda maj-min: 8:0 vendor: Crucial model: CT240BX500SSD1 family: Micron Client SSDs size: 223.57 GiB 
           block size: physical: 512 B logical: 512 B sata: 3.2 speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: R013 
           temp: 30 C scheme: GPT 
           SMART: yes state: enabled health: PASSED on: 47d 9h cycles: 673 written: 3.95 TiB 
           ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Sony model: Storage Media size: 7.22 GiB block size: physical: 512 B 
           logical: 512 B serial: <filter> rev: PMAP scheme: MBR 
           SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition: ID-1: / raw size: 95 GiB size: 93.01 GiB (97.90%) used: 24.95 GiB (26.8%) fs: ext4 block size: 4096 B 
           dev: /dev/sda3 maj-min: 8:3 
           ID-2: /boot/efi raw size: 100 MiB size: 96 MiB (96.00%) used: 38.8 MiB (40.4%) fs: vfat block size: 512 B 
           dev: /dev/sda1 maj-min: 8:1 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 49 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 35% 
Info:      Processes: 232 Uptime: 2h 19m wakeups: 0 Memory: 7.73 GiB used: 5.07 GiB (65.5%) Init: systemd v: 247 Compilers: 
           gcc: 10.2.0 Packages: pacman: 1437 lib: 410 flatpak: 0 Shell: fish (sudo) v: 3.1.2 default: Bash v: 5.1.0 
           running in: konsole inxi: 3.3.01 
mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI


Warning: No installed USB configs!

fdisk -l

Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors
Disk model: CT240BX500SSD1  
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 6FE18132-5E6D-44D8-81B8-E529E0BA335A

Device         Start       End   Sectors   Size Type
/dev/sda1       2048    206847    204800   100M EFI System
/dev/sda2     206848    239615     32768    16M Microsoft reserved
/dev/sda3     239616 199477247 199237632    95G Linux filesystem
/dev/sda5  199477248 468860927 269383680 128.5G Linux filesystem


Disk /dev/sdb: 7.22 GiB, 7751073792 bytes, 15138816 sectors
Disk model: Storage Media   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot   Start     End Sectors Size Id Type
/dev/sdb1  *         64 6300795 6300732   3G  0 Empty
/dev/sdb2       6300796 6308987    8192   4M ef EFI (FAT-12/16/32)

lsblk

sda      8:0    0 223.6G  0 disk 
├─sda1   8:1    0   100M  0 part /boot/efi
├─sda2   8:2    0    16M  0 part 
├─sda3   8:3    0    95G  0 part /
└─sda5   8:5    0 128.5G  0 part 
sdb      8:16   1   7.2G  0 disk 
├─sdb1   8:17   1     3G  0 part 
└─sdb2   8:18   1     4M  0 part 
sr0     11:0    1  1024M  0 rom 

i also did this.but no help.

user@user-h81 ~> sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.9-x86_64.img
Found initrd fallback image: /boot/initramfs-5.9-x86_64-fallback.img
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
user@user-h81 ~> sudo grub-install --recheck /dev/sda1
Installing for x86_64-efi platform.
Installation finished. No error reported.
user@user-h81 ~> sudo update-grub
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.9-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.9-x86_64.img
Found initrd fallback image: /boot/initramfs-5.9-x86_64-fallback.img
Adding boot menu entry for UEFI Firmware Settings ...
Adding boot menu entry for UEFI Firmware Settings ...
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
1 Like

Manjaro has a customised version of grub and as you did the mkinitcpio already, do an update-grub from the fallback option and try again.

:crossed_fingers:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.