Backtrack 2とWindowsXPのデュアルブート設定です。

WindowsXPが既ににインストールしてあるディスクの2ndパーティションにBT2をインストールしました。

BT2を起動してroot/toorでログインし,/etc/lilo.confに追加入力します。追加するのは赤字の部分です。

vi /etc/lilo.conf

boot = /dev/hda
prompt
timeout = 20
default=win
bitmap=/boot/splash.bmp
change-rules
reset
vga = 0x317
image = /boot/vmlinuz
  root = current
  initrd = /boot/splash.initrd
  label = bt
  read-only
other=/dev/hda1
 
label=win
 table=/dev/hda

次にliloコマンドで確定します。

/sbin/lilo -v

shutdown -r nowで再起動すると,BT2の起動画面でwinとbtが選択できます。
default=winとしましたので選択入力しないとWindowsが起動します。