Installation Instructions
The following instructions assume a fair knowledge of some linux commands. If you are not familiar with them DON'T follow this guide. Use at your own risk.
Let's assume we want to install on a fresly formatted /dev/hda2
If this partition has already been mounted by iloog on /mnt/hda2 you need to start from #0. Else, if you have just formatted and mounted the /dev/hda2 partition on your own you can start from #1.
0) mount /mnt/hda2 as a normal root partition
# mount -o remount,rw,suid,exec,dev /mnt/hda2
1) copy files from CD to Hard Disk
# time rsync -D -p -r -l -H -t --progress -v -o -g --exclude /.unions --exclude /proc --exclude /sys --exclude /mnt / /mnt/hda2
2) Create a new fstab file
# cat /etc/mtab | grep -v union | grep -v squash | grep -v newroot > /mnt/hda2/etc/fstab
3) Fix some paths in fstab
# sed -i /mnt/hda2/etc/fstab -e 's|mnt/hda2||g'
4) Create mtab
# cp /mnt/hda2/etc/fstab /mnt/hda2/etc/mtab
5) add line to fstab for swap
# echo "/dev/hda1 none swap sw,pri=0 0 0" >> /mnt/hda2/etc/fstab
6) Create missing directories
# mkdir /mnt/hda2/proc # mkdir /mnt/hda2/sys # mkdir -p /mnt/hda2/mnt/cdrom # mkdir /mnt/hda2/usr/local/portage
7) Mount some necessary dirs
# mount -o bind /proc /mnt/hda2/proc # mount -o bind /sys /mnt/hda2/sys # mount -o bind /dev /mnt/hda2/dev
8) Chroot to the new system
# chroot /mnt/hda2 /bin/bash --login # env-update # source /etc/profile
9) Create boot menu (Grub). Create a file: /boot/grub/menu.lst and paste the following inside it.
default 0 timeout 30 splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title=iloog root (hd0,1) kernel /boot/iloog root=/dev/hda2 vga=791 splash=silent,fadein,theme:iloog quiet CONSOLE=/dev/tty1 initrd /boot/initrd
10) Install grub to hard disk
# grub-install --recheck --no-floppy /dev/hda
11) Some cleanups
# rc-update del autoconfig # rc-update del automounter # rc-update del mkxf86config # rm -rf /newroot # mv /etc/conf.d/local.start /etc/conf.d/iloog.start # echo > /etc/conf.d/local.start
12) Fetch the packages database of iloog
# iloog-db.sh
13) Unmerge unionfs (not needed)
# emerge -C unionfs
14) Create cracklib's dictionaries so that you can change passwords
# create-cracklib-dict /usr/share/dict/* # passwd
15) Change the current profile
# emerge --sync # rm -f /etc/make.profile # cd /etc/ # ln -sf ../usr/portage/profiles/default/linux/x86 make.profile
16) reboot