Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My laptop had Kubuntu installed earlier but then I made a new installation of windows 7 ultimate. Now I cannot choose to run Kubuntu anymore as its bootloader was overwritten. How can I configure my system for dual boot ?

[I am new to Linux/ Kubuntu]

share|improve this question
    
add comment

2 Answers 2

up vote 3 down vote accepted

Boot from the Kubuntu CD

from the Terminal in Kubuntu write:

sudo grub

root (hd0,0)

setup (hd0)

exit

Restart and the boot menu will be back

share|improve this answer
    
That is assuming that the Kubuntu is installed on first hard drive and first partition on it. Otherwise the hd0 and hd0,0 parameters will have to be edited. The count starts from 0. –  AndrejaKo Jun 7 '11 at 13:07
    
Don't tell me that there isn't a recovery option in Ubuntu. In OpenSuSe you just pop the CD in, boot, select recovery and you are done. No manual intervention needed. (-1, since this can actually break the PC even further if the parameters are wrong) –  Let_Me_Be Jun 7 '11 at 13:09
    
Thanks! Do I need to opt for "Try kubuntu" after booting with Kubuntu disk or otherwise how do I get to terminal ?? –  user01 Jun 7 '11 at 13:19
    
As mentioned above, the parameters might have to be adjusted to represent the HD on which Ubuntu has been installed. –  Greg Jun 7 '11 at 13:21
    
@Marcos Yes you do. When you pick that option, Kubuntu form the CD should load and let you do what's needed. –  AndrejaKo Jun 7 '11 at 13:22
show 1 more comment

I actually took the time to research the Ubuntu grub recovery options. Please follow this wiki tutorial:

https://help.ubuntu.com/community/Boot-Repair

share|improve this answer
    
Doing this will over-write the windows boot loader, fixing one problem and creating another... I believe there was an anecdote about glass houses and stones that applies here for your comments above about lack of experts on this site... –  Kyle Jun 7 '11 at 15:22
    
@Kyle Uh? You need to overwrite the Windows bootloader, ok you can actually boot grub from the Windows bootloader, but that is a little overkill. –  Let_Me_Be Jun 7 '11 at 15:32
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.