Updating Arch the right way - Please critique my practices
Kongar @ Kongar @lemmy.dbzer0.com Posts 5Comments 299Joined 2 yr. ago
Sigh, my condolences. I’m shouting right beside you. I first learned about linux in 1993 in college. I got it working on a shiny new 486 with super vga graphics. We were allowed access to the college’s aix mainframes and thus the internet via a slip connection - but only through Unix like systems. Linux was amazing, I couldn’t believe we had x going, and loading up cad, matlab, maple, ftp, fsp, irc, nettrek, and everything else possible in the computer centers - but over a telephone line from our apartment.
Magical.
Funny how it really only became my daily driver three ish years ago - despite using it forever. Cuz games - glad that’s changed finally.
If you can, dual boot with two hard drives. Windows will work when linux doesn’t/you break it. Learn linux, distro hop, figure it out - and you’ll be able to learn at your own pace.
This is the way. My advice is to add a second hard drive to your pc and install linux on that. Distro hop, install arch and break it horribly, swear at your printer, learn. Then when you screw up, you’ve lost nothing, you can switch back to your “‘ol faithful” and get the job done. What will eventually happen is you’ll find yourself spending more time in linux than windows until you almost never boot it up.
If you do it this way, there’s really only two things to worry about. 1) if you’re using mbr or want to still use mbr with uefi, you’ll have trouble dual booting cleanly and will probably want to reinstall windows. You can’t break anything, but you can’t dual boot from both methods (or at least I’m pretty sure I’ve never owned a motherboard that can). 2) when installing linux, learn and be careful about what drive contains windows - don’t ever pick that drive when formatting and partitioning. Bonus points if it’s a different brand and size - makes it almost impossible to pick the wrong drive. When using a single drive for dual booting, there’s much more opportunity to make a mistake and break your windows install if you’re not familiar with partitioning and boot loaders.
I literally can’t think of a way to break windows if you keep the above in mind, and then you can “make the switch” gradually.
Good for you, welcome aboard!
The boot order is uefi hdd (which I can then pick the hard drive’s boot order in a sub menu), then uefi usb, then uefi optical drive, then network. I don’t think that’s the issue - it should always find something to boot before the optical drive.
I’m going to try the one drive at a time in that first port thing and add/move the rest around. I haven’t been as deliberate with the troubleshooting here as I should have (I immediately went towards a software issue - fstab or something similar). I could have a port / mobo problem. Need to separate software from hardware issue better. Luckily I have three installed operating systems on three drives and plenty of bootable isos to play with. ;)
Thanks for all the help! Lots of good suggestions in this thread I can try for further troubleshooting. Most importantly, you all confirmed I should be able to unplug an optical drive, put in a new unformatted ssd, and generally move drives around - and linux should still boot. I did not think things would behave that way, so when I had issues I figured it’s of course pilot error. Also explains why I was having such a hard time finding information on the arch wiki ;)
Now I know something ain’t right, and my guess is its some user configuration (because it does boot, it just hangs later). This has now turned into a side project (what the heck did I break), I’ll update the thread if I figure it out. It’s a pretty clean install, very few AUR packages (mostly flatpaks), and has been otherwise pretty stable-it’ll be interesting to see how it actually broke.
Thanks for the suggestions!
That I have not tried. I’ll try moving them around and see if it’s an issue with that port.
I’ve moved drives to that one port, but I haven’t tried shuffling all the components around.
My understanding with sata was that I should be able to move things around all I want. What would change is sda sdb sdc etc, and that’s why you use uuids in fstab. So it was strange to me that I couldn’t plug drives into that first port.
I’ll shuffle things around more when I get home and see if I can detect any further patterns.
Edit: as far as I can tell that port is nothing special other than it’s the first one. All the same in bios.
I’ll have to try this
I tried logging into gui and it hangs. While I’m at the spinning cursor of death, I cannot break out into a console. I’ll try the console first.
I suspect you are onto the issue here - something in user config is looking for that optical drive and failing.
Fstab has just hard drives, and it’s by uuid.
I’m at work now, I can boot into manjaro by unplugging the drive - I’ll check the logs and see if there’s any clues there.
It does not-that was the first thing I went after. I thought (incorrectly) that optical drives were in fstab and I was surprised to see only my hard drives there. Then I learned a bit more, sr0, etc and was like hmm, I’m missing something. ;)
Did that. fstab uses uuid for identification. If I plug ANY of my drives into that sata port where the optical drive was - manjaro won’t get past login.
Maybe my manjaro installation is borked and I don’t even know it (it’s actually been pretty good for a while now)
Hmm lots of suspicion at the new drive. I wasn’t as deliberate as you described, but that new ssd now has arch on it and boots fine.
I guess maybe I’ll ask this question. Should I be able to just unplug an optical drive, and plug in anything else into that sata port without linux hanging? I wouldn’t expect the new drive to DO anything until it’s partitioned/formatted/mounted etc. but can I just swap components and expect to be able to boot?
Weird.
So I’m triple booting right now. I’ve got a windows drive and a separate manjaro drive. Those drives are older and getting small in space-so I bought a shiny new ssd.
Windows works fine, and I moved to arch on the new drive and that is working great. It’s not a big deal - the manjaro drive will get wiped once I’m comfortable the arch install. But I’d like to fix it just for learning purposes. I feel like there’s a text file somewhere that associated the optical drive’s uuid with the sata port that identifies as /dev/sda (but I’m not even sure optical drives have a uuid?)
Anyways - I think the new drive is fine.
Oh ya, forgot to mention that. It boots fine if I just unplug the optical drive. It’s when I plug in a new ssd into the same sata motherboard port - that’s when it hangs. It’s funny - it actually makes it to the login screen, it hangs only after trying to log in. I can’t even break out to another tty terminal.
Edit - the motherboard and chip and ram and video card are all new. It’s the old stuff I’m resuing-case, power supply, old hdds, ect
I went back to the office on my own. A long time ago. It should be noted that I like my bosses, peers, and my job in general (I mean it’s called work, not fun - but it isn’t miserable)
- ability to build better relationships with everyone - it’s too easy to sling shit over email. Whole different experience actually talking to somebody - especially when one of you needs something difficult.
- separation between work and home - I don’t like home feeling like the workplace.
- remote work people are heading towards a future of being Bangalore’d. If your job is currently being split up into the part that needs to be local and a remote part - you’re only a few years away from watching someone overseas do it for 1/10th the cost. Be needed in person people!
I thought I’d love remote work, but I hated it.
I’ve been running it for a few years. I’ve learned the hard way to not use the AUR. Manjaro breaks AUR software installs with its delayed release schedule. I’m running it now with pretty much all flatpaks and it’s MUCH more stable. So if you do run it, stay away from native AUR and opt for flatpaks instead.
The next time it breaks I’ll finally get motivated, nuke the drive, and install arch again (I liked arch better).
I think I have the skills now to keep an arch box alive, if you don’t have those skills then manjaro won’t really solve that problem either imo. Just go mint or something similar.
Ok I’ll play, I got a good one with a dose of revenge for fun.
Me, my young daughter(4) at the time, and my pregnant wife were standing in a very long line line to buy movie tickets to the latest Disney flick (I think it was Nemo). There was only one teenage girl working, there were clearly some staffing issues going on, she was mega flustered, and the wait was truly long and unbearable. But whatever-stuff happens, not the poor girls fault. So we wait as patiently as we can.
We are next in line. There’s like 50 people behind us. Some cow of a Karen just strolls up and cuts the entire line right in front of us. She looks back over her shoulder, smiling, and says that she cannot wait in this long line because she needs good seats. I’m kind of a jerk, and I would have enjoyed giving her a piece of my mind, but… small daughter, pregnant wife, etc. I behaved. People behind start flipping out.
I’m thinking this entitled bitch needs a slap, and just as she turns around with her successfully purchased tickets from cutting an entire line, she whirls around flinging her excessively large designer bag over her shoulder. The strap breaks, and stuff goes EVERYWHERE. Tampons rolling around, lipstick cases under arcade machines, stuff all under people’s feet under the ropes, etc. Truly glorious.
So now she’s horrified and has to pick everything up, and here’s the best part - nobody lifted a finger. All these people in line just ignored her, and her pathetic “excuse me”, “could you”, etc. she went from entitled Karen, queen of importance, to a cockroach scuttling around on a dirty movie theater floor, and everyone just silently looked down upon her.
Petty? yes. I’m sure she’s still a mega bitch still. But karma was served that day.
I don’t know if it’s the best, but proton vpn exists in a flatpak that works without issue. That’s what I use.
I’m older, and remember the days when the internet was “hard” (pre web). And because you had to work a little bit to find information, you tended to stick with, and contribute to the groups you found. Better engagement, better discussion, more inside jokes, better community. Reddit has just turned into an echo chamber of the lowest common denominator. Lemmy feels a bit more like the old days - a community with actual content.
I vote: do whatever you want with it (kill it, hand it over, whatever). Let’s leave it behind and concentrate on making this place awesome.
Tears of the kingdom - little late to the party but it’s a fun game.
Awesome - thank you! I knew about yay, but wanted to understand it in case yay ever disappears like yaourt did. I did not know about the others!