Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I install Ubuntu on a dedicated partition while still making certain that Windows will be recognized?

When I tried to install Ubuntu on a dedicated partition, update-grub didn't recognize Windows. I put the following in a GRUB file and updated grub.cfg:

menuentry "Windows 7 (loader) (on /dev/sda1)" {
  insmod part_msdos
  insmod ntfs
  set root='(hd0,msdos1)'
  chainloader +1
}

which didn't work.

I have access to a stock Windows 7 installation DVD -- if the Windows boot process breaks, can I boot from the Windows DVD and repair the MBR to get the Windows bootloader back? (And could I then get access to Ubuntu back?)

share|improve this question
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.