Debian Installation
Bootcd einlegen, Installationssystem laden.
Ab dem Partitionmanager mit ALT+F2 in die Konsole springen
fdisk /dev/sda
n
p
1
+16MB
Enter
n
p
1
Enter
w
fertig
mke2fs /dev/sda1
mke2fs -j /dev/sda2
mkdir root/debroot
mount /dev/sda2 /root/debroot
mkdir root/debroot/boot
mount /dev/sda1 /root/debroot/boot
debootstrap --arch i386 lenny /root/debroot http://ftp.de.debian.org/debian/
mount -o bind /dev /root/debroot/dev
mount -o bind /proc /root/debroot/proc
cp /etc/resolf.conf /root/debroot/etc
cp /etc/network/interfaces /root/debroot/etc/network/interfaces
cp /etc/hostname /root/debroot/etc/hostname
LANG=C chroot /root/debroot /bin/bash
fstab anlegen
# /etc/fstab: static file system information.
#
# file system mount point type options dump pass
/dev/sda2 / ext3 defaults 0 1
/dev/sda1 /boot ext2 ro,nosuid,nodev 0 2
proc /proc proc defaults 0 0
dkpg-reconfigure tzdata
passwd root
adduser linuxuser
apt-get install sudo
nano /etc/sudoers
linuxuser ALL=NOPASSWD: ALL
apt-get install ssh
nano /etc/ssh/sshd_config
#PermitRootLogin
aptitude install locales
dpkg-reconfigure locales
aptitude install console-data
dpkg-reconfigure console-data
nano /etc/kernel-img.conf
do_symlinks = yes
relative_links = yes
do_bootloader = yes
do_bootfloppy = no
do_initrd = yes
link_in_boot = no
apt-cache search linux-image
apt-get install install linux-image-2.6.26-arch-etc
apt-get install grub
grub-install /dev/sda
update-grub