Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Dual boot Win 7 / Ubuntu 12.04 borked.

07 Sep 2012   #1
globetrotterdk

Windows 7 Ultimate 64-bit
 
 
Dual boot Win 7 / Ubuntu 12.04 borked.

I am a new member of this forum and a Windows user for the first time in ten years (Win2K). I have been running my Windows 7 install for two weeks on my home built, desktop box. When I originally installed Win 7, I erased my Linux system and let the Windows 7 installer choose which of my two internal drives to install on. The install went fine, but after two weeks I started missing Linux. Yesterday, I installed the latest version of Ubuntu. This formats the drive (in Linux /dev/sda - I don't know what that would be in Windows) and installs the Linux Grub 2 boot loader. However, Grub 2 is unable to find a Win 7 installation that it can add to the boot loader. I assume that either the Win 7 boot loader files were deleted or the "secret" partition was erased, or both. I have a post here that has been trying to address the problem mainly from the Linux side, but as can be seen, I also refer to what I have done to try to repair the Win 7 boot loader. The problem is that I have basically been asking Linux users to help me with a Win 7 problem.

Anyone out there that can help me sort this out, so that I can use both Linux and Windows?


My System SpecsSystem Spec
07 Sep 2012   #2
Golden

Microsoft Community Contributor Award Recipient

Windows 7 Ult. x64
 
 

Hi,

Download and use the free version of EasyBCD to add the Ubuntu entry so it chainloads from the Windows bootloader. Refer to this guide:

http://neosmart.net/wiki/display/EBCD/Ubuntu

Regards,
Golden
My System SpecsSystem Spec
07 Sep 2012   #3
globetrotterdk

Windows 7 Ultimate 64-bit
 
 

Thanks for the3 quick response. It looks like the author of that guide makes the assumption that the user can boot into Windows. I can't. Using chkdsk, I can see that the Windows system is fine. The only error was an allocation issue with the MBR.
My System SpecsSystem Spec
07 Sep 2012   #4
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

what and how many partitions are on sda?
what and how many partitions are on sdb?
What is linux (sdb1, sdb2... or?)
and what is win7?
My System SpecsSystem Spec
07 Sep 2012   #5
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Try this How to add Vista/Windows 7 partition to Grub 2 (Ubuntu 9.10, Karmic Koala) Eric's Notes
Does it change the grub2 bootmenu? Windows 7 boots?
My System SpecsSystem Spec
07 Sep 2012   #6
globetrotterdk

Windows 7 Ultimate 64-bit
 
 

/dev/sda is where Ubuntu 12.04 resides. The disk has a root partition at sda1, sda2 is an extended partition. sda5 is a swap partition. sda6 is a home partition. There is only one partition on sdb it is a primary NTFS partition at sdb1
My System SpecsSystem Spec
07 Sep 2012   #7
globetrotterdk

Windows 7 Ultimate 64-bit
 
 

I get the message "BOOTMGR missing". when I try to boot Win 7 from Grub
My System SpecsSystem Spec
07 Sep 2012   #8
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by globetrotterdk View Post
/dev/sda is where Ubuntu 12.04 resides. The disk has a root partition at sda1, sda2 is an extended partition. sda5 is a swap partition. sda6 is a home partition. There is only one partition on sdb it is a primary NTFS partition at sdb1
So sdb is for win7 and has only 1 big partition. Is that an active partition?
sda is all linux stuff.
My System SpecsSystem Spec
07 Sep 2012   #9
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by globetrotterdk View Post
I get the message "BOOTMGR missing". when I try to boot Win 7 from Grub
Post file /boot/grub/grub.cfg
/etc/grub.d/11_Windows as well
My System SpecsSystem Spec
07 Sep 2012   #10
globetrotterdk

Windows 7 Ultimate 64-bit
 
 

sdb (Win 7) is flagged as a "boot" partition in Gparted and sda (Ubuntu) is not.

The /boot/grub/grub.cfg file contents is located here.

I deleted /etc/grub.d/11_Windows because it wasn't working. I tried both the original posting and the version for two disks that is mentioned in the comments section. Even the menu entry came out looking weird. I know, the function is more important than the aesthetics, but as neither was working... I have also been looking at this posting, but I am having some difficulty wrapping my head around it.
My System SpecsSystem Spec
Reply

 Dual boot Win 7 / Ubuntu 12.04 borked.




Thread Tools





Similar help and support threads
Thread Forum
Win 7 , Ubuntu dual boot, windows wont boot, startup disk doesnt help
Hi a couple of months ago my system crashed, windows 7 wouldnt boot, and I misplaced my installation disk. I had the problems several times since obtaining the computer several years ago. (Lenovo IDeaPad y450). I attributed the problem to what I believed was a bad hard disk, so I replaced it with a...
General Discussion
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Window
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Windows it says Windows can not start the installation process.
BSOD Help and Support
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Window
I have dual boot Ubuntu 11.04 and Windows 7 and now i cant boot Windows it says Windows can not start the installation process.
Installation & Setup
Unable to boot Windows 7 after unistalling Ubuntu Dual boot
After deleting the partition on which Ubuntu was installed and enlarging the windows partition to fill the old space at the same time( stupid I know), I am unable to boot to Windows 7. All I see is a command line message that says Unknown File System and on the next line says Grub Rescue> with...
Installation & Setup
Dual-booting nightmare: XP & 7, flashed BIOS, now boot-up is borked:
Ok, I'll try and be clear and succinct, but I APOLOGIZE in advance for the super length here! Here's the essential "backstory" of what was/is going on, and where I am right now: Had an XP machine for 4 years; two months ago, I bought and added in another HD. At reboot, I put in my Win 7 64...
BSOD Help and Support
dual boot w/ Ubuntu, need to uninstall Ubuntu
Hey all I am new here. I recently did a dual boot install of Ubuntu with my Home Premium Windows 7 machine. I need to figure out how to uninstall Ubuntu and the grub loader... any thoughts? I installed Windows 7 first... Ubuntu 64 desktop edition came after. I shrunk my Windows 7...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App