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]


Boot from the Kubuntu CD

from the Terminal in Kubuntu write:

sudo grub

root (hd0,0)

setup (hd0)


Restart and the boot menu will be back

| 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) – Šimon Tóth 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 ?? – Rajat Gupta 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

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


| 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... – Supercereal 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. – Šimon Tóth Jun 7 '11 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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