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

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

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

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

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

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
Dual boot Win 7 / Ubuntu 12.04 borked.-screenshot-2012-09-07-18-43-19.png  
My System SpecsSystem Spec
07 Sep 2012   #16

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

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 Windows 7 install DVD or Windows 7 system repair CD? If so.. it's easy to fix
My System SpecsSystem Spec
07 Sep 2012   #18

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

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
Microsoft MVP

 

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




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 11:23 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33