How to Dual-boot Windows Vista and Ubuntu (Ubuntu installed first) May 28, 2008
Posted by burace17 in linux, windows.trackback
Would if you want to dual-boot Windows Vista and Ubuntu but Ubuntu was installed first? Well that’s a little harder to do because when Vista installs, it overwrites the GRUB bootloader which is what Ubuntu uses to boot. Here’s how you would get Windows Vista installed:
1. Download the Gnome Partition Editor from here or use the Ubuntu Live CD to partition your drive. We will use the Gnome Partition Editor
2. Boot from the live CD and press ENTER twice to select your language and keyboard layout
3. Right click on /dev/sda1 (depending on how you have your drive partitioned, this may be different) and click Resize/Move
4. Move the slider to select how much space you need for Vista and Resize/Move
5. When you’re finished, quit GNOME Partition Editor, restart your computer and boot from the Vista DVD
6. Follow the instructions form the Vista installer until you get to the Where do you want to install Windows? page.
7. When you’re there, select Unpartitioned Space and click Next
When Windows Vista is installed, you’ll notice that you cannot boot Ubuntu anymore. Here’s how you can fix that:
1. Boot from the Ubuntu Live CD
2. Open GParted
3. Right click on the partition where Windows Vista is installed and click Manage Flags
4. Uncheck boot
5. Close GParted
6. Open Terminal
7. Type sudo grub
8. Type find /boot/grub/stage1
9. Type root (hd0,0)
10. Type setup (hd0)
11. Type quit then exit
You should now be able to boot Ubuntu and Windows Vista.
If you want to change how Windows Vista is listed on the GRUB menu, do this:
1. Start Ubuntu
2. Open Terminal and type: sudo gedit /boot/grub/menu.lst
3. Scroll down to the bottom and you should see Windows Vista’s entry at the bottom
4. Change the title line to whatever you want (but don’t take out the word title)
You can also change other options such as the timeout option.



really good informations