IMac no longer boots up to windows partition?

Hi,
I have a problem where my I installed Windows 7 on my iMac and set it to automatically boot up to the Windows partitionwhen turning on the computer. Suddenly, it's not doing that anymore. It boots up to the Apple partition and when I want to choose partitions, I have to hold down "Alt" upon booting up. I've always had to hold down "Alt" to choose partitions so that's not a problem. The problem is it doesn't automatically boot up to the Windows partition, as I originally set it.
Anyone encounter this problem and have any advice?
Thank you.

On OSX go to System Preferences the Startup Volume and reset your Windows 7 partition to be the default.
On the next reboot it should automatically boot into Windows.
A PRAM-reset http://support.apple.com/kb/HT1895 can be the cause of this behavior.
Stefan

Similar Messages

  • Can't boot to my windows partition

    Hi there,
    I am not able to boot to my Windows partition due to some lock screen that i didn't set up. I have tried my master password and my user password both do not work. this problem shows up after i release the option button.

    These steps correct the Partition ID, and the boot ability of the MBR partition that has Windows on it.You can type '?' for help in the following steps where you set the fdisk prompt.
    To fix the MBR, in OSX Terminal
    sudo fdisk -e /dev/disk0
    setpid 4
    07
    flag 4
    p
    w
    y
    q
    Please ignore the i386 message that you see in the following. Here is the set of commands in the utility. The utility starts at partition id 1. If you see any other messages, please post back.
    sudo fdisk -e /dev/disk0
    fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory
    Enter 'help' for information
    fdisk: 1> ?
      help Command help list
      manual Show entire man page for fdisk
      reinit Re-initialize loaded MBR (to defaults)
      auto Auto-partition the disk with a partition style
      setpid Set the identifier of a given table entry
      disk Edit current drive stats
      edit Edit given table entry
      erase Erase current MBR
      flag Flag given table entry as bootable
      update Update machine code in loaded MBR
      select Select extended partition table entry MBR
      print Print loaded MBR partition table
      write Write loaded MBR to disk
      exit Exit edit of current MBR, without saving changes
      quit Quit edit of current MBR, saving current changes
      abort Abort program without saving current changes
    fdisk: 1>

  • After Boot Camp partition, iMac no longer boots

    Hi, I have a 20" iMac Core Duo (the first Intel Mac off the line) running Snow Leopard 10.6.4. I ran the Boot Camp Assistant to partition my hard drive, and it successfully created the "BOOTCAMP" drive. When it asked for my installation CD, I tried loading a Windows installation partition through a USB hard drive, but the assistant would not recognize it as an install disk. So, I closed out of the assistant early, leaving the Boot Camp partition in place. Eventually, I rebooted my machine in an attempt to boot directly from the USB drive and resume installation.
    However, I found the machine will not boot at all. It powers on normally, makes the startup sound, but after a few seconds I'm left with just a flashing folder and question mark icon. Holding down Option-key at startup does nothing. Trying to boot from my Snow Leopard disc by holding down C or D during startup does nothing. Holding down Command-S does nothing. Holding down Shift-key does nothing. Resetting the PRAM does nothing.
    What can I do? Is there some way I can access the on-board EFI to make sure the correct startup disk is selected? Why am I unable to boot from my CD drive?
    Thanks for your help, everyone.

    On OSX go to System Preferences the Startup Volume and reset your Windows 7 partition to be the default.
    On the next reboot it should automatically boot into Windows.
    A PRAM-reset http://support.apple.com/kb/HT1895 can be the cause of this behavior.
    Stefan

  • Won't boot after resizing Windows partition

    So I'm dual-booting Windows 7 with OSX using Boot Camp. The Windows partition had very little space left so I decided to go ahead and resize it. I first used Disk Utility inside OSX to shrink the size of the OSX partition. Worked like a beauty.
    I then went into Windows and resized the Windows partition using Paragon's Partition Manager....big mistake.
    I would gander a guess that in order to resize, the Paragon software has to reboot and boot into a partition it created. Which is all fine and good except I don't think (version 2010 of Partition Manager) the Mac bootup hardware likes this. Unfortunately, this seemed to have nuked my bootup of anything, including OSX.
    Is there a way to recover/repair this without having to do wipe everything and reinstall?

    Welcome to Apple Discussions,
    You can boot to the Mac OS Install disk that came with the computer and run Disk Utility from from the disk to attempt to repair the Mac OS partition of the logical drive. If it can repair it then you may be able to boot.
    Live partitioning is like doing open heart surgery on yourself. Its not a simple process. Doing it with a utility that isn't necessarily made for handling an HFS+ partition table (Like what the Mac OS uses) is tricker still.
    Give Disk Utility a try. There are other directory repair programs out there (Drive Genius, Disk Warrior, etc.) that can do deeper levels of repair.
    Were it my drive, I would probably just erase it and restore from backup (assuming you have all your data backed up and are confident that the backup is good). You don't want to keep working with a potentially damaged partition table. But thats just me.
    Hope that helps.

  • Canon printer driver update - iMac no longer boots up

    This morning my Mac displayed an update for my Canon MP560 printer. After the download and install my Mac no longer boots, it just hangs on the white apple logo. I have left it for ages and it rebooted itself but hangs again.

    Booted from DVD and did repair permissions. Seems to have sorted it out now.

  • My new imac doesn't booting even my windows also giving blue screen error how i recover my datas please help me guys

    my new imac was doesn't getting booting into osx mountain lion 10.8 and also in windows when i try to click on option key it shows only windows parition if i select that windows os getting bluescreen error this problem caused by when i'm using imac suddenly power went off so after that i'm trying it's not booting so if any option give solution for to recover the datas stored in imac please

    A new Mac comes with 90 days of free tech support from AppleCare.
    Why not make use of it?
    1-800-275-2273
    Best.

  • Windows partition ignored by macos, long boot times

    So, after boot camp refused to resize my Windows partition, I decided to use the old standby of using GParted off of a linux live cd. I just kinda assumed there would be no problem, but after the fact I've discovered there could be some problems. The most specific thing I can find is that the "msftrees" flag will be set on the partition you make and that it can also cause some trouble with updating the GPT and MBR.
    Anyway, here are my symptoms:
    1. MacOS pretty much ignores the Windows partition (It's Windows 7). It doesn't appear in the startup menu at all and I don't have access to the drive. You might be able to mount it manually, I haven't tried.
    2. Very slow boot times for windows. You can select the option to boot from the Windows partition by holding down option at boot, but the boot takes a very long time. When you select the windows partition, it goes to a blank screen with a blinking underscore character in the upper left for 2~3 minutes and then finally shows the windows loading screen and continues to boot normally.
    Here is my partition layout:
    * Report for internal hard disk *
    Current GPT partition table:
    # Start LBA End LBA Type
    1 40 409639 EFI System (FAT)
    2 409640 560668499 Mac OS X HFS+
    3 560668500 625137344 MS Reserved
    Current MBR partition table:
    # A Start LBA End LBA Type
    1 1 409639 ee EFI Protective
    2 409640 560668499 af Mac OS X HFS+
    3 * 560668500 625137344 07 NTFS/HPFS
    MBR contents:
    Boot Code: Unknown, but bootable
    Partition at LBA 40:
    Boot Code: None (Non-system disk message)
    File System: FAT32
    Listed in GPT as partition 1, type EFI System (FAT)
    Partition at LBA 409640:
    Boot Code: None
    File System: HFS Extended (HFS+)
    Listed in GPT as partition 2, type Mac OS X HFS+
    Listed in MBR as partition 2, type af Mac OS X HFS+
    Partition at LBA 560668500:
    Boot Code: Windows BOOTMGR (Vista)
    File System: NTFS
    Listed in GPT as partition 3, type MS Reserved
    Listed in MBR as partition 3, type 07 NTFS/HPFS, active
    Thanks in advance.

    Check out this thread, I posted a possible solution.
    http://discussions.info.apple.com/thread.jspa?threadID=2224948

  • IMacs can boot Linux or Windows from usb stick

    iMacs 21' can boot Linux or Windows from usb stick? from Firewire 400 or 800 hdd/ssd? from USB HDD/SSD?
    May boot fromCD/DVD/DVDDL in internal DVD DRIVE, too?
    Exist Blu-ray drives able connect on Thunderbolt slot on iMac 21'?

    Here is the memo of the steps I followed. Hope this helps.
    <Create VHD image in temp folder at local drive>
    diskpart
    create vdisk file=C:\Temp\Win2go.vhd maximum=20480 type=fixed
    select vdisk file=C:\Temp\Win2go.vhd
    attach vdisk
    exit
    <Create partition in VHD, format in NTFS and assign drive letter "O">
    diskpart
    list disk
    select disk n (n is a number of VHD)
    clean
    create partition primary
    format fs=ntfs quick override
    assign letter=o
    active
    attribute volume set NODEFAULTDRIVELETTER
    exit
    <Execute "DISM" utility in Windows DVD and extract installer image to VHD>
    G:\sources\dism /apply-image /imagefile:G:\sources\install.wim /index:1 /applydir:O:\
    ** "G" is drive letter for Windows DVD
    ** "O" is drive letter for VHD partition
    <Write boot program into VHD>
    O:\windows\system32\bcdboot O:\windows /f ALL /s O:
    ** "O" is drive letter for VHD partition
    <Detach VHD>
    diskpart
    select vdisk file=C:\Temp\Win2go.vhd
    detach vdisk
    exit
    <Format USB thumb drive in NTFS>
    diskpart
    list disk
    select disk n (n is a number of USB thumb drive)
    clean
    create partition primary
    format fs=ntfs quick override
    active
    exit
    ** "E" is drive letter for USB thumb drive
    <Write loader into boot sector>
    G:\boot\bootsect /nt60 E:
    ** "G" is drive letter for Windows DVD
    ** "E" is drive letter for USB thumb drive
    <Copy VHD file to USB thumb drive and mount>
    copy C:\Temp\Win2go.vhd E:\
    diskpart
    select vdisk file=E:\Win2go.vhd
    attach vdisk
    exit
    <Write boot info into USB thumb drive>
    F:\Windows\system32\bcdboot F:\Windows /s E: /f ALL /v
    ** "E" is drive letter for USB thumb drive
    ** "F" is drive letter for VHD partition on USB thumb drive

  • MacBook Pro Won't Boot. Kernel Panic. Only Windows Partition Works

    So one day I was using my mac when it froze for no apparent reason, i was just running iTunes, so i held the power key and it shut down. After a while, i turned it back on and it got to the apple but then i got a bunch of errors i guess, around the lines of kernel panic. So i went online and read other peoples problems but none of them seamed to work. It wont start up normally, not in safe mode, recovery drive wont boot, only the windows partition works. i reset my PRAM i think its called and that failed. someone online said to re-install lion. i dont have a lion recovery usb thingy, but i have a lion disk, but my disk drive no longer works due to hardware damage. so i need to back up my files from my mac partition and re-install lion OR just get rid of the Kernel Panic Thingy.
    ps. everytime i try to boot mac, i get a different error message.
    any help is greatly appreciated

    Are you willing to lose the data that isn't backed up? If not, you have to try to back up now, before you do anything else.
    There are several ways to back up a Mac that is unable to fully boot. You need an external hard drive to hold the backup data.
    1. Boot into Recovery (command-R at startup; 10.7 or later), from a local Time Machine backup volume (option key at startup; 10.7.2 or later), or from your installation disc (C key at startup; 10.6.8 or earlier.) Launch Disk Utility and follow the instructions in the support article linked below, under “Instructions for backing up to an external hard disk via Disk Utility.”
    How to back up and restore your files
    2. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, boot the non-working Mac in target disk mode by holding down the key combination command-T at the startup chime. Connect the two Macs with a FireWire or Thunderbolt cable. The internal drive of the machine running in target mode will mount as an external drive on the other machine. Copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    How to use and troubleshoot FireWire target disk mode
    3. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.

  • Mac Pro trying to boot to windows partition by default

    I recently attempted to install XP 64-bit with no luck on a second hard drive (Mac Drivers disc wouldn't recognize the 64-bit edition) so I went back into my main OS X installation and erased the partition and remade the entire second hard drive into a support HD for OS X for the time being. There should be no trace of a FAT32 partition.
    But every time I boot the computer, if I don't hold Option, my MP tries to boot to the windows partition (even though it's not even there!) I know because it says in a little DOS message "Can't find disk, hit any key" or something like that. If I hold option I can easily boot to my one and only operating system, the original OS X installation, but it's just bugging me why that is happening, and happening by default!

    If you install Boot Camp for Windows there will be a Startup Disk control panel that performs the same function when you are running Windows so you can reset the default startup to OS X.
    OPTION booting is a temporary change meaning that the next restart will return to the previously set startup volume in Startup Disk. Startup Disk makes the switch permanent until you change it again using Startup Disk.

  • Windows partition wont' boot from internal secondary HDD? No bootable device error

    Here is my scenario: I previously had a 500GB bootcamped HDD in my 2012 macbook pro. The boot camp partition was running windows 7 and the mac partition was running 10.9. I replaced my original HDD with a 250GB SSD, took out my optical drive, and replaced that (op drive) with my original HDD. When i boot from the main drive, the SSD, it successfully recognizes the HDD with the 2 different partitions on it. But when I try to boot into my windows partition(on the HDD) by holding option at startup and selecting the windows partition, I keep getting a black screen "No bootable device. Insert boot disk and hit any key". I tried installing rEFIt, but still no luck. Here is the output from partition inspector:
    * Report for internal hard disk *
    Current GPT partition table: # Start LBA End LBA Type 1 40 409639 EFI System (FAT) 2 409640 487127591 Mac OS X HFS+ 3 487127592 488397127 Mac OS X Boot
    Current MBR partition table: # A Start LBA End LBA Type 1 1 488397167 ee EFI Protective
    MBR contents: Boot Code: None
    Partition at LBA 40: Boot Code: None (Non-system disk message) File System: FAT32 Listed in GPT as partition 1, type EFI System (FAT)
    Partition at LBA 409640: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 2, type Mac OS X HFS+
    Partition at LBA 487127592: Boot Code: None File System: HFS Extended (HFS+) Listed in GPT as partition 3, type Mac OS X Boot
    Ive seen similar post, but none specific to my scenario. Any input would be greatly appreciated. I am trying to preserve the contents of my original HDD as it contains important school files I will be needing.

    Please download Gdisk from http://sourceforge.net/projects/gptfdisk/ . You do not have a valid MBR on disk1 so Windows will not boot, even though you can see the volume in OS X Finder on the HDD.
    Use Gdisk to recreate a Hybrid MBR which includes GPT#4.
    Here is an example. Please notice the spaces between 2,3 and 4.
    sudo gdisk /dev/disk0
    GPT fdisk (gdisk) version 0.8.10
    Warning: Devices opened with shared lock will not have their
    partition table automatically reloaded!
    Partition table scan:
      MBR: hybrid
      BSD: not present
      APM: not present
      GPT: present
    Found valid GPT with hybrid MBR; using GPT.
    Command (? for help): p
    Disk /dev/disk0: 490234752 sectors, 233.8 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 59BDFEEB-1EB4-4529-94FE-3CBC2C3CD513
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 490234718
    Partitions will be aligned on 8-sector boundaries
    Total free space is 2604 sectors (1.3 MiB)
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40          409639   200.0 MiB   EF00  EF
       2          409640       401060383   191.0 GiB   AF05  Macintosh HD
       3       401060384       402329919   619.9 MiB   AB00  Re
       4       402331648       490233848   41.9 GiB    0700  Microsoft basic data
    Command (? for help): r
    Recovery/transformation command (? for help): h
    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
    just hit the Enter key at the below prompt and your MBR partition table will
    be untouched.
    Type from one to three GPT partition numbers, separated by spaces, to be
    added to the hybrid MBR, in sequence: 2 3 4
    Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
    Creating entry for GPT partition #2 (MBR partition #2)
    Enter an MBR hex code (default AF): AF
    Set the bootable flag? (Y/N): n
    Creating entry for GPT partition #3 (MBR partition #3)
    Enter an MBR hex code (default AB): AB
    Set the bootable flag? (Y/N): n
    Creating entry for GPT partition #4 (MBR partition #4)
    Enter an MBR hex code (default 07): 07
    Set the bootable flag? (Y/N): y
    Recovery/transformation command (? for help): w
    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!
    Do you want to proceed? (Y/N): y
    OK; writing new GUID partition table (GPT) to /dev/disk0.
    Warning: Devices opened with shared lock will not have their
    partition table automatically reloaded!
    Warning: The kernel may continue to use old or deleted partitions.
    You should reboot or remove the drive.
    The operation has completed successfully.
    Now Reboot and verify the output of fdisk again.

  • I get a black screen after installing the bootcamp drivers on my newly created windows partition?

    I am attempting to install windows 7 on my mid 2007 core 2 extreme iMac. I open bootcamp and do all of the steps except the usb flash drive drivers from apple because the server always fails to load. After restarting, I install windows 7 to the bootcamp partition, and the screen goes black during the "Completing Installation." I wait about an hour before shutting down and rebooting into my Mac partition. I use paragon ntfs for mac and go to the drivers folder and delete the atikmdag.sys file and restart. Booting into the windows partition, I get the error that says "Windows installation has failed because the system unexpectedly restarted. Click ok to restart and redo installation" or something along those lines. Instead of pressing ok, I press shift+f10 and open regedit. After opening regedit, I go into some registry file for the setup (I don't remember where this is located, although I can find it if needed), and I change a value from 3 to 1. After doing this and restarting, It boots regularly with a super low res screen but it boots without problem. I go to the apple website and download the appropriate bootcamp support software and install on my windows partition. After restarting, the screen is black again. I assume this is another video driver problem again because the black screen seems to always be video driver problems; however, its odd that the bootcamp support software would give me an incorrect video driver as it is directly from apple. Would this be the problem or does anyone know a fix? Any help is appreciated.
    Cheers,
    Adam

    If you bought your RAM at a place that also sells PC RAM you may have gotten mislabelled RAM. PCs can handle different RAM speeds so they’ll often label higher speed RAM as a lower speed rather than make two different speeds of RAM. But Macs are much more picky. They require a RAM stick to be exactly 667mhz not 675mhz or 800mhz. The way to tell is to put one of your old RAM sticks in and it will force the new RAM to run at the correct speed.
    This is from one review of PNY RAM:
    "These modules are actually 800Mhz. PNY no longer makes or sells 667Mhz modules. Not all computers that require 667Mhz are compatible with 2 800Mhz modules. They refuse to down clock properly. This is especially true with a number of Core 2 Duo MacBooks. Spoke to PNY support, they flat out told me that yes, they sell 800Mhz modules in 667Mhz packaging. If you RMA a module that is 667Mhz (or supposed to be 667Mhz) they will replace it with an 800Mhz module as they no longer have any 667Mhz SODIMMs, not even for RMA replacement!"
    These are good online stores for Mac compatible RAM
    OWC http://eshop.macsales.com/shop/memory/MacBook/DDR2/ - They offer Mac tested RAM at very good prices.
    Crucial Memory http://www.crucial.com/ - good place to buy RAM from all over the world. They also have an excellent memory selector that allows you to choose memory based on your computer's model
    Data Memory Systems http://www.datamemorysystems.com/apple-memory.asp - another good, cheap place to buying RAM if you live in the U.S.

  • Boot camp and windows xp

    i just purchased an imac and ran boot camp assistant to partition for a windows xp installment. somehow i managed to partion the entire drive (even though i specified the size) and that sent me into a nut roll to eventually erase the partition and then being able to reinstall mac os (nothing was booting). i have tried this again, and this time i can see the partition to install windows (c:/ partition #3 82 gb - even though i only did one partition through boot camp). anyway, i inserted the windows xp disk to install, it asked which partition and i directed to c:/ 82 gb fat32. it then warns me that i should not have 2 os's on the same partition. i am lost - any ideas?

    i have the following on the screen:
    E: partition 1 (unknown) 200 MB
    F: partition 2 (unknown) 220032 MB
    unpartitioned space 128 MB
    C: partition 3 {bootcamp} [fat32] 84885 MB
    then, when i direct the installation to c (figuring fat 32 is windows and has empty windows folders in it), it says : you chose to install xp on a partition that contains another operating system. etc, etc.
    i didn't want to continue because i didn't want to screw up my machine. i have since, through utilities, restored the drive to its original size and the partition has been removed. i will try again, using bootcamp to start over. any idea what went wrong or what i am doing wrong?

  • MBP FREEZES AFTER 10.4.6 UPDATE WITH WINDOWS PARTITION

    Just updated software to 10.4.6, and rebooted the computer unattended. It booted on the Windows partition, and worked fine.
    Just rebooted in Mac mode, and everything froze.
    Had to reinstall the OS, from the original DVD. Did anyone experience the same problem.
    I am reluctant now to install the 10.4.6 update.
    Thanks for your comments

    There always some people on the forum to believe they
    are smarter and that others are dummies, and do not
    read instructions! That is bad.
    I Should have been more specific: the software update
    was the Mac OS Intel posted on the Apple website on
    May12.
    The MBP was up to date before this update, and
    everyting was working fine.
    Hi Thierry,
    I didn't really post to say I was smarter, or you were a dummy. When I read your post, and saw your signature that says you are running 10.4.5, I thought first of all, "how did you do that?" So I posted that that could be a huge problem.
    Please don't think I wasn't anything more less than concerned. Noted you have been having issues (as others have) since the security update. There are numerous suggestions in other threads, but I don't know the solution to your situation. For me the update kiled my ability to change font color in Entourage! Hopefuly Apple will post a fix in the form of an update.

  • [SOLVED] Can't boot back into windows

    Been a while since I had to install Arch but my previous PC died so I tried installing it on my new one. When I installed it last time, there was no EUFI and it was a simple Grub installation. When I installed it, I disabled eufi from my bios to legacy grub. I installed Arch like normal but os-probe didn't seem to work. Although it detected my OS, it did not make an entry for windows in the grub, When I re-enable EUFI from bios, it just goes straight to GRUB cmd line.
    Here's the output for fdisk:
    Disk /dev/sda: 946.4 GiB, 1016218828800 bytes, 1984802400 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: A3D81761-F777-4399-9F81-01E346CDC93F
    Device Start End Size Type
    /dev/sda1 2048 1988607 970M BIOS boot partition
    /dev/sda2 1988608 3708927 840M Windows recovery environment
    /dev/sda3 3708928 4241407 260M EFI System
    /dev/sda4 4241408 4503551 128M Microsoft reserved
    /dev/sda5 4503552 1123987926 533.8G Microsoft basic data
    /dev/sda6 1905238016 1953523711 23G Windows recovery environment
    /dev/sda7 1953525168 1984798127 14.9G unknown
    /dev/sda8 1123989504 1900040191 370.1G Linux filesystem
    /dev/sda9 1900040192 1905238015 2.5G Linux swap
    and os-prober
    $ sudo os-prober
    No volume groups found
    /dev/sda3:Windows 8 (loader):Windows:chain
    Arch is installed on sda8/sda9 and wndows is on sda3/4/5/6. There also seems to be a seperate "boot" drive sdb that only shows up when eufi is enabled. Can anyone help me figure out how to boot into my windows partition? thanks
    edit: here's grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt8'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 6a6f6015-3793-4978-8c19-5abd44c63aea
    else
    search --no-floppy --fs-uuid --set=root 6a6f6015-3793-4978-8c19-5abd44c63aea
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_archlinux ###
    menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod ext2
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 6a6f6015-3793-4978-8c19-5abd44c63aea
    else
    search --no-floppy --fs-uuid --set=root 6a6f6015-3793-4978-8c19-5abd44c63aea
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /boot/vmlinuz-linux root=UUID=6a6f6015-3793-4978-8c19-5abd44c63aea rw
    echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
    initrd /boot/initramfs-linux.img
    menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod ext2
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 6a6f6015-3793-4978-8c19-5abd44c63aea
    else
    search --no-floppy --fs-uuid --set=root 6a6f6015-3793-4978-8c19-5abd44c63aea
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /boot/vmlinuz-linux root=UUID=6a6f6015-3793-4978-8c19-5abd44c63aea rw
    echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_archlinux ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-6a6f6015-3793-4978-8c19-5abd44c63aea' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt8'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 6a6f6015-3793-4978-8c19-5abd44c63aea
    else
    search --no-floppy --fs-uuid --set=root 6a6f6015-3793-4978-8c19-5abd44c63aea
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=6a6f6015-3793-4978-8c19-5abd44c63aea rw
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-6a6f6015-3793-4978-8c19-5abd44c63aea' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-6a6f6015-3793-4978-8c19-5abd44c63aea' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt8'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 6a6f6015-3793-4978-8c19-5abd44c63aea
    else
    search --no-floppy --fs-uuid --set=root 6a6f6015-3793-4978-8c19-5abd44c63aea
    fi
    echo 'Loading Linux linux ...'
    linux /boot/vmlinuz-linux root=UUID=6a6f6015-3793-4978-8c19-5abd44c63aea rw
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    if [ "${grub_platform}" == "pc" ]; then
    menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
    search --fs-uuid --no-floppy --set=root --hint-bios=hd0,gpt8 --hint-efi=hd0,gpt8 --hint-baremetal=ahci0,gpt8 6a6f6015-3793-4978-8c19-5abd44c63aea
    linux16 /boot/memtest86+/memtest.bin
    fi
    ### END /etc/grub.d/60_memtest86+ ###
    Last edited by giok13 (2014-04-24 15:20:31)

    dice wrote:
    As you have disabled UEFI during arch installation your grub was installed in mbr mode and not EFI.
    Your Windows installation is probably installed in UEFI mode.
    So when you enable UEFI grub doesn't work correctly. And in legacy mode Windows won't boot.
    See here for details https://wiki.archlinux.org/index.php/UEFI
    Yea, I figured it out last night after spending hours on it. For anyone that might be having the same problem as me: Re-installed grub with os-prober and it detected windows successfully. Added the entry into grub correctly as well. But when I tried to boot into windows, it said my bcd was corrupted. Apparently when I was trying everything, I formatted the entire /boot partition so there was no way for windows to boot. After hours of trying to figure out how to restore the partition, I went into bios and re-enabled UEFI, safe boot, fast boot. It restored the /boot partition and let me get into windows. Then disabled safe boot and fast boot, booted arch live cd and installed gummiboot.

Maybe you are looking for

  • Interface options to allow user to download attachments

    I am adding the capability to my web-based e-mail application to aloow users to get their attachments when the read their messages. I can find the attachments fine, I can save them to the local filesystem fine, I can also store them in my database (m

  • IPhone contacts lost while syncing

    I went to sync my contacts with .mac and accidentally clicked the wrong button. I should have clicked on merge but instead clicked something else and now all my contacts are lost. I attempted to search for address.data.previous but this is the first

  • How to know the image size and coding of our j2me project

    Hi, I have developed a game and i did the obfuscation. My jar size is now 170KB. How can differentiate the coding size and the image size from the total jar size. If i asked any thing wrongly, please forgive me and clarify my doubt. I am looking forw

  • Need clarification: SCJP questions

    The following code when pasted in eclipse is giving a compilation error but the answers are as given below!! Please explain. Question 1 Given: 11. static classA { 12. void process() throws Exception { throw new Exception(); } 13. } 14. static class B

  • HT5035 I was not given the full amount of credit when I redeemed my gift card now what ?

    I just redeemed a $15 gift card and was credited with 6.45. What do I do?