| Free Software at Schools: Installing and Maintaining a Debian-Edu Network; Also Known as Skolelinux | ||
|---|---|---|
| Prev | Next | |
The installation of Skolelinux/Debian-edu is divided into two stages, referred to as firststage and secondstage. The first stage starts when the machine boots from the Skolelinux/Debian-edu CD, and ends at the first reboot. The second stage starts when the machine boots from GRUB, and ends when the installation is finished and the machine reboots for all services to properly restart. It's in the second stage that you type the root password.
firststage usually takess about 10 minutes on a relatively fast machine, while secondstage takess a bit more time, about 15-45 minutes.
![]() | The second stage of the Skolelinux/Debian-edu installation starts now. |
Notice the countdown in the last line in this screenshot. GRUB is configured to automatically boot Skolelinux/Debian-edu after 5 seconds (in this concrete screenshot the counter has reached 4 seconds). The countdown can be stopped by pressing one of the Arrow keys. The arrow keys are also used to choose which of the available Linux kernels you want to boot. The automatic boot is very handy for booting the system unattended.
In the GRUB configuration file, /boot/grub/menu.lst you can choose to change the default value for the countdown, the appearance of the GRUB menu, the name of the different kernels to boot, set a password, etc.
In this screenshot you have two boot choices.
Debian GNU/Linux, kernel 2.4.22-1-386 Debian GNU/Linux, kernel 2.4.22-1-386 (recovery mode)You choose by highlighting the kernel you want to boot, move between the different kernels with the Arrow UP/DOWN keys, and boot the chosen kernel by pressing ENTER.
Usually you would just boot the default kernel without making any active choices, that is the line that does not contain (recovery mode). The line containing (recovery mode) is used when you need to either do some repair or maintenance on the system, like when you need to resize the lv-partition /usr. When booting with the option (recovery mode) only a few basic services is started, no GUI. Booting with (recovery mode) is the same as Runlevel 1, which also can be reached from the command line by typing init 1 See man init.
![]() | Password Protecting your BIOS |
|---|---|
Remember to also put a password on your BIOS, so that it's not possible to change the boot order and boot from floppy, CD-ROM, or only from the hard drive. |
While booting Skolelinux/Debian-edu you will see a lot of seemingly cryptic messages scrolling by on your screen. These are useful messages from the Linux kernel.[2]
![]() | More or Less |
|---|---|
When you want to view the contents of text files, such as system configuration files, then the programs more and less, so-called pagers are useful. Have a look at Section 8.3, or just man more |
![]() | Remember to insert the CD. |
The password you are about to create, is the famous root password. With this password you will be able to do anything. Please read carefully the information provided on-screen.
Note that you will not be able to see the password as you type it. You must type it twice, the same way both times. If you do it wrong, you get another chance.
After you have created the root password, the installation of packages in the second stage starts. Remember to insert the CD in the CD-ROM drive- you will be prompted to do so if you have forgotten. The rest of the installation takes about 15-45 minutes, depending on how fast your machine is.
![]() | You may now leave the machine, and take a well-deserved break. Have a refreshing drink. The installation will be completed without any further input from you. |
After the installation is complete, a reboot is necessary in order to restart all services such as LDAP, DHCP, etc. See services for a list of services that works out-of-the-box with Skolelinux/Debian-edu.
If you have chosen to install only the profile mainserver, with no GUI, then you will also have no KDM, just a text-based login.
If you have chosen to install a machine that includes one of the profiles workstation or ltspserver, then you will be met by kdm
Here you login with
Username: root Password:
You can use TAB to move between the fields Username and Password, and then press ENTER to login, instead of using the mouse.
Sometimes something goes wrong during installation. The most frequent error is the failure to automatically configure the video card when you have chosen to install a machine that includes one of the profiles workstation or ltspserver
Everything that happens during installation is logged in the file /var/log/installer.log. There is also plenty of useful information logged in the files in /var/log/debian-installer. When you need help with a problem that has occurred during installation, these files are very handy to have ready for diagnosing the problem. Always include instaler.log in your bug reports. See Chapter 1 to get help.
![]() | See the section Something went wrong... for other common failures that occur during installation. |
If your video card was correctly, automatically configured, and you have a nice, blue KDM login screen, then you can reboot and shutdown your machine by choosing TURN OFF. Then you can choose to either reboot or turn off your machine.
![]() | Luckily, this is not an option in the KDM for thin clients, otherwise anybody could reboot/shutdown the server. |
If you have a machine installed only with the profile mainserver, then you have to login to reboot/shutdown the machine, as in Figure 6-7, then you login as user root. Then you can shutdown your machine with either of the commands halt,init 0, shutdown and reboot with reboot or init 6
If your machine stops with the message "Power Down" on the screen when you want to turn it off, you can try to see if loading the module apm helps. Be warned that not all servers like the module apm, especially machines with several processors. Run the command modprobe apm; if the machine doesn't complain, and the machine turns itself completely off, then you can permanently add the module by running the program modconf from the command line
modconf
Then enter the line kernel/arch/i386/kernel and there choose apm. Now it should turn itself off completely.![]() | Just remember that not all machines like apm. Why do you want to turn off your server anyway? |
| [1] | GRUB is the bootloader used in Skolelinux/Debian-edu. Another often-used bootloader is LILO, which you can choose to install if you have chosen the expert installation method, or later after the installation of Skolelinux/Debian-edu is finished. |
| [2] | You can find the contents of these messages with the command dmesg, and by looking in the files /var/log/dmesg, /var/log/daemon.log. |