Add Windows into grub menu after install Ubuntu

This post was written by admin on July 4, 2009
Posted Under: General

If you have installed Windows in your computer first,commonly windows will be in grub menu after you install ubuntu.But there’s always someone can’t boot windows after install ubuntu.In this tutorial I’ll tell how to figure out it.

First,boot up your ubuntu and open up a terminal window,edit menu.lis file by following command

sudo gedit /boot/grub/menu.lst

Add following section in the screen

title Microsoft Windows, Codename: XP
root (hd0,0)
savedefault
makeactive
chainloader +1

snapshot119

Here root (hd0,0), means my windows was installed in the first partition of first hard disk.

Click here,if you want to make windows boot up as default OS.

Related posts:

  1. Set Windows as Default OS in Grub
  2. 3 Ways Setting XP/Vista/Windows 7 as default bootup OS In Grub 2
  3. Grub missed after reinstall Windows,or Grub error17 after delete Ubuntu partition
  4. How to restore Grub 2 after reinstalling Windows XP/Vista/Win7
  5. Fix Windows when boot files (boot.ini,NTLDR)are missing

    Tags:

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address