Documentation

From BlackRoute

Jump to: navigation, search

Contents


Installing BlackRoute

Boot from CD login as root, stay in the command line mode. Spare two new partition one for swap, one for real mode blackroute.


Preparing the Disks

#  hda1 is Windows XP
#  hda2 is swap 512M
#  hda3 is for BlackRoute # you need minimum 3GB partition


mkswap /dev/hda2
mkfs.ext3 /dev/hda3

mkdir /mnt/blackroute
mount /dev/hda3 /mnt/blackroute 

Installing the BlackRoute Base System

cp -pR /{bin,dev,etc,home,lib,root,sbin,usr,var,opt} /mnt/blackroute
mkdir /mnt/blackroute/{boot,mnt,proc,sys,tmp}
cp /boot/boot/vmlinuz /mnt/blackroute/boot

mount -t proc proc /mnt/blackroute/proc
mount --bind /dev /mnt/blackroute/dev 

Configuring the Bootloader

grub-install --root-directory=/mnt/blackroute /dev/hda
cd /mnt/blackroute/boot/grub
vi grub.conf

Contents of /boot/grub/grub.conf

# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30

title=BlackRoute 0.1 RC4
root (hd0,2)
kernel /boot/vmlinuz max_loop=255 init=linuxrc root=/dev/hda3

# The next four lines are only if you dualboot with a Windows system.
# In this case, Windows is hosted on /dev/hda1.
title=Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1

Setting up GRUB using Manual Instructions

grub --no-floppy
grub> root (hd0,0)    (Specify where your /boot partition resides)
grub> setup (hd0)     (Install GRUB in the MBR)
grub> quit            (Exit the GRUB shell)
Personal tools