Page 1 of 3 123 LastLast
Results 1 to 10 of 26

Thread: Dual Boot Problems

  1. #1
    Join Date
    May 2006
    Location
    here & there
    Beans
    95
    Distro
    Kubuntu 12.04 Precise Pangolin

    [solved] Dual Boot Problems

    Hi there,

    Instead of posting in the already existing threads, the existing ones focus on tweaking an existing installation. I'm waaay before that.

    I've just tried to install Kubuntu on my brand new UX31a prime.
    I wanted to dual boot, the latest Kubuntu with the stock image of Win7.

    The installation went well, but then when I rebooted Windows7 started without the grub boot manager. So I assume something went wrong.
    Then I started the installation again, and made sure the bootmanager was installed on sda instead of sdb.

    Rebooted, but still windows is booting without any sign of kubuntu.
    I checked with the live-version that the partitions do exist.....

    Can somebody help me out?
    I've never done a dual boot installation. I've always installed from scratch.
    Last edited by rockprincess; July 19th, 2012 at 10:30 AM. Reason: marking this thread as solved

  2. #2
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Dual Boot Problems

    hi rockprincess,

    first thing I'd try is boot-repair tool you can find it here
    Wireless script
    Dave
    Registered Linux User #462608
    Ubuntu-Mate 16.04

  3. #3
    Join Date
    May 2006
    Location
    here & there
    Beans
    95
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Dual Boot Problems

    thanks very much, this worked!

    grub is booting now, but when i click on the win7 entry it won't boot.
    though when i go into the BIOS boot menu and select win7 there it works just fine.

    i think the grub entry might be ****** up.

  4. #4
    Join Date
    Apr 2008
    Location
    Planet Earth
    Beans
    137

    Re: Dual Boot Problems

    Quote Originally Posted by rockprincess View Post
    thanks very much, this worked!

    grub is booting now, but when i click on the win7 entry it won't boot.
    though when i go into the BIOS boot menu and select win7 there it works just fine.

    i think the grub entry might be ****** up.
    I had the same issue with the pre-installed Windows 7 (x64) on an ASUS UX31A before I accidentally deleted the entire ssd.

    It looks like a Grub bug.

    Have a look at the following links:

    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1024383

    http://ubuntuforums.org/showthread.php?t=2023576

    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=679817
    Last edited by fab.head; July 18th, 2012 at 01:36 PM.

  5. #5
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Arrow Re: Dual Boot Problems

    @rockprincess: you may have an EFI computer. Please indicate the URL that appeared when you used Boot-Repair.

  6. #6
    Join Date
    Nov 2004
    Location
    Maine
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Dual Boot Problems

    believe you have an efi enabled machine. in which case this
    thread may be of help there are a lot of links to look through though.
    Wireless script
    Dave
    Registered Linux User #462608
    Ubuntu-Mate 16.04

  7. #7
    Join Date
    May 2006
    Location
    here & there
    Beans
    95
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Dual Boot Problems

    @YannBuntu: here's the link the aforementioned Boot-Repair log
    http://paste.ubuntu.com/1096425/

  8. #8
    Join Date
    Jan 2008
    Location
    France
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Arrow Re: Dual Boot Problems

    Thanks.
    We can see in your BootInfo that the Windows entry generated by os-prober is incorrect:
    Code:
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Windows 7 (loader) (on /dev/sda3)" --class windows --class os {
    	insmod part_gpt
    	insmod ntfs
    	set root='(hd0,gpt3)'
    	search --no-floppy --fs-uuid --set=root 5246C0D846C0BE4B
    	chainloader +1
    }
    You can mark yourself as affected by this bug: https://bugs.launchpad.net/bugs/1024383

    I will update Boot-Repair so that it should add a valid Windows EFI entry in your GRUB menu. Please wait >1h, then update Boot-Repair, click "Recommended repair" and tell me the new URL.

  9. #9
    Join Date
    Apr 2008
    Location
    Planet Earth
    Beans
    137

    Re: Dual Boot Problems

    Yannbuntu,

    I have a question for you.

    I was affected by the same bug as rockprincess (same laptop model).
    Unfortunately, I erased the entire disk in error, including the recovery partition (s**t happens).
    As the installation was gone, I recreated a GPT partition table with GParted and partitioned the SSD.

    I had another Win 7 x64 DVD available, therefore I reinstalled Windows from scratch alongide Ubuntu 12.04 64-bit.

    Now grub does not show an option to boot Windows (eg I can only boot Ubuntu from grub). I ran Boot Repair several times, but that didn't help.

    I can still boot Windows from the bios menu.

    I've attached a Boot Info report from the latest Boot Repair for your reference.


    PS: It seems that the Boot Info file is saved into /root/home instead of /home/user (which would sound more logical to me). Is it intended to work this way?
    Attached Files Attached Files
    Last edited by fab.head; July 18th, 2012 at 04:55 PM.

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual Boot Problems

    @fab.head
    I normally move those who jump in with a different issue in a thead. And boot issues are almost always unique and so are solutions, so dealing with two issues in the same thread can be confusing. And your issues are somewhat different as yours is a reinstall without one Windows partition (windows reserved as shown in rockprincess' boot script, but must not be essential?).

    Both rockprincess and fat.head seem to have issues of mixed UEFI and BIOS boot. Both Windows and Ubuntu installers show from a UEFI menu present two choices to install - one UEFI and the other BIOS/MBR. Ubuntu will install in BIOS mode to a gpt drive with another bios_grub partition, so mixed installs confuse booting. Either both systems should be UEFI or should be BIOS.

    rockprincess has this partition, and fab.head does not. Windows recommends that it have this partition which has some hidden boot files.
    /dev/sda2 411,648 673,791 262,144 Microsoft Reserved Partition (Windows)

    rockprincess' sda3 has all the boot files, but fab.head sda2is missing bootmgr & BCD. fab.head are you still able to boot Windows as two of the three files seem to be missing or are in some location that boot script did not parse.

    Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe

    So Windows with efi uses sda1 as efi, sda2 as reserved & sda3 as main install with all boot files as standard partitioning.

    But I thought the efi partition should have these files for Windows to boot in efi mode and neither install shows them.
    /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    /boot/efi/EFI/Microsoft/Boot/bootmgr.efi
    /boot/efi/EFI/Microsoft/Boot/memtest.efi

    I have seem both of these posted as entries to boot Windows from grub. It seems efi assumes you will use the efi menu to choose which system to boot? Not sure which of these Yann is planning on adding.
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/807801
    http://ubuntuforums.org/showthread.php?t=1934773
    menuentry "Windows 7 UEFI" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    set root='(hd0,gpt2)'
    search --fs-uuid --no-floppy --set=root 4f84-ee2e
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
    }

    menuentry "Windows 7 UEFI" {
    search --file --no-floppy --set=root /efi/Microsoft/Boot/bootmgfw.efi
    chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi

    More info on Windows partitions:
    Windows Recommended UEFI-Based Disk-Partition Configurations
    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
    Change the booting style of Windows Vista or 7 x86_64 versions from BIOS-MBR mode to UEFI-GPT mode without formatting or reinstalling
    http://www.insanelymac.com/forum/lof...ex.php/t186440
    Windows installs the efi bootloader to (ESP)/EFI/Microsoft/Boot/ which is identical to (WINDOWS_SYSTEM_PART)/boot/microsoft/ incase of BIOS systems.
    The dir mainly consists of bootmgfw.efi, bootmgr.efi, memtest.efi and 'bcd'.

    Supposedly you can repair Windows efi, but I would back up efi partition first in all cases:
    Repair Windows efi boot
    https://gitorious.org/tianocore_uefi..._BIOS_to_UEFI:
    Note: If you have Windows 7 x64 , you can also try the bcdboot command from Repair your Computer => Recovery Console option in Windows 7 x64 Setup disc. The bcdboot command, according to Microsoft, will create the necessary folder structure in the UEFI
    Last edited by oldfred; July 18th, 2012 at 06:08 PM.
    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 3 123 LastLast

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
  •