Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 3 down vote accepted

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

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

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

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... – Not Kyle stop stalking me 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .