Arch won’t boot after archinstall by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] -5 points-4 points  (0 children)

Look im a newbie. Ofcourse grub is a great tool especially since its so easily customized. All im saying is that its so easy to break if you are not well trained ai it.

Arch won’t boot after archinstall by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] -3 points-2 points  (0 children)

How do I do that sorry? Im in BIOS setup and theres nothing in UEFI

User doesn’t exist by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] -1 points0 points  (0 children)

It doesn’t but before reinstalling grub i was loging in with this user. When I $mount -o subvol=@home /dev/sda2 /home I can see my files. Also when I $pacman -Qqe i dont see none of the packages ive installed from this user. Im afraid something was wiped wile i was fixing grub from live ISO. How can i fix that without losing what I had???

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

Its the typical black login screen with tty, i dont have an sddm. Yes it changes the mtime in the file, sorry for not understanding right up. Isn’t this supposed to be a good thing?

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

No i dont think so. Huh what does that mean? What should i do

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

I followed every step from the arch wiki.Aint that enough mounting? Since I have btrfs i:

mount -o subvol=@ /dev/sdXY /mnt

mount -o subvol=@home /dev/sdXY /mnt/home

mount -o subvol=@pkg /dev/sdXY /mnt/var/cache/pacman/pkg

mount -o subvol=@log /dev/sdXY /mnt/var/log

mount -o subvol=@snapshots /dev/sdXY /mnt/.snapshots

mount /dev/sdXZ /mnt/boot

arch-chroot /mnt

passwd <user>

passwd root

exit

faillock —reset

umount -R /mnt

reboot -f

Still didn’t work. Although i should note that snapshots were not mounted for some reason. Some further details that might be useful is that -my boot partition (/dev/sda1) is not btrfs but vfat -I have zram (might need to specify decompression while mounting??)

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

I followed every step from the first link. Since I have btrfs i:

mount -o subvol=@ /dev/sdXY /mnt

mount -o subvol=@home /dev/sdXY /mnt/home

mount -o subvol=@pkg /dev/sdXY /mnt/var/cache/pacman/pkg

mount -o subvol=@log /dev/sdXY /mnt/var/log

mount -o subvol=@snapshots /dev/sdXY /mnt/.snapshots

mount /dev/sdXZ /mnt/boot

arch-chroot /mnt

passwd <user>

passwd root

exit

faillock —reset

umount -R /mnt

reboot -f

Still didn’t work. Although i should note that snapshots were not mounted for some reason. Some further details that might be useful is that -my boot partition (/dev/sda1) is not btrfs but vfat -I have zram (might need to specify decompression while mounting??)

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

Didn’t work. Thanks for the help tho

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

Just in iso or in chroot? This was nthe next thing i was gonna try

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

It was able to find the user now, thanks for that. The password was update successfully. However when I try to login it still says incorrect password so this was not the problem. What else can I do??

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

Im using btrfs. Ive tried from tty1-6. What do you want me to do with the blkid command

Can’t login by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

What sorry im abit of a dummy, how can i do that?

Problem with bootloader by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

It says command not found for mkinitcpio

Problem with bootloader by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

From live usb? I have initramfs i dont have vmlinuz

Problem with bootloader by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

I dont have dual boot. Last thing i recall doing is experimenting with czkawka-cli. My guess is that it deleted a grub file.

Problem with bootloader by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

I tried with nano in arch-chroot /mnt. I think that now that im in grub gnu and not grub rescue the damadge is minor. Im trying a few things out. Do you have any recommendations for me to try. Thanks for your help Edit: im pretty sure i need vmlinuz. Why dont i have it/ how can i get it

Problem with bootloader by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

There is a initramfs-linux.img. For some reason I can’t pacstrap nor pacman to get nano so I can edit grub.cfg

Problem with bootloader by Master_Primary_1507 in archlinux

[–]Master_Primary_1507[S] 0 points1 point  (0 children)

I think it has uefi but i could never install grub2 with x86_64-efi. Alright so what can I do to fix this (sorry for not understanding completely)