Step-by-step guide to installing Debian 6.0.4 Linux

Leeky

Posts: 3,357   +116
In this guide I will cover the installation of Debian Linux 6.0.4, 32-bit version from a large installation image. The installation of other Debian CD versions including 64-bit will be very similar to this guide. I will try to explain certain options and provide helpful hints along the way, so rather than just following the guide, you can understand the reasoning behind the decisions.

If there are any mistakes please draw my attention to them and I will correct as needed. I have tried to make this as simple as possible, whilst covering the vast majority of scenarios users will come across whilst installing this operating system.


[FONT=Arial]Step 1:[/FONT]
The first thing you should do is head to http://www.debian.org/CD/ [FONT=Arial]and [/FONT]download using your preferred method the stable release i386 version of CD1. The disc image I’m using in this guide is debian-6.0.4-i386-cd-1.iso.


[FONT=Arial]Step 2:[/FONT]
Using your disc burning software, burn the .iso you downloaded to a CD[FONT=Arial].[/FONT]


[FONT=Arial]Step 3[/FONT][FONT=Arial]:[/FONT]
Before you go any further, ensure all important data is backed up in case of data loss on your drives. This guide assumes you have media backups of your hard drives and you are safe to proceed.

***Warning: Installing another operating system without first ensuring you have backups of your current files and operating system is a big risk. If you have no data to lose or you’ve backed up important data, you’re ready to proceed. YOU are responsible if you lose data. For those of you using Windows, and installing Linux for the first time I recommend you either use a separate hard disk that does not contain the Windows OS, or create a partition big enough for Linux within Windows using Disk Management in the Administrative Tools menu of the control panel. 20GB of hard disk space is absolutely plenty of space for you to begin exploring Debian whilst at the same time having room to grow.

Disclaimer: It goes without saying, that neither me, nor TechSpot accept any liability or responsibility for any errors or damages made to your computer during, or after installing Linux. It is up to the user to ensure proper backups are made of important documents and files.



[FONT=Arial]Step 4:[/FONT]
Ensure you have a network cable connected, restart your computer, and boot from the CD drive.


[FONT=Arial]Step 5:[/FONT]
The CD will begin to load up, and you'll be presented by the following box:

Debian_6-0-4_Capture_1.png


Using the arrow keys on your keyboard select the “graphical install” option and hit the return key.


Step 6:
The installer will then load up and initialize the graphical install environment, after a short while you will be presented with the following box:

Debian_6-0-4_Capture_2.jpg


Select the correct native language you wish to use and click "continue."


Step 7:
The next screen you will see is "select your location," as below:

Debian_6-0-4_Capture_3.jpg


Select your location and click "continue."


Step 8:
You will now be greeted by the next screen to select your keyboard locale, as below:

Debian_6-0-4_Capture_4.jpg


Choose the correct keyboard layout for your region. The default is usually automatically highlighted according to your region and language chosen. If you are not sure, leave the default selected. Then click "continue."


Step 9:
The installer will then load more packages from the CD in order to progress with the installation of Debian. Once complete it will begin with the configuration of your network, starting with the hostname as below:

Debian_6-0-4_Capture_5.jpg


Either leave the default of "debian" or change the name to suit whatever you would like to name your computer on the network. For most home users you can enter any value here. For those installing Linux to integrate with existing commercial networks consult your Systems Administrator for further clarification.

Once you have entered the name you wish to use, select "continue."

Debian_6-0-4_Capture_6.jpg


The domain name in most cases for home users can safely be ignored. Leave the box blank, and select "continue" to proceed to the next step. The network will then automatically configure and verify the connection before proceeding.


Step 10:
The installer will then move on to the "set up users and passwords" part of the installation of Debian, as below:

Debian_6-0-4_Capture_7.jpg


Enter the password you would like to use for the root account, and click "continue."

Tip: The admin password is not the same as the user password. This password is used in order to elevate user permissions in order to perform certain tasks as the administrator in Debian. Even in a single user installation of Linux this password should be unique and not used by another user account for security reasons.

The installer will then ask you to create the first user account for your Linux installation.

Debian_6-0-4_Capture_8.jpg


Enter the "real name" of the first user and click "continue." The installer will then load the next screen asking what username you would like to use for the first user account.

Debian_6-0-4_Capture_9.jpg


The installer will have filled in the value for your first name. This can of course be changed to whatever you prefer. Once you are happy with the username click “continue” to move onto the password selection for the new user account.

Tip: The user's name in Linux is case sensitive, so for this reason it is considered best practice to type the username in lowercase, with no leading uppercase letter. e.g. leeky, not Leeky.

Debian_6-0-4_Capture_10.jpg


Type the password for the user account, and then re-enter it in the second box to verify it and click "continue" to move on to the next stage of the Debian installation.


Step 11:
The installation will then move onto the "partition disks" stage of the installation, as below:

Debian_6-0-4_Capture_11.jpg


For this tutorial we're going to go with the first option, "guided -- use entire disk. So select this and then click "continue" to move to the next step, at which point you'll be presented with the following window.

Debian_6-0-4_Capture_12A.jpg


For those installing Debian Linux on a computer with more than one physical hard disk, you will see multiple hard disks in the above window. Select the correct one you wish to use, and then click "continue" to proceed.

Debian_6-0-4_Capture_13A.jpg


You will now have three choices:

1. All files in one partition -- Linux uses one partition for all the essential directories during installation.
2. Separate /home partition -- This method will create a root partition (/) and a separate /home partition for your personal files and user settings.
3. Separate /home, /usr, /var, and /tmp partitions -- This method creates multiple partitions as well as a root partition.

Having separate partitions is worthwhile for those that will be regularly upgrading or migrating between Linux distributions. I recommend you select the second option, to create a partition for /home to keep your personal files and user settings separate from the root partition.

Choose the option you want to use, and then click "continue" and the installer will then automatically provision the partitions you selected based on your total available storage. Once complete, the installer will then ask you to view these changes, as below.

Debian_6-0-4_Capture_13C.jpg


Double check the partitions have been created according to the option you selected and then click "continue" to proceed.

Debian_6-0-4_Capture_13D.jpg


So to re-cap what is above:

Partition #1 is your new root (/) partition.
Partition #2 is your swap partition.
Partition #3 is your /home partition.

Double check you're happy with the changes about to be made, then click the "yes" button, and click "continue" to write them to disk. At this point the partitions will be written, and any data contained on the disk selected will be erased. Ensure you have backups before you click "continue."


Step 12:
The installer will now begin to copy the base install files to the hard disk partitions you have created in the last steps.

Debian_6-0-4_Capture_16.jpg


Once this is complete you will be presented with the following option:


Step 13:
The following screen will give you the option to scan for additional packages that might be included on additional media.

Debian_6-0-4_Capture_17.jpg


This option is not needed for the type of installation you are performing, so select "no" and then click "continue" to proceed.


Step 14:
You'll then be presented with the following screen to select the network mirror.

Debian_6-0-4_Capture_18.jpg


It is advisable to select "yes" for this option so the installer can install additional packages, as well as newer versions. Once you have chosen the option, select "continue" to proceed to the next step.
 
[FONT=Arial]Step 15:[/FONT]
[FONT=Arial]The next screen to appear will give you the option to select the nearest mirror for your location, as shown below.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_19.jpg
[/FONT]

[FONT=Arial]Ensure the correct option is selected, above you will see the correct (and default UK) selection has been automatically made for me based on my location selected earlier in the installation. Then click "continue" to proceed.[/FONT]


[FONT=Arial]Step 16:[/FONT]
[FONT=Arial]You will then be presented with a list of available mirrors for your locale.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_20.jpg
[/FONT]

[FONT=Arial]The first option is preferred, but you can use any of the listed locations as your Debian archive mirror. Once selected, click "continue" to move onto the next step.[/FONT]


[FONT=Arial]Step 17:[/FONT]
[FONT=Arial]You will now be greeted by the following "HTTP Proxy" screen, as below.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_21.jpg
[/FONT]

[FONT=Arial]Unless you have any specific proxy requirements you can safely ignore this step. Leave the text box blank and select "continue" to proceed to the next step.[/FONT]


[FONT=Arial]Step 18:[/FONT]
[FONT=Arial]The next screen you will see will ask you if you wish to submit your computer and installation information to Debian.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_22.jpg
[/FONT]

[FONT=Arial]No personally identifiable information is sent to the developers and it is purely used for statistical purposes. If you choose to participate, your computer will automatically send statistics on a weekly basis that among other things is used to identify which packages are used more frequently and should be included on the first distro CD (the one we're using now to install Debian). Select whichever option you prefer, and then click "continue" to proceed to the next step.[/FONT]


[FONT=Arial]Step 19:[/FONT]
[FONT=Arial]The next menu you will give you the options to install various software "groups" as seen below.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_23.jpg
[/FONT]

[FONT=Arial]Select the "Graphical desktop environment" check box and ensure "Standard system utilities" is also selected. You can also select any other required services to suit your installation requirements. Laptop users are also advised to select the "laptop" option as well. Once you have selected the required options click "continue" to proceed with their installation.[/FONT]


[FONT=Arial]The default Desktop Environment used by Debian CD1 is Gnome 2.30. Although other options are available by those wishing to manually install them, it is beyond the scope of this guide.[/FONT]


[FONT=Arial]Step 20:[/FONT]
[FONT=Arial]The installer will then retrieve and install the required packages for the options you selected in the last step.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_24.jpg
[/FONT]

[FONT=Arial]This stage can take some time, and depends solely on the speed of your internet connection and available hardware resources.[/FONT]


[FONT=Arial]Step 21:[/FONT]
[FONT=Arial]You will now be presented with the following screen for the installation of GRUB.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_25.jpg
[/FONT]

[FONT=Arial]GRUB is the boot loader used to "hand over" the booting of the operating system after BIOS passes over to the hard disks. Traditionally it is installed to the Master Boot Record (MBR) on the first physical disk started by BIOS once checks are completed. If you are dual booting with another operating system it should be listed here, and will be added to GRUB so you can select each OS at boot time.[/FONT]

[FONT=Arial]Check "yes" is selected then click "continue" to write the boot loader to your MBR.[/FONT]


[FONT=Arial]Step 22:[/FONT]
[FONT=Arial]You will now be presented with the following screen, indicating that the installation of Debian is complete.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_26.jpg
[/FONT]

[FONT=Arial]Click "continue" to reboot into your new installation of Debian. If prompted, remove the CD and hit enter to finish the reboot sequence.[/FONT]


[FONT=Arial]Step 23:[/FONT]
[FONT=Arial]Once BIOS has finished, you'll then be presented with the following GRUB boot loader menu, similar to the image below.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_27A.jpg
[/FONT]

[FONT=Arial]If you have multiple operating systems these will be shown in the list below. The highlighted entry will automatically load in a few seconds, but you can click enter to immediately proceed.[/FONT]


[FONT=Arial]Step 24:[/FONT]
[FONT=Arial]You will then be presented with Debian's login screen, as shown below.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_28.jpg
[/FONT]

[FONT=Arial]Select your username and then fill it your password to proceed to the desktop. Once the desktop environment has loaded you'll be presented with a desktop like below.[/FONT]

[FONT=Arial]
Debian_6-0-4_Capture_29.jpg
[/FONT]

[FONT=Arial]Now you can enjoy your new OS and begin exploring its features.[/FONT]

[FONT=Arial]Feedback and comments are welcome. If you feel something is missing or you would like to see something in particular covered in future tutorials let us know in the comments section, or contact me directly.[/FONT]
 
Back