UPDATE!
Wer Ubuntu auf einem "alten" 32-Bit System bei Strato installieren möchte, kann hierfür folgenden Weg gehen:
Im Konfigurationsmenü bei Strato auf das Rettungsystem umstellen.
Nun im Rettungsystem einloggen und los geht's!
Festplatte neu partitioniert:
Code: Select all
cfdisk
Name Flags Part Type FS Type [Label] Size (MB)
-------------------------------------------------------------
hda1 Boot Primary Linux 60003.42 (Type 83)
hda5 Logical Linux swap / Solaris 1488.78 (Type 82)
Dateisystem erstellt
Code: Select all
mke2fs -j /dev/hda1
mkswap /dev/hda5
sync; sync; sync
swapon /dev/hda5
mkdir /mnt/ubuntu
mount /dev/hda1 /mnt/ubuntu
mkdir /mnt/ubuntu/work
Da bei Strato im Rettungssystem kein 'ar' installiert ist, muss dies zuerst auf einem anderen System zusammen gestellen und installieren werden. (Ich habe die Dateien zum DL auf meinen Server gepackt!)
Code: Select all
cd /
wget http://jm.rheingau-media.com/downloads/files.tar
tar -xvf files.tar && rm files.tar
cd /mnt/ubuntu/work
wget http://mirror.isp.net.au/ftp/pub/ubuntu/pool/main/d/debootstrap/debootstrap-udeb_0.3.3.0ubuntu2_i386.udeb
ar -x debootstrap-udeb_0.3.3.0ubuntu2_i386.udeb
cd /
zcat /mnt/ubuntu/work/data.tar.gz | tar xv
/usr/sbin/debootstrap --arch i386 dapper /mnt/ubuntu http://archive.ubuntu.com/ubuntu
In die neue Umgebung wechseln
Code: Select all
LANG= chroot /mnt/ubuntu /bin/bash
/etc/fstab ändern
Code: Select all
# /etc/fstab: static file system information.
#
# file system mount point type options dump pass
/dev/hda1 / ext3 defaults 0 1
/dev/hda5 none swap sw 0 0
proc /proc proc defaults 0 0
sys /sys sysfs defaults 0 0
Code: Select all
mount -a
mount -t proc proc /proc
echo meinTollerServerName > /etc/hostname
echo "127.0.0.1 localhost" > /etc/hosts
/etc/apt/sources.list anpassen
Code: Select all
deb http://de.archive.ubuntu.com/ubuntu/ dapper main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ dapper main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ dapper universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ dapper universe multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
Code: Select all
apt-get update
apt-get install dhcpcd ssh grub
Root-Password setzen
/etc/network/interfaces anpassen
Code: Select all
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 81.169.xxx.xx
netmask 255.255.0.0
network 81.169.0.0
broadcast 81.169.255.255
gateway 81.169.xxx.1
Serielle Console konfigurieren
Code: Select all
echo "S0:12345:respawn:/sbin/getty -L ttyS0 57600 vt102" >> /etc/inittab
echo "ttyS0" >> /etc/securetty
Grub konfigurieren
Code: Select all
mkdir /boot/grub
vi /boot/grub/menu.lst
Code: Select all
default 0
timeout 3
hiddenmenu
title Ubuntu, kernel 2.6.15-23-server
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-23-server root=/dev/hda1 ro quiet splash console=tty0 console=ttyS0,57600
initrd /boot/initrd.img-2.6.15-23-server
savedefault
boot
title Ubuntu, kernel 2.6.15-23-server (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.15-23-server root=/dev/hda1 ro single console=tty0 console=ttyS0,57600
initrd /boot/initrd.img-2.6.15-23-server
boot
title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin console=tty0 console=ttyS0,57600
Kernel + Grub installieren
Code: Select all
apt-get install initrd-tools
apt-get install linux-image-2.6.15-23-server
cp /proc/mounts /etc/mtab
grub-install /dev/hda
/etc/kernel-img.conf anpassen
Code: Select all
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
postinst_hook = /sbin/update-grub
postrm_hook = /sbin/update-grub
Optional: LOCALE auf Deutsch umstellen
/var/lib/locales/supported.d/de ändern
Code: Select all
dpkg-reconfigure locales
dpkg-reconfigure localeconf
Im Strato-Menü wieder den normalen Boot einstellen und neu starten
That's all. ;-)
Die aktuelleste Version dieser Anleitung findet sich in meinem Wiki unter
http://javawiki.rheingau-media.com/wiki ... auf_Strato