Backtrack not Found After Installing new windows 8 ? Solved
Problem:
I had Windows 7 installed, and backtrack R2 (just upgraded to R3). I then installed Windows 8 (formatted my Main windows HDD, not my backtrack HDD). Now Windows installed his boot loader.
I Faced This Problem And Tackle My Worries Without reinstalling Any Os... I'm too Smart.
Coz I Know That If there is a problem then There is a solution for it also...
So, Is there anyway to get the GRUB loader back without reinstalling backtrack?
Solution:
Just please one thing that is not written in guides and I belive they take it for granted: If you are to recover the grub using a live CD, here is the "taken for granted" issue and looks pretty logic, but many many people do not do it: use the 64 bit distro if trying to recover a 64 bit system with grub, and use 32 bit live cd for 32-bit distro to recover...IF you do not do that, when recovering grub, you will get mounting errors ("chroot: cannot run command `/bin/bash': Exec format error").
Here is the way I do it, is the easiest way from live cd (remember to use the 32 or 64 bit version according to the one you want to recover):
Insert Live CD (Ubuntu distro with grub2 like Lucid 10.04) and load Ubuntu.
then open a terminal and type(text in red only):
root@bt:~# sudo fdisk -l ====> (See your BT partition: sda1, sda2, etc)
root@bt:~# sudo mount /dev/sdax /mnt ====> (mount it) {Where x is your sda drive
no. eg: sda7 is my drive and here x is 7}
root@bt:~# sudo grub-install --root-directory=/mnt/ /dev/sda ====> (install grub, here DO
NOT install in sdax, just sda or
whatever your HDD is mapped at).
Reboot (# shutdown -r now) and if any OS is missing in grub menu, just enter BT and use the
root@bt:~# os-prober
command in terminal: "os-prober",
then just update grub:
root@bt:~# update-grub
Now You Are Free To Use Your Dual Boot System... Ready... :D
Be Brave, K33p Yourself Updated...
Suggestions and Questions are welcomed...
Backtrack not Found After Installing new windows 8 ? Solved
Problem:
I had Windows 7 installed, and backtrack R2 (just upgraded to R3). I then installed Windows 8 (formatted my Main windows HDD, not my backtrack HDD). Now Windows installed his boot loader.
I Faced This Problem And Tackle My Worries Without reinstalling Any Os... I'm too Smart.
Coz I Know That If there is a problem then There is a solution for it also...
So, Is there anyway to get the GRUB loader back without reinstalling backtrack?
Solution:
Just please one thing that is not written in guides and I belive they take it for granted: If you are to recover the grub using a live CD, here is the "taken for granted" issue and looks pretty logic, but many many people do not do it: use the 64 bit distro if trying to recover a 64 bit system with grub, and use 32 bit live cd for 32-bit distro to recover...IF you do not do that, when recovering grub, you will get mounting errors ("chroot: cannot run command `/bin/bash': Exec format error").
Here is the way I do it, is the easiest way from live cd (remember to use the 32 or 64 bit version according to the one you want to recover):
Insert Live CD (Ubuntu distro with grub2 like Lucid 10.04) and load Ubuntu.
then open a terminal and type(text in red only):
root@bt:~# sudo fdisk -l ====> (See your BT partition: sda1, sda2, etc)
root@bt:~# sudo mount /dev/sdax /mnt ====> (mount it) {Where x is your sda drive
no. eg: sda7 is my drive and here x is 7}
root@bt:~# sudo grub-install --root-directory=/mnt/ /dev/sda ====> (install grub, here DO
NOT install in sdax, just sda or
whatever your HDD is mapped at).
Reboot (# shutdown -r now) and if any OS is missing in grub menu, just enter BT and use the
root@bt:~# os-prober
command in terminal: "os-prober",
then just update grub:
root@bt:~# update-grub
Now You Are Free To Use Your Dual Boot System... Ready... :D
Be Brave, K33p Yourself Updated...
Suggestions and Questions are welcomed...