Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I installed BackTrack 5 r1 and I can't select boot option between Windows and BackTrack on start up.

How can I fix this, or how can I install grub 2?

share|improve this question
add comment

migrated from stackoverflow.com Nov 28 '11 at 18:07

This question came from our site for professional and enthusiast programmers.

1 Answer

How to on Dualboot with Windows & BTLinux is explained here : http://www.backtrack-linux.org/tutorials/dual-boot-install/

However, I am assuming that you have had a problem with the grub installation itself and trying to find ways to get back to the dual os boot prompt on grub.

When you boot the machine, does the grub menu/splashscreen appear asking you for the OS boot prompt?

If you are not getting the grub prompt and being directly taken to the BTLinux boot sequence, then please follow the steps to get grub installed first. You need to install grub onto MBR of the harddisk (not the partition where the Windows resides)

Once you login as root under BackTrack Linux, check whether you have grub installed, usually found under /sbin/grub and /sbin/grub-install

 /sbin/grub-install /dev/hda    

 /sbin/grub

  > root (hd0,0)
  > setup (hd0)
  > exit

Its assumed that /dev/hda is your harddisk on which you want to install the grub on the MBR. If its some other notation like /dev/sda or /dev/sdb, then follow that notation. In the above snippet, with grub-install, we have installed grub's first boot loader onto MBR; with grub shell, the root disk is setup. The menu configuration files will only have Linux entry, now update that with Windows entries.

gedit /boot/grub/menu.lst

Make the changes as below:

   title   Windows 95/98/NT/2000
   root   (hd0,0)
   makeactive
   chainloader   +1
share|improve this answer
    
More better explaination with other elements covered is at josephhall.org/grub_install_hda1.html#reinstall Refer to the reinstallation part –  Nikhil Mulley Nov 30 '11 at 8:20
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.