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   #11
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
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.
I don't see a windows 7 menuentry in your grub file!!

You mean sdb1 is flagged as boot (not sdb)?!


My System SpecsSystem Spec
.
07 Sep 2012   #12
Kaktussoft

Microsoft Community Contributor Award Recipient

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

Code:
dd if=/dev/sda of=/tmp/mbrsda.bak bs=446 count=1
dd if=/dev/sdb of=/tmp/mbrsdb.bak bs=446 count=1
dd if=/dev/sdb1 of=/tmp/sdb1.bak bs=512 count=1
Post the created bak files in /tmp

/dev/sdb1 does you show windows stuff?
/dev/sdb1/bootmgr exists?
/dev/sdb1/boot/bcd exists?
My System SpecsSystem Spec
07 Sep 2012   #13
globetrotterdk

Windows 7 Ultimate 64-bit
 
 

When using Gparted, the individual partition is flagged. sdb1 is the only partition on my computer that is flagged as "boot". The Win 7 menu entry disappeared when I ditched /etc/grub.d/11_Windows and updated Grub.

I can access sdb1 at will from my Ubuntu 12.04 system. There are no /bootmgr and /bcd directories.

Here is the output of the first of the commands:
Code:
$ sudo dd if=/dev/sda of=/tmp/mbrsda.bak bs=446 count=1
1+0 records in
1+0 records out
446 bytes (446 B) copied, 2.4264e-05 s, 18.4 MB/s
The second command:
Code:
$ sudo dd if=/dev/sdb of=/tmp/mbrsdb.bak bs=446 count=1
1+0 records in
1+0 records out
446 bytes (446 B) copied, 0.0138272 s, 32.3 kB/s
The last command:
Code:
$ sudo dd if=/dev/sdb1 of=/tmp/sdb1.bak bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.000157204 s, 3.3 MB/s
My System SpecsSystem Spec
.

07 Sep 2012   #14
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
When using Gparted, the individual partition is flagged. sdb1 is the only partition on my computer that is flagged as "boot". The Win 7 menu entry disappeared when I ditched /etc/grub.d/11_Windows and updated Grub.

I can access sdb1 at will from my Ubuntu 12.04 system. There are no /bootmgr and /bcd directories.

Here is the output of the first of the commands:
Code:
$ sudo dd if=/dev/sda of=/tmp/mbrsda.bak bs=446 count=1
1+0 records in
1+0 records out
446 bytes (446 B) copied, 2.4264e-05 s, 18.4 MB/s
The second command:
Code:
$ sudo dd if=/dev/sdb of=/tmp/mbrsdb.bak bs=446 count=1
1+0 records in
1+0 records out
446 bytes (446 B) copied, 0.0138272 s, 32.3 kB/s
The last command:
Code:
$ sudo dd if=/dev/sdb1 of=/tmp/sdb1.bak bs=512 count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.000157204 s, 3.3 MB/s
Post /tmp/mbrsda.bak /tmp/mbrsdb.bak and /tmp/sdb1.bak

/dev/sdb1 has a folder called Users and Windows and "Program Files"?
My System SpecsSystem Spec
07 Sep 2012   #15
globetrotterdk

Windows 7 Ultimate 64-bit
 
 

OK, here is all the info.

Edit: Did you get the files you requested as well? I don't see them on my posting. It doesn't look like .bak files are supported for upload.


Attached Thumbnails
-screenshot-2012-09-07-18-43-19.png  
My System SpecsSystem Spec
07 Sep 2012   #16
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
OK, here is all the info.

Edit: Did you get the files you requested as well? I don't see them on my posting. It doesn't look like .bak files are supported for upload.
Rename the bak files to txt files and upload them
My System SpecsSystem Spec
07 Sep 2012   #17
Kaktussoft

Microsoft Community Contributor Award Recipient

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

temporary disconnect your windows drive and boot. Does linux boot? Grub errors?
temporary only connect windows drive and boot. What error?

I wanna know for sure, what works and what doesn't. Do you have a win7 install DVD or win7 system repair CD? If so.. it's easy to fix
My System SpecsSystem Spec
07 Sep 2012   #18
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
OK, here is all the info.

Edit: Did you get the files you requested as well? I don't see them on my posting. It doesn't look like .bak files are supported for upload.
In the screenshot of sdb1 I see a lot of windows folders like Windows, users and also hidden system files. But I'm missing file bootmgr and folder boot (folder boot is for bootmenu). Have you delete a partition? Most likely labeled "system reserved"?

Anyway that's the only problem so far. linux boots and it seems to chainload to sdb1 (as it tries to find bootmgr).
My System SpecsSystem Spec
07 Sep 2012   #19
globetrotterdk

Windows 7 Ultimate 64-bit
 
 

Here are the files. I had to restore the MBR so I could boot into Ubuntu after I had run
Code:
BOOTREC /FIXBOOT
but otherwise no problems.

No, I don't have any bootmgr and boot folders. I assume they were somewhere on sda before I reformatted the drive in connection with installing Ubuntu 12.04.


Attached Files
File Type: txt mbrsdb.txt (888 Bytes, 2 views)
File Type: txt mbrsda.txt (860 Bytes, 1 views)
File Type: txt sdb1.txt (512 Bytes, 1 views)
My System SpecsSystem Spec
07 Sep 2012   #20
gregrocker

 

The solution for dual booting when you have multiple HD's is to place each OS on it's own HD, with the other one unplugged during install.

Then set the preferred OS to boot first in BIOS setup, boot the other using the one-time BIOS Boot menu key which every PC or mobo has.
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 08:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App