Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

  1. #1
    Join Date
    Jul 2012
    Beans
    8

    Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    I am running a Dell XPS 15 Laptop with the following specs:

    -------------------------------------------------------------------
    XPS 15
    3rd Generation Intel Core i7-3612QM processor (6M Cache, up to 3.1 GHz - TPM)
    8GB, DDR3, 1600MHz
    English Keyboard, 80 Key, L521X
    Silver Anodized Aluminum and 15.6" FHD 1080p Truelife WLED Display and Skype-Certified HD Webcam
    NVIDIA GeForce GT 640M with 2GB GDDR5 VRAM
    Dell SRV Software for Intel Centrino Adv-N 6235
    750GB 7200 HDD with 32GB mSATA
    -------------------------------------------------------------------

    I spent last night attempting to install ubuntu 12.04 to dual boot with windows 7. The machine all ready had windows 7 64 bit installed, and this was my first linux installation attempt (not including wubi).

    I loaded ubuntu live from usb, and using gparted saw my harddrives setup as follows:

    /dev/sda1/ fat16 size:39.29 mb Label:'DellUtility' Flags:'diag'
    /dev/sda2/ ntfs size:18.25 gb Label:'RECOVERY' Flags:'boot'
    /dev/sda3/ ntfs size:696 gb Label:'OS'

    I partioned the 'OS' drive and freed up ~170 gb for my linux install. I made an extended partition that covered the 170gbs, and made logical partitions inside it as follows:

    /dev/sda4/ extended 168.73 gb
    /dev/sda5/ ext4 79.10 gb Label:'root'
    /dev/sda6/ linux-swap 9.77 gb
    /dev/sda7/ ext4 79.86 gb Label:'home'

    This went through without any errors from GParted. Next I went to install Ubuntu on the new partitions. I set my 'root' mountpoint:'/' and my 'home' mountpoint:'/home'.

    After a reboot windows 7 started up. I logged in first to see if I had any problems, which I did not. However after a second reboot I realized that Ubuntu was not showing up in the (My understanding of this may be incorrect but...) 'Windows bootloader.'

    My solution was to boot again to ubuntu live cd and install the 'grub' bootloader from the terminal window. I am new to Linux and may have been ignorant in running commands I found on forums to install this bootloader, but after rebooting I was presented with my new ubuntu 12.04 installion. This loads up fine, but the issue I am now facing is that Grub does not list Windows 7 as a bootable option.

    I have searched extensivey on how to fix this and many have pointed to windows system recovery options. I have booted from a windows 7 installation disc and attempted to do fix via bootrec.exe and commands like /FixBoot /FixMbr etc. I cannot seem to get any of these commands to even run, as they return 'The system could not find the path specified'.

    It is definitely noteworthy that bootrec /scanos finds 0 installations. As well as the windows prompts that come before the option to launch command prompt in the windows recovery options also shows no operating system.

    I read that I may not be on the correct partition or drive at the windows recovery screen so I also attempted to change this via DISKPART in command, but trying the commands 'list disk' 'list drive' or 'list vdisk' all say 'no fixed *disc* found' or something like that.

    I have tried simply going through the windows screens but they seem to fail without a doubt.

    I am really stuck at this point and would appreciate any help. If anything I have said needs to be clarified (I'm a newb I apologize) please ask or I can provide screenshots to show my processes as well.

    Thanks!

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    You may have installed grub2's boot loader to the Windows partition, not the MBR of the drive. Windows has to have a NTFS boot signature in the boot sector as it has more boot code there.

    To confirm what is where post link from running BootInfo from this:

    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jul 2012
    Beans
    8

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    I believe you are correct and I have installed grub in the wrong partition.

    Bootinfo gives me this: http://paste.ubuntu.com/1116403/

    Running the repair returns an error and this: http://paste.ubuntu.com/1116403/


    Edit: Can anyone suggest a fix? I am a bit unclear on the steps I need to take.
    Last edited by Rjbcc58; July 28th, 2012 at 11:44 PM.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    Script has issues mounting sda3 & sdb1. Did you do something to both? Normally the error show grub installed similar to as script shows MBR.

    It may be recoverable if only installed once. This is for grub installed to NTFS partition, but is the procedure to use testdisk to find the backup partition boot sector and recover that. If backup is damaged testdisk can create a "basic" NTFS partition boot sector. The one it creates seems to work with XP but Windows 7 seems to often need more repairs, but will then work. When NTFS partition boot sector is corrupted often Windows 7 will not run its repairs.

    Fix for most, a few have other issues, better than windows fix in many cases as it also fixes other parameters:

    This has instructions on using testdisk to repair the install of grub to the boot sector for windows from Ubuntu or Linux LiveCD.
    http://sourceforge.net/apps/mediawik...ms:Boot_Sector
    You want to get to this screen:
    http://www.cgsecurity.org/wiki/TestD...ector_recovery


    [HowTo] Repair the bootsector of a Windows partition - YannBuntu
    https://help.ubuntu.com/community/BootSectorFix
    http://ubuntuforums.org/showthread.php?t=1926510

    Do you have a Windows repairCD?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Jul 2012
    Beans
    8

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    I have not made any changes to sdb1, to be honest I was confused at what my sdb drive actually was, would this be the 32 gb mSata?

    I am trying the steps listed in your links now and will post my results.

    I do not have a 'Windows Repair CD,' I am using a Windows 7 installation disc and selecting 'repair computer.' This is how I was getting to the command prompt and attempting the bootrec commands.

    Thank you for you help, I really appreciate it!

    Update: I do not have the 'BackupBS' option in step 6, I.E. " If the sixth screen did not have a "BackupBS" tab, it usually means that the original and backup boot sector are identical, and you are probably suffering from a different problem."

    It suggests I use the /FixBoot commands that I have been struggling with. Will a windows repair cd fair better than the windows 7 installation cd I have now? Are these separate things?
    Last edited by Rjbcc58; July 29th, 2012 at 12:56 AM.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    Often the fixBoot command from Windows does not work as it does not see it as NTFS.

    Use testdisk and the ReBuild BS or make a new boot sector for NTFS.

    But I found that there are at least two versions of NTFS boot sectors. I used my Windows 7 repair CD to run chkdsk on my XP install which did work better than the XP version. But it wrote a new BS - Boot sector. In testdisk (Dump) I could then see the difference. Structure was different and the XP version had ntldr and the Windows 7 version bootmgr to boot with (about the only part that was text).

    So create a NTFS BS from testdisk, then run the fixBoot command from windows to convert to Windows 7.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Jul 2012
    Beans
    8

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    Okay so I have run 'Rebuild BS' which brought me to the image that you provided in your previous post. I was able to reboot into repair mode and run the fixboot command, however now I am shown the 'Windows failed to start. a recent hardware.....' on the file: \Boot\BCD , Status:0xc000000f

    I can no longer run the fixboot commands from the command prompt window now, and the grub bootloader which brought me to my Ubuntu install previously is now gone. I am not sure if I 'created' another NTFS BS correctly, the testdisk program told me it overwrote the MBR on the disk which is when I saw these changes on boot.

    Any idea what's next? :/


    UPDATE: I have booted Ubuntu live from usb again it appears things have gotten worse... Looking at Gparted shows my harddrive is back to how it was when I originally started. Its as if I never installed Ubuntu. I have tried running a boot-repair, and it returns the rather scary message 'No OS found on this computer.' Boot info gives this: http://paste.ubuntu.com/1116655/
    Last edited by Rjbcc58; July 29th, 2012 at 02:38 AM.

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    The old report said one of the possibilities was RAID. You now are showing one RAID drive. Did you install with RAID? Was drive ever part of a RAID drive set? Or did you at some time turn RAID on in BIOS?

    Is this what you have?

    Intel Smart Response Technology.
    http://ubuntuforums.org/showthread.php?t=2020155
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Jul 2012
    Beans
    8

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    I do have the Intel Smart Response Technology as described in your link, I am not sure exactly what my drive was or whether I had altered that previously. I was able to switch IRST off from BIOS to ACHI. After this I noticed an 'ssid' option on the BIOS menu, but the bootrec commands still will not run, and Windows System repair does not recognize my OS

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Problem Dual Booting Windows 7 64 bit after Ubuntu 12.04 installation

    Have you gone thru the commands the user in the link above did to fix his system?

    If so, then post a link to a new run of BootInfo.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •