What's up with that GUI installer that we have now? I don't know about you, but I'm not a fan of it. I haven't even tried it yet! The manual install as always stills the same, but this time we have to take into account that LILO is no longer our default bootloader.

Disclaimer: I only tried this on VMware, but It should work on any real installation. I assume that you have prior manual install experience (BT3...).

BT4 PreFinal Manual Installation

:: HDD Partitioning

P.S refer to this link for detailed HDD partitioning w/ fdisk http://www.offensive-security.com/do...bt4install.pdf

+64M merely means 64 MB which is more that enough to hold the GRUB folder along with the kernel. It is a good practice to install the boot manager in a separate partition from the root partition.
Code:
/dev/sda1	+64M	 	Partition Boot Sector
In case you run out of physical memory, swap space will kick in. A rule of thumb is: double your memory size if you have low memory (e.i 1GB), same size if you have high memory (e.i 4Gb). It is all about personal taste!
Code:
/dev/sda2	Varies		Swap

/dev/sda3	Varies		/
/dev/sda4	Varies		Windows
:: Formatting Drives
Code:
root@bt:~# mke2fs /dev/sda1
root@bt:~# mkswap /dev/sda2
root@bt:~# swapon /dev/sda2
root@bt:~# mkreiserfs /dev/sda3
:: Manually Install
Code:
root@bt:~# mkdir /mnt/bt4
root@bt:~# mount /dev/sda3 /mnt/bt4/
root@bt:~# mkdir /mnt/bt4/boot
root@bt:~# mount /dev/sda1 /mnt/bt4/boot
root@bt:~# cp --preserve -R /{bin,home,pentest,root,usr,boot,etc,lib,opt,sbin,var} /mnt/bt4/
root@bt:~# mkdir /mnt/bt4/{dev,mnt,tmp,proc,sys}
root@bt:~# mount -t proc proc /mnt/bt4/proc/
root@bt:~# mount -o bind /dev /mnt/bt4/dev/
:: Bootsplash Support
Code:
root@bt:~# cd /media/cdrom0/boot
root@bt:~# cp --preserve -R {bootsplash,vmlinuz,initrd.gz} /mnt/bt4/boot/

root@bt:~# chroot /mnt/bt4/ /bin/bash
:: Editting GRUB /boot/grub/menu.lst
-----------------------------------------------------------------------------------------
Code:
root@bt:~# nano /boot/grub/menu.lst

timeout 5 #The number of seconds GRUB should wait before booting an OS
default 0 #The entry which should be booted by default
fallback 1 #The entry which should be booted in the event of the first one failing

splashimage=(hd0,0)/grub/bt4.xpm.gz

# This is an example of using a separate partition for /boot
title              BT4 PreFinal
root              (hd0,0)				# Boot Partition
kernel            /vmlinuz root=/dev/sda3 rw vga=0x317	
initrd            /initrd.gz


title              Microsoft Windows XP Home 	
root             (hd0,3)
makeactive
chainloader +1
-----------------------------------------------------------------------------------------------

:: Installing GRUB (When /boot resides in its own partition)
Code:
root@bt:~# grub
grub> find /grub/stage1			
    (hd0,0)
grub> root (hd0,0)
grub> setup (hd0)
grub> quit
Note: The "root" line must point to the location of your /boot/ partition if you have one. If you do not have one, point it at your / partition.