You are not logged in.
Jul 15 04:27:28 Dell-G15-Aryan kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=81eec35c-a903-4bfe-b3b1-2137f7931093 rw quiet resume=UUID=1211ccb3-5aed-448c-b45a-e96b2d1f3cd1 loglevel=3 audit=0Does not show ibt=off. What is the contents of grub.cfg?
Ok so I made the wrong change my bad, i added ibt=off to cmdline_linux_defaults and did grub update now its booting i think correctly....
Can you please clarify the below doubts as I am really puzzled what even happened:
1. How did the messed up nvidia installation in one arch install carry forward to the new fresh install of arch?
2. Initially my problem was exactly same as https://bbs.archlinux.org/viewtopic.php?id=270312..... only difference imo was that i had /boot/efi mount point instead of /boot so what were the correct steps i should've taken to fix this, because i am sure this will happen again in the future if i decide to reinstall.
3. How to correctly install nvidia drivers on my kernel, i couldn't undersand the instructions on https://wiki.archlinux.org/title/NVIDIA#Installation.
Thanks so much for fixing my installation, and kindly answer atleast the 2nd question atleast please.
Offline
1. How did the messed up nvidia installation in one arch install carry forward to the new fresh install of arch?
Did you wipe the disk or did you just install arch over the existing installation?
But in general, if you can't tell whyt you did, nobody can.
Initially my problem was exactly same as https://bbs.archlinux.org/viewtopic.php?id=270312
No.
That guy was booting from the root partition, but installing the kernel into the /boot partition
You're booting from the root partition, but do not have a /boot partition.
I'm not sure what made you mount /boot/efi into /boot and whether that happened before or after you think your kernels became unaligned, but you should under no circumstance do that.
Post your fstab.
How to correctly install nvidia drivers on my kernel
You're running the main kernel and your GPU is supported by the current nvidia driver, so there's nothing special about that.
Since it's an optimus system, you however want to check https://wiki.archlinux.org/title/NVIDIA_Optimus
In general, see https://bbs.archlinux.org/viewtopic.php … 8#p2046178 and don't random tutorials you found on the interwebz.
Offline
No.
That guy was booting from the root partition, but installing the kernel into the /boot partition
You're booting from the root partition, but do not have a /boot partition.
I'm not sure what made you mount /boot/efi into /boot and whether that happened before or after you think your kernels became unaligned, but you should under no circumstance do that.
Post your fstab.
Ok so here is my fstab:
http://ix.io/44qg
Also initially i had nvme0n1p1 mounted to /boot/efi, vmlinuz-linux showed the latest kernel version while uname -r showed older kernel version. In an attempt to fix this I did these:
sudo mount /dev/nvme0n1p1 /boot
sudo pacman -S linux
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfgI understand mounting /boot/efi to /boot was stupid, also as soon as i rebooted the /boot/efi was unmounted from /boot.
So what would have been the correct approach to solve this?
Was doing
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfgenough?
Offline
vmlinuz-linux showed the latest kernel version while uname -r showed older kernel version
/boot/vmlinuz-linux or /boot/efi/vmlinuz-linux ?
Do you still have a system journal from that boot?
Your fstab is fine, you should™ not have to do anything special to update the kernel properly.
Offline
vmlinuz-linux showed the latest kernel version while uname -r showed older kernel version
/boot/vmlinuz-linux or /boot/efi/vmlinuz-linux ?
Do you still have a system journal from that boot?
Um no i dont have a system journal from that boot : (.
At that time there was only 1 vmlinuz-linux in /boot.
Your fstab is fine, you should™ not have to do anything special to update the kernel properly.
Yes right now its fine but i think it wasn't fine at that time but idk either.
Also can you tell me what exactly these commands did:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfgDid these make any difference to my grub config ?
I dont have the grub config from that time but if you could predict from this limited information?
Offline
Also can you tell me what exactly these commands did:
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg
https://wiki.archlinux.org/title/GRUB#Installation
https://wiki.archlinux.org/title/GRUB#G … d_grub.cfg
pyrole, please do not be a help vampire. Do a little more of your own research and stop asking to be spoon fed solutions.
In addition, you have many topics still open -- please go back and mark them solved or reply if they are still unsolved.
Offline
pyrole, please do not be a help vampire. Do a little more of your own research and stop asking to be spoon fed solutions.
In addition, you have many topics still open -- please go back and mark them solved or reply if they are still unsolved.
Yeah sorry about that, and about the other open topics, I was having problems with them in start but chose to abandon it and reinstall my OS so idk what to mark them? they aren't solved but i'm not pursuing that issue anymore.
Offline
about the other open topics, I was having problems with them in start but chose to abandon it and reinstall my OS so idk what to mark them? they aren't solved but i'm not pursuing that issue anymore.
You can either mark them abandoned or report them (use the Report link) if you would like them to be closed and deleted.
Abandoning topics without notice is not a good idea -- it makes people less likely to try to help you in the future.
Offline
pyrole wrote:about the other open topics, I was having problems with them in start but chose to abandon it and reinstall my OS so idk what to mark them? they aren't solved but i'm not pursuing that issue anymore.
You can either mark them abandoned or report them (use the Report link) if you would like them to be closed and deleted.
Abandoning topics without notice is not a good idea -- it makes people less likely to try to help you in the future.
Ok sure will do that thanks.
Offline