LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Cannot boot into Ubuntu after installation of windows on 2nd hdd (https://www.linuxquestions.org/questions/ubuntu-63/cannot-boot-into-ubuntu-after-installation-of-windows-on-2nd-hdd-773211/)

azteka22 12-03-2009 09:30 AM

Cannot boot into Ubuntu after installation of windows on 2nd hdd
 
Hello everybody,

I formated my hdd and made 3 partitions. 1 (ntfs) for windows, 1 for swap and the other one (ext) for ubuntu 9.10.

I first installed windows 7 configured it, then i installed ubuntu 9.10 and installed grub as my default bootloader. and everything was working perfect, i could dual boot into windows 7 and ubuntu 9.10 on my desktop. btw both of these OS are 32-bit.

Later i installed a second hdd on my desktop computer and i formatted that hdd as NTFS b/c i wanted to install windows server 2008 on it. i installed windows server 2008 on that hdd and now it deleted the grub bootloader and i can now only boot into windows 7 or windows server 2008..

i read some posts about how to get grub loader back but i have not yet succeeded. I tried the super grub disk and tried to fix the linux grub bootloader but it says it cannot find the /boot/grub/stage1 file. it says file not found.

then i tried the livecd of ubuntu 9.10 and i mounted my partition and everything is there, all my files are there and everything so i kno i didnt delete that partition. i tried to install grub through the livecd, i did sudo grub, find /boot/grub/stage1 and it still says file not found.
then i tried to manually find it, i went onto my partition and opened the boot folder then the grub folder and the file is not there..

How can i get grub back into my system so i can boot into ubuntu again?

anybody have any ideas? thx in advance

ymitchell 12-03-2009 09:34 AM

Quote:

Originally Posted by azteka22 (Post 3778462)
.. i installed a second hdd on my desktop computer and i formatted that hdd as NTFS b/c i wanted to install windows server 2008 on it. i installed windows server 2008 on that hdd and now it deleted the grub bootloader ..

https://help.ubuntu.com/community/Re...tallingWindows

azteka22 12-03-2009 09:37 PM

Thank u!! it worked perfectly!


All times are GMT -5. The time now is 01:02 PM.