[SOLVED] UEFI Windows 7 And ArchLinux

Hey guys
I had installed Windows 7 beside Arch Linux as legacy mode and everything was okay.
But now I decide to install them as UEFI mode.
When I converted my HDD to GPT, Windows created a 128MiB FAT32 Partition for itself.
Am I supposed to create any other partition for EFI boot?
Thanks
Last edited by Known (2013-06-04 08:55:40)

re: ESP
Known wrote:And one more question: Is it better to extend it to 512MiB?
In theory, a smallish ESP is sufficient unless you're storing big files on it (say, several Linux kernels and initrds). In practice, some people have reported problems with FAT32 ESPs smaller than 512MiB. It seems that some EFIs have buggy or finicky FAT drivers that can fail to see files or otherwise misbehave on FAT32 partitions smaller than 512MiB. If you run into that problem, you'll have to either expand the ESP or convert it to FAT16. Note, however, that the EFI spec is explicit in saying that the ESP should be FAT32, not FAT16, and the Windows installer tends to flake out if it sees a FAT16 ESP. Thus, an ESP of 512MiB or larger (I recommend more like 550MiB because of issues of the default FAT size in mkdosfs and the potential for MiB vs. MB confusions) is best if you're starting from scratch. A smaller ESP does work for many people, though.

Similar Messages

  • UEFI + GPT + SSD + HDD, partition layout for windows and archlinux

    Hi,
    I have got new computer based on UEFI. It has one ssd and one hdd. I would like to install windows 7 64bit and archlinux, both disks GPT partitioned.
    I would like to do it this way:
    SSD:
    /dev/sda1 - UEFI partition
    /dev/sda2 - windows system
    HDD:
    /dev/sdb1 - windows data
    /dev/sdb2 - /
    /dev/sdb3 - /home
    /dev/sdb4 - swap
    my question is: where should I put /boot partition? Should it be on SSD or HDD? Will placing /boot partition on SSD make bootup faster?

    I don't use a separate /boot partition. In my opinion, that's only needed if you boot multiple operating systems (ie. more than 2), because it can help with not having to worry about reinstalling the bootloader if you ever decide to reinstall one of them or replace it with something else. Some people cringe at the thought of not having a bootloader to get into a pretty GUI where they can click stuff. But it's really not that difficult to boot a "live" Linux distribution from a USB stick, chroot and reinstall the bootloader. I mean, you are using Arch. Using the command line should be a cinch.

  • [SOLVE] Dual Boot Windows and ArchLinux with Syslinux

    Ok, i installed ArchLinux on my laptop with Windows XP (syslinux) and I cannot find get Windows to boot or mount it. I have tried to do what i can to do this but cannot. I Installed XP first like a should and something i think might be needed to know is after i created the partitions scheme (10Gb (boot partition), 50GB (XP), 80GB(was unallocated)). The installation disk formated both 2 partitions in NTFS but i installed XP on the second and Windows reported them as C and D drives. Windows being D. Thought that was bit werid thinking Windows installed the mbr on that partition. When I installed ArchLinux, it did have the boot flag set on 10GB (or C drive).
    Since I installed ArchLinux, I have been unable to find a solution to mounting/booting to Windows. Installed NTFS-3G and that didn't work when i tried mount /dev/sda3 windows and i did created a folder named windows but got ...
    mount: wrong fs type, bad option, bad superblock on /dev/sda3,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so.
    Tried dmesg | tail and got
    [ 76.524133] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
    [ 179.468499] ACPI: \_SB_.PCI0.LPC0.ACAD: ACPI_NOTIFY_DEVICE_CHECK event: unsupported
    [ 705.472330] 8139too 0000:02:03.0 enp2s3: link down
    [ 717.380879] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 726.447184] 8139too 0000:02:03.0 enp2s3: link down
    [ 727.596128] ACPI: \_SB_.PCI0.LPC0.ACAD: ACPI_NOTIFY_BUS_CHECK event: unsupported
    [ 732.616138] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 733.848832] 8139too 0000:02:03.0 enp2s3: link down
    [ 834.062062] 8139too 0000:02:03.0 enp2s3: link up, 100Mbps, full-duplex, lpa 0x41E1
    [ 2131.449211] perf samples too long (2534 > 2500), lowering kernel.perf_event_max_sample_rate to 50100
    This is when i run sudo lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 149.1G 0 disk
    |-sda1 8:1 0 9.8G 0 part /boot
    |-sda2 8:2 0 1K 0 part
    |-sda3 8:3 0 53.6G 0 part
    `-sda5 8:5 0 85.7G 0 part /
    sr0 11:0 1 1024M 0 rom
    My syslinux is
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda5 rw
    INITRD ../initramfs-linux.img
    LABEL windows
    MENU LABEL Windows
    COM32 chain.c32
    APPEND hd0 3
    NOTE: chain is in the same directory with syslinux
    I really think Windows got corrupted but not sure. Thought about repairing the mbr on windows and booting to it then reinstall syslinux but really don't want too.
    Thanks in advance
    Last edited by jag-ster (2014-11-27 02:12:12)

    Here is the partition table:
    /dev/sda1 one HUGE linux /boot primary partition (assuming ext4)
    /dev/sda2 "name" of the extended partition
    /dev/sda3 primary Windows partition (assuming NTFS)
    /dev/sda5 logical Linux root partition (assuming ext4)
    /dev/sda1 to /dev/sda4 are either all primary, or three primary and one extended. After /dev/sda4 all partitions are logical. If you're still wondering why is there no /dev/sda4, it's because you have 2 primary and one extended, so /dev/sda4 is reserved for another primary partition.
    Windows problem:
    The /dev/sda1 which Windows named C: is Windows equivalent of linux /boot. When you told linux to place its /boot on /dev/sda1 it formated boot files of Windows. Now you have Windows OS with no kernel. In other words there is no way to boot Windows if you don't reinstall it. Actually there is a way, but you would than screw up Arch.
    Mounting problem:
    You can never mount extended partition, only logical (an extended partition is made of logical partitions). You want to do:
    sudo mount /dev/sda3 -t NTFS-3g -o rw,uid=YourUserName /path/where/you/want/this/partition/mounted
    EDIT:
    Try it this way:
    - Backup all your data
    - Delete every partition
    - Start Windows installation
    - Make only one partition (c:/ for Windows)
    - Let Windows make another partition
    - Make one more so you could have a data partition, which does not need to be formated to reinstall Windows
    - Start Arch installation
    - Get to partitioning
        =Partitioning=
        - /dev/sda4 extended (take the rest of the drive)
        - /dev/sda5 logical /boot 512MiB
        - /dev/sda6 logical /          20GiB
        - /dev/sda7 logical /home (the rest)
    Making a separate /home partition will come in handy when reinstalling Arch (any linux distribution), or switching between distros, because it is the equivalent of D:/ in Windows. Also consider LVM.
    Last edited by bstaletic (2014-02-28 23:25:33)

  • From localtime to UTC on both Windows and Linux (Solved)

    Hi,
    It has been a while since I updated my Archlinux. I read from the news corner that it is now strongly recommended to change from localtime to UTC (http://www.archlinux.org/news/initscripts-update-1/). Since I have a dual-boot system of Archlinux and Windows 7 RC I currently use localtime for both. From what I understand is that there is now a registry fix such that Windows will also use UTC. Now my question is: is there a recommended order in updating the two operating systems? My worry is that if I update one OS to UTC then the hardware clock is probably saved as UTC at shutdown. Then starting the other OS (which still assumes localtime) might cause troubles when it reads the hardware clock which is now in UTC.
    At http://social.msdn.microsoft.com/forums … e90c6e243/ they recommend the following order:
    1 - Apply the registry fix in Windows
    2 - Shutdown Windows and start your alternate OS
    3 - Set the time right
    4 - Shutdown your alternate OS and boot Windows
    5 - Sleep and resume from sleep Windows
    I think step 5 is necessary, because Windows messes with the clock again after a resume from suspend/hibernation.
    Secondly, at https://wiki.archlinux.org/index.php/Be … #Set_clock it is stated that you should also disable Windows from syncing the time with the Internet. Does this still apply?
    I can remember that Windows once corrected for daylight saving by setting the clock one hour back. Rebooting to Archlinux afterwards caused various warnings (or errors) regarding time stamps being in the future. Waiting for one hour and then boot Archlinux 'solved' the problem. Still, I would like to prevent these things when I switch to UTC.
    Thoughts and recommendations are appreciated.
    Last edited by Bart(t (2011-11-24 10:39:57)

    Thanks for the reply. I played on safe with this issue:
    1. Stop Windows from syncing its time with the Internet.
    2. Apply the registry fix in Windows
    3. Reboot to Windows to be sure everything applied well
    4. Assuming the time skew between localtime and UTC can't be more than 24 hours I decided to wait for roughly 24 hours to boot Archlinux (yes.. some people still have that luxury)
    5. Apply UTC to Archlinux
    For now, everything is running well
    Last edited by Bart(t (2011-11-24 10:45:36)

  • Windows in Leopard: solving disk error and formatting as NTFS

    Hi,
    I'll post here a link to a solution I found on an australian forum
    (http://forums.whirlpool.net.au/forum-replies.cfm?t=848369&p=-1#bottom).
    Look to Malcolm Burtenshaw posts and follow his procedure.
    It worked fine for me and solved all my problems; I higly recommend it.
    Good luck!

    I have also been having serious issues, and this worked for me also. Before (In Leopard with BootCamp 2.0) I could partition ok, and everything else, but the Windows installer just wouldn't give me the option of reformatting the drive (formatted to FAT32 by BootCamp v. 2) to NTFS. To re-iterate, if you're having these DISK ERROR problems, do the following:
    Backup all files
    Use Leopard/Tiger install disk to wipe the entire hard drive (all volumes mac and pc) with Disk Utility (this may not be necessary, but it could clear up the problem)
    Install Tiger (10.4)
    Run Bootcamp (in Tiger), partition, install Windows, and install drivers
    Install Leopard (you may choose "erase" within the Installer since this will just wipe the Mac partition)
    Now you're good to go. For running Bootcamp on Tiger, you will need to download BootCamp beta 1.4, there is at least one mirror (and a 1.3 one too) that you can easily find with google. Also, if you're having trouble installing with the beta after December 2007, try setting back the clock and disconnecting from the Internet.
    Although it is very strange that Bootcamp 2.0 (or Leopard) have broken the ability to install.

  • [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.

  • When Apple solve problems with new iTunes calendar sync with windows and outlook?

    When Apple solve problems with new iTunes calendar sync with windows and outlook?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    More Info here...
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622
    If necessary...
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Have tried to install icloud 4.0 for windows and again it does not allow syncing with outlook 2013 calendar and contact using windows 8.1 and IOS 8.02 (unexpected error)? I thought itunes 12.0 and icloud 4.0 would solve issue but still same result.

    I have tried to install icloud 4.0 for windows and again is does not allow syncing with outlook 2013 calendar and contact, using windows 8.1 and IOS 8.02 (get - unexpected error)?

    Having same issues. had been syncing every few days with outlook 2007 contacts and calendar but since updated to 4.0.2 and latest itunes I get an error that it is unable to sync. I can't seem to find any solution.

  • [SOLVED] openbox window borders and alt tab

    There are two (atleast) things i'd like to fix in openbox (and lxde). I haven't found any info on it.
    1) Window borders are only one pixel. It's hard to resize windows and very hard with touchpad. I have room for it on a 1400x1050 resolution. On kde I have 6 pixels. How can I widen the borders?
    2) Alt + tab cycles through the windows on the current desktop only. I would like it to cycle through all windows on all desktops. I know I can middleclick on the background, but I'd like to alt tab too. How do I do that?
    Last edited by kanonmat (2009-04-11 21:49:01)

    For 2 : Add this to your keybindings in rc.xml
    <keybind key="W-Tab">
    <action name="NextWindow">
    <allDesktops>yes</allDesktops>
    </action>
    </keybind>
    <keybind key="W-S-Tab">
    <action name="PreviousWindow">
    <allDesktops>yes</allDesktops>
    </action>
    </keybind>
    This will use the Super+Tab and Super+Shift+Tab to move between windows across all desktops. You can still use Alt+Tab and Alt+Shift+Tab to move between windows within the same desktop
    Last edited by Inxsible (2009-04-11 19:29:43)

  • Confusion about UEFI/BIOS and GPT/MBR compatibility issues

    So a user said in another post that they were NOT able to boot in UEFI mode and install Fedora even though it is UEFI compatible.  But this person was able to useLegacy mode and install Fedora, and furthermore, was able to "keep the Windows partition."  I'm guessing that means that Win 8 that came with it, which would be installed in UEFI/GPT mode, correct?  I'm specificly referring to the Y510P but from what I understand *every* laptop that comes preinstalled with Win 8 must be UEFI/GPT.
    So the way I understand it is that the installed Fedora is in "BIOS"/GPT mode rather than "BIOS"/MBR mode because you can't have both GPT and MBR on the same disc.
    I have just started learning about this UEFI/BIOS and MBR/GPT nonsense, and it's going to drive me crazy until I finally understand it. So I guess what I'm asking is:
    1) When I get my y510p I assume it will be in UEFI/GPT mode. Can I install non-UEFI distros alongside it as I take it was done with Fedora?
    2) If I install a linux distro alongside Win 8, do I have to worry about compatibility issues with a drive that is in GPT format? Or does the MBR/GPT issue have nothing to do with it, so I don't have to worry about ever changing my drive to MBR?  
    For example, I read that Win 7 must be installed either as BIOS/MBR or UEFI/GPT.  This can not be mixed and matched.  This means that if I could not get the Windows 7 installer to boot in UEFI I would have to install as MBR.  This also means I would have to format the drive and reinstall Win 8 on the MBR.  
    So my question is do other OS's like Linux have these restrictions?  (For example, if a particular distro will not boot in UEFI and therefor MUST install on MBR)
    3) I have a pendrive with YUMI installed with a ton of distros/tools/Win installs/etc. (It is a USB boot tool like unetbootin that allow you to add multiple bootable images.) When I tried it recently on my dad's laptop.  I have used it many, many times with my older computers, none of which were UEFI.  It works great.  Now that I've had a recent encounter with my dad's ASUS Windows 8 computer (not with the y510p yet) I found out that UEFI seems to be complicating the crap out of things (for me, at least.)
    So when I used this computer, I noticed that when I boot (with legacy mode enabled) and enter the "boot selection screen" in order to boot with USB, I have two options a) UEFI:"name of usb" and b) "name of USB". The UEFI option would NOT boot, but it would boot without the UEFI: option.
    So does this mean that I am booting in non-UEFI mode and once I have booted this way and choose a distro to install that it CANNOT install in UEFI mode?  I recently saw a tool called Rufus that I have yet to try that has an option to set the bootable USB to UEFI, so that would possibly work if I wanted to install a UEFI compatible distro (Arch linux is what I'm wanting.)
    4)  If installing a UEFI compatible distro (such as Arch) requires that the USB device be able to boot in UEFI mode has anyone been able to do this?  Has anyone even been able to boot a device in UEFI mode to do *anything* such as run a live linux?  
    I'm 99% sure I would be able to boot in legacy mode and run a live linux (because I did so on my dad's computer) but the problems arise when I consider how to INSTALL.
    I would really like to know the answers to these questions (as scattered as they are.) Any help would be appreciated!
    Unnecessary info:
    (I started learning about BIOS/UEFI and MBR/GPT the hard way a few days ago by trying for hours to install Windows 7 on my dad's Windows 8 laptop because I could NOT get Win 7 installation to work...it kept asking for drivers before I could install until I finally used the Windows USB install tool, put the stick in a different USB, AND formatted the drive as MBR because Windows 7 would NOT install on the existing GPT drive until I used diskpart.exe -clean. And I have read that Win 7 64 bit will work fine on a UEFI/GPT setup. I used the Windows 7 USB boot tool which did NOT give me a UEFI: and regular option. It showed up simply as "name of usb" without a UEFI in front. Since I read that Windows 7 must either be in BIOS/MBR mode or UEFI/GPT mode that this drive would not boot in UEFI mode, and I don't know why...Although I believe I read that Win 7 cannot be installed from a USB in UEFI/GPT mode, only BIOS/MBR.  UEFI/GPT mode requires a DVD install but I did not have a drive to test this.)

    I have a Y510p which is running dual boot Windows 8.1 and Arch Linux.   I think that it is strongly advised to do plenty of reading ahead of any install if you will be using UEFI and Linux so that you understand all the issued before making critical changes to the existing system.
    Yes, if the machine comes with Windows 8 (as mine did) then the disk will be formatted with a GPT partition table (instead of the old MBR partitioning scheme), and will boot using UEFI. If you are going to try to keep the existing Windows 8 system and add Linux then you will need to keep the disk with its GPT partition table and partition structure, but you can shrink the Windows 8 C: drive to make space for the Linux partitions that are needed ( a root partition and at least a /home and/or /opt partition and possibly a linux swap partition also ).  If you want to boot the Linux install via UEFI then you can simply add the required boot directory to the EFI System Partition (ESP).
    However it is very important that before trying to do any linux install that you switch off Fastboot from within WIndows 8 (or 8.1). Also most Linux distributions are in some difficulty booting using Secure Boot, though a few such a Ubuntu and Fedora are supposed to be able to do so. Hence it is much easier to work with Linux if Secure Boot is first switched off from the BIOS settings menu.
    The order of operations that I used was;
    1) Switch off Secure Boot from the BIOS - and boot back into the Windows 8 system to check that it boots OK.
    2) With Windows 8 running go into the settings and switch off Fastboot (which does a hybrid suspend when it shuts down instead of a full normal shutdown - if you don't do this then the memory gets overwritten when booting Linux in the future which means booting back into Windows will fail). 
    3) Reboot back into WIndows and check all is well, and if so then use the disk management facility within Windows 8 to shrink the C: drive to make room for the Linux partitions.
    4) Reboot to check Windows 8 still boots OK.  
    5) If you are going to update to Windows 8.1 then do so, and then update everything once it is booted (it is a huge update and takes ages!). Once done then you will likely have to update drivers for the graphics cards, the clickpad and possibly the wireless chip and ethernet chip. I found that I needed to get drivers that were newer than were available on the Lenovo website, by going to the relevant hardware manufacturer website (eg for synaptics for the clickpad). Then spent a week or so in the evenings getting Windows 8.1 configured the way I like it.
    6) Then I did a lot of reading about the various options for the boot manager that would suit a UEFI boot for a dual boot system for Windows 8.1 and Arch Linux and there was a choice of Grub, Gummiboot, rEFInd, and others - and after reading the details I decided on rEFInd as my boot manager which can boot not only any new Arch Linux install but automatically finds the Windows UEFI boot files and presents the options in a nice graphical window once the system gets past POST at bootup.
    7) It was important to check which partition was the ESP and to know what partitions I needed to create for the Arch Linux system.  Then I went ahead and booted from a usbkey to a uefi install system, and very carefully proceeded with a standard Arch Linux install, being particularly careful to know where to put the rEFInd boot manager files and the kernel and initrd files. Also I used efibootmgr to write the appropriate NVRAM boot entry in the motherboard memory so that the uefi boot system knows where to find the rEFInd uefi boot files in the ESP.
    8) Once complete the system boots to Arch Linux as the default, with a nice Windows icon which you can select with the arrow keys within the boot timeout period (default 20 seconds).
    I noted also that it is possible to create boot stanzas in the rEFInd boot manager config files which allow rEFInd to chain load other Linux systems or even other bootloaders if you wish - so it is very flexible. So if you want to you could install a grub standalone set of diretories/files so that if the normal linux boot fails then you can select the grub icon from rEFInd and chainload grub to boot either the same Archlinux install, or point to a third linux distribution if you have more partitions containing that third install which might be Ubuntu or Mint or ....
    Either way although getting to understand how uefi boot works is a learning curve it is actually generally simpler than the old legacy BIOS boot. With uefi you no longer need an MBR on the drive, and only a suitable EFI System Partition which has to be VFAT formatted. However if you want to have one of the linux distributions booting from legacy MBR then you need to create an MBR at the start of the drive - so you would need to move the start of the first partition and create a suitable sized Master Boot Record otherwise MBR boot can't work. If you do that then of course you have to be careful if the Windows partition is the one being re-sized that it doesn't mess up the Windows boot! However since using uefi to boot rEFInd allows a chainload to grub/gummiboot or other bootloaders then there should be no need to mess with MBR booting if you go down that route.
    If you are interested in rEFInd then the author Rod Smith has a good set of documentation that describe the details at http://www.rodsbooks.com/refind/
    He is also the author of a really excellent disk partitioner for GPT disks - http://www.rodsbooks.com/gdisk/
    Clearly it is necessary to read up on the boot facilities available for any linux distribution that you plan to put on the system.
    One nice thing is that uefi boot with an efistub supported kernel build is really fast on the Y510p. My system boots Arch linux in about 7 seconds to the KDE login prompt once the POST is complete and that only takes a couple of seconds.  Of course Windows is much slower once it is selected at the rEFInd screen and takes somewherearound 40 seconds or so to boot, but at least Linux is super fast!
    Anyway I hope that this helps.

  • [SOLVED] UEFI Variables outside chroot environment, not inside?

    I am installing Arch onto a UEFI system that has had Arch on before; previously it was installed on a seperate disk from Windows and selecting in the UEFI boot sequence which hard drive I wanted to boot from each time. This time I am setting it up on the same hard drive as Windows 8.1 to enable dual-boot.
    I have disabled fast boot and secure boot in the UEFI configuration screen.
    I am booting from the latest Arch ISO on cd and have all UEFI variables listed outside of the chroot environment.
    after
    # arch-chroot /mnt /bin/bash
    # efivar -l
    I get
    bash: efivar: command not found
    Inside the chroot environment I then
    # modprobe efivarfs
    efivar -l
    bash: efivar: command not found
    # mount -t efivarfs efivarfs /sys/firmware/efi/efivars
    mount: efivarfs is already mounted or /sys/firmware/efi/efivars busy
    efivarfs is already mounted on /sys/firmware/efi/efivarfs
    I have seen two other posts in the forums with this issue yet their solutions do not work in this instance.
    I attempted to to finish the install off previously even though the uefi variables weren't loaded properly inside the chroot and it didn't boot (using rEFInd, I have previously tried Gummiboot and Grub, no dice). I know enough to get into trouble but not enough to fix it...any ideas.
    Edit:
    Head_on_a_Stick wrote:
    Try
    # pacman -S efivar
    inside the chroot environment, then efivar -l
    That fixed it; IIRC it's not mentioned in the Wiki that that might be the case. It does say to "Make sure efivars is mounted" prior to installing the bootloader; mine was but I couldn't list the variables or sucessfully install until I installed efivar inside the chroot.
    Last edited by cdrjameson (2014-05-29 12:45:05)

    Have you tried just using efibootmgr?
    Try
    # pacman -S efivar
    inside the chroot environment, then efivar -l (although I think this may be included in the base package when using pacstrap).
    If you have /sys/firmware/efi on the system then it is already in EFI mode...
    https://wiki.archlinux.org/index.php/UE … re_bitness
    Last edited by Head_on_a_Stick (2014-03-25 22:28:09)

  • [Solved] UEFI + Partitioning + Bootloader = Hell

    I've installed arch twice before this one, those were like a lovely stroll in the park compared to this Clockwork Orangesque torture i've been putting myself through. This time it's different because I have a system with UEFI firmware and I cannot for the life of me sort out this beginners guide to get this thing up and running.
    As stated in the guide I verified through
    efivar -l
    that I am infact booted up through UEFI Mode.
    It later goes on to recommend that I used GPT for my setup for UEFI booting.
    It is recommended to always use GPT for UEFI boot, as some UEFI firmwares do not allow UEFI-MBR boot.
    So I follow the instructions for creating GPT Partitions: https://wiki.archlinux.org/index.php/beginners'_guide#Using_cgdisk_to_create_GPT_partitions
    Which tells me to create just two partitions: Root and Home
    Later on in that same page however: https://wiki.archlinux.org/index.php/beginners'_guide#Create_filesystems
    It tells me that I need to:
    For UEFI, you should format the EFI System Partition (for example /dev/sdXY) with:
    # mkfs.fat -F32 /dev/sdXY
    With very little to elaborate on this earlier in the page. Although it does mention that:
    If you have a UEFI motherboard, you will need to create an extra EFI System Partition.
    But it gives no indication how large this partition needs to be.
    I then find this:
    https://wiki.archlinux.org/index.php/Un … _Partition
    The EFI System Partition (also called ESP or EFISYS) is a FAT32 formatted physical partition (in the main partition table of the disk, not LVM or software raid etc.) from where the UEFI firmware launches the UEFI bootloader and application. It is a OS independent partition that acts as the storage place for the EFI bootloaders and applications which the firmware launches them. It is mandatory for UEFI boot. It should be marked as EF00 or ef00 type code in gdisk, or boot flag in case of GNU Parted (only for GPT disk). It is recommended to keep ESP size at 512 MiB although smaller/larger sizes are fine (smaller sizes provided it is higher than the minimum FAT32 FS partition size limit (as mandated by FAT32 specification from Microsoft).
    (BTW, who uses mebibytes instead of megabytes?)
    So... yeah... this was mostly a rant of sadness, after I get this thing up and running (After like 3 hours of beating my head against a wall and like 4 hours trying to get this to work) I really need to fix that friggan wiki... so that the next poor bastard that comes through, doesn't have to endure this PTSD enducing psychological torture...
    My major issue was that I was not creating an EFI Partition for the GPT. Without which the bootloader (Gummiboot) is unable to communicate with the UEFI Firmware.
    =============================================================================================
    Solution - My two major mistakes were failing to create an EFI partition and using syslinux instead of gummiboot
    =============================================================================================
    1. Verify that your system is booting in UEFI Mode
    https://wiki.archlinux.org/index.php/Be … _UEFI_mode
    efivar -l
    If you are in UEFI Mode, your system will output a list of UEFI Variables properly, if you are not, you will receive an error.
    Continue on with the beginners guide as usual until you reach the "Using cgdisk to create GPT" portion
    https://wiki.archlinux.org/index.php/Be … partitions
    2. Create partions with cgboot (This was a crux for me, I didn't include the EFI Partition)
    cgdisk /dev/sda
    Choose New (or press N) – Enter for the first sector (2048) – type in 15G – Enter for the default hex code (8300) – Enter for a blank partition name.
    Press the down arrow a couple of times to move to the larger free space area.
    Choose New (or press N) – Enter for the first sector (2048) – type in 512M – Enter for the hex code for and EFI partition (ef00) – Enter for a blank partition name.
    Choose New (or press N) – Enter for the first sector – Enter to use the rest of the drive (or you could type in the desired size; for example 30G) – Enter for the default hex code (8300) – Enter for a blank partition name.
    here's how it will look
    Part. # Size Partition Type Partition Name
    1007.0 KiB free space
    1 15.0 GiB Linux filesystem
    2 512 MiB EFI Filesystem
    3 123.45 GiB Linux filesystem
    Now continue on with the Beginners guide until you reach the boot loader partition, I used Gummiboot successfully by following the simple instructions:
    https://wiki.archlinux.org/index.php/Be … #Gummiboot
    Last edited by cynicalpsycho (2014-11-02 04:55:35)

    mrunion wrote:1) Since 1998
    2) First install was in January 2007.
    3) In total? 5-6 times. As a UEFI install? 2 times (including last Wednesday like I mentioned in my post).
    1. Exactly, You're an arrogant, condescending snob that's been doing this for quite some time. Congrats, you can put together a linux box... well I would certainly hope so, you've been doing it for over 15 years now. But don't forget there was a point that even you had to overcome the learning curve and just because it's simple and clear to you, doesn't mean there aren't people out here that don't have 16 years of linux centric "common sense" behind them. Your current level of expertise is a cumulative evolution of 16 years of study and exposure and that is something you should take pride in, but being an arrogant twit about it just makes you look like a douche and it epitomizes exactly what gives the linux community a bad rap.
    2. This Arch Wiki is (compared to most) massive, it's not streamlined, it has several passages that may or may not be used depending on the person, their equipment, preferences etc etc...  So forgive me if I didn't read the parts telling me to configure my keymap to a language I don't need to configure it too. It also links to other pages without giving full elaboration on why. It eventually leads you through several rabbit holes and isn't clear by any means to someone who doesn't do this on the regular.
    3. I get that Arch isn't a COTS windows solution... it does have a level of difficulty that must be overcome, and it does require research, (which I am totally all about doing, and if you'd read my post, you would see that I never asked directly for an answer, instead I was trying to offer solutions to make the wiki itself better, because there was something omitted within an example) but there is also a great community behind it, that does (or so I thought) work hard to help its user base through forums and documentation. But your previous post, was completely nonconstructive, and served no purpose other than to stroke your own overblown ego.
    Last edited by cynicalpsycho (2014-11-04 16:34:35)

  • [SOLVED]UEFI boot gives 'failed to install override security policy'

    Hi, newb here who has hit a dead end quite early in the process of installing Arch.
    When trying to boot Arch into EFI mode, it says
    'failed to install override security policy'
    Of course I did my research and it seems that only three other people on this planet have had the same problem, and their solutions do not work for me.
    http://superuser.com/questions/615142/u … ity-policy
    Overwriting EFI/boot/bootx64.efi with loader.efi enables me to see a menu where I can choose from booting Arch, UEFI shell v1 or UEFI shell v2. Still, selecting Arch results in a blank screen with two grey bars at the top and bottom of the screen, so not really not much help.
    I'm not a UNIX nor an EFI wizard, so please bear with me. I'm a Windows user with some anecdotal Linux knowledge (I have installed Ubuntu countless times, wanted a bit of a challenge this time) who wanted to make the switch to the Linux ecosystem, but this error prevents me from doing so. I also tried to install rEFInd as suggested here: https://bbs.archlinux.org/viewtopic.php?id=174734
    But I seem to be unable to boot into any UEFI shell v2, it's also printing the errors:
    ASSERT_EFI_ERROR (Status = Not Found)
    ASSERT C:\svn_code...and so on )
    My Windows installation is on BIOS/MBR, so I cannot install rEFInd manually using Windows, and I also cannot use the v1 UEFI shell because of the lacking bcfg command. I don't know how to procede from here. My board is an AsRock P67 Extreme4 Rev 09 with a 2.10 EFI. This board doesn't even have Secure Boot if I'm correct, I also searched every possible submenu of the EFI for an option to disable Secure Boot, but haven't found anything.
    Last edited by 0x33 (2015-03-11 17:35:56)

    I presume you are trying to use gummiboot?
    Please post the contents of /boot/loader/loader.conf and also your gummiboot configuration file for your Arch system (if you are not using gummiboot post the config. files for whichever boot loader/manager you are using).
    Load the Arch live ISO, mount all your partitions and `arch-chroot` into your system and then post the output of:
    lsblk -f
    # parted -l
    # efibootmgr -v
    Last edited by Head_on_a_Stick (2015-03-10 21:05:43)

  • Clicking on a link will pop up another firefox window and nothing in box and I cannot open original link. What do I need to do?

    This has just started happening since last update of Firefox. I will be on a website, and I click on a link. Clicking on link brings up another Mozilla Firefox window with a blank window and at top of window, it asks for "type web address" in navigation bar. This has just started happening. I have gone a checked for LINK preferences or anything I could find to get this to stop. Before this last update, I could go to any link of any website. Please advise on what I should try. Thanks

    Thanks Jason, I had the same problem and did exactly the steps above. Problem solved! You rock! :)

  • Help,how close pop-up window ,and open another view

    Hello,
    How click the pop-up window button ,then close the pop-up window .
    At the same time open another VIEW,and  transfer PO number to the VIEW.
    thanks

    Hi,
    First step is set the SCREEN TYPE as "Modal Dialog Box" in screen property tab.
    Then in PBO of the popup screen take a new GUI status and select DIALOG BOX as status type.
    Then assign some function code in 'X' button say 'CANCEL'.
    the put ur logic like below :
    PBO
    module gui_status.
    PAI.
    module user_command.
    module gui_status.
       set pf-status 'ZPOPUP'.
    endmodule.
    module user_command.
      if ok_popup = 'CANCEL'. " Where ok_popup is the ok_code variable in ur popup screen , also define it in TOP include
        leave to screen 0.
    endif.
    endmodule.
    Hope this will solve your problem and help you to put your logic.
    Thanks

Maybe you are looking for

  • Importação de contas a receber via DTW.

    Olá Experts! É possível importar contas a receber via DTW sem as notas fiscais de saída? Estou tentando importa dados de contas a receber com boletos, mas o DTW apresenta um erro dizendo que não é possível importar sem documentos correspondentes. Um

  • Apple TV Bug: selecting Podcasts to sync does not work: syncs everything

    I have even tried to restore to factory settings, then downloading latest software, deselecting everything but one podcast (video) and look, indeed, no movies, no music but then all podcasts from my entire library are synched to the ATV despite only

  • Can I edit a Clip Notes PDF?

    Hello, I'm using Adobe Premiere Pro CS3 to export QuickTime files to PDF. Since the URL is entered with the Clip Notes dialog, is there a way to change this URL in the PDF after it has been created? I do have Acrobat Professional. I did figure out th

  • Meaningful Slideshow module update, please - Ken Burns effect

    Just upgraded to LR 5 from LR 3.  I'm floored that there still has never been any sort of meaningful update to the slideshow module. Assume you want to make a slideshow for a funeral.  (That's probably what most people actually do with slideshows any

  • ITunes 11.1.3 is painfully slow in updating music onto my iPhone running iOS 7.0.3

    For some reason everytime I try to update my iPhone it takes forever to update and then usually freezes on the last step (waiting for changes to be applied). I;ve already restored my phone once and don't think that's really the proper solution. Has a