All new partitions which will be created with the "n" command are Typ 83.

+

::The system ID for partition 2 needs to be set to "Linux Swap"

−

For hda1 use the First Sector (default) and give as size +2048M (for 2GB).

+

Command (m for help): '''t'''

−

For hda2 use the first default sector after hda1 and give as size +256M (for 256MB).

+

Partition number (1-4): '''2'''

−

For hda3 use the first default sector after hda2 and use the default last sector

+

Hex code (type L to list codes): '''82'''

−

for using the rest of the disk.

+

Changed system type of partition 2 to 82 (Linux swap)

−

Set the hda the bootable flag (see the menue via the "m" help) and change the type

+

::The 3rd and final partition will take the remainder of the disk.

−

for hda2 to 82 via the "t" command.

+

Command (m for help): '''n'''

+

Command action

+

e extended

+

p primary partition (1-4)

+

'''p'''

+

Partition number (1-4): '''3'''

+

First cylinder (<sector y>-<last sector>, default <sector y>):

+

Using default value '''<sector y>'''

+

Last cylinder or +size or +sizeM or +sizeK (1-<last sector>), default <last sector>):

+

Using default value '''<last sector>'''

+

+

::Now print the partition table and verify that there are 3 partitions. The first one should be marked as bootable, the second should be the swap partition, the the last should just have the remainder. To check this just type p at the prompt

+

Command (m for help): '''p'''

−

Now you should have the wanted table of partitions and you could write him to Disk via the "w" command.

+

::The partitions are created and need to be saved

+

Command (m for help): '''w'''

−

Now its time to make the filesystems:

−

mkfs -j /dev/hda1

−

mkfs -j /dev/hda3

−

and the Swapspace

+

* Now it's time to make the filesystems:

+

::Format the file system on the system partition:

+

# mkfs -j /dev/hda1

−

mkswap /dev/hda2

+

::Format the file system on the data partition:

+

# mkfs -j /dev/hda3

−

Just mount hda1 via

+

::Format the swap partition:

−

mount /dev/hda1 /mnt

+

# mkswap /dev/hda2

−

Get the debain-distribution at http://210.166.208.216/kuro-box/archive/debian_2004_12_26_dist.tgz

+

::Mount the system partition:

−

and transfer the file via FTP from another computer to the directory /mnt on the Kuro.

+

# mount /dev/hda1 /mnt

−

Now change via

+

== Prepare Debian ==

−

cd /mnt

+

* Transfer the fetched Debian image via FTP from another computer to the directory /mnt on the Kuro.

−

to the directory and untar the debian-distribution via

+

* First, set the correct date in the system. (This is important since many systems start with a date of October 2004 and the tgz file has files that contain newer datestamps.) You may have to create a symlink for date. The date is in '''MMDDhhmmCCYY''' format. For the following example, it is setting the date to September 26, 2006, 1515hrs

−

tar xvfz debian_2004_12_26_dist.tgz

+

# ln -s /bin/busybox /bin/date

+

# date -s "092615152006"

+

* Back in the Telnet session, unpack the Debian image

+

# cd /mnt

+

# tar xvfz debian_2005_04_09_dist.tgz

−

Now you should use the command

+

* Now is a good time to change some settings

−

write_ok

+

:* Network settings

−

to tell the Kuro to not startup next time in EM Mode.

+

# vi etc/network/interfaces

+

:: Example of static address interface settings

+

auto eth0 lo

+

iface eth0 inet static

+

address 192.168.0.100

+

network 192.168.0.0

+

netmask 255.255.255.0

+

broadcast 192.168.0.255

+

gateway 192.168.0.1

+

iface lo inet loopback

+

:: Example of dynamic address interface settings

+

auto eth0 lo

+

iface eth0 inet dhcp

+

iface lo inet loopback

−

Just reboot the Kuro:

+

:* If a static address is used, you might want to change ''resolv,conf''

−

reboot

+

# vi etc/resolv.conf

+

search

+

nameserver <DNS ip address>

−

Second Part - The first boot of debian:

+

:* Change your hostname:

−

---------------------------------------

+

# vi etc/hostname

−

After the reboot from above your Kuro has (again) a new static Network-configuration.

+

Jeeves

−

IP 192.168.0.100 (Gateway and DNS is set to 192.168.0.1 - so no InterNet at this time)

+

−

Set your second computers network interface to the a address like 192.168.0.25

Now print the partition table and verify that there are 3 partitions. The first one should be marked as bootable, the second should be the swap partition, the the last should just have the remainder. To check this just type p at the prompt

Command (m for help): p

The partitions are created and need to be saved

Command (m for help): w

Now it's time to make the filesystems:

Format the file system on the system partition:

# mkfs -j /dev/hda1

Format the file system on the data partition:

# mkfs -j /dev/hda3

Format the swap partition:

# mkswap /dev/hda2

Mount the system partition:

# mount /dev/hda1 /mnt

Prepare Debian

Transfer the fetched Debian image via FTP from another computer to the directory /mnt on the Kuro.

First, set the correct date in the system. (This is important since many systems start with a date of October 2004 and the tgz file has files that contain newer datestamps.) You may have to create a symlink for date. The date is in MMDDhhmmCCYY format. For the following example, it is setting the date to September 26, 2006, 1515hrs