Dual boot Win 7 / Ubuntu 12.04 borked.

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #11

    globetrotterdk said:
    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 Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #12

    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 Computer


  3. Posts : 11
    Windows 7 Ultimate 64-bit
    Thread Starter
       #13

    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 Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #14

    globetrotterdk said:
    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 Computer


  5. Posts : 11
    Windows 7 Ultimate 64-bit
    Thread Starter
       #15

    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 Attached Thumbnails Dual boot Win 7 / Ubuntu 12.04 borked.-screenshot-2012-09-07-18-43-19.png  
      My Computer


  6. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #16

    globetrotterdk said:
    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 Computer


  7. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #17

    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 Computer


  8. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #18

    globetrotterdk said:
    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 Computer


  9. Posts : 11
    Windows 7 Ultimate 64-bit
    Thread Starter
       #19

    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.
    Dual boot Win 7 / Ubuntu 12.04 borked. Attached Files
      My Computer

  10.    #20

    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 Computer


 
Page 2 of 3 FirstFirst 123 LastLast

  Related Discussions
Our Sites
Site Links
About 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 09:58.
Find Us