Monday, February 25, 2008

Burning an ISO do CD/DVD in Windows

This is for the benefit of all those wanting to change to Linux.

Download a program called ISOBurn: http://isoburn.sourceforge.net/

If you havn't already, download the iso you wish to burn.

In the "ISO Image File" field have the location of the iso file you wish to burn. Select the drive you wish to burn to in the "Burn To" field and then the type of disk you will be burning to in the "Burn As" field.

Burn the disk and you have successfully burned an iso properly to a CD. I write this cause too often people burn the actual iso to a cd and wonder why it won't load into linux.

Friday, February 15, 2008

Adding a background image to GRUB

All you need to do to achieve this is add the following line to '/boot/grub/menu.list':

splashimage=(hd1,0)/boot/grub/<Name of xpm.gz file>

Ensure you have an xpm.gz file of the image you want in the directory '/boot/grub'.

You can also create your own xpm.gz files as long as they have the following specifications:

  • They are 640x480 pixels big.
  • There are only 15 colours (This can be done using GIMP (Optimal Palette).
  • The image file is an xpm file that has been gzipped (gz).

Upgrading frin Debian Etch to Debian Lenny

Open up your terminal and add the following lines to your /etc/apt/sources.list file as root.

deb http://http.us.debian.org/debian/ lenny main contrib non-free
deb-src http://http.us.debian.org/debian/ lenny main contrib non-free

I also recommend removing (or commenting out) any cd repositories listed in the sources.list file as after a basic install you usually don't need the cd anymore. If you installed using the first Debian install CD the line to remove will look like follows:

deb cdrom:[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 CD Binary-1 20080102-13:35]/ etch contrib main

Save the file and then update the package manager:

# apt-get update

The final step is actually upgrading your computer to Debian Lenny. To do this we need to do a distribution upgrade. To do this type the following line in your terminal:

# apt-get dist-upgrade

NOTE: This process could take anywhere from 20 minutes to an hour depending on how many programs are installed on your computer, how fast your internet is and the specifications of your computer. I do not recommend doing this if you have a dial-up connection, instead get a hold of the latest weekly built Lenny install CD (cd 1 only).

Wednesday, February 13, 2008

ASUS F3JP: Debian GNU/Linux Lenny Build

Picture of the ASUS F3JP

This page contains links and instructions to set up a Debian GNU/Linux Lenny install on an ASUS F3JP Laptop. This page will be continually updated until the manual is complete.

From Etch to Lenny:

If you haven't already done so, upgrade to Lenny. Lenny is the missing link between Debian Etch (Stable but dated) and Debian Sid (Latest but not necessarily greatest yet). Link.

Optional: Sudo:

While this won't necessarily be the preferred method of having administration rights by everyone, some people like it. To give yourself sudo rights open the file /etc/sudoers in root. Add the following line:

<username> ALL=(ALL) ALL

NOTE: <username> will instead be your username, for example: chadders.

Wireless Drivers:

The first thing I would install after upgrading to Lenny is the wireless drivers. Link.

Touchpad:

I can't quite put my finger on why this works, but it does and does well. I usually combine this step with the next seem as it involves reconfiguring xserver-xorg. Either way that's all you have to do to get the mouse pad working properly. Make sure you select a 3 button mouse in this process.

# dpkg-reconfigure xserver-xorg

Graphics Drivers:

Probably not the most important thing in the world, but it makes life much more pleasant when you have a nice resolution. Compiz Fusion is optional. Link.

Optional: Debian Lenny (Default) with Sid Repository:

Sometimes packages from the Sid repository come in useful. This will give you access to the Sid repository without installing all of it's software. This tutorial will also increase the limit of the number of packages allowed by APT. Link.

NTFS Drivers:

In a world full of Windows, sometimes a little compatibility comes in useful. Link.

Webcam:

Yes, we have gotten this working :D. Link to be provided.

Friday, January 11, 2008

NTFS Support

No not everyone likes windows, in particular their proprietry file system, but sometimes it's easiest. Why NTFS? Well FAT32 can't store files greater than 2GB in size (not always an issue but could prove problematic, EXT3 can be read on linux but not natively on MAC or Windows and I don't use a Mac so formatting it into a Mac OSX Extended partition is almost pointless. In my case I have an external hard drive that I want to be able to be read by the most number of computers possible. NTFS here appears to be the most suitable solution (although it will have consequences).

Installing ntfs-3g on Debian GNU/Linux Lenny:

# apt-get install ntfs-3g

The above command should install the programs ntfs-3g, libntfs-3g, fuse-utils, and libfuse2. If not just use apt-get to install the rest.

NOTE: Debian GNU/Linux Etch users will need to install the etch backports or follow the instructions on the tutorial here.

Mounting ntfs-3g properly:

The following command should work wonders:

sudo mount -t ntfs-3g /dev/sda1 /mnt/windows -o umask=0,nls=utf8

ASIDE: Do it on your Mac:

For NTFS support on your mac simply install MacFuse (link to website).

Tuesday, January 1, 2008

Logitech Headphones Don't Work (Not Default Card)

This is the solution to the problem where your computer thinks it has two sound cards and the default one is not your headphones. As a result your headphones never get the chance to play any music/whatever you want to hear.

Firstly check that the computer recognises your device by typing the following command:

$ cat /proc/asound/cards

You should receive an output like follows:

 0 [Intel          ]: HDA-Intel - HDA Intel
                     HDA Intel at 0xfebfc000 irq 16
 1 [Headset        ]: USB-Audio - Logitech USB Headset
                     Logitech Logitech USB Headset at usb-0000:00:1d.0-2, full speed

The default device is usually number 0. Notice my headset is device number 1 (not default) and therefore never gets a chance to play. Also pay attention to the name of the device in the square brackets i.e. in this case Intel and Headset. Using the name of the device you want to be default create the following file: /etc/asound.conf

# nano /etc/asound.conf

Insert the following text into the document and replace the word Headset with the name of the device you want to be default.

pcm.!default {
type hw
card Headset
}
ctl.!default {
type hw
card Headset
}

Now your headphones should be active when they are plugged in and your computers main card (in my case) when they are not.

Tuesday, December 11, 2007

Debian: Lenny Default with Sid Repository

First add the sid repository to your '/etc/apt/sources.list'. See Below

# sid
deb http://http.us.debian.org/debian/ sid main contrib non-free
deb-src http://http.us.debian.org/debian/ sid main contrib non-free

Now create a new file called 'apt.conf' in '/etc/apt/'. Add the following to it's contents

APT::Default-Release "testing";

Now update your repository. If by any chance it appears that the cache limit of apt is not enough simply add the following line to the 'apt.conf' file you just created and update your repository.

APT::Cache-Limit "20000000";

To update your apt repository simply type the following command into a terminal:

# apt-get update