Unixery & daemon worship 🔥


It's a Unix system! I know this!

Installing Salix on IP Project root server

First boot the rescue system (Rescuesystem 1.2 64-Bit (Debian Wheezy)). Therefore you have to chose the system from the list, confirm the selection with the “yes” button twice. The wait until the Bootmodus has changed. After that do a reset.

Then format the existing software RAID1s:

mkfs.ext4 /dev/md0
mkfs.ext4 /dev/md1

Create temporary file system and get the Salix iso:

mkdir /mnt/tmp
mount -t tmpfs none /mnt/tmp
cd /mnt/tmp
wget ...

Mount the iso and extract initrd:

mkdir /mnt/iso
mount -o loop /mnt/tmp/salix64-xfce-14.0.iso /mnt/iso
cp /mnt/iso/isolinux/initrd.img /mnt/tmp/initrd.img.gz
cd /mnt/tmp/
gunzip initrd.img.gz
mkdir /tmp/initrd
cd /tmp/initrd
cpio -id < ../tmp/initrd.img

Chroot to the initrd and run setup:

mkdir /mnt/initrd/mnt/iso
mount -o bind /mnt/iso/ /mnt/initrd/mnt/iso
mount -t proc proc /mnt/initrd/proc/
mount -t sysfs sys /mnt/initrd/sys/
mount -o bind /dev /mnt/initrd/dev/
chroot /mnt/initrd
export TERM=linux
/usr/lib/setup/setup

Choose “md” as installation disk and don’t care about the “read-only” error message. When it asks for install source, choose “/mnt/initrd/mnt/iso”. After installation configure your network and setup lilo:

# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
# Append any additional kernel parameters:
append="quiet root=/dev/md1 vt.default_utf8=1"
boot = /dev/md1

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 50
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# End LILO global section

raid-extra-boot = mbr-only

 image = /boot/vmlinuz
	root = /dev/sda2
	label = Salix
	read-only