Skip to main content

Mounting partitions at startup with /etc/fstab

· 3 min read

Mounting partitions at startup with /etc/fstab

One thing that is helpful for me is knowing how to set up /etc/fstab to mount partitions at boot. This example is for a dual-boot with Windows 7 and Linux with another NTFS "Data" partition accessible from both operating systems. I've also set up partitions for two separate Linux installs, and a shared 4GB swap for them.

Cowsay (or tuxsay) fortunes in terminal

· One min read

Cowsay (or tuxsay) fortunes in terminal

This is a quick guide on how to have Cowsay (or Tuxsay, etc.) with fortunes upon opening the terminal.

I have it set up using fortune's "wisdom" quotes. They're not difficult to create; install the "fortune-mod" package (along with "fortunes" and "cowsay"); use the strfile tool on a formatted text like "strfile vocab-fortune vocab-fortune.dat" and put it in fortune's directory, e.g. /usr/share/fortune or /usr/share/games/fortunes/ on Debians.