Skip to content

Need advise on using ArchLinux

Currently using Ubuntu based distro (for more than a year) I'm a little bit paranoid when it comes to installing (and configuring) the best linux distro for my laptop...I really don't like having a lot of installed packages (it makes me nervous) and the only reason I'm using Ubuntu is the stability because I do my job on this laptop (I'm a programmer working in a company)...I usually remove extra packages after installing Ubuntu but still there will be around 1800 packages installed no matter what...

I've tried ArchLinux on my VM months ago and the installation process was actually fun...I have installed all the apps I need and it barely reached 650 packages (about one-third comparing to Ubuntu)...I really liked the speed and the management I had on my OS; but!

My biggest concern in using ArchLinux (as you might have guessed) is the STABILITY! What I want is to be sure my system won't get crashed upon regular updates because all my works are there and should not even lose anything (I don't have much time fixing them; although it might be sort of challenging and fun for my knowledge)...

Can you convince me using ArchLinux while doing some extra stuff to make it more stable? I have also tried Manjaro; but I'm not sure if its a good choice comparing to pure Arch.

I'd really appreciate your help to get out of this nightmare I have upon choosing the best distro (I check distrowatch in a timely basis; more than you can imagine and already know a large number of distros and also installed a lot of them :D). Speed and Stability is my biggest concerns...

Thanks a lot in advance!

P.S.: I do like CrunchBang a lot but its dead :(

0 points18 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
3dk502

Author

6
posts
34
comments
0
media
View profile

18 comments

The last time I had something "break" was my mother's laptop, which used to be my development laptop; and now I got her a Chromebook so it doesn't see much use. The other day when I was visiting I had to use it to drive the TV because I had no HDMI cable and that was the only computer with a VGA port in the house. I decided it was time to run pacman -Syu after ~6 months without an update.

Sure enough, rebooted and everything looked fucked. Remembered I read on the wiki that on any sign of trouble, switch to Intel's legacy video backend (the laptop is almost 10 years old now). Edited a single cfg file, rebooted, 5 minutes later my parents were watching a naked guy driving an RV with a gas mask on.

Arch also runs my current development laptop and it runs my main production machine. I'd trust it more than any Ubuntu based distro.

But if you're really paranoid, learn how to use btrfs and its snapshots.

5 points

5 minutes later my parents were watching a naked guy driving an RV with a gas mask on.

Breaking Bad pilot?

3 points

I think most of my issues with "stability" have been pilot error, not a problem with the software.

2 points

It's always pilot error, but OP's right in the money asking. Mainstream distros always come with patches and precooked configuration to prevent the pilot from screwing up.

Arch doesn't hold your hand.

In the long run, that means that you will encounter some problems, but you will learn and be perfectly able to solve them. Compared to something like Ubuntu, in practical terms, you will end up having less issues, and unlike some of Ubuntu's, a clear solution will exist and there's excellent documentation to guide you to it.

2 points

Thanks man...Good point on BtrFS! So in worst case; if use snapshots before every update, my problem would be solved, right?

I mean; reverting to a snapshot really DOES work without losing a single file, right? Sorry I never worked with snapshots before...

Recently I was into converting to Btrfs or ZFS because of their great features...

1 points

I mean; reverting to a snapshot really DOES work without losing a single file, right? Sorry I never worked with snapshots before...

If you consider ZFS, try PCBSD, which has very very very good utility named life-preserver (and it really is a life preserver) !!

You need to specify whether

  1. "stability" = uptime of system
  2. "stability" = downtime needed for fresh new installation of system (which can be brought down to 10 minutes or less if you plan wisely),
  3. "stability" = lack of broken software (on Arch it rarely is a case),
  4. "stability" = access to your data/your work anytime... (this you can get in any distro, if you plan your back ups well)
2 points

Yup that's how snapshots work. I would only do a snapshot once a month, maybe once a week. I run pacman -Syu at the very minimum daily, and so should you if you go with Arch.

2 points

Thanks man...Good point on BtrFS! So in worst case; if use snapshots before every update, my problem would be solved, right?

I use snapshots before and after every update (I've got a script that uses snapper to manage the snapshots so they don't pile up.) I've had to use them twice, and they didn't help either time. The reason was hardware failure. The system didn't work after an update, but it turned out to be because the disk was failing - so booting into the snapshot didn't help. It looked like filesystem corruption, which made me grumpy at btrfs, but the filesystem was corrupt because of the failing disk.

Fortunately Arch's simplicity saved my bacon anyway - the disk wouldn't run well enough to keep the system running, but I could pull off a list of the installed programs, and the /etc directory (home was already backed up elsewhere.) Doing a basic install, feeding that list in to pacman, then cp'ing my old /etc, was all it took to restore the whole system.

So, in theory snapshots are a great idea - but so far I've only had hardware failures and no software/user failures in the 6 months or so I've been using arch. So I can't say for sure. But even without them I'm glad I was using Arch.

2 points

I can count what I'd consider 'breakage' events on one hand and I have used Arch on at least one box somewhere or other since about 2011. If you stop updating for a good loooooong while, you may hit situations where a reinstall is probably a better bet.

Arch may be not for you, at least that's what I'm parsing from your post. Breakage is always possible, though not very likely. If you want 'stability' where things will almost certainly not break, I'd suggest spinning up Debain Jessie, enabling backports and that's that.

Use the minimal netinstall so as to not install the kitchen sink since that seems to be your actual concern; realistically, you can do that with Ubuntu too, but I find Ubuntu ridiculously buggy every time I spin it up (14.04 being pretty good though).

3 points

I have had Ubuntu break on me in ways Arch never has. For me, Arch has been the most stable distro. Hands down.

Personally, in your case, I would make a separate partition for home, and I would take regular backups of that to an external disk if I had anything critical lying around.

If you know your way around Linux, there is no need to sweat it imo. I can always save the day regardless of which distro I use. In fact, in the worst case scenario, where a reinstall is needed, Arch would actually be the fastest and most painless for me, and the home partition can just be remounted

3 points

I have been using arch on all my machines for past 3+ years. Never had a single issue which was distro based... (once I happened to delete partition knowingly which broke one of my installation, but it was my choice and not distro error). The reason why I switched was I was required to "install" the distros every 6 to 18 months for upgrades, and each "install" was a potential outage.

I recommend to run pacman -Syu daily and followed by a reboot... the longer you postpone it the bigger are your chances of having issues (personal observations)... if you plan to update only once in 6-12 months, Arch is not suitable for you. You should be on ubuntu LTS then.

for a paranoia..

  1. Say for gnome, keep kde/xfce as back up option, say for firefox keep chrome as back up option and so on.
  2. you know you can install arch in one partition and say ubuntu in second.. right? 2 part (a). Do you know you can have extra partition for your development and mount it under any distro ... this way if in rare event that arch has a genuine issue (I never had one), you can still work on your stuff from Ubuntu 2 part (b). In a rare event that a distro has a problem, chances that you will get a fix in Arch are higher.. because Arch doesn't add its own extra code, most packages are vanilla packages as released by upstream.
  3. Keep in touch with the arch main webpage (I have it as my browser homepage, so that I get to read any announcement from arch first before I visit say a news site or google etc).

See if these ideas work for you :)

2 points

Thanks....I think I'll have a different partition for my home.

1 points

"Stability" is such a loaded term.

For a discussion of stability, try this stability article directly from the arch wiki. I just searched the word "stability" from the wiki and there it was!

Excerpt:

Arch is inherently stable due to its commitment to simplicity in configuration...

Good luck.

2 points

i run arch on my work machine. i run pacman -Syu every morning and reboot. if things break, i roll back the package and move on w/ my life. maybe 1 in every 10 kernel updates breaks something for me. i just boot the install medium,

mount /dev/sdb2 /mnt
mount /dev/sdb1 /mnt/boot
mount /dev/sda1 /mnt/home
arch-chroot /mnt /bin/zsh
cd /var/cache/pacman/pkg
pacman -U old_package_name.pkg.tar.xz

and i'm back where i was before. the more frequently you update, the less new packages that are introduced at a time. which makes debugging and/or reverting offending packages easier/

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.