Bootstrappin'
The boot process is the magic that makes your hardware come alive. You may not dwell on it, the process by which your cold, static, inanimate box kicks in, is a wonder of modern science.Bootstrappin'
The boot process is the magic that makes your hardware come alive. You may not dwell on it, the process by which your cold, static, inanimate box kicks in, is a wonder of modern science.Gone
You've probably read stories of someone getting an old computer and finding megabytes of sensitive or personal data stored on the hard disk drive. Simply deleting a file does not remove the data from the disk.Quick 'n' Easy
Due to a trademark dispute, Firefox under Debian is re-branded as Iceweasel.
If you try to upgrade to the latest version, Firefox 4, you may have some difficulty.
Here's a fast easy method to install Firefox 4 on Debian:
1. Step One
Add the following entry in /etc/apt/sources.list (or a new file in /etc/apt/sources.list.d/:)
deb http://mozilla.debian.net/ squeeze-backports-4.0 iceweasel
2. Step Two
Run update
apt-get update
3. Step Three
Install with apt-get
apt-get install-t squeeze-backports iceweasel
4. Step Four
Launch and enjoy.
Iceweasel
Done!
Magic Smoke
The Debian Swirl logo is known to many Linux users. Some have queried what it represents, with many theories offered for its symbolism.
In fact there are two Debian logos, the Swirl comprises the top part of a larger image, showing the smoke emanating from a bottle, as a magic genie would in a Hollywood animation.
Won't Install
When attempting to do a Net install of Arch Linux on CD, I got the following error message:
"Error boot device didn't show up after 30 secsonds..."
"Falling back to interactive prompt"
"You can try to fix the problem manually, logout when you are finished"
ramfs #
If appears the problem is a symlink was not created. The symlink should point to /dev/archiso, from the device /dev/sr0. If you have SATA devices this can happen. It does not happen if you have ATA.
The fix is to create a symbolic link from /dev/sr0 (DVD ROM) to the ArchLinux ISO at /dev/archiso.
When you drop down to a prompt do:
ramfs # cd /dev
ramfs # ln -fs /dev/sr0 /dev/archiso
ramfs # exit
Another solution to the problem is to run the code that creates the symlink:
ramfs # udevadm trigger
ramfs # exit
That should fix it.
Done!
Meet Sid
Debian's Sid repo is the place to find the latest, greatest and sometimes buggiest software. Alpha, Beta and anything after, is held in Sid until it is tested extensively and found not to break very often.
Anamorphic Video sounds complex, but its fairly simple to understand, once you grasp a few key ideas.Elf Like
Aminimal install of Debian with Gnome for the desktop.
First, download a copy of latest Debian testing Net Install ISO for AMD64.
Burn the image to disk using Brasero, K3B or similar burning application.
Reboot your machine using the CD. If your machine won't boot off CD you'll need to go into your BIOS and change the boot settings to make the CD/DVD the first boot device.
After booting, hit enter to load Debian and start the install.
1. Select your language
2. Select country
3. Select keyboard
4. Enter machine hostname
5. Enter domain name
6. Partition disk/s
7. Enter root password
8. Create user account
9. Enter user password
10. Select base install. Deselect desktop option. We don't want it
11. Select country mirror
12. Say yes to participate in popularity contest
13. Select GRUB boot loader
14. Install finished. Remove CD and reboot
You now have a minimal install of Debian without Gnome.
Lets go graphical and add X.
# aptitude install xorg
After Xorg completes we run
Xorg -configure
To generate our xorg.conf file
Using Debian, I tend to run the testing release. I find its more up-to-date than stable. Although stable is well... stable, the apps are a little out-of-date. Running testing, you get software more in-line with current releases.
I use emacs for most editing work, but as its not installed yet use 'vi'.
Now edit /etc/apt/sources.list and add following:
# emacs /etc/apt/sources.list
# Debian Repository Sources List
# Debian Main Repository
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ testing main contrib non-free
# Debian Security Repository
deb http://security.debian.org/ testing/updates main
deb-src http://security.debian.org/ testing/updates main
# Google Chrome Repository
deb http://dl.google.com/linux/deb/ stable main non-free
deb http://dl.google.com/linux/deb/ testing main non-free
# Christian Marillats Unofficial Debian Repository
deb http://www.debian-multimedia.org testing main non-free
Save amended sources.list file, and run update.
Time to update
# aptitude update
After aptitude finishes, lets install Gnome. We don't want the full-blown Gnome and all it entails, so lets have Gnome-Core, a cut-down version.
# aptitude install gnome-core
Add christian merrilats gpg-key to our keyring
# aptitude install debian-archive-keyring
# gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 07DC563D1F41B907
We have Xorg and a desktop. We need some apps and things to play with:
The Beauty Of X
Running X is fairly painless now, compared to a few years back. If you had to manually edit xorg.conf and get it wrong. Aaaaaargh.
Anyhow, when you install X today, it auto-configures itself.
Sometimes you find you have no xorg.conf file. It normally resides in /etc/X11/xorg.conf.
If your xorg.conf file has disappeared, here's how to generate another.
First you need to kill X. Switch to the console by pressing Ctrl-Alt-F1 or Ctrl-Alt-F2 or Ctrl-Alt-F3.
As root user, stop your display manager, if your using one.
# /etc/init.d/kdm stop
# /etc/init.d/gdm stop
# /etc/init.d/xdm stop
Next change to X11 directory
# cd /etc/X11
Reconfigure Xorg
# Xorg -configure
Follow the on-screen instructions, which create your new xorg.conf.
On completion, restart X.
# startx
Done!
Quiet
If you have a MS VX 1000 Webcam running under Linux/Debian you may experience 'no sound'.
The problem is down to the way the driver assigns bandwidth to the video, which ultimately hogs all that's available and sound gets none.
I read the developers have a patch thats been applied and included in all drivers included in kernel from 2.6.38 onwards.
If you are running a kernel version older than 2.6.36, upgrade your kernel.
This should fix your sound problems.
Done!
Winner
Here are a few key bindings for Conkeror Web browser
Conkeror is case sensitive.
| Command | Binding |
| Go to url or Webjump | g |
| Follow link | f |
| Forward | F |
| Back | b (or) l |
| Reload page | r |
| Reload page, bypass cach | C-u r |
| Reload image | i r |
| Edit url | C-x C-v (or) G |
| Copy current url | c 0 |
| Copy link url | c |
| Copy image url | i c |
| Copy url for anchor | # c |
| Copy text of any DOM node | * * T c |
| Save link | s |
| Save image | i s |
| Save media (heuristic search video/audio) | e s |
| Focus link | n ; |
| Focus DOM node | * * ; |
| Next Page (heuristic) | ] ] |
| Previous Page (heuristic) | [ [ |
| Submit Form | C-c C-c |
| Zoom In | + |
| Zoom Out | - |
| Zoom Reset | = |
| Text Enlarge | C-+ |
| Text Reduce | C-- |
| Text Reset | C-= |
Module Easy
Module Assistant is a powerful Debian package for the download and installation of kernal modules. It makes using modules less painful.
Here's a quick run through for Module Assistant.
The Module Assistant package is normally abbreviated to m-a.
First check 'contrib non-free' have been added to /etc/apt/sources.list
cat /etc/apt/sources.list
If not, add them. Your sources list needs to look like this:
# Debian Main Repository
deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
I'm running Wheezy, which is the current testing release. You may be running a different release. Just add 'contrib non-free' to the end of your repository URLs.
Update our sources list, then install Module Assistant.
# aptitude update
# aptitude install module-assistant
Now use Module Assistant to download headers for the kernel
# m-a prepare
Update list of kernel modules
# m-a update
Lets see what we got
# m-a list
We want the nvidia module, so lets build it
# m-a a-i nvidia-kernel-source
a-i is short for auto-install
Check the module is installed
# modprobe nvidia
Check it was loaded
# lsmod | grep nvidia
To auto-load the module at boot, add 'nvidia' entry in /etc/modules
Module Assistant has an interactive mode you can use. To start interactive mode, do:
m-a
Interactive mode is self explanatory.
Your done!
Big Alpha
If you blog or add content to your website, you may want to spice things up a bit with a big first letter. Its quite easy. All you need is a little html. Have a look at these. Use it if you like.
Here's the letter in a dark color...
W
Here's the code for a dark color...
<span style="color: #808080; float: left; font-family: Times, serif, Georgia; font-size: 100px; line-height: 70px; padding:2px 2px 0px 0px;">W</span>
Problem Solver
If you have problems with your computer, and the machine is reluctant to co-operate, where do you turn for first help? Google. Okay. Whats your next stop? Try Hirens BootCD. Its completely free and packed with utils to check out various problems of the kind that brings your machine to its knees.
If you haven't had a problem yet, be grateful, then go download and burn yourself a copy. Just like insurance, you never know when you need it. When you do, you sure are glad you got it.
Keep a copy with your favourite books, CDs, DVDs.
Hirens BootCD contains:
Easy Install
To install the Flash Player plug-in for Firefox on Debian Linux is really so easy. Its a matter of running aptitude install as root user.
Here's how to.
Ensure you have the non-free repositories added to your apt-get sources list.
# cat /etc/apt/sources.list
# Debian Main Repository
deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
I run wheezy, which is the current testing release
Notice I added 'contrib non-free' to the repository.
First run a search to find the Flash Player Plug-in and get the name:
# aptitude search flashplugin
p flashplugin-nonfree - Adobe Flash Player - browser plugin
Now aptitude will install:
# aptitude install flashplugin-nonfree
Launch Firefox/Iceweasel. If its already running, then close and restart.
Your done.