[SOLVED] Board no longer sees uefi as boot option

Hi,
I installed Arch on an ssd and was using rEFind to boot the system. It was working fine until I unhooked the ssd from the Mobo to install a hard drive with an old version of arch.( I was going to use the hd for extra space) However, when I hooked my ssd back up the bios did not detect the uefi. It shows the ssd but not the option to boot with uefi.
When I run lsblk -f from my old installation I can see that the ssd is not mounted to anything. I can mount the ssd with the old installation and see all my files. I just can't boot to the ssd. Any Ideas?
I have an Asus mobo and a Kingston ssd. Probably not relevant info but thought I would mention it just in-case.
Last edited by Mgrim (2013-03-08 05:42:47)

ls -l /dev/disk/by-partuuid/  output
lrwxrwxrwx 1 root root 10 Mar  4 15:12 0c20bfb2-b03b-467f-9faf-d8f7311027ec -> ../../sdb4
lrwxrwxrwx 1 root root 10 Mar  4 15:12 38362986-f8ad-416d-86eb-659f7e78f8c3 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Mar  4 15:12 628b4764-b385-4f6c-a92c-8c1ccc551e19 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Mar  4 15:12 82e01db0-b264-4555-910d-aa020bccb086 -> ../../sdb2
-not sure how to do this for sda drive
refind.conf
# refind.conf
# Configuration file for the rEFInd boot menu
# Timeout in seconds for the main menu screen. Setting the timeout to 0
# disables automatic booting (i.e., no timeout).
timeout 20
# Hide user interface elements for personal preference or to increase
# security:
# banner - the rEFInd title banner
# label - text label in the menu
# singleuser - remove the submenu options to boot Mac OS X in single-user
# or verbose modes; affects ONLY MacOS X
# hwtest - the submenu option to run Apple's hardware test
# arrows - scroll arrows on the OS selection tag line
# all - all of the above
#hideui singleuser
#hideui all
# Set the name of a subdirectory in which icons are stored. Icons must
# have the same names they have in the standard directory. The directory
# name is specified relative to the main rEFInd binary's directory. If
# an icon can't be found in the specified directory, an attempt is made
# to load it from the default directory; thus, you can replace just some
# icons in your own directory and rely on the default for others.
# Default is "icons".
#icons_dir myicons
# Use a custom title banner instead of the rEFInd icon and name. The file
# path is relative to the directory where refind.efi is located. The color
# in the top left corner of the image is used as the background color
# for the menu screens. Currently uncompressed BMP images with color
# depths of 24, 8, 4 or 1 bits are supported.
#banner hostname.bmp
# Custom images for the selection background. There is a big one (144 x 144)
# for the OS icons, and a small one (64 x 64) for the function icons in the
# second row. If only a small image is given, that one is also used for
# the big icons by stretching it in the middle. If only a big one is given,
# the built-in default will be used for the small icons.
# Like the banner option above, these options take a filename of an
# uncompressed BMP image file with a color depth of 24, 8, 4, or 1 bits.
#selection_big selection-big.bmp
#selection_small selection-small.bmp
# Use text mode only. When enabled, this option forces rEFInd into text mode.
#textonly
# Set the screen's video resolution. Pass this option two values,
# corresponding to the X and Y resolutions. Note that not all resolutions
# are supported. On UEFI systems, passing an incorrect value results in a
# message being shown on the screen to that effect, along with a list of
# supported modes. On EFI 1.x systems (e.g., Macintoshes), setting an
# incorrect mode silently fails. On both types of systems, setting an
# incorrect resolution results in the default resolution being used.
# A resolution of 1024x768 usually works, but higher values often don't.
# Default is "0 0" (use the system default resolution, usually 800x600).
#resolution 1024 768
# Launch specified OSes in graphics mode. By default, rEFInd switches
# to text mode and displays basic pre-launch information when launching
# all OSes except OS X. Using graphics mode can produce a more seamless
# transition, but displays no information, which can make matters
# difficult if you must debug a problem. Also, on at least one known
# computer, using graphics mode prevents a crash when using the Linux
# kernel's EFI stub loader. You can specify an empty list to boot all
# OSes in text mode.
# Valid options:
# osx - Mac OS X
# linux - A Linux kernel with EFI stub loader
# elilo - The ELILO boot loader
# grub - The GRUB (Legacy or 2) boot loader
# windows - Microsoft Windows
# Default value: osx
#use_graphics_for osx,linux
# Which non-bootloader tools to show on the tools line, and in what
# order to display them:
# shell - the EFI shell (requires external program; see rEFInd
# documentation for details)
# gptsync - the (dangerous) gptsync.efi utility (requires external
# program; see rEFInd documentation for details)
# apple_recovery - boots the Apple Recovery HD partition, if present
# mok_tool - makes available the Machine Owner Key (MOK) maintenance
# tool, MokManager.efi, used on Secure Boot systems
# about - an "about this program" option
# exit - a tag to exit from rEFInd
# shutdown - shuts down the computer (a bug causes this to reboot
# EFI systems)
# reboot - a tag to reboot the computer
# Default is shell,apple_recovery,mok_tool,about,shutdown,reboot
#showtools shell, mok_tool, about, reboot, exit
# Directories in which to search for EFI drivers. These drivers can
# provide filesystem support, give access to hard disks on plug-in
# controllers, etc. In most cases none are needed, but if you add
# EFI drivers and you want rEFInd to automatically load them, you
# should specify one or more paths here. rEFInd always scans the
# "drivers" and "drivers_{arch}" subdirectories of its own installation
# directory (where "{arch}" is your architecture code); this option
# specifies ADDITIONAL directories to scan.
# Default is to scan no additional directories for EFI drivers
#scan_driver_dirs EFI/tools/drivers,drivers
# Which types of boot loaders to search, and in what order to display them:
# internal - internal EFI disk-based boot loaders
# external - external EFI disk-based boot loaders
# optical - EFI optical discs (CD, DVD, etc.)
# hdbios - BIOS disk-based boot loaders
# biosexternal - BIOS external boot loaders (USB, eSATA, etc.)
# cd - BIOS optical-disc boot loaders
# manual - use stanzas later in this configuration file
# Note that the legacy BIOS options require firmware support, which is
# not present on all computers.
# On UEFI PCs, default is internal,external,optical,manual
# On Macs, default is internal,hdbios,external,biosexternal,optical,cd,manual
#scanfor internal,external,optical,manual
# Delay for the specified number of seconds before scanning disks.
# This can help some users who find that some of their disks
# (usually external or optical discs) aren't detected initially,
# but are detected after pressing Esc.
# The default is 0.
#scan_delay 5
# When scanning volumes for EFI boot loaders, rEFInd always looks for
# Mac OS X's and Microsoft Windows' boot loaders in their normal locations,
# and scans the root directory and every subdirectory of the /EFI directory
# for additional boot loaders, but it doesn't recurse into these directories.
# The also_scan_dirs token adds more directories to the scan list.
# Directories are specified relative to the volume's root directory. This
# option applies to ALL the volumes that rEFInd scans. If a specified
# directory doesn't exist, it's ignored (no error condition results).
# The default is to scan no additional directories.
#also_scan_dirs boot,EFI/linux/kernels
# Directories that should NOT be scanned for boot loaders. By default,
# rEFInd doesn't scan its own directory or the EFI/tools directory.
# You can "blacklist" additional directories with this option, which
# takes a list of directory names as options. You might do this to
# keep EFI/boot/bootx64.efi out of the menu if that's a duplicate of
# another boot loader or to exclude a directory that holds drivers
# or non-bootloader utilities provided by a hardware manufacturer. If
# a directory is listed both here and in also_scan_dirs, dont_scan_dirs
# takes precedence. Note that this blacklist applies to ALL the
# filesystems that rEFInd scans, not just the ESP.
#dont_scan_dirs EFI/boot,EFI/Dell
# Files that should NOT be included as EFI boot loaders (on the
# first line of the display). If you're using a boot loader that
# relies on support programs or drivers that are installed alongside
# the main binary or if you want to "blacklist" certain loaders by
# name rather than location, use this option. Note that this will
# NOT prevent certain binaries from showing up in the second-row
# set of tools. Most notably, MokManager.efi is in this blacklist,
# but will show up as a tool if present in certain directories. You
# can control the tools row with the showtools token.
# The default is shim.efi,MokManager.efi,TextMode.efi,ebounce.efi,GraphicsConsole.efi
#dont_scan_files shim.efi,MokManager.efi
# Scan for Linux kernels that lack a ".efi" filename extension. This is
# useful for better integration with Linux distributions that provide
# kernels with EFI stub loaders but that don't give those kernels filenames
# that end in ".efi", particularly if the kernels are stored on a
# filesystem that the EFI can read. When uncommented, this option causes
# all files in scanned directories with names that begin with "vmlinuz"
# or "bzImage" to be included as loaders, even if they lack ".efi"
# extensions. The drawback to this option is that it can pick up kernels
# that lack EFI stub loader support and other files. Most notably, if you
# want to give a kernel a custom icon by placing an icon with the kernel's
# filename but a ".icns" extension in the same directory as the kernel, this
# option will cause the icon file to show up as a non-functional loader tag.
# Default is to NOT scan for kernels without ".efi" extensions.
scan_all_linux_kernels
# Set the maximum number of tags that can be displayed on the screen at
# any time. If more loaders are discovered than this value, rEFInd shows
# a subset in a scrolling list. If this value is set too high for the
# screen to handle, it's reduced to the value that the screen can manage.
# If this value is set to 0 (the default), it's adjusted to the number
# that the screen can handle.
#max_tags 0
# Set the default menu selection. The available arguments match the
# keyboard accelerators available within rEFInd. You may select the
# default loader using:
# - A digit between 1 and 9, in which case the Nth loader in the menu
# will be the default.
# - Any substring that corresponds to a portion of the loader's title
# (usually the OS's name or boot loader's path).
#default_selection 1
# Sample manual configuration stanzas. Each begins with the "menuentry"
# keyword followed by a name that's to appear in the menu (use quotes
# if you want the name to contain a space) and an open curly brace
# ("{"). Each entry ends with a close curly brace ("}"). Common
# keywords within each stanza include:
# volume - identifies the filesystem from which subsequent files
# are loaded. You can specify the volume by label or by
# a number followed by a colon (as in "0:" for the first
# filesystem or "1:" for the second).
# loader - identifies the boot loader file
# initrd - Specifies an initial RAM disk file
# icon - specifies a custom boot loader icon
# ostype - OS type code to determine boot options available by
# pressing Insert. Valid values are "MacOS", "Linux",
# "Windows", and "XOM". Case-sensitive.
# graphics - set to "on" to enable graphics-mode boot (useful
# mainly for MacOS) or "off" for text-mode boot.
# Default is auto-detected from loader filename.
# options - sets options to be passed to the boot loader; use
# quotes if more than one option should be passed or
# if any options use characters that might be changed
# by rEFInd parsing procedures (=, /, #, or tab).
# disabled - use alone or set to "yes" to disable this entry.
# Note that you can use either DOS/Windows/EFI-style backslashes (\)
# or Unix-style forward slashes (/) as directory separators. Either
# way, all file references are on the ESP from which rEFInd was
# launched.
# Use of quotes around parameters causes them to be interpreted as
# one keyword, and for parsing of special characters (spaces, =, /,
# and #) to be disabled. This is useful mainly with the "options"
# keyword. Use of quotes around parameters that specify filenames is
# permissible, but you must then use backslashes instead of slashes,
# except when you must pass a forward slash to the loader, as when
# passing a root= option to a Linux kernel.
# Below are several sample boot stanzas. All are disabled by default.
# Find one similar to what you need, copy it, remove the "disabled" line,
# and adjust the entries to suit your needs.
# A sample entry for a Linux 3.3 kernel with its new EFI boot stub
# support on a filesystem called "KERNELS". This entry includes
# Linux-specific boot options and specification of an initial RAM disk.
# Note uses of Linux-style forward slashes, even in the initrd
# specification. Also note that a leading slash is optional in file
# specifications.
menuentry Linux {
icon EFI/refind/icons/os_linux.icns
volume KERNELS
loader bzImage-3.3.0-rc7
initrd initrd-3.3.0.img
options "ro root=UUID=5f96cafa-e0a7-4057-b18f-fa709db5b837"
disabled
# A sample entry for loading Ubuntu using its standard name for
# its GRUB 2 boot loader. Note uses of Linux-style forward slashes
menuentry Ubuntu {
loader /EFI/ubuntu/grubx64.efi
icon /EFI/refined/icons/os_linux.icns
disabled
# A minimal ELILO entry, which probably offers nothing that
# auto-detection can't accomplish.
menuentry "ELILO" {
loader \EFI\elilo\elilo.efi
disabled
# Like the ELILO entry, this one offers nothing that auto-detection
# can't do; but you might use it if you want to disable auto-detection
# but still boot Windows....
menuentry "Windows 7" {
loader \EFI\Microsoft\Boot\bootmgfw.efi
disabled
# EFI shells are programs just like boot loaders, and can be
# launched in the same way. You can pass a shell the name of a
# script that it's to run on the "options" line. The script
# could initialize hardware and then launch an OS, or it could
# do something entirely different.
menuentry "Windows via shell script" {
icon \EFI\refind\icons\os_win.icns
loader \EFI\tools\shell.efi
options "fs0:\EFI\tools\launch_windows.nsh"
disabled
# Mac OS is normally detected and run automatically; however,
# if you want to do something unusual, a manual boot stanza may
# be the way to do it. This one does nothing very unusual, but
# it may serve as a starting point. Note that you'll almost
# certainly need to change the "volume" line for this example
# to work.
menuentry "My Mac OS X" {
icon \EFI\refind\icons\os_mac.icns
volume "OS X boot"
loader \System\Library\CoreServices\boot.efi
disabled
Last edited by Mgrim (2013-03-05 16:07:44)

Similar Messages

  • [SOLVED] UEFI installation - booting failure

    Hi All,
    Setting in BIOS: UEFI boot mode, Secure Boot Off
    Booting from USB in UEFI mode, everything is OK. Then I did this:
    gdisk /dev/sda
    create new GPT partition
    cgdisk /dev/sda
    Part. # Size Partition Type Partition Name
    1007.0 KiB free space
    1 512 Mb EFI system efi
    2 6 GiB Linux filesystem root
    3 122 GiB Linux filesystem home
    mkfs.vfat -F32 -n efi /dev/sda1
    mkfs.ext4 /dev/sda2
    mkfs.ext4 /dev/sda3
    mkdir -p /mnt/boot/efi
    mount /dev/sda1 /mnt/boot/efi
    mount /dev/sda2 /mnt
    mkdir -p /mnt/home
    mount /dev/sda3 /mnt/home
    Then I followed the installation guide. At the "Install a bootloader" section I tried both EFISTUB and GRUB:.
    At Point 5 here https://wiki.archlinux.org/index.php/Beginners'_Guide#EFISTUB I created refind_linux.conf with sdax = sda2
    # nano /boot/efi/EFI/arch/refind_linux.conf
    "Boot to X" "root=/dev/sda2 ro rootfstype=ext4 systemd.unit=graphical.target"
    "Boot to console" "root=/dev/sda2 ro rootfstype=ext4 systemd.unit=multi-user.target"
    and at Point 6 X=a, Y=1:
    # efibootmgr -c -d /dev/sda -p 1 -w -L "rEFInd" -l '\EFI\refind\refind_x64.efi'
    GRUB is quite straightforward.
    After restart I got "no bootable device" error. The strange thing is that in BIOS I can see and select "rEFInd" or "arch_grub" in booting options, but anyhow it just won't boot.
    Thank you for your help.
    Last edited by totolotto (2013-06-22 17:33:39)

    totolotto wrote:rEFInd boot manager shows 2 Arch logos:
    1) Boot EFI\arch\vmlinuz.efi from 512 MiB FAT volume
    2) Boot boot\vmlinuz-linux from 6 GiB ext4 volume
    This means that you've got your kernel (or possibly different kernels) stored on two partitions. The first looks like it's a kernel on your ESP, and the second looks like it's your root (/) Linux filesystem, accessed via the rEFInd ext4fs driver. To simplify your life, I recommend deleting the kernel from the ESP and using the kernel in your Linux /boot directory (that is, kernel #2). If you try to keep both of them, you'll have to copy new kernels from /boot to the ESP whenever you upgrade your kernel, and you'll end up with two entries in rEFInd that boot the same kernel, which is sort of pointless.
    That said, if you don't want to use rEFInd in the long term, copying your kernels to the ESP, or reconfiguring your mount point so that the ESP is mounted at /boot and therefore your kernels get stored there automatically, can make sense. Given where you are, though, the quickest path to an efficient setup is to just ditch the kernels on the ESP and boot your kernels off of your root (/) partition's /boot directory.
    totolotto wrote:With regard to "boot into Arch directly" I understand that it is possilbe with efibootmgr described here, however efrbootmgr does not work for me
    Some people do like to boot their kernels directly, without using rEFInd, gummiboot, GRUB, or anything else. Note that efibootmgr isn't involved in the boot process per se; it's just used to set up the firmware's boot manager. Thus, saying you want to "boot with efibootmgr" (or words to that effect) is confusing, even to experts -- because this makes no sense, it's not clear what you really want. This uncertainty has been cleared up in subsequent posts, but I want to point it out to help you (and perhaps others who read this) communicate more clearly in the future.
    FWIW, I tend to agree with WonderWoofy on this score -- although it's possible to configure the firmware to boot the kernel directly, the down sides to this approach more than outweigh whatever small speed benefits you get from it. In your case, totolotto, given the problems you're having with efibootmgr, it may not be a practical alternative -- at least, not unless and until you can overcome those problems.
    WonderWoofy wrote: I think a better option would be to give rEFInd a timeout of zero.  I believe there is a key (or keys?) that you can hold down to have the menu show up when the timeout is set to zero.  This is how gummiboot works anyway,
    rEFInd doesn't have a 0-timeout option. In rEFInd, setting the timeout to 0 disables the countdown timer, so it never times out. The closest you can get to a 0-timeout in rEFInd is setting it to 1 second. If you must have a true 0 timeout, use gummiboot. Unfortunately, that means you won't be able to read the kernel files from a Linux filesystem, but mounting the ESP at /boot can create something that works about as well. Doing this will require some significant reconfiguration from where totolotto is now, but it can be done if getting a 0-timeout configuration is important.

  • [SOLVED] Wiki page for GPT disks and booting arch using UEFI

    Hi guys, I am new to archlinux. I installed archlinux x86_64 just yesterday and I like its customisability. I also like arch wiki. Nowhere else have I seen such extensive documentation, especially about things like HAL, UDEV etc. with proper instructions. Thanks to all archers.
    I have installed Archlinux x86_64 in my Dell India Studio 1537 laptop along with Windows 7 Professional x64. Both the OSes boot in UEFI-GPT setup (my UEFI is tianocore.sourceforge.net EDK DUET UEFI64 firmware booting from USB). I boot Archlinux using my own compiled grub2-bzr compiled for both BIOS and UEFI-x64. I have a 1 MB BIOS Boot Partition as required by grub2 for BIOS-GPT booting. My Archlinux system can boot both from bios and from uefi, while Windows can boot only using UEFI.
    The official Archlinux installation guide talks about only MBR (or msdos disklabel) partitions and booting from BIOS based systems. With 2TB drives becoming common place and UEFI being implemented (search for Phoenix SecureCore Tiano's 1 second POST operation), I think a proper wiki page describing differences between MBR and GPT, why GPT is better, how to setup arch to boot from GPT. Another page describing steps to setup arch to boot from UEFI (either as a separate page or as an extension of GRUB2 wiki page) is also needed.
    Some details regarding Pure GPT (not a Hybrid GPT/MBR setup) and/or UEFI setups :-
    Partitioning tools -
    GNU Parted for filesystem related tasks
    GPT fdisk tool - http://rodsbooks.com/gdisk/ , http://sourceforge.net/projects/gptfdisk/ ,  pacman -S gdisk (in extra repo) - for non-filesystem related tasks
    util-linux-ng fdisk does not support GPT disks
    Bootloader - GRUB2 - vanilla grub-legacy does not support GPT and does not support UEFI (Fedora's patched grub-legacy does support both GPT and UEFI) and syslinux does not support GPT (I may be wrong here - seems a gptmbr of syslinux does help in booting from gpt but not sure).
    For GRUB2 - Need BIOS Boot Partition to embed GRUB2's core.img in GPT disks - size about 1 MB max - no filesystem
    In GPT fdisk partition type code - EF02
    In GNU Parted or GParted - bios_grub flag on
    For UEFI-GPT booting this special partition is not needed as no embedding takes place. This is needed only in case of BIOS-GPT booting.
    Incase of custom kernel configuration - enable CONFIG_EFI_PARTITION for GPT support
                                                                        CONFIG_EFI for UEFI support (for UEFI even above option required)
                                                                        CONFIG_EFI_VARS for UEFI Runtime Variables support (optional)
    Note: Although GPT is part of UEFI specification, a UEFI system is not needed to boot from/use GPT. BIOS based GPT booting is possible with GRUB2 or Fedora's patched grub-legacy (but not vanilla grub-legacy provided by archlinux). It is also possible to boot Linux in UEFI-MBR setup (again using grub2) but I have not tried it.
    Even without UEFI and less than 2TB harddrives, GPT based partitioning has many advantages - secondary GPT header and Partition table, CRC32 checksums. Unique Disk GUID and Filesystem-independent Unique Partition GUIDs, multiple primary partitions (default is 128 partitions, but it can be changed). The only problamatic OS is Windows which does not allow GPT booing unless one has UEFI based system. It allows only UEFI-GPT or BIOS-MBR setups. In linux it just depends on how the bootloader is configured - not a problem with grub2.
    I also propose that incase of Auto-prepare Hard Drive, the installer default to GPT for "archlinux only" installs ( ie no dual-boot or triple-boot etc.).
    I did not use the official archlinux iso but used archboot 2010.04 R3 as it gave an option of installing to GPT and also provided GRUB2 during bootloader install. I have never edited any wiki page before, thats why I request some one else to start a wiki page with the information given above.
    I don't know whether this is the right place, but any Windows (Vista or 7 x64 versions) and Linux dual-boot user who has UEFI-based system with GPT partitioning and wants to get rid of Hybrid MBR setup (to boot Windows) can follow this post http://www.insanelymac.com/forum/lofive … hp/t186440 (outside this forum) - this link describes the way to make Windows boot natively in UEFI-GPT setup. After doing this one can install arch using GRUB2 compiled for UEFI x86_64, and Windows will also see
    Last edited by skodabenz (2011-01-30 19:32:48)

    Welcome to arch, skodabenz! Offering documentation on third post - all thumbs up
    You could start the wiki page in your user-space with what you have, and then invite others to join working on it. Just register a wiki account, navigate to the page you want to start, for example:
    http://wiki.archlinux.org/index.php/User:skodabenz/GPT
    and click on "edit this page".
    As noted in the other thread, arch's legacy grub is patched for gpt support. I don't know about UEFI, but you can always open a bug report asking for the patches from fedora to be included.
    edit: the page from Rod Smith is a great resource. I was absolutely terrified at first by all this screwed up GPT/MBR stuff when I tried triple-booting Arch, Win and OS x, but he really does a great job explaining what it is all about.
    Last edited by hokasch (2010-05-21 15:44:08)

  • [SOLVED] UEFI system booting from MBR partition table and GRUB legacy

    I'm trying to understand once and for all the process by which Arch can be booted from a system with UEFI firmware and an MBR partition table. Some of the information on the wiki seems conflictual / non-nonsensical at times. Apologies in advance if this has been answered time and time again, but I did search around and all I found was fixes to get Arch to boot rather than comprehensive explanations of the boot process.
    Now, the way I would imagine it works is that it's just completely identical to the way it would work with a BIOS firmware. The UEFI firmware detects an MBR partitioning scheme (or is configured to know it's an MBR partitioning scheme), activates some "legacy" mode and executes the MBR boot code, just like a BIOS firmware would.
    The wiki however, says different. From the Macbook article: "Do not install GRUB onto /dev/sda !!! Doing so is likely to lead to an unstable post-environment."?
    So what is there in the MBR boot sector? Nothing?
    How does the firmware know what to boot if there's no 0xEF BIOS boot partition and no Grub stage 1 in the MBR boot sector?
    Also, how does installing Grub stage 1 to a partition work? Does it have to be at the beginning of the partition? Wouldn't that overwrite some existing data?
    I'm especially puzzled since many guides to installing Vista on a macbook recommend simply formatting as MBR, and installing as normal, which I suppose entails having the Windows installation process write its boot code to the MBR, ie the equivalent of installing grub stage 1 to /dev/sda rather than to the /boot partition, as the Macbook article suggests.
    Any input is appreciated.
    P.S. I realize it's probably simpler, if I just want to dual boot Windows and Arch, to install Windows 7 in UEFI-GPT mode, let it create the EFI System Partition, and then install GRUB 2 to that partition, but I'm still curious about the UEFI-MBR boot process.
    Last edited by padavoine (2012-06-06 09:35:10)

    padavoine wrote:
    CSM in UEFI firmwares do the exact same job as normal BIOS firmware.
    So it's something specific to the Mac that it's able to boot from a partition's VBR while ignoring the MBR?
    The reason that warning is given is because grub-legacy modifies more than just the MBR boot code region.  It can overwrite some parts of GPT header.
    Not true, the instruction is given in the context of an MBR format, not in the context of a GPT format, so there's nothing to overwrite and Stage 1.5 should be safely embeddable in the post-MBR gap.
    In BIOS boot (normal case in non-UEFI firmwares or CSM in UEFI firmwares) does not read the partitition table (atleast it is supposed to be dumb in this regard), it simply launches whatever boot code exists in the 1st 440-byte of the MBR region.
    So again, you're saying it's specific to the Mac UEFI that it lets you choose a partition whose VBR to load, regardless of what's in the MBR?
    I haven't used Macs so I can't comment on Mac firmware behaviour. But normal BIOS firmwares (legacy and CSM) launch only the MBR boot code and not the partition boot code. We need some chainload capable boot manager in the MBR to launch the partition VBR.
    grub-legacy does not know anything about GPT. So when you install grub-legacy to /dev/sda, it install the MBR boot code (stage1) and stage 1.5 code to the (supposed) post MBR gap. Since there is no actual post MBR gap in GPT (which has been taken over by the header and partition table), grub-legacy does not check for GPT and it assumes the post MBR gap actually exists which is invalid in case of GPT. grub-legacy embeds the stage 1.5 code in GPT header and table region (which grub assumes to be unused post MBR gap) and thus corrupts it.
    0xEF is the MBR type code for UEFISYS partition. grub stage 1 (used in grub-legacy, not in grub2) is the 440-byte boot code stored in MBR for use in BIOS boot.
    That's precisely my point: with neither proper executable code in the MBR (since grub was installed to a partition, not to the MBR) nor a UEFI system partition, what does the firmware default to, and how does it know what partition to boot from?
    In that case it might fallback to UEFI Shell (if it exists)  or give an error similar to the case where BIOS does not find any bootable code in 440-byte MBR region.
    So even with bootcamp/CSM, the disk also needs to be MBR partitioned. So Macs use something called "Hybrid GPT/MBR" ( http://rodsbooks.com/gdisk/hybrid.html ) where the MBR table is synced to match the first 3 partitions in the GPT table.
    I know what Bootcamp does, and that's not what I was referring to. I was referring to standalone Vista installs. I wasn't puzzled at the fact that they were using MBR, I was puzzled at the fact that contrary to the recommendations for the standalone Arch install on the wiki (with MBR partitioning, not GPT), they didn't do anything to try and prevent Windows from writing to the MBR.
    You can't prevent Windows from overwriting the MBR region. You have to re-install the bootloader (grub2/syslinux etc.) after installing Windows. That is the reason why it is recommended to install Windows first and linux later.
    Thats not true. I actually find it is much easier to install Windows UEFI-GPT using USB rather than a DVD.
    I haven't done it since the only UEFI system I own has no DVD drive, but I was under the impression that it was simply a matter of choosing DVD UEFI boot in the firmware's boot menu.
    format the USB as FAT32 and extract the iso to it. That it.
    No, thats not it, precisely, it doesn't work out of the box with a standard Windows install USB, you need to fiddle around:
    2.3 Extract bootmgfw.efi from [WINDOWS_x86_64_ISO]/sources/install.wim => [INSTALL.WIM]/1/Windows/Boot/EFI/bootmgfw.efi (using 7-zip aka p7zip for both the files), or copy it from C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.
    2.4 Copy the extracted bootmgfw.efi file to [MOUNTPOINT]/efi/microsoft/boot/bootmgfw.efi .
    Most of the Windows isos already have /EFI/BOOT/BOOTX64.EFI file, so no need to extract the bootmgfw.efi file.
    There is no difference between in BIOS booting in UEFI firmwares and BIOS booting with legacy firmware.
    There has to be a difference, at least in the Mac firmware (sorry, I keep switching), since legacy firmware, AFAIK, cannot chainload a bootloader in a partition's VBR without there being some sort of "stage1" code in the MBR.
    No idea about Mac EFI. Apple made a spagetti out of UEFI Spec. To actually understand how Mac firmwares work, read the blog posts by Matthew Garrett of Redhat, about his efforts in getting Fedora to boot in Macs.

  • Solaris 11 host no longer sees a ZyXEL wifi network router

    This issue is on a Toshiba Tecra M10 running Oracle Solaris 11.1 SRU 0.5.11-0.175.1.0.0.24.2
    The once functional wifi network iwh0 (net1) no longer sees a ZyXEL NBG-416N wifi network router.
    The e1000g (net0) can connect to the router when direct connected via TP ethernet cable from the laptop wired ethernet port.
    There are other wifi networks visible from iwh0 (net1) when the command 'dladm scan-wifi' is run.
    When attempting to connect with the 'dladm connect-wifi' command (I know the command is good I recall it from the shell command history) .. I get "no wifi networks with the specified criteria are available"
    The laptop is able to connect to one of the other wifi routers over this interface however not my own router (which appears to no longer be visible from Solaris 11.1).
    I am able to connect to it from an HTC mobile phone and a Windows 7 laptop.
    Removed wifi cache file /system/volatile/dladm/network-datalink-management:default.cache.0 and rebooted. No joy.
    If I boot from the Solaris 11 DVD, I can still not see the expected wifi router.
    At this point I am suspecting the ethernet address of the M10 iwh0 (net1) interface.
    'dladm show-phys -m' lists the interface ethernet mac addresses (even if not plumbed).
    Connected to the router (from alternative system, over wifi) and looked around. Noted the logs had a messages "possible DNS-rebind attack detected: a-0.19-*8d9zff4tq7njzcj.avts.mcafee.com" that seemed to start about the time I lost sight of the network? Can no longer say for sure as I restarted the router and it seems to have lost those log entries.
    Contacted the ISP who provided the ADSL/router for use with their FTTC service offering - they are not aware of any 'protection mechanism' on the router that might mask a misbehaving mac-address.
    Tried changing the mac-address on the iwh interface with 'dladm set-linkprop -p mac-address=06:05:04:03:02 net1' and ran 'dladm scan-wifi' without success (then reboot with 'init 5') resets to original but after reconfiguring again -still not available.
    If anyone can help .. perhaps having seen something like this and solved it .. or even simply help with better troubleshooting, please advise.

    Okay .. I changed the routers 'channel selection' from 13 to 7 and this wifi router network ESSID is again visible to the Solaris 11 instance. I expect the other OS's cater for this a little more elegantly?
    ~ # dladm show-linkprop net1 | grep -i channel
    net1     channel             r-   7            --           --
    ~ #
    It seems the channel property wont be visible unless there is a connection (I suppose obviously).
    I expect another router has moved into the radius close enough to interfere?

  • MacBook Air No Longer Sees Remote External Drive

    I have an iMac with a FW800 connected external hard drive. I use it for Time Machine backups. Also use an Airport Extreme for wireless connection. My MacBook Air at one time was able to "see" that external drive via the Airport and I used it to backup the laptop with Time Machine. Now, all of a sudden, the MBA no longer sees the external drive. What has happened? I use the MBA only occasionally, and told Time Machine to backup only when I tell it to. So, LOTS probably has changed since the last backup. But, what change has broken this connection? My iMac sees it just fine and does Time Machine backups just fine. When I want to share the DVD drive of the iMac, that works as it should. I just can't see that dang external drive any longer. Both machines are at 10.5.6
    Can you folks give me some places to start looking to get things working again?

    Does the time machine volume meet the requirements?
    -internal drive, not start up disk
    -XSAN volume
    -USB drive
    -fire wire drive
    -eSATA drive
    -network server via AFP (from machines running Leopard), including machines running file sharing
    the volume must be formated as Mac OS Extended or Mac OS Extended (case-sensitive)
    You can't use:
    -Boot Camp partition
    -iPod
    -disk image
    -AirPort Disk
    -iDisk

  • My old PowerPC G4 no longer sees any wireless networks

    My old PowerPC G4 no longer sees any wireless networks. The PowerPC and my new iMac was powered off for a week. When I powered them on, the iMac found the usual wireless networks that are seen around here but the PowerPC did not see ANY! Even though they sit next to each other!! The G4 worked fine before and was connected to the internet.
    The G4 has an AirPort card in it and IS enabled. Is the problem with the card (how do I verify?) or did something get turned off on the re-boot?
    BTW the AirPort card does shows up in the system info and has firmware version 9.52 but states that "wireless network not available" under the Current Wireless Network.
    How do I fix this?
    Please Help!

    As this is an old G4, I presume you have a PCI network card.
    I had a similar problem on my son's old G4. After a lot of messing around thinking it was a software problem, I discovered that the antenna was damaged and did not make a good connection to the card. I could get it to work intermittently by pushing it on. The solution was to buy a new card.
    So try manipulating the antenna connection at the back of your mac to see if you can get a signal.

  • I have a Tritton TRI-BC200 hands free device that my iPhone 5 no longer "sees" on Bluetooth, so, I cannot pair the device. Anyone have a suggestion? Tritton no longer supports the device.

    I have a Tritton TRI-BC200 hands free device that my iPhone 5 no longer "sees" on Bluetooth, so, I cannot pair the device. Anyone have a suggestion? Tritton no longer supports the device.

    I had this problem and what I did was: read the user manual. I was actually using the wrong buttons to put the Tri-BC200 on pairing mode. I also boot my I phone. Everything worked OK. Regards.

  • ITunes no longer sees my iPad device

    Every now and again iTunes ceases to recognose my iPad. I use an iMac, iPad, old MacBook and have Apple TV and Time Capsule.
    I set a reminder in Calendar to sync/backup my iPad every week with my iMac but every so often, it just doesn't work. I haven't changed the settings but there's no Device listed in the sidebar and it's greyed out as an option in the dropdown menu. There's no summary button either.
    I'm very nervous about rebooting stuff because I don't want to lose what I've got.

    I have the same issue, I set my iPad2 to sync over wifi - but the PC now no longer sees it, and the only answer I've seen on the boards is to plug the iPad in via a USB cable and uncheck the box for wireless syncing... but... it's not recognizing the iPad via USB either, simply as a camera device.
    ... you can see the problem here, I'm sure :-)
    If it isn't recognized, I don't ever see the iPad in my iTunes in order to turn off wifi sync - and on the iPad itself there is no visible way to switch it back either
    Any ideas?

  • MacBook Pro doesn't wake if left asleep too long; sleeps immediately after boot; SMC Reset / NV Reset only temporary fix

    I've tried hard to find someone else with these symptoms, and nobody seems to have a complete answer.
    After upgrading my 2008 MacBook Pro to OSX Lion, these problems began.
    Whenever I leave the lid closed for too long - not entirely sure how long, but the longer I leave it the more likely this is to happen - it refuses to wake when I open the lid. The power light will brighten, as if it were about to wake, and sometimes the screen will flash, but then it will all go black, power light and all.
    At this point I press the power button, and the power light briefly flashes, and then the macbook seems to 'really' turn itself off.
    Then I press the power button again, and it begins to boot. I enter my FileVault 2 password, and the apple logo and spinner appear, but as soon as the graphics driver kicks in (or whatever it is - the point when the shades of grey suddenly change and the brightness automatically adjusts) suddenly the mac goes straight to sleep immediately, and we're back to the same symptom as before.
    It will do this repeatedly through a 2nd, 3rd, etc power cycle.
    Resetting the SMC doesn't seem to help.
    I have managed to get the macbook to boot normally by clearing the NV Ram, and also by booting into single user mode and immediately shutting down and rebooting. But this does not solve the problem, it merely lets me boot one more time.
    Any thoughts appreciated, it's driving me mad, not to mention losing me work.

    Anyone? Is there really nobody else who's seen similar symptoms?
    I'm still experiencing this. I've discovered that booting into Recovery Mode usually works first time, but this doesn't help with my wake-up-from-sleep problem.

  • [SOLVED] What is exactly GIGABYTE UEFI DualBIOS?

    Hi!! I'm going to buy a new PC and the GA-H87-HD3 (http://www.gigabyte.us/products/product … id=4516#sp) will be my new motherboard. My doubt is how exactly I have to install Arch on it, because it brings GIGABYTE UEFI DualBIOS™. It's that a UEFi or a BIOS motherboard? I know it maybe is a silly question but I'm a dummy with hardware, and with that name I have became confused.
    Should I install the UEFI + GPT way, or the BIOS + MBR one?
    Last edited by logos88 (2013-10-01 05:27:40)

    I have a UEFI DualBIOS Gigabyte board. It's UEFI. The "DualBIOS" bit means what headkase mentioned, there's a second chip on the board containing a backup of the UEFI firmware. The reason they call it DualBIOS is because it's their trademark - they've had this feature of a backup chip already in the old BIOS days.
    However, like many UEFI boards, this one has a BIOS compatibility mode - the built-in boot menu shows two entries for each device, one prefixed with UEFI and one without. So it's up to you what to use: create a GPT disk with an EFI partition and put an EFI boot manager there (gummiboot is very nice), or create a MBR disk and boot it in BIOS compatibility mode using a classic bootloader. Since it's an UEFI board, you might as well go with that.

  • My G4 Mini no longer sees the optical drive....?

    Hello,
    Thanks for looking. I have a Mini that no longer sees any optical drive I install. It's an Apple OEM superdrive that the system profiler does not see, nor will any disc mount. I've tried and Apple OEM combo drive too. I'vre reset the PMU and done a "pram" reset too. External DVD-R drive works.. but nothing internally.
    Thanks for any help.
    Dave

    DaddyPaycheck, thankyou for the reply. It appears there might be some physical damage which worries me. But what perplexis me is that the drive receives power... it takes the disk (won't eject it.. even on restart, but it takes the disc), and when I boot into open firmware, I get "unable to eject the drive volume"... or something like that... The point being that it appears to believe that there is a drive, but doesn't know what to do with it.
    That being said...it still won't recognize in the ATA of the system profiler.
    Dave

  • PCS no longer sees Bluetooth Widcomm driver

    Hi
    I have a 6230i and a Safecom BT dongle using the Widcomm 1.4.2 build 10 BT driver s/w on Vista.
    This all used to work OK, but after installing PCS v6.85.14.1, the Nokia Connection Manager now no longer shows the Bluetooth (Widcomm) option - just the Bluetooth (Microsoft) option. If I try to check the MS option, I get the "Cannot use the connection type ... Code (OpenMedia)" error.
    I've tried all sorts of repairing and uninstalling BT & PCS s/w but to no avail.
    Any ideas why PCS no longer seems to recognise the Widcomm BT driver?

    Hi,
    i have the same exact problem, i used to have the old version of nokia pc suite which worked fine. but one day i updted the suite and then the connection manager failed to recognize the widcomm driver..i tried everything .. uninstalling and reinstalling the suite, the driver everything. notice that the ms bluetooth places can see the mobile and connect to it .. but i need to sync my calender through ms outlook.
    i have posted my problem /discussions/board/message?board.id=connectivity&t​hread.id=13360
    but no reply at all .. i believe its a bug in the nokia pc suite.
    good luck

  • Iphoto on ipad no longer sees my photostream since IOS 7 upgrade

    iPhoto on my ipad no longer sees my photostream in the albums page of the iPhoto app since IOS 7 upgrade??
    I can see my photostream and shared photostreams in the ordinary Apple photo app on the iPad. Prior to IOS 7, all these photostreams were visible in the iPhoto app's albums page. What has changed? Its' most annoying as I was relying on my photostream in the iPhoto app as my source of photos for my journals.
    Any suggestions please???

    I've just had a long chat with Applecare in Colorado. Very helpful they were.
    I can confirm that the "new" IOS 7 version of iPhoto app on all IOS devises does not support your my photostream nor any of your pre IOS 7 upgrade shared photostreams.
    Any new post IOS 7 upgrade shared photostreams will be visible in the iphoto app. I have tested it and it works fine. But all your pre IOS 7 shared photostreams and existing my photostream remain invisible to post IOS 7 iPhoto app.
    This "improvement" to iPhoto on IOS devises is now a lame duck. Why ! I'm now on the lookout for a better photo journalling app for my iPad.

  • My Apple TV no longer sees my MacBook Pro / Itunes Library.

    My Apple TV no longer sees my MacBook Pro / Itunes Library.  Apple TV tells me to turn on Home Sharing on my computer, which I have.
    Also:
    1. All other ATV connections are working (Netflix, movie previews, etc.)
    2. I have all the latest updates for ATV and Itunes
    3. Home sharing is turned on for both ATV and MacBook Pro Itunes
    4. I am correctly logged in to my Itunes account on both ATV, and Itunes on the MacBook Pro
    5. Everything had been working perfectly for approximately one year until yesterday.
    I'm not sure what to try next.
    Thanks.

    Thanks.  I just closed Itunes, came back today to check it out and the pull down menu with "Computer" or "Apple TV" was inexplicably back again and everything now works.  I had tried restarting Itunes, the modem, and router before with no luck.  Anyway, it's magically working.
    Thanks.
    KGEye

Maybe you are looking for