Testing of the Etch version of SKolelinux

We recommend everyone run "debian-edu-test-install > test.log && grep error: test.log" when they do test installations, to find the detected errors.

(This document needs a cleanup. But it has a lot of useful instructions on qemu and other stuff related to testing etch. But the page [:DebianEdu/HowTo/TestCDinstall:TestCDinstall] already looks clean :) )

Testing done at Skolelinux Developer Camp Carreau Wendel 8.-15.07.2006

Notes from testing the pre-pr00 release of Skolelinux Etch By: Dr. Uwe Doebereiner 2006-07-17

Testing of the currant etch CD-image of a debian-edu-i386-binary-1.raw

http://ftp.skolelinux.no/cd-etch-test/debian-edu-i386-binary-1.raw wget -c -nd http://ftp.skolelinux.no/cd-etch-test/debian-edu-i386-binary-1.raw

Updates can be done by: rsync ftp.skolelinux.no::skolelinux-etch-test/debian-edu-i386-binary-1.raw ./skolelinux-etch-test-i386.iso

What we planed to do, and what we did


Install a virtual Skolelinux Server and Workstation as a Client. Using qemu as a virtual machine for testing with a virtual network.

Advice and programming:

Handling test-PC and follow up the installation:

The image that where in use: -rw-r--r-- 1 udoebus udoebus 651925504 2006-07-13 12:09 debian-edu-i386-binary-1.raw

What was done:

working with qemu needs switching between 3 screen layers:

1. X-Server with the mouse

2. in the qemu-command line: prepare switching back and forth with

3. virtual program screen leave it to the X-screen with <ctr><alt>

go into it with mouse<left>

We did the downloading to my Laptop doberan8 and copied the files to doberan7.

Hardware used for testing with system name doberan7:

Kernel installed on my computer

(gcc version 3.3.3 (Debian 20040401)) #1 Wed May 12 18:19:40 EST 2004

2 IDE-Harddisks à 160 GByte,

Installed GNU-DEBIAN Sarge-3.1, just updated from ftp.de.debian.org

Screencopies of the commands given:

Make a loopdevice udoebus@doberan7:~$

dd if=/dev/zero of=festplatte.img bs=5G count=4 # (for SkoleLinux-Server) dd if=/dev/zero of=festplatte2.img bs=1G count=4 #(for SkoleLinux-Workstation-Client)

Start of the installation as from a cdrom, calling the image as downloaded

qemu -cdrom debian-edu-i386-binary-1.raw -hda festplatte.img -boot d (to restart quemu festplatte.img only, "-boot d" would start from -cdrom)

Description of the installation run (observations, questions, answers)

Warning:

Warning: the blue and red Skolelinux logo pops up

Answer the prompt: install24

Debian-Installer Questions:

Answer with installing Server and Client

<Fixme: check this selction>

(nicht angewählte Alternativen waren Workstation und Standard).

Question: erase entire disk;

Answer: yes

Hint: security updates are commented out in sources.list.

Warning: users said, xserver-xorg does not start, has to be reinstalled afterwards

Finish installation as usual. give root password. Later on, you will wish, you had added a first user.

Reboot command, ending with error (the system is looping)

Restart with: qemu -hda festplatte.img

Start into login: <root> <rootpasswort>

<fixme: translate to english>

qemu -hda festplatte.img

<fixme: translate to english>

restart the system


Screenshot of the commands given:

udoebus@doberan7:~$ qemu -cdrom de <TAB> debian-edu-i386-binary-1.raw definitive_guide_to_plone.pdf udoebus@doberan7:~$ qemu -cdrom debian-edu-i386-binary-1.raw -hda festplatte.img -boot d

udoebus@doberan7:~$ qemu -hda festplatte.img [1]+ Stopped qemu -hda festplatte.img

udoebus@doberan7:~$ fg qemu -hda festplatte.img udoebus@doberan7:~$ qemu --help


How it worked and should work now #Downloak des raw images von ........ als debian-edu-i386-binary-1.raw

Festplattenimage erstellen:

dd if=/dev/zero of=festplatte.img bs=5G count=4

udoebus@doberan7:~$ qemu -cdrom debian-edu-i386-binary-1.raw -hda festplatte.img -boot d udoebus@doberan7:~$ qemu -hda festplatte.img

Anlegen des 2. möglichen qemu für den SkoleLinux Client make a 2. virtual partition for the SkoleLinux-Client/-Workstation

dd if=/dev/zero of=festplatte2.img bs=1G count=4 udoebus@doberan7:~$ qemu -cdrom debian-edu-i386-binary-1.raw -hda festplatte2.img -boot d

Installation of the debian-edu-i386-binary-1.raw starts with an error-message, because it can't start with a 2.6 Kernel still

answer the error prompt with install 24

The system used will not install the Xorg-server correctly

after failure to reboot, you have to leave the install screen with ctrl-alt and close it with the mousepointer in the top-left X :-)

restart with qemu -cdrom debian-edu-i386-binary-1.raw -hda festplatte2.img login as root with the password you set in the first install run

now we want to install a new 2.6 kernel within the freshly installed SkoleLinux-System

#: . /etc/bash_completion (we want to search for the new client on the cdrom-raw-file (to start completion with <TAB> #: apt-get install kernel-image-2.6.... seach with <TAB>s <return>

error: cdrom not found. You have to switch to the qemu command line to insert the "cdrom-image" into cdrom-Drive on the qemu-level so change to the qemu-screen one level out of the present screen level with Ctrl+Alt+2 change cdrom ../debian-edu-i386-binary-1.raw (tabbing)

back to the installation-screen Ctrl+Alt+1 repeat #: one back in the history ( ^-Cursor) and <RETURN> the new 2.6-Kernel should install now

the new kernel will install. now <adduser testuser> to ad a user, who is allowd to login into the KDE-login (root will not!)

In our Example-Installtion we now got the X-Server SkoleLinux Input-Login-Screen you can't login as root

so login into the Menu-Button, select Terminal login as root, then <adduser testuser> logout will deliver the KDE-Login again.

After a halt, qemu was started again, to incorporate the acceleration with k-kernel-mode _and_ to have an additional network stop the emulation. start ist again with

udoebus@doberan7:~/fabian$ qemu -kernel-kqemu -cdrom ../debian-edu-i386-binary-1.raw -hda festplatte2.img -net nic,macaddr=52:54:00:12:34:58 -net socket,connect=:1234

..... udoebus@doberan7:~$ qemu -hda festplatte2.img udoebus@doberan7:~/fabian$ qemu -kernel-kqemu -cdrom ../debian-edu-i386-binary-1.raw -hda festplatte2.img

qemu -h to get help udoebus@doberan7:~$ qemu -cdrom debian-edu-i386-binary-1.raw -hda festplatte.img -boot d udoebus@doberan7:~$ qemu -cdrom debian-edu-i386-binary-1.raw -hda festplatte.img -boot d

Einrichtung Netzwerke im qemu Configure internal networking

für den tjener.intern in einem X-Terminal for tjener.intern start in an X-terminal

udoebus@doberan7:~$ qemu -kernel-kqemu -hda festplatte.img -net nic,macaddr=52:54:00:12:34:56 -net socket,listen=:1234 -net nic,macaddr=52:54:00:12:34:57 -net socket,listen=:1235

in einem anderen/neuen X- Terminal für den client1.intern: in another/new X-terminal for an client1.intern

udoebus@doberan7:~/fabian$ qemu -kernel-kqemu -cdrom ../debian-edu-i386-binary-1.raw -hda festplatte2.img -net nic,macaddr=52:54:00:12:34:58 -net socket,connect=:1234


Für server mit nur Internet: server with connection to the external Internet:

udoebus@doberan7:~$ qemu -hda festplatte.img -net nic,macaddr=52:54:00:12:34:56 -net user -net nic,macaddr=52:54:00:12:34:57

dann dhclient eth0 und resolv.conf edititeren.

--- remember to configure screen switching with in the qemu commandline # Verlassen der qemu-Shell zum übergeordenten X-server mit ctr-alt # Innerhalb des qemu Umschalten auf anderes Terminal mit

sendkey <ctr><alt><f1> sendkey <ctr><alt><f7>

umschalten ctrl+alt+1 virtueller server oder client umschalten ctrl+alt+2 qemu ebene


>From Klaus Knopper We got a version of a current

udoebus@doberan7:~/fabian$ dd if=/dev/cd <TABbing>

cdrom cdrom0 cdu535 udoebus@doberan7:~/fabian$ dd if=/dev/cdrom of=Knoppix_5.0.1-DVD.iso dd: öffne ,,/dev/cdrom": Keine Berechtigung udoebus@doberan7:~/fabian$ su -c "dd if=/dev/cdrom of=Knoppix_5.0.1-DVD.iso" Password: dd: öffne ,,/dev/cdrom": Kein Medium gefunden udoebus@doberan7:~/fabian$ su -c "dd if=/dev/dvd of=Knoppix_5.0.1-DVD.iso" Password: dd: öffne ,,/dev/dvd": Datei oder Verzeichnis nicht gefunden udoebus@doberan7:~/fabian$ su -c "dd if=/dev/cdrom0 of=Knoppix_5.0.1-DVD.iso" Password: dd: öffne ,,/dev/cdrom0": Kein Medium gefunden udoebus@doberan7:~/fabian$ mount /dev/hda1 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/hda5 on /home type ext3 (rw) usbfs on /proc/bus/usb type usbfs (rw) udoebus@doberan7:~/fabian$ mount /cdrom

(my configuration of doberan7 is waiting for a perfect Admin :-) )


Don't forget to install the acceleration -kernel-kqemu!

Uwe, guided by Fabian