• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Ubuntu Dual Boot question

EvilManagedCare

Senior member
Hi,

I have googled this, but the results seem to focus on establishing a dual boot system, not modifying an existing one.

I currently have a dual boot system using Windows XP and Ubuntu (10.04 I believe). The boot menu that appears during startup is GRUB.

I intend to install Windows 7 onto the partition Windows XP is currently on. From what I have read, it seems the Windows boot menu should prevail after the installation with no option to boot into Ubuntu. How do I restore GRUB to reflect the new version of Windows? Would it be better to simply delete the Ubuntu partition and reinstall after installing Windows 7?

I figure deleting the Ubuntu partition and reinstalling is the worst case scenario.

Thanks for the help.
 
You probably have to mark the Ubuntu partition (the partition containing the /boot files) as the active partition.

Disclaimer: I haven't done a a Linux/Windows dual boot setup but I have done a Linux/Linux dual boot.
 
You can just reinstall grub after you install Windows 7, then add Windows 7 to your grub menu.
 
You can just reinstall grub after you install Windows 7, then add Windows 7 to your grub menu.
To do this, boot with the CD/DVD. I am not familiar with Ubuntu, but in Fedora, I think you would you would boot into Rescue Mode (on DVD) and run
Code:
grub-install /dev/sda
(assuming one HDD at /dev/sda). Ubuntu would probably be similar, except you would probably boot to the CD/DVD normally, open a terminal, and run
Code:
sudo grub-install /dev/sda
You can easily check my code with
Code:
man grub-install
and read through that.

You would then be able to boot as previously, but GRUB would still say Windows XP (or whatever). You would probably want to change that, and someone familiar with Ubuntu would be best to tell you how to do that, rather than me.
 
You would then be able to boot as previously, but GRUB would still say Windows XP (or whatever). You would probably want to change that, and someone familiar with Ubuntu would be best to tell you how to do that, rather than me.
For grub 0.97, the boot menu is located in /boot/grub/menu.lst
 
Back
Top