Laptop with nvidia optimus doesn't boot further than "loading initial ramdisk"

I asked you to check for errors, as if something breaks boot with a normal poweroff, it maybe caught in the shutdown process. Inspect the shutdown processes of existing (logged) boots in journal.

Else it could be a HW/firmware/BIOS issue.

1 Like

Edit your fstab and replace the fsck (last) number to 0 for all btrfs mounted partitions.
Save and reboot normally.

Refs: fstab, fsck.btrfs

1 Like

I changed /etc/fstab, but it didn't help.

UUID=e70e0471-a96d-4f7b-8d91-55805210645d /              btrfs   subvol=/@,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=e70e0471-a96d-4f7b-8d91-55805210645d /home          btrfs   subvol=/@home,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=e70e0471-a96d-4f7b-8d91-55805210645d /root          btrfs   subvol=/@root,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=e70e0471-a96d-4f7b-8d91-55805210645d /srv           btrfs   subvol=/@srv,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=e70e0471-a96d-4f7b-8d91-55805210645d /var/cache     btrfs   subvol=/@cache,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=e70e0471-a96d-4f7b-8d91-55805210645d /var/log       btrfs   subvol=/@log,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=e70e0471-a96d-4f7b-8d91-55805210645d /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,space_cache,autodefrag,compress=zstd 0 0
UUID=AA07-7C98                            /boot/efi      vfat    umask=0077 0 2

Can you please tell how to check the system status when shutting down. By the way, if I remove splash, everything works. Maybe it gives something

Make sure you have updated your system. SDDM and plymouth were giving problems lately, but they are fixed with new updated packages.

2 Likes

I updated it

Are you dual booting with Windows?

Is your bios up to date?

I think resetting your bios to the factory default may possibly help. Be sure to remove all power sources before resetting the bios. You will need to go through your bios settings carefully afterwards and change a few settings such as secureboot/fastboot and AHCI.

1 Like

Ok, I'll try it now

Post

pacman -Qs "sddm|plymouth"
2 Likes

sudo pacman -Qs 'sddm|plymouth'

local/plymouth-git 0.9.5.r84.ge554475-2
A graphical boot splash screen with kernel mode-setting support (Development version)
local/plymouth-theme-garuda-purple r5.16806d2-1
plymouth-theme-garuda-purple
local/sddm-git 0.19.0.10.gcff7df4-1
The Simple Desktop Display Manager
local/sddm-kcm 5.21.4-1 (plasma)
KDE Config Module for SDDM

I reset the bios, disabled secure boot. There are no settings regarding ACHI. Fastboot disabled. It didn't help

Post

sudo fdisk -l
sudo parted -l
lsblk -f

You did not answer these questions.

Yes and yes. Garuda is installed according to this guide

I have russian installed in my system, so I passed the logs through the translator. There may be some inaccuracies in the words

sudo fdisk -l

Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: INTEL SSDPEKNW512G8H
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk ID: 52764997-9024-6540-9C0E-F2BADF274256

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 746975231 746973184 356.2 G File system Linux
/ dev/nvme0n1p2 746975232 999395327 252420096 120.4 G Microsoft basic data
/dev/nvme0n1p3 999395328 999428095 32768 16M Microsoft Reserved partition
/ dev/nvme0n1p4 1000009728 1000214527 204800 100M EFI


Disk /dev/zram0: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram1: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram2: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram3: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram4: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram5: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram6: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/zram7: 1.94 GiB, 2082988032 bytes, 508542 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

sudo parted -l

Model: INTEL SSDPEKNW512G8H (NVME)
Disk /dev/nvme0n1: 512GB
Sector size (logical/physical): 512B/512B
Partition table: gpt
Disk flags:

Number Start End Size File System Name Flags
1 1049kB 382GB 382GB btrfs
2 382GB 512GB 129GB ntfs legacy_boot, msftdata
3 512GB 512GB 16,8MB Microsoft reserved partition msftres
4 512GB 512GB 105MB fat32 EFI system partition bootable, esp


Model: Unknown)
Disk /dev/zram5: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)


Model: Unknown)
Disk /dev/zram3: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)


Model: Unknown)
Disk /dev/zram1: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)


Model: Unknown)
Disk /dev/zram6: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)


Model: Unknown)
Disk /dev/zram4: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)


Model: Unknown)
Disk /dev/zram2: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)


Model: Unknown)
Disk /dev/zram0: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)


Model: Unknown)
Disk /dev/zram7: 2083MB
Sector size (logical/physical): 4096B/4096B
Partition table: loop
Disk flags:

Number Start End Size File System Flags
1 0,00B 2083MB 2083MB linux-swap(v1)

lsblk -f

NAME        FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINT
zram0                                                                              [SWAP]
zram1                                                                              [SWAP]
zram2                                                                              [SWAP]
zram3                                                                              [SWAP]
zram4                                                                              [SWAP]
zram5                                                                              [SWAP]
zram6                                                                              [SWAP]
zram7                                                                              [SWAP]
nvme0n1
├─nvme0n1p1 btrfs              e70e0471-a96d-4f7b-8d91-55805210645d  325,1G     9% /run/timeshift/backup
├─nvme0n1p2 ntfs               353A4DB32209D32A                      100,5G    16% /run/media/user/353A4DB32209D32A
├─nvme0n1p3
└─nvme0n1p4 vfat   FAT32       AA07-7C98                              70,5M    27% /boot/efi

Eventually, the problem isn't completely solved, but I'm now booting the computer by turning off the power during boot and then turning it on. It may not be correct, but I will look forward to future system updates.

Precisely why I asked this question.

Having to power down to have Linux start properly on a dual boot system with Windows is a classic symptom of Windows creating problems on a firmware/hardware level.

This is one of the main reasons why I am so dead set against dual booting with Windows.

1 Like

ok, got it. I don't really need Windows, so I'll delete it

1 Like

Garuda Linux is one of the friendliest operating systems around and tolerates every modern file system.
But if you don't really need Windows - take it away.

3 Likes

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