But last week I had an update from kernel, amd-ucode and linux-firmware and since then my Arch is unstable AF
It gives me random kernel panic at boot
This has happened to me regularly, and has always been solved with a clean reinstall of the boot loader via a usb installation medium.
I use rEFInd and, while not everytime, often enough that I am prepared for it the system boots into shell after a kernel update. I wish I knew how to prevent it, but I can fix it in 5 minutes like clockwork when it happens.
However I just realized that the problem is likely I put the EFI partition on the second drive that I wanted arch linux on and that needs to be on the first drive instead it looks like.
Whichever drive that hosts the bootloader needs to be first.
however I did read one place that you cannot boot from an m.2 nvme drive?
That is complete nonsense. I use 2 m.2 drives for a dual windows/arch setup and nothing else.
I am using slot1 for windows and slot4 for arch linux if that makes a different:
It does, if I recall correctly. You can't skip slots. You need to use the next available slot. I recall having a similar issue when I first setup arch.
this problem was easily solved with other distros where i would go into a "recovery mode" and just install it that way but there doesn't appear to be a clear way for me to do so.
The question is, why would you want to use Arch as a beginner? Because with Arch you basically only learn how to install Arch.
1-When I first switched to linux-knowing absolutely jack shit about how to actually use linux-I did so because I was fed tf up with Windows bs.
I spent like a solid day researching the different linux distros and their reviews. Across the board the image that was being painted for me-knowing nothing about linux as I did-was that arch was:
1-more difficult than other distros as a beginner
2-deeply customizable
3-did not suffer from bloat as much as other distros.
Though I lacked the understanding at the time to fully verbalize it as such, ultimately, I wanted a distro that would operate under my control while minimizing upstream input. I recognized that this would be achieved via a more technical distro.
For me, the final decision was between arch and gentoo. Gentoo appeared to have more granular control but looked to be well beyond my abilities as a beginner. I went with Arch under the assumption that it would be a good enough compromise to my objective in exchange for being more achievable.
It took me, like, 8 hours of figuring shit out to make my first install get to the point where I could successfully boot and the next 3 days to get the desktop working in my free time.
I can do all that now in like 15 minutes.
2-Saying that arch only teaches you how to install arch is exaggerative. I never would have even got the first install up without understanding what I was doing. I had to learn the basics of bash on the fly because otherwise the commands needed would have been just magical incantations with no meaning to me that didn't work if I messed up the syntax even slightly.
I can say with authority that the installation guide on the wiki is actually pretty useless if you don't have a basic understanding of things like file systems, bash, computer hardware, and the workings of an os in general. I knew basically nothing when I started.
Even after I had a bootable system with a functioning desktop, there was a long learning process of troubleshooting various issues and learning how to maximize usage of the resources available to me. Furthermore, I've installed arch a few more times since on other machines and am better and more efficient each time due to the knowledge that I have accumulated while troubleshooting the problems in my daily usage.
Saying that arch only teaches you how to install arch is just the bias of your own pre-existing linux skills.
Well, that's a cool story bro, but-as it so happens-I'm not an authoritarian regime trying to enforce state censorship on my users.
I don't need to keep someone who knows what they're doing from accessing the web. I need to keep low level users from bypassing existing network restrictions through the use of a vpn that is reserved for admin access.
Yeah...I'm not going to lie to you. I did not understand that explanation.
I'm not very skilled myself.
Though I am kind of gathering that maybe there is a misunderstanding here? Your description implies printing out a message for a user to contact the admin in case of non-access?
What I actually want is for a non-authorized user to trigger a prompt in order to enter the root password for access to the program.
This seems to adaquately lock the non-root users out of the gui, but I would ideally like to have a user friendly prompt of some kind for an admin to enable access to mullvad while in a user account.
The program in question is mullvad-vpn. I don't want non-approved users to be able to bypass network restrictions through the use of a vpn.
Mullvad-vpn is already registered to the user and group of root and root.
Running chmod 770 on the mullvad-gui does eliminate the executable functionality. You can't even use the desktop shortcut for mullvad either. You have to ./mullvad-gui in terminal.
The problem is that it won't run in the terminal as root without appending --no-sandbox to the command...in which case it doesn't work at all. The --no-sandbox flag removes the functionality just the same whether mullvad-gui has executable functionality enabled or not.
Is there something that I'm missing here? Or is this an issue with mullvad?
I'll take your begrudgingly petty condescension as a conclusion to this conversation so we can move on without having to argue about what a REDUNDANT array of independant disks is.
This isn't a solution to your main problem, but I am highly reccomending that you enable the sysreq keys on your arch install so the next time it freezes up you can just REISUB out.
I find it absurd that you don't understand the concept of redundant backups.
You and the other guy here acted so high and mighty about no one ever giving even a single answer as to why to to use a separate drive and then when they do you're the ones who clam up.
I've seen multiple people ask for help as they had two identical drives and couldn't differentiate them when installing.
Why not add "a different disk of a different size?"
Agrees that many people aren't literate enough to differentiate drives. Immediately proposes that they instead dive into the formatting and partitioning process to split a single drive when they don't even understand the easier option.
Come on dude. Think before you speak.
They could run arch or windows off of a flash drive if they really wanted to. That too would be a solution that is both separate and contained.
You're just misdirecting your own self assurance onto other people who lack whatever level of skill you might have.
Putting all your eggs in one basket. I.e. losing everything with a single accident, is just willful ignorance on your part.
You can't run a RAID storage backup with a single hard drive and the security principle is the same. Having two separate OS on two separate disks means that when one disk crashes you have an easy and immediate backup to fall back to.
Using multiple disks might prevent user error during install, but past that point serves no benefit.
Considering that this very topic in which we find ourselves is literally regarding a non-confident user I fail to see what point you are making.
A clean install on a clean drive always has been and always will be inherently better than having to split partition two operating systems.
Do you think this user, who had to ask whether or not he should, needs to waste time listening to your useless words when you aren't even addressing him?
The simplest designs are often the most elegant, and whether you like it or not separating different operating systems onto their own drives is as simple as it gets.
Seems to me like you don't know where you are. This place is just one big tech support forum. No one is coming here for discourse and philosophy. It's almost entirely people with problems.
If you feel so strongly about your opinion then I encourage you to go update the wiki page for the installation guide to tell everyone to make sure that a dual boot system is on one disk. I'll be intrigued to see how long it lasts there.
Not a solution, but if you haven't already enabled sysreq functionality I suggest you do so so that you can reisub out when such a thing occurs.
That's now what I meant.
I said that a clean install of just the bootloader is the solution for me, not the whole system.
If that were so, than why does it happen only and exactly when there's a kernel update and the exact same solution fixes it every time.
That's seems like an improbably, highly specific filesystem corruption.
This has happened to me regularly, and has always been solved with a clean reinstall of the boot loader via a usb installation medium.
I use rEFInd and, while not everytime, often enough that I am prepared for it the system boots into shell after a kernel update. I wish I knew how to prevent it, but I can fix it in 5 minutes like clockwork when it happens.
Agreed.
If you swapped the arch drive into the primary slot on the mobo and can't read any OS now, there's something wrong with your boot loader.
Whichever drive that hosts the bootloader needs to be first.
Put the arch m.2 first and see if it resolves.
That is complete nonsense. I use 2 m.2 drives for a dual windows/arch setup and nothing else.
It does, if I recall correctly. You can't skip slots. You need to use the next available slot. I recall having a similar issue when I first setup arch.
Are you, by chance, new to using arch?
Your issue sounds weird and non-standard.
I use simple-scan and have never experienced any issues.
It doesn't even look efficient. At the pictured rate of water flow that bath tub would take forever to fill.
This isn't design porn. This is design gore.
1-When I first switched to linux-knowing absolutely jack shit about how to actually use linux-I did so because I was fed tf up with Windows bs.
I spent like a solid day researching the different linux distros and their reviews. Across the board the image that was being painted for me-knowing nothing about linux as I did-was that arch was:
1-more difficult than other distros as a beginner 2-deeply customizable 3-did not suffer from bloat as much as other distros.
Though I lacked the understanding at the time to fully verbalize it as such, ultimately, I wanted a distro that would operate under my control while minimizing upstream input. I recognized that this would be achieved via a more technical distro.
For me, the final decision was between arch and gentoo. Gentoo appeared to have more granular control but looked to be well beyond my abilities as a beginner. I went with Arch under the assumption that it would be a good enough compromise to my objective in exchange for being more achievable.
It took me, like, 8 hours of figuring shit out to make my first install get to the point where I could successfully boot and the next 3 days to get the desktop working in my free time.
I can do all that now in like 15 minutes.
2-Saying that arch only teaches you how to install arch is exaggerative. I never would have even got the first install up without understanding what I was doing. I had to learn the basics of bash on the fly because otherwise the commands needed would have been just magical incantations with no meaning to me that didn't work if I messed up the syntax even slightly.
I can say with authority that the installation guide on the wiki is actually pretty useless if you don't have a basic understanding of things like file systems, bash, computer hardware, and the workings of an os in general. I knew basically nothing when I started.
Even after I had a bootable system with a functioning desktop, there was a long learning process of troubleshooting various issues and learning how to maximize usage of the resources available to me. Furthermore, I've installed arch a few more times since on other machines and am better and more efficient each time due to the knowledge that I have accumulated while troubleshooting the problems in my daily usage.
Saying that arch only teaches you how to install arch is just the bias of your own pre-existing linux skills.
Well, that's a cool story bro, but-as it so happens-I'm not an authoritarian regime trying to enforce state censorship on my users.
I don't need to keep someone who knows what they're doing from accessing the web. I need to keep low level users from bypassing existing network restrictions through the use of a vpn that is reserved for admin access.
What do you mean? The answer to that is literally the first paragraph of the comment you replied to.
1-use pastebin when posting the output to things like journal logs. It's much cleaner than posting it as you did in the body of the post.
2-how old is this graphics card? It looks to be very old by computing standards. The symptoms you describe kind of sound like graphics card failure.
Yeah...I'm not going to lie to you. I did not understand that explanation.
I'm not very skilled myself.
Though I am kind of gathering that maybe there is a misunderstanding here? Your description implies printing out a message for a user to contact the admin in case of non-access?
What I actually want is for a non-authorized user to trigger a prompt in order to enter the root password for access to the program.
You seem to be correct. Per the instructions on the mullvad uostream github page, I added the following to the mullvad-daemon.service:
[Service] Environment="MULLVAD_MANAGEMENT_SOCKET_GROUP=root"
This seems to adaquately lock the non-root users out of the gui, but I would ideally like to have a user friendly prompt of some kind for an admin to enable access to mullvad while in a user account.
I don't know how to do that though.
Question:
The program in question is mullvad-vpn. I don't want non-approved users to be able to bypass network restrictions through the use of a vpn.
Mullvad-vpn is already registered to the user and group of root and root.
Running chmod 770 on the mullvad-gui does eliminate the executable functionality. You can't even use the desktop shortcut for mullvad either. You have to ./mullvad-gui in terminal.
The problem is that it won't run in the terminal as root without appending --no-sandbox to the command...in which case it doesn't work at all. The --no-sandbox flag removes the functionality just the same whether mullvad-gui has executable functionality enabled or not.
Is there something that I'm missing here? Or is this an issue with mullvad?
I'll take your begrudgingly petty condescension as a conclusion to this conversation so we can move on without having to argue about what a REDUNDANT array of independant disks is.
This isn't a solution to your main problem, but I am highly reccomending that you enable the sysreq keys on your arch install so the next time it freezes up you can just REISUB out.
https://wiki.archlinux.org/title/keyboard_shortcuts
I find it absurd that you don't understand the concept of redundant backups.
You and the other guy here acted so high and mighty about no one ever giving even a single answer as to why to to use a separate drive and then when they do you're the ones who clam up.
The hypocrisy is pathetic.
Agrees that many people aren't literate enough to differentiate drives. Immediately proposes that they instead dive into the formatting and partitioning process to split a single drive when they don't even understand the easier option.
Come on dude. Think before you speak.
They could run arch or windows off of a flash drive if they really wanted to. That too would be a solution that is both separate and contained.
You're just misdirecting your own self assurance onto other people who lack whatever level of skill you might have.
Putting all your eggs in one basket. I.e. losing everything with a single accident, is just willful ignorance on your part.
You can't run a RAID storage backup with a single hard drive and the security principle is the same. Having two separate OS on two separate disks means that when one disk crashes you have an easy and immediate backup to fall back to.
Considering that this very topic in which we find ourselves is literally regarding a non-confident user I fail to see what point you are making.
A clean install on a clean drive always has been and always will be inherently better than having to split partition two operating systems.
Do you think this user, who had to ask whether or not he should, needs to waste time listening to your useless words when you aren't even addressing him?
The simplest designs are often the most elegant, and whether you like it or not separating different operating systems onto their own drives is as simple as it gets.
Seems to me like you don't know where you are. This place is just one big tech support forum. No one is coming here for discourse and philosophy. It's almost entirely people with problems.
If you feel so strongly about your opinion then I encourage you to go update the wiki page for the installation guide to tell everyone to make sure that a dual boot system is on one disk. I'll be intrigued to see how long it lasts there.
Sorry you don't know how to properly run a secure dual boot system?
I wouldn't let windows on the same drive as my arch install in the exact same way I wouldn't put my dick in a dumpster glory hole.
Whoever's downvoting you are troglodytes.
The benefits of separating windows onto a seperate disk is clear and obvious. That should be the default.
Typically, I would attempt to use an official repo package prior to attempting an aur package.