Skip to content

u/thetornainbow

In this archive from Nov 2013 to Oct 2017

4
posts
131
comments
4
media
441
score

Agreed. It's super easy to maintain without those huge jumps in glibc or kernel stuff. Mine's been running for 2.5 years now, no issues.

(~) ──── head /var/log/pacman.log 
[2015-03-30 03:58] [PACMAN] Running 'pacman -r /mnt -Sy --cachedir=/mnt/var/cache/pacman/pkg base base-devel'
[2015-03-30 03:58] [PACMAN] synchronizing package lists
[2015-03-30 03:59] [PACMAN] Running 'pacman -r /mnt -Sy --cachedir=/mnt/var/cache/pacman/pkg base base-devel'
[2015-03-30 03:59] [PACMAN] synchronizing package lists
[2015-03-30 04:00] [ALPM] transaction started
[2015-03-30 04:00] [ALPM] installed linux-api-headers (3.18.5-1)
[2015-03-30 04:00] [ALPM] installed tzdata (2015b-1)
[2015-03-30 04:00] [ALPM] installed iana-etc (2.30-4)
[2015-03-30 04:00] [ALPM] installed filesystem (2015.02-1)
[2015-03-30 04:00] [ALPM] installed glibc (2.21-2)
4 points

If you have to have Tails running immediately why not do it in something like Virtualbox? Go with Ubuntu on a stick to learn Linux administration. I'm on my phone atm but I can link to books later. IMO, though, the best way to learn is using a better supported distribution (like Ubuntu) and establishing objectives like "I want to learn firewalling so lets do that" or so on.

1 points

I use CRUX as my main driver. It's very simple to compile the kernel, a bit difficult (depending on your hardware) to get the right CONFIG.

Before I go into it, the CRUX handbook has a section on compiling your kernel. Also, if you're thinking about installation, make sure to get the updated iso. As CRUX is source-based (like you said), you will have to re-compile everything if you get the 3.1 iso (released a year ago?), and it's much simpler to get the updated one.

So, for compiling your kernel, you can download the tarball of whatever kernel you'd like at kernel.org. I typically download, untar and stick in /usr/src/. You can either copy the existing .config from the .iso or start from scratch. I strongly recommend former. I keep my .config in /usr/src (as opposed to /usr/src/linux-whatever). I also use git to track changes if something goes awry.

Then, I like to checksum it, cd into /usr/src/linux-whatever and

# make mrproper

This will clean any generated files and configs from the kernel tree. Then,

# cp ../.config ./

At this point, you can do several things. I like either make menuconfig which will start a TUI and you can go through all the kernel options, or make silentoldconfig which will go through the new kernel options, prompting you for any changes that weren't present in older kernels (useful for upgrades, not necessarily first time out). If you would like to see all the other make options, you can either less Makefile or make help. Lots of good info there. Make sure that your root filesystem drivers are checked yes, like SATA_AHCI, BLK_DEV_SD, and EXT4_FS (per CRUX handbook). In my experience, these have been the only roadblocks I've run into. There's a lot in the config options, and recompiling is quick (on a new machine :), so don't sweat it if you don't get it right first try. It's fun, remember?

Anyhow, after your .config is set, it's fairly smooth sailing. First, compile the kernel:

# make all

Install compiled modules in /lib/modules/<version> with:

# make modules_install

Almost there! Next, you can copy your hot-out-of-the-oven kernel to /boot. Depending on what bootloader you use, it might vary. The handbook says:

# cp arch/x86/boot/bzImage /boot/vmlinuz

But I do:

# cp arch/x86/boot/bzImage /boot/vmlinuz-linux

for GRUB. It all depends on your situation. Remember, if you mess up, it's cool, your computer won't start smoking or anything (unless influenced by peer pressure). Finally, copy the System.map, which is the symbol table used by the kernel, to /boot with:

# cp System.map /boot

All finished. If you've got your bootloader set up properly, you can sudo reboot and laugh at the noobs who spend their time using their computer for things rather than playing with it. After a few compiles, you'll be a pro. Hope that helps! Also, CRUX is an awesome distro.

Edit: Formatting

4 points

Source-based distro, very minimal system, super simple packaging, very few decisions are made for you, devs are friendly.

Cons are you will package your own stuff at some point and if you're not familiar with any part of linux from configuring and compiling your kernel as part of the installation process to tweaking compile flags you will do lots of reading.

1 points

You might try feh or nitrogen. Both are pretty great for standalone wallpaper management, especially with dual head setup.

Feh is great for simple one shot setting. Just run feh --bg-fill /path/to/image to set.

Nitrogen offers a GUI wall selection, and can be set in .xinitrc or your DE's startup using nitrogen --restore &

I've used both and work much better than built-in tools in my experience.

2 points

I switched to Crux around seven months ago. It is wonderfully KISS with bsd-style init, simple, source-based package manager, and the Pkgfiles (package recipes) are a dream to write. You even handle kernel config manually a la Gentoo.

It's a breath of fresh air compared to most other distros.

1 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.