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

Thread: 12.10 new install along Windows 8 fails to boot

  1. #1
    Join Date
    Sep 2007
    Beans
    15

    12.10 new install along Windows 8 fails to boot

    Hi there everyone,

    I am having trouble with a 12.10 Ubuntu install. I have 3 separate HDDs - 2 SSDs and a large HD. I have installed W8 on one of the SSDs, and just installed Ubuntu on the other. The large drive is a shared NTFS space (split into 3 partitions).

    The install went fine, where I started a swap space of 1 GB at the beginning of the drive (don't intend to hibernate), and used the rest as ext4. No errors were reported or anything. In the place where it said drive to install boot or something like that (lowest field in partition manager), I chose my Windows 8 SSD because (I assumed) that is where the booting happens right now.

    What happened after reboot is that it says "Reboot And Select Proper Boot Device Or Insert Boot Media In Selected Boot Device And Press A Key". I am still able to boot into the live USB drive i created.

    This is now the 5th day i've spent on this computer in a row, so I've given up troubleshooting and am going straight to the forums :/ I assume I have to reinstall/repair the bootloader/grub/something?

    BTW it was a UEFI boot.

    Thank you so much in advance and please let me know what other information you need.

    -AK

    ***********
    EDIT: God i'm an idiot, it even says right there you need an EFI partition. Ubuntu boot problem is solved! Now can someone tell me how to boot back into windows? perhaps like a boot menu before loading either OS? (I'd like to default it to W8 unless i say otherwise)
    Last edited by randommanaki; December 4th, 2012 at 03:40 AM.

  2. #2
    Join Date
    Sep 2007
    Beans
    15

    Re: 12.10 new install along Windows 8 fails to boot

    Hello again,

    I am making no headway with Boot-Repair in my attempt to get back into windows. Here are two of the output files from B-R in the hopes that someone can help me out:

    http://paste.ubuntu.com/1409452/
    http://paste.ubuntu.com/1409455/

    To give some detail:

    sda - 240GB SSD - Windows 8
    sdb - 3TB HDD - 3 NTFS partitions, ~1TB each (created in W8)
    sdc - 64GB SSD - Ubuntu 12.10.

    I am currently at a place where Windows Boot Manager shows an error if I try to get into windows, and the GRUB2 loader only shows Ubuntu and Advanced Options for Ubuntu.


    Thanks again in advance,
    AK

  3. #3
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.10 new install along Windows 8 fails to boot

    Have not seen many (any?) multiple drive system with Windows 8 and UEFI. A couple to links to two drive systems below.

    But it looks like sda is still BIOS/MBR and is your Windows install.

    Everything I have seen is to have all systems UEFI/gpt or all systems BIOS/MBR.

    UEFI dual boot two drives
    http://ubuntuforums.org/showthread.php?t=2072950
    http://ubuntuforums.org/showthread.php?t=2031836

    Normally grub2's os-prober finds the other UEFI install but creates a BIOS chain load entry that does not work with UEFI as boot must chain to efi partition not 100MB Windows boot partition in MBR systems.

    https://help.ubuntu.com/community/UEFI
    https://wiki.archlinux.org/index.php/UEFI

    https://wiki.archlinux.org/index.php/GPT

    What does sudo update-grub find?

    Or can you add a simple chain load entry to sda? I think BIOS (and maybe UEFI) write some info onto drive so it knows which drive is hd0 and other info. If booted in UEFI mode that data may not be there to let Windows boot in BIOS mode from a chain load with a UEFI install.

    What partition tools did you use to partition sdb, the 3TB drive? NTFS partitions have to have info in the PBR - partition boot sector on start & size of partition. Script shows an error in PBR on sdb3. Gparted or gdisk seem to work best for gpt partitioning.

    With Ubuntu I use gpt partitioning but BIOS boot. But the only Windows I have is XP and I now cannot boot it as in BIOS I have to have AHCI. And installing AHCI drivers in XP is a new install or major effort. I just decided not to boot that old drive anymore.

    According to the Arch site SSD's should use gpt, but Windows only boots from gpt drives if UEFI.
    Older Windows info on gpt - 2008 updated 2011
    http://msdn.microsoft.com/en-us/wind.../gg463525.aspx
    Microsoft suggested partitions including reserved partition for gpt & UEFI:
    http://technet.microsoft.com/en-us/l...8WS.10%29.aspx
    Windows technical info on gpt and GUIDs
    http://msdn.microsoft.com/library/wi...sktop/aa365449
    Order on drive is important:
    http://en.wikipedia.org/wiki/Microso...rved_Partition
    http://linux.dell.com/cgi-bin/gitweb...README;hb=HEAD
    http://software.intel.com/en-us/arti...and-scripting/
    Convert Windows USB flash install to UEFI boot
    http://jake.io/b/2011/installing-win...x220-from-usb/
    Install Windows efi to new drive.
    http://technet.microsoft.com/en-us/l...=ws.10%29.aspx
    Last edited by oldfred; December 4th, 2012 at 06:35 AM.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  4. #4
    Join Date
    Sep 2007
    Beans
    15

    Re: 12.10 new install along Windows 8 fails to boot

    Hi there, oldfred, and thanks for all the excellent info!

    That is exactly what I was suspecting when I saw that the boot sector of sda didn't say anything about EFI

    I don't have anything important on these drives yet, so if you can tell me exactly how I should proceed, I can wipe all 3 of my drives and start over - (the 3 partitions on sdb were creating using Windows 8 disk manager, i too saw the error and am confused as to why that is. EFI/BIOS > 2.2TB issue maybe?).

    Therefore, given your info, do you think I should install W8 first or Ubuntu? Or use the liveboot to use Gparted to create the proper partitions but install W8 first? I actually wasn't so noobish before UEFI/GPT appeared, so now I feel like I know nothing of how things should be set up hahaha

    My thoughts before your post:

    1 drive needed an efi partition that would boot. The rest could be whatever.

    After your post:

    Each of the 3 drives needs to be (or at least should be) GPT partitoned and both OSes installed in EFI mode (this latter is what I thought I did but it seems Windows 8 installed in BIOS mode or something, I can look into that if you are not familiar with W8 ).

    Let me know how you think it would be best for me to proceed. Thanks again for the quality post!

  5. #5
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.10 new install along Windows 8 fails to boot

    I have not actually installed any Windows since XP 6 years ago. But have followed dual booting with Linux and related Windows issues. My preference is what you are doing in having Windows on one drive & Ubuntu on another. But I want each drive separately bootable so I would still create the Windows install on sda as if none of the other drives existed. I believe the dual boot with two drives, either the chain load to the other efi partition or updates to the efi partition worked.

    If (really when) on drive fails then in UEFI(BIOS) you should be able to select the other drive and have a efi enty that would work.

    I think you only have to reinstall Windows, then run Boot-Repair or add manual efi boot entries in Ubuntu to chain to Windows efi.

    You will have to convert sda to gpt, then Windows only installs in UEFI mode. I think you also have to boot its installer from UEFI in efi mode like Ubuntu not in BIOS mode. In BIOS Windows had a nasty habit with multiple drives of installing its boot files in the drive set to boot from in BIOS. Usually that was ok, but some that installed to one drive found boot files on another. Not sure with UEFI if that is an issue or not?

    We have seen a few gpt partition errors with either Windows or Windows third party tools. gpt has a backup partition table at the end of the drive and sometimes the last partition then overlaps the partition table.
    Download from repository (or newest version from rodsbooks) gdisk and just list sdb. If ok then no changes required.
    GPT fdisk Tutorial -srs5694 in forums
    http://ubuntuforums.org/showthread.php?t=1439794
    http://www.rodsbooks.com/gdisk/
    http://www.rodsbooks.com/gdisk/download.html#obs

    sudo gdisk -l /dev/sdb

    I have only used gparted to create gpt partitioned drives, but do not have any really large drives. But I use gdisk to review drives.
    Last edited by oldfred; December 4th, 2012 at 07:24 PM.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  6. #6
    Join Date
    Sep 2007
    Beans
    15

    Re: 12.10 new install along Windows 8 fails to boot

    Well, went into my LiveUSB, started GParted, and wiped the two larger drives (windows ssd and 3tb data HDD) and rewrote their partition tables as GPT. repartitioned the big one, and installed windows on the SSD. I was then able to boot into Windows 8. but not ubuntu. I then performed Boot-Repair, and am again able to boot into Ubuntu, but not Windows

    http://paste.ubuntu.com/1411644/

    Am I missing a step? My brain is fried, apologies

  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.10 new install along Windows 8 fails to boot

    What I was afraid of. Windows on sda saw the efi on sdc and installed its boot files to that drive. So sda would never boot on its own. But it still should work.

    I do not see that boot repair fixed it by adding a chain load entry. We can manually add if if necessary, but I think the partition table error on sdb is still confusing things.

    Somehow your sdb2 starts after its end? And starts after the start of sdb3.
    Code:
    Partition    Start Sector    End Sector  # of Sectors System
    /dev/sdb1           2,048 2,147,485,695 2,147,483,648 Data partition (Windows/Linux)
    /dev/sdb2   2,147,485,696 2,010,161,151  -137,324,544 Data partition (Windows/Linux)
    /dev/sdb3   2,010,161,152 2,639,306,751   629,145,600 Data partition (Windows/Linux)
    
    /dev/sdb1 overlaps with /dev/sdb3
    /dev/sdb2 overlaps with /dev/sdb3
    Did gparted do that?

    And update your copy of Boot-Repair. Yesterday Yann was making some fixes on UEFI finding Windows. I do not know his versions, so you may have an older copy.
    Last edited by oldfred; December 5th, 2012 at 05:44 AM.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #8
    Join Date
    Sep 2007
    Beans
    15

    Re: 12.10 new install along Windows 8 fails to boot

    Yeah that's what was confusing me as well, I rewrote the partition table for the large drive (sdb) into GPT and repartitioned it using GParted. I saw a reference to problems related to > 2.2TB if not EFI in my old BIOS menu, but now it's in UEFI mode so that shouldn't be a problem?

    Regarding boot-repair updating, I just use the two commands listed here https://help.ubuntu.com/community/Boot-Repair under 2nd option: Install boot-repair in Ubuntu. I just assumed that would get the latest version? is that not true?

    Thanks again for sticking with this, oldfred!

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.10 new install along Windows 8 fails to boot

    Windows requires UEFI to boot from gpt, but Ubuntu does not.

    I even used gpt on my 16GB flash drive (just to see if it worked) and as long as I added the bios_grub for use with BIOS it has worked. Once installed I really do not see any difference between gpt(GUID) & MBR(msdos). I have gpt on 2 drives and MBR on 2 drives. But I use BIOS.

    What does gdisk say about your sdb drive. It compares backup partition table and may make a fix?
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Sep 2007
    Beans
    15

    Re: 12.10 new install along Windows 8 fails to boot

    I'm at work right now and will update the thread once I get back to my computer with the gdisk information.

    However, seeing as I used the Ubuntu 12.10 LiveUSB's GParted, created a GPT partition table on sdb and new partitions, is it possible that another error was made? I would have thought that rewriting the partition table and creating new partitions would be an almost guaranteed fix (of course losing all the data, but that's not an issue for me yet).

    Terminology for the rest:
    SSD1 - 240GB Intel 520, want to put Windows 8 x64 (default OS) on this
    SSD2 - 64 GB Crucial m4, want to put Ubuntu 12.10 x64 on this
    HDD - 3 TB Seagate, want to put 2 NTFS, 1 ext4 partitions

    Further, I plan on doing this now:

    1) Disconnect everything but SSD1, booting Ubuntu LiveUSB, using GParted to wipe the drive and rewrite a GPT partition table. Do not create any partitions.

    2) Install W8 - allocate maximum it lets me as W8 NTFS and follow whatever it tells me. (are there any other partitions I should create/any gotchas?)

    3) Disconnect *EVERYTHING* but SSD2 (SSD1 not connected), boot LiveUSB, install Ubuntu with a X GB (1 GB?) linux-swap at the beginning, ext4 for the rest of ubuntu (63 GB?). Will wipe/write GPT first.

    4) Now, there should be two working, UEFI independently-bootable, GPT OS hard drives. Reconnect SSD1 so that SSD1 & SSD2 only are connected. **FIX THE BOOTING ISSUE that is sure to happen (This is where I will need your help - will a simple Boot-Repair work?)**

    5) Connect the HDD as a data drive. Use LiveUSB's GParted to wipe/write GPT table. create the desired partitions. **(One point of note, I just let it choose the maximum amount for the last partition, should I be leaving free space at the end instead for the backup GPT?? I just assumed GParted would take that into account)**

    6) Now both OSes will be bootable and both will (I assume) be able to see the extra drive (even if Windows will not recognize the ext4 partitions)


    What do you think oldfred?
    Last edited by randommanaki; December 5th, 2012 at 11:51 PM.

Page 1 of 3 123 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
  •