[Solved] Automating AwesomeWM master windows

Hi !
I've been using Arch for a couple months now and I'm currently setting up AwesomeWM on top of MATE. So far everything works fine. I removed the autostart of Caja, Marco and mate-panel with dconf editor and added Awesome to the autostart apps. I customized my rc.lua to my likings but I'm running into an issue now.
Here's the problem : I want all my new windows to be created as slave, except for a subset of apps that sould be master by default (for now just Emacs but more will probably come). The problem is, I can't seem to get it working quite right. Uncommenting "awful.client.setslave(c)" under "if not startup then" does the first of what I want, but having it conditional, using setmaster if the window class is emacs or adding "{ rule = { class = "emacs" }, callback = awful.client.setmaster }" to my rules doesn't work. I can't see what I'm doing wrong here, any advice ?
Thanks in advance.
Last edited by Streetwalker (2013-11-11 20:08:39)

i don't have emacs installed so can't look myself, but look at it's windows properties with the CLI app. xprop. you'll probably find two strings for 'class:' "emacs" and "Emacs". i found that awesome doesn't like to use the first one, i.e., recognizes rules only if i use the second, usually upper-case one. [edit: in your case, probably "Emacs".]
Last edited by phanisvara (2013-11-11 19:54:32)

Similar Messages

  • BP Master Window, Sales Emp Code used to display Sales Empl Name now  displ

    BP Master Window, Sales Emp Code used to display Sales Empl Name now  displays Sales Emp Code
    Our customer has noticed that when they do a search in the BP Master window that one of the
    columns that is displayed called the Sales Emplyoyee code s not bringing up the Sales Employee Name
    as it once was...
    I have checked my local version and in the sales employee code column the name of the sales
    employee is displayed NOT the code.
    sales employee code column is displaying the code number where once it displayed the name and
    even in the play system and in our local version it is displaying the name
    as above
    Nothing has changed on the system. We have not done any upgrades.
    I have checked in SAP notes and could not find any information
    Thanks for your help in advance
    D

    Hi
    There is no option for Sales Employee Name.
    However on my system if i select Sales Employee Code it actually shows me the Sales Employee Name.
    Which is what my customer orginally had .
    For my customer it is now showing Sales Employee Code as Sales Employee Code
    However it was previously showing Sales Employee Code and giving a Sales Employee Name instead.
    They need the Sales Employee Name not Code
    Thanks
    D

  • How to solve this error from window phone 80073cf9 lumia 630.

    any one know how to solve this error from window phone 80073cf9  lumia 630.

    Hello Muhammad,
    We appreciate the post, but this forum is for Windows Store and Phone Developer related questions. Your question can best be answered through the
    Windows Phone support page.
    Thanks!
    -Jonathan
    Windows Store Developer Support
    Office Store Developer Support

  • Excel Automation with Interop - Windows Service - Microsoft Excel cannot access the file

    I have a windows console application, which automates Excel. In our scenario the application gets called from a Windows Service. If the console app is executed directly everything works fine. If the console app is executed through the Win Service, we get
    the following error when trying to open the excel file:
    Unhandled exception Occured : 'Microsoft Excel cannot access the file 'bla.xls'. There are several possible reasons:
    The file name or path does not exist.
    The file is being used by another program.
    The workbook you are trying to save has the same name as a currently open workbook.'.'
    The code snippet used to open the file:
    xlApp = new Application();xlApp.Visible = false;xlApp.UserControl = false;xlApp.Application.ScreenUpdating = false;xlApp.DisplayAlerts = false;xlWorkbook = xlApp.Workbooks.Open( Filename: filePath,  UpdateLinks: 2,  IgnoreReadOnlyRecommended: true, Editable: false);
    The console app and windows service are running on a Win Server 2008 64-bit OS with Excel 2013 32-bit installed. The service is running with a special user account, which has all the right permissions on accessed files and folders. The excel process is also
    started with the same account (I cheched that one). 
    I already tried to do the following, but to no avail:
    Run excel.exe /automation -> worked fine
    Created the folders and also gave full control to the account under which the service is run (even gave full control to Everyone)
    C:\Windows\SysWOW64\config\systemprofile\Desktop
    C:\Windows\System32\config\systemprofile\Desktop
    Configured DCOM
    Excel Application -> Identity -> Specific user account
    Excel Application -> Identity -> Interactive User
    Excel Application -> Security -> Launch permissions -> Everyone full control
    Several combinations of the above
    So I really am stuck with this problem right now. Any input on this is appreciated.

    I have a windows console application, which automates Excel. In our scenario the application gets called from a Windows Service. If the console app is executed directly everything works fine. If the console app is executed through the Win Service, we get
    the following error when trying to open the excel file
    Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office
    may exhibit unstable behavior and/or deadlock when Office is run in this environment.
    If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side.
    If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.
    You can read more about that in the
    Considerations for server-side Automation of Office article.

  • SOLVED - USB malfunctioned, and windows does not recognize it

    I have been using my IPAD2 for months (LOVE IT). Today, when I plug it into the same WIndows 7 Laptop I have been using for months, An error message says
    USB Device Not Recognized.
    I Powered off & On the Ipad, no help
    I plugged it into a Windows XP computer that I have used before, same message.
    It is NOT and Windows 7 Problem (because same message on XP)
    Device Manager is probably not the answer as it fails on 2 machines to which it has been previously connected.
    It has nothing to do with ITunes (error comes up with or without Itunes Loaded)
    I am very reluctant to do a full reset on the Ipad because if I can't get windows to recognize it, then I cant use my Ipad at all (HORRORS!)
    Any suggestions?
    Update: SOLVED.
    I was plugging in the Ipad through the Ipad Stand. I took the Ipad Stand out of the equasion an it worked fine!

    Here:
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • Solved Crackling Problem in Windows 7 (SB 24-bit USB External, HP Pavilion dv6 1124-ca laptop).

    I'm one of many users who has had problems with the sound crackling problem with their sound card after upgrading to Windows 7.
    I was previously on Windows Vista running 5. with 24-bit, 96000Hz sample rate Studio Quality with no problems at all. When I upgraded to Windows 7 RC, Windows was able to automatically find a driver for my external USB sound card, but when playing music, I always got a constant crackling sound coming from the speakers while trying to put the card in anything above 2. or and when putting it in 24-bit 96000Hz, the crackling only got worse. Installing the Beta drivers on the Creative site didn't work either... still had the crackling. I searched around for the past several months for solutions to no avail.
    Then today, I was surfing the HP website (I have a HP Pavilion dv6 24-ca laptop) to see if they had added Windows 7 drivers to their support site and they did... and so I started downloading all available Windows 7 drivers for my specific laptop. When I first installed Windows 7 RC, it had installed it's own drivers for everything (on-board sound etc.). After replacing the Windows 7 installed "High Definition Audio Device" drivers with the HP supplied "IDT High Definition Audio CODEC" drivers... I'm not sure if the on board sound driver has anything at all to do with the crackling on the Soundblaster but I replaced the drivers anyway. I also installed another driver called "AMD USB Filter" that was supplied by the HP website for Windows 7 which is another driver that I thought might help with the problem. Other drivers installed were "ENE CIR Reciever Driver" and "Realtek Card Reader Driver" but those have nothing to do with the sound card.
    After installing the drivers from the HP website, I no longer get the crackling from the speakers when playing in 5.. I am also now able to select 24-bit 96000Hz sample rate without crackling as well I am very happy to have finally solved the problem. So to anyone having similar problems, I suggest you check out your manufacturers website to see if they have any drivers available for you... I have a feeling the AMD USB Filter is what solved the problem... but who knows.
    Hope this helps other HP users!

    Try this video let me know if it helps you out. 
    http://www.youtube.com/watch?v=9M-1Bx-7_zI
    If you can hear the music through the speakers but not the headphones I would suggest using an AUX cable because seems the sound isn't being transmitted over.
    Just a friendly note here. Don't buy the wireless turtle beaches I have the x32s and I'm continuously buying batteries !
    THX

  • [SOLVED] Unable to Boot Windows 7 from GRUB

    I recently reinstalled Arch onto my laptop (Lenovo Thinkpad t520) and have been having problems with Grub. For the last week I've been having trouble getting it to run grub at boot at all, only being able to run windows 7 by flagging it as the bootable drive. The other day I finally got it to boot into grub, and from grub I can boot into Arch. However, I can not boot into windows 7 through grub. When I attempt to, it throws an error:
    Invalid EFI file path
    I'm somewhat new to arch, and especially new to efi bootloading and such. Right now the only way I can get into windows is either booting from the arch install disk > boot other os and specifying partition 2 (where I have windows installed) or by pressing f12 at boot. When I do this (not sure what the term is, if anyone knows please tell me), it brings up a menu asking where I want to boot with "arch_efi" "cd drive" "Hard drive" etc. I choose hard drive and it will then boot to windows by default. Booting normally takes me to grub where I can boot into arch but not windows. If there's any more info you need please let me know and I'll try to provide it. Thanks in advance.
    Also, here is my current partition setup
    /dev/sda1 /boot/efi
    /dev/sda2 Windows7
    /dev/sda3 Extended partition containing sda 5,6, & 7
    /dev/sda4 swap
    /dev/sda5 /boot
    /dev/sda6 /
    /dev/sda7 /home
    UPDATE
    Terminator seems to be right (still on a roll!), so I wiped the partition I had grub on, removed grub, and installed syslinux. Now I have another problem that I'm hoping can be solved in the same thread to avoid another. It boots to syslinux no problem, and I can boot to windows from there all good, but when I select arch I get:
    Root device mounted successfully but /sbin/init does not exist
    I haven't been able to look for solutions too much on my own, but any help would be appreciated, thank you.
    Last edited by IamFuzzles (2012-08-22 04:20:56)

    Terminator wrote:If I understand it correctly, what you are trying is impossible: you are trying to boot windows using UEFI on a disk with MBR partitioning. Windows 7 only supports UEFI on discs with GPT partitioning but AFAIK, extended partitions only exist in MBR partitioning.
    i also saw this in the arch wiki, but i have a brand new lenovo ideapad y570 running windows 7 64-bit that i'm in the process of setting up for someone, and it has what i think is an efi system partition but the disk uses mbr partitioning.  does anyone know why this might be, or is there a way i can verify that the system is actually being booted via bios-mbr?
    Last edited by e_tank (2012-08-21 11:56:15)

  • [SOLVED] Can't boot Windows 8 using grub2. invalid EFI file path

    English is not my native language. Please excuse typing errors.
    I have just successfully installed Arch linux with grub2 as its boot manager. I
    followed the arch beginner guide. I've used grub before and I'm familiar with
    it, so chose to use grub instead for efistub. I installed os-prober and
    ran grub-mkconfig to create the grub.cfg file. The problem now is that I recieve
    an error when I try to boot windows 8. I have two drives (/dev/sda and /dev/sdb)
    and I believe both are EFI-systems.
    However, it's not very important for me to use grub, so if booting into windows
    8 is easier using efistub, I will try that.
    The computer is ASUS ux32vd with a hybrid disk with 25GB on the SSD and 500GB on
    the hard drive. I believe the SSD part is used by Windows.
    This is the first error I recieved when I tried to boot windows.
    error: can't find command `drivemap'.
    error: invalid EFI file path.
    Press any key to continue...
    Then I tried to follow this post
    https://bbs.archlinux.org/viewtopic.php?id=150183 and made a new boot
    entry "Windows 82". And I got a new error:
    error: unspecified search type.
    error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found
    Press any key to continue...
    Here are some command line outputs.
    ~ ᐅ sudo blkid
    /dev/sdb1: PARTLABEL="HFS" PARTUUID="4613ee39-4727-4347-8134-173f590f716f"
    /dev/sdb2: LABEL="INTELRST" UUID="BA5E-7431" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="304f2630-89b2-4632-a566-e8c6db9df3a9"
    /dev/sda1: LABEL="SYSTEM" UUID="90FA-5332" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="5a60fff2-384a-4168-ad7b-7ba25c03c910"
    /dev/sda2: LABEL="Recovery" UUID="ECE43E9AE43E674C" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="5da02b32-607a-4c63-88ef-00499bd6e05c"
    /dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="6c501a91-71a5-45d8-a9ee-2e2a1c427258"
    /dev/sda4: LABEL="OS" UUID="DE4241E84241C5CD" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="6e182189-b0e3-479a-ac74-8e69452d7c66"
    /dev/sda5: LABEL="DATA" UUID="B05448EC5448B6BE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="be7e04ac-fb01-44fd-9571-e0b001652322"
    /dev/sda6: LABEL="Restore" UUID="B8D84520D844DDEE" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="4d42c26d-2c85-4ebf-88ec-7a83a4814a61"
    /dev/sda7: LABEL="ROOT" UUID="0d63036d-b624-4596-a296-1db457c068d5" TYPE="ext4" PARTUUID="707f4bca-18b4-4340-838f-ec3a39e9338a"
    /dev/sda8: UUID="bcaa2c5f-150d-47c9-9a58-9a7b7ec7bed2" TYPE="swap" PARTUUID="1da43668-418c-4883-810b-e1c3dee75e61"
    ~ ᐅ sudo lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 465.8G 0 disk
    ├─sda1 8:1 0 300M 0 part /boot/efi
    ├─sda2 8:2 0 600M 0 part
    ├─sda3 8:3 0 128M 0 part
    ├─sda4 8:4 0 186.3G 0 part /mnt/windows
    ├─sda5 8:5 0 190.1G 0 part /mnt/data
    ├─sda6 8:6 0 20G 0 part
    ├─sda7 8:7 0 66.5G 0 part /
    └─sda8 8:8 0 1.9G 0 part
    sdb 8:16 0 22.4G 0 disk
    ├─sdb1 8:17 0 18.4G 0 part
    └─sdb2 8:18 0 4G 0 part
    ~ ᐅ sudo cat /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt7'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
    else
    search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-0d63036d-b624-4596-a296-1db457c068d5' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt7'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
    else
    search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-0d63036d-b624-4596-a296-1db457c068d5' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt7'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
    else
    search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
    insmod part_gpt
    insmod ntfs
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ECE43E9AE43E674C
    else
    search --no-floppy --fs-uuid --set=root ECE43E9AE43E674C
    fi
    drivemap -s (hd0) ${root}
    chainloader +1
    menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-DE4241E84241C5CD' {
    insmod part_gpt
    insmod ntfs
    set root='hd0,gpt4'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 DE4241E84241C5CD
    else
    search --no-floppy --fs-uuid --set=root DE4241E84241C5CD
    fi
    drivemap -s (hd0) ${root}
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    #menuentry "Microsoft Windows 8 x86_64 UEFI-GPT NTFS" {
    #insmod part_gpt
    #insmod ntfs
    #insmod search_fs_uuid
    #insmod chain
    #search --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 DE4241E84241C5CD
    #chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    menuentry "Windows 8" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    menuentry "Windows 8-2" --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ~ ᐅ sudo grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    90FA-5332
    ~ ᐅ sudo grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1
    bootinitscript
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => No boot loader is installed in the MBR of /dev/sda.
    => No boot loader is installed in the MBR of /dev/sdb.
    sda1: __________________________________________________________________________
    File system: vfat
    Boot sector type: Unknown
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /efi/arch-grub/grubx64.efi /efi/Boot/bkpbootx64.efi
    /efi/Boot/bootx64.efi /efi/ubuntu/grubx64.efi
    sda2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD
    sda3: __________________________________________________________________________
    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''
    sda4: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
    sda5: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    sda6: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    sda7: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Arch Linux ()
    Boot files: /boot/grub/grub.cfg /etc/fstab
    sda8: __________________________________________________________________________
    File system: swap
    Boot sector type: -
    Boot sector info:
    sdb1: __________________________________________________________________________
    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''
    mount: unknown filesystem type ''
    sdb2: __________________________________________________________________________
    File system: vfat
    Boot sector type: Unknown
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sda1 1 976,773,167 976,773,167 ee GPT
    GUID Partition Table detected.
    Partition Start Sector End Sector # of Sectors System
    /dev/sda1 2,048 616,447 614,400 EFI System partition
    /dev/sda2 616,448 1,845,247 1,228,800 Windows Recovery Environment (Windows)
    /dev/sda3 1,845,248 2,107,391 262,144 Microsoft Reserved Partition (Windows)
    /dev/sda4 2,107,392 392,816,639 390,709,248 Data partition (Windows/Linux)
    /dev/sda5 392,816,640 791,449,599 398,632,960 Data partition (Windows/Linux)
    /dev/sda6 934,809,600 976,773,119 41,963,520 Windows Recovery Environment (Windows)
    /dev/sda7 791,449,600 930,902,015 139,452,416 Data partition (Windows/Linux)
    /dev/sda8 930,902,016 934,809,599 3,907,584 Swap partition (Linux)
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 24.0 GB, 24015495168 bytes, 46905264 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sdb1 1 4,294,967,295 4,294,967,295 ee GPT
    /dev/sdb1 ends after the last sector of /dev/sdb
    GUID Partition Table detected.
    Partition Start Sector End Sector # of Sectors System
    /dev/sdb1 8,392,704 46,903,295 38,510,592 -
    /dev/sdb2 2,048 8,390,655 8,388,608 -
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 90FA-5332 vfat SYSTEM
    /dev/sda2 ECE43E9AE43E674C ntfs Recovery
    /dev/sda3
    /dev/sda4 DE4241E84241C5CD ntfs OS
    /dev/sda5 B05448EC5448B6BE ntfs DATA
    /dev/sda6 B8D84520D844DDEE ntfs Restore
    /dev/sda7 0d63036d-b624-4596-a296-1db457c068d5 ext4 ROOT
    /dev/sda8 bcaa2c5f-150d-47c9-9a58-9a7b7ec7bed2 swap
    /dev/sdb1
    /dev/sdb2 BA5E-7431 vfat INTELRST
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda1 /boot/efi vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sda4 /mnt/windows fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
    /dev/sda5 /mnt/data fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
    /dev/sda7 / ext4 (rw,relatime,commit=600,data=ordered)
    =========================== sda7/boot/grub/grub.cfg: ===========================
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt7'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
    else
    search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-0d63036d-b624-4596-a296-1db457c068d5' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt7'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
    else
    search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-0d63036d-b624-4596-a296-1db457c068d5' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt7'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 0d63036d-b624-4596-a296-1db457c068d5
    else
    search --no-floppy --fs-uuid --set=root 0d63036d-b624-4596-a296-1db457c068d5
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=UUID=0d63036d-b624-4596-a296-1db457c068d5 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows Recovery Environment (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
    insmod part_gpt
    insmod ntfs
    set root='hd0,gpt2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ECE43E9AE43E674C
    else
    search --no-floppy --fs-uuid --set=root ECE43E9AE43E674C
    fi
    drivemap -s (hd0) ${root}
    chainloader +1
    menuentry 'Windows 8 (loader) (on /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-DE4241E84241C5CD' {
    insmod part_gpt
    insmod ntfs
    set root='hd0,gpt4'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4 DE4241E84241C5CD
    else
    search --no-floppy --fs-uuid --set=root DE4241E84241C5CD
    fi
    drivemap -s (hd0) ${root}
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    menuentry "Windows 8" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    menuentry 'Windows 82' --class windows --class os $menuentry_id_option 'osprober-chain-ECE43E9AE43E674C' {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --no-floppy --fs--uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 90FA-5332
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    =============================== sda7/etc/fstab: ================================
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda7 LABEL=ROOT
    UUID=0d63036d-b624-4596-a296-1db457c068d5 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda1 LABEL=SYSTEM
    UUID=90FA-5332 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    LABEL=DATA /mnt/data ntfs-3g uid=sighol,gid=users,dmask=022,fmask=133 0 0
    LABEL=OS /mnt/windows ntfs-3g uid=sighol,gid=users,dmask=022,fmask=133 0 0
    =================== sda7: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    ======================== Unknown MBRs/Boot Sectors/etc: ========================
    Unknown GPT Partiton Type
    5850cbb887c11947baf0379ca2d4c97e
    Unknown GPT Partiton Type
    dee2bfd3af3ddf11ba40e3a556d89593
    Unknown BootLoader on sda1
    00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 5e 1b |.X.MSDOS5.0...^.|
    00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
    00000020 00 60 09 00 51 02 00 00 00 00 00 00 02 00 00 00 |.`..Q...........|
    00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000040 80 01 29 32 53 fa 90 4e 4f 20 4e 41 4d 45 20 20 |..)2S..NO NAME |
    00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
    00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|[email protected]|
    00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
    00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
    00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
    000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
    000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
    000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
    000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
    000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
    000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
    00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
    00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
    00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
    00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
    00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
    00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
    00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |[email protected]|
    00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
    00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
    000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
    000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
    000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
    00000200
    Unknown BootLoader on sdb2
    00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 08 2e 20 |.X.MSDOS5.0.... |
    00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
    00000020 00 00 80 00 e9 1f 00 00 00 00 00 00 02 00 00 00 |................|
    00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    00000040 80 00 29 31 74 5e ba 4e 4f 20 4e 41 4d 45 20 20 |..)1t^.NO NAME |
    00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
    00000060 7b 8e c1 8e d9 bd 00 7c 88 56 40 88 4e 02 8a 56 |{......|[email protected]|
    00000070 40 b4 41 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a |@.A..U..r...U.u.|
    00000080 f6 c1 01 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd |...t..F..-.V@...|
    00000090 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 |.s......f...@f..|
    000000a0 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 |...?.......Af...|
    000000b0 66 f7 e1 66 89 46 f8 83 7e 16 00 75 39 83 7e 2a |f..f.F..~..u9.~*|
    000000c0 00 77 33 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 |.w3f.F.f........|
    000000d0 00 e8 2c 00 e9 a8 03 a1 f8 7d 80 c4 7c 8b f0 ac |..,......}..|...|
    000000e0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
    000000f0 ee a1 fa 7d eb e4 a1 7d 80 eb df 98 cd 16 cd 19 |...}...}........|
    00000100 66 60 80 7e 02 00 0f 84 20 00 66 6a 00 66 50 06 |f`.~.... .fj.fP.|
    00000110 53 66 68 10 00 01 00 b4 42 8a 56 40 8b f4 cd 13 |Sfh.....B.V@....|
    00000120 66 58 66 58 66 58 66 58 eb 33 66 3b 46 f8 72 03 |fXfXfXfX.3f;F.r.|
    00000130 f9 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 |..*f3.f..N.f....|
    00000140 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 |..f..f....v....V|
    00000150 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 0f |@............fa.|
    00000160 82 74 ff 81 c3 00 02 66 40 49 75 94 c3 42 4f 4f |[email protected]|
    00000170 54 4d 47 52 20 20 20 20 00 00 00 00 00 00 00 00 |TMGR ........|
    00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 44 69 |..............Di|
    000001b0 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 |sk error...Press|
    000001c0 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 | any key to rest|
    000001d0 61 72 74 0d 0a 00 00 00 00 00 00 00 00 00 00 00 |art.............|
    000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001f0 00 00 00 00 00 00 00 00 ac 01 b9 01 00 00 55 aa |..............U.|
    00000200
    ========= Devices which don't seem to have a corresponding hard drive: =========
    sdc {
    =============================== StdErr Messages: ===============================
    cat: /tmp/BootInfo-wSbit3X4/Tmp_Log: No such file or directory
    /dev/sdc: open failed: No medium found
    No volume groups found
    mdadm: No arrays found in config file or automatically
    EDIT:
    I gave up trying to make grub work, so I uninstalled grub and deleted all the grub files I could find.
    # pacrem grub-efi-x86_64
    # rm -fr /boot/grub
    That last one I came to regret later on. So I installed rEFInd using the archlinux beginners guide. When I then tried to boot into windows It told me that /boot/grub/x86_64-efi/normal.mod was not found. I then reinstalled grub-efi-x86_64 and copied /usr/lib/grub/x86_64 to /boot/grub. Now everything works fine.
    Last edited by sighol (2013-06-08 21:47:49)

    sighol wrote:However, it's not very important for me to use grub, so if booting into windows
    8 is easier using efistub, I will try that.
    The EFI stub loader is a Linux-only boot loader; however, it is possible to use the EFI stub loader in conjunction with a separate boot manager, such as rEFInd or gummiboot. In such a configuration, you'd use the boot manager to select the OS to boot (Windows or Linux, and possibly the specific Linux kernel), and the boot loader (the Windows loader or the EFI stub loader built into a specific kernel) will then take over booting the OS. In Arch, this is often easier to configure than is GRUB, since GRUB is very complex and its automated tools to help with setting things up often get it wrong.
    This is the first error I recieved when I tried to boot windows.
    error: can't find command `drivemap'.
    error: invalid EFI file path.
    Press any key to continue...
    The "drivemap" command in GRUB is generally used when booting a BIOS-mode boot loader, and in fact your "Windows Recovery Environment (loader) (on /dev/sda2)" and "Windows 8 (loader) (on /dev/sda4)" GRUB entries are both built as for BIOS-mode Windows installations -- but the fact that your disks both use GPT means that Windows won't boot in BIOS mode on your computer. (This is one of the many things that the GRUB setup scripts can get wrong.)
    Then I tried to follow this post
    https://bbs.archlinux.org/viewtopic.php?id=150183 and made a new boot
    entry "Windows 82". And I got a new error:
    error: unspecified search type.
    error: file '/EFI/Microsoft/Boot/bootmgfw.efi' not found
    Press any key to continue...
    Both your "Windows 8" and "Windows 82" entries refer to an EFI boot loader file called EFI/Microsoft/Boot/bootmgfw.efi on your EFI System Partition (ESP). This should be correct, but your Boot Info Script output doesn't show any evidence of such a file. Sometimes Boot Info Script misses such things, so you may want to check it just to be sure. Your ESP is /dev/sda1, and it looks like it's being mounted at /boot/efi by default, so check for the /boot/efi/EFI/Microsoft directory tree, and for /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi in particular. If that file isn't present, then something is wrong -- perhaps you mistakenly erased the ESP when you installed Linux, thus wiping out the Windows boot loader; or perhaps the file was accidentally deleted somewhere along the way. (Note that on FAT, which the ESP uses, case is irrelevant, and in fact case varies between the filenames reported by Boot Info Script and what's recorded in your configuration files.)
    You do have another boot loader file that may be a duplicate of the Windows boot loader: EFI/BOOT/bkpbootx64.efi. This filename is generally created by Ubuntu's "Boot Repair" tool, which IMHO can do as much harm as good, especially on a system that's not booting Ubuntu. If you ran this tool, though, it's conceivable that bkpbootx64.efi is a copy of the Windows boot loader, so copying it to EFI/Microsoft/Boot/bootmgfw.efi might get things working. OTOH, the Windows boot loader relies on other files to do its job, so if they're not present, copying the Windows boot loader to its original location won't be sufficient.
    If you can't get things working based on the preceding suggestions, I recommend you run a Windows repair tool. These are accessible from a Windows recovery disc. Such disc images are readily available on the Internet, but I don't happen to have any links handy. Try Microsoft's own site; images obtained from random third-party sites might contain malware. Once you've done this, chances are the computer will boot directly into Windows. You'll then need to either restore GRUB as the default boot loader or install another boot loader or boot manager.  You can use the Windows "bcdedit" command to do the former, as in:
    bcdedit /set {bootmgr} path \EFI\arch-grub\grubx64.efi
    You'll need to type this from an Administrator Command Prompt window.

  • SOLVED: WiFi dropouts under Windows 7 on Retina Macbook Pro

    I never found the solution to the problem but I found hints around the web. After hours of playing with router settings and driver settings, this problem is solved. Wanted to log down because I did many searches and did not find any clear guidelines. (I can find them when searching for what I now know is the answer)
    Short answer: Disable 40MHz in the router. Use only 20MHz. (Not auto, not both).
    Situation: I have to use Windows 7 as it's a work computer (for various reasons). At my home network (only - other places OK), I could never connect reliably to the wifi. Sometimes it would appear 'fast' (I live in China so nothing's every blistering) and sometimes I'd just get the yellow hat on my wifi bars indicating no connection.
    I knew it was a problem with my computer/drivers because
    Other hardware in the house (ipads, other windows computers, phones) all connected as one would expect to the internet.
    My computer couldn't even get a good connection to the router (the config page). I.e. it was a LAN issue.
    Manually setting some parts of the internet settings (e.g. IP address, DHCP server) did not help
    What I tried
    Cleaned out all the junk in the computer (there was an old Java vulnerability but not sure if that had any impact)
    Removed some junk software
    Stopped many services systematically (thinking they were blocking the connection before even my netstat software) - I was suspicious of some installed by my bank (remember where I live)
    Changing some wireless adapter settings. E.g. changed in AP mode 'higher performance' to 'broader compatibility'.
    Upgraded router firmware, using a fairly normal ASUS RT-12N, but very old firmware
    Final solution: I had read somewhere something about Apple wifi hardware and bluetooth interfereing. even though I have no bluetooth hardware, I thought it might be a cause. So I set the router to 20MHz only rather than 40 and 20 simultaneously.
    Results:
    Stable connection (1 day uptime so far)
    Much higher bandwidth (about double previously... i.e. 500-800KB/s, which is fast for where I live)
    Lower latency (quicker loads of some previously slow pages
    Obviously I have only tested this on one computer. Hope this works for you.

    Go through and read these articles they walk you through quite thoroughly
    Mac 101: Using Windows on your Mac via Boot Camp
    https://support.apple.com/kb/HT1461
    Boot Camp 4.0, OS X Lion: Frequently asked question
    http://support.apple.com/kb/HT4818
    http://manuals.info.apple.com/en_US/boot_camp_install-setup_10.7.pdf
    http://manuals.info.apple.com/en/Boot_Camp_Install-Setup_10.6.pdf
    create a Windows support software (drivers) CD or USB storage media
    http://support.apple.com/kb/HT4407
    The Boot Camp Assistant can burn Boot Camp software (drivers) to a DVD or copy it to a USB storage device, such as a flash drive or hard drive. These are the only media you can use to install Boot Camp software.
    https://support.apple.com/kb/HT4569
    Installation Guide  Instructions for all features and settings.
    Boot Camp 4.0 FAQ  Get answers to commonly asked Boot Camp questions.
    Windows 7 FAQ  Answers to commonly asked Windows 7 questions.
    http://www.apple.com/support/bootcamp/
    When you drag the slider on the partition side, that was all you needed - it should be 40-60GB at least.
    The disc I assume was physical retail etc and because you don't have an internal DVD you had to put USB-DVD support software on a USB flash drive.
    You downloaded the Windows Support Software package as well, which needs to be run and installed on USB FAT as well.

  • Looking for a way to solve permission problem in windows 7

    one of the biggest problems i have with this windows that even that i'm an administrator and the owner of the computer i always have permission problems folders i get a no access errors with files and folders even thoughe i should have full permisions i belive system restore doesn't work for me because permissions problem and i don't know what to do anymore i'v used uac i'v disable uac i downloaded a registry file to take owernship on files and folders and still problems so what can i do to solve all this problems?
    and to be honest i really don't like the way windows 7 behave with permisions this is my computer and i am an administrator why do i have to fight to access folders like System Volume Information,Recovery,Documents and Settings why do i get the lock icon when i take owenership and i'm on the users list but when i add users everyting is fine?
    10x in advance.:)

    Hello,
    This is by design. You cannot access the folder or files are protected by operation system even if your current user account is Administrator.
    System Volume Information is a hidden and protected system folder that the System Restore tools uses to store it information and restore points.
    In Recovery folder, there are two files: Winre.wim and boot.sdi. With these two files, you are able to boot the system to Windows Recovery Environment (WinRE) and do a repair without inserting a Windows 7 installation disc.
    If you want to access the protected folders like “System Volume Information”, use the following method, but I do not recommend you do this. It may cause some potential problems:
    1. Right click the System Volume Information folder and choose Properties.
    2. In Security tab, click Edit and then click Add. Type in “everyone”(without quote) and click Ok.
    3. Then “Everyone“ will be listed under ” Group or user names”, click Everyone, and check “allow” full control option.
    As BurrWalnut said, the “Documents and Settings”, it is a junction. A junction point is also a protected operating system folder that points to another folder. The junction point is an important part of application compatibility and does not contain any data or other files. In Windows Vista and Windows 7, the “Documents and Settings” folder has been replaced with “Users” folder. All of your user profiles are saved in C:\Users\User name folder.
    Thomas Lin

  • [solved] OpenGL apps in window do not obey window manager

    Hello,
    I have another X related problem, the first one resulted in downgrading my X
    (see http://bbs.archlinux.org/viewtopic.php?id=44460 )
    Now I am finally able to run both xv (video rendering) and dri (3d rendering), but
    I have a problem, that when I run an opengl app in window (for example glxgears, but also game emulators and games in Wine), it does not move or resize when the window manager tells it to, e.g. when I move or resize the window. This makes 3D in window nearly unusable.
    In my previous linux (suse) this worked normally; DRI was on and I was able to resize or move the 3D apps windows
    card:
    01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01)
    X version:
    [danny@zdroj ~]$ X -version
    X Window System Version 7.2.0
    Release Date: 22 January 2007
    X Protocol Version 11, Revision 0, Release 7.2
    Build Operating System: UNKNOWN
    Current Operating System: Linux zdroj 2.6.24-ARCH #1 SMP PREEMPT Wed Feb 27 01:15:32 CET 2008 i686
    Build Date: 08 April 2007
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Module Loader present
    xorg.conf:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "ServerFlags"
    Option "IgnoreABI" "True"
    Option "AIGLX" "False"
    EndSection
    Section "Extensions"
    Option "XVideo" "enable"
    EndSection
    Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/local"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    FontPath "/usr/share/fonts/artwiz-fonts/"
    EndSection
    Section "Module"
    Load "xtrap"
    Load "dbe"
    Load "GLcore"
    Load "extmod"
    Load "record"
    Load "dri"
    Load "glx"
    Load "drm"
    #Load "xv"
    Load "freetype"
    #Load "type1"
    #Load "v4l"
    #Load "drm"
    #Load "type1"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "XkbLayout" "us,cz_qwerty"
    Option "XkbModel" "pc104"
    Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "Monitor"
    DisplaySize 380 300 # mm
    Identifier "Monitor0"
    VendorName "BNQ"
    ModelName "BenQ FP91G+"
    ### Comment all HorizSync and VertRefresh values to use DDC:
    HorizSync 30.0 - 83.0
    VertRefresh 43.0 - 76.0
    Option "DPMS"
    UseModes "Modes[0]"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "HWcursor" # [<bool>]
    #Option "PciRetry" # [<bool>]
    #Option "SyncOnGreen" # [<bool>]
    #Option "NoAccel" # [<bool>]
    #Option "Overlay" # [<str>]
    #Option "MGASDRAM" # [<bool>]
    #Option "ShadowFB" # [<bool>]
    #Option "UseFBDev" # [<bool>]
    #Option "ColorKey" # <i>
    #Option "SetMclk" # <freq>
    #Option "OverclockMem" # [<bool>]
    #Option "VideoKey" # <i>
    #Option "TexturedVideo" # [<bool>]
    #Option "Int10" # [<bool>]
    #Option "AGPMode" # <i>
    #Option "AGPSize" # <i>
    #Option "DRI" # [<bool>]
    #Option "OldDmaInit" # [<bool>]
    #Option "ForcePciDma" # [<bool>]
    #Option "AccelMethod" # [<str>]
    Identifier "Card0"
    Driver "mga"
    VendorName "Matrox Graphics, Inc."
    BoardName "MGA G550 AGP"
    BusID "PCI:1:0:0"
    Option "HwCursor" "off" #protoze jinak tam neni
    Option "DRI" "on"
    Option "AGPMode" "4"
    #Option "OldDmaInit" "true"
    #Option "ShadowFB" "on" # 1
    #Option "TexturedVideo" "on" # 2
    #Option "VideoOverlay" "on"
    #Option "AccelMethod" "EXA"
    #Option "Overlay" "24,8"
    #Option "NoAccel"
    EndSection
    Section "DRI"
    Group "video"
    Mode 0666
    EndSection
    Section "Modes"
    Identifier "Modes[0]"
    Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync
    -vsync
    ModeLine "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 16
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    EndSection
    glxinfo:
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
    client glx vendor string: SGI
    client glx version string: 1.4
    client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig
    OpenGL vendor string: VA Linux Systems Inc.
    OpenGL renderer string: Mesa DRI G400 20061030 AGP 4x x86/MMX/SSE2
    OpenGL version string: 1.2 Mesa 6.5.2
    OpenGL extensions:
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_texture_compression,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_program, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_logic_op, GL_EXT_clip_volume_hint,
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
    GL_EXT_secondary_color, GL_EXT_separate_specular_color,
    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_texture_env_combine3, GL_IBM_rasterpos_clip, GL_MESA_ycbcr_texture,
    GL_MESA_window_pos, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
    GL_NV_texgen_reflection, GL_NV_vertex_program, GL_NV_vertex_program1_1,
    GL_OES_read_format, GL_SGIS_generate_mipmap, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
    visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
    0x23 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
    0x24 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
    0x25 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
    0x26 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
    0x27 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
    0x28 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
    0x29 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
    0x2a 16 tc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
    0x2b 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
    0x2c 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
    0x2d 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
    0x2e 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 0 0 0 0 0 0 Slow
    0x2f 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
    0x30 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
    0x31 16 dc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
    0x32 16 dc 0 16 0 r . . 5 6 5 0 0 16 8 16 16 16 0 0 0 Slow
    can anyone please help me?
    Last edited by danielsoft (2008-03-04 16:22:32)

    solved with unofficial drivers http://forum.tuxx-home.at/viewtopic.php?t=153

  • QTP version 10 + Adobe 4 flex automation plug in + windows xp.

    I am using QTP version 10 + Adobe 4 flex automation plugin+ windows xp . I am trying to record an application having an  active x control. QTP does not record anything. Could anybody please let me know if there is an isssue with active x with QTP v10. When i tried recording an sample flex application i was able to record the controls as flex controls.
    Any comments will be helpful..
    Thanks in advance ,
    Sheetal

    Moving this discussion to the Flex forum.

  • [SOLVED] Mouse-friendly dwm window manager?

    Dear all,
    I use the dwm window manager (version 6.0). I think I remember that some time ago in the suckless website
    there was some part where they presented some configuration for extended mouse support. Not sure if I
    recall correctly but, in any case, I can't find something like this any more.
    Does anybody have any hints on that? Any links or advice regarding extended mouse support for dwm?
    Thanks in advance..
    Last edited by geo909 (2012-04-23 19:52:45)

    Unia wrote:
    What exactly is it you think is 'extended'? DWM supports the mouse as much as any other tiler, ie you can move windows with the mouse. There's also the tilemovemouse patch/extension that I think (never used it myself) lets you move tiled windows with the mouse. Find it here:
    https://github.com/ok100/dwm/blob/maste … ovemouse.c
    wolfcore wrote:Well for starters you can customize the button definitions in config.h...
    Thanks! The tilemovemouse patch will definitely help.. And I realize I wasn't clear enough
    when I was saying 'extended'.
    I eventually found many of the things that I was looking for here:
    http://dwm.suckless.org/customisation/customfuncs
    and that helped me understand better how the config.h works..
    I think some customization along with the tilemovemouse patch
    would be pretty complete for me..
    Last edited by geo909 (2012-04-23 19:52:32)

  • [SOLVED] Dual-boot Arch/Windows - 2 hard drives

    Hi Everyone
    I've just installed Arch and I'm having a bit of a problem dual-booting between Arch and Windows XP, which are each on a seperate Hard drive.
    I've done this successfully before with Mepis Linux and Windows XP, but for some reason it's not working this time.   
    The difference is that I've recently purchased a new computer and both Windows and Arch are on SATA drives whereas last time they were both on IDE drives.  Also I'm not sure whether or not to enable SATA AHCI mode in the BIOS (apparently it doesn't work with XP anyways), or SATA port 0-3 Native mode.  Although I've tried all possible combinations and it doesn't seem to work at all.
    Here is my menu.lst file:
    # (0) Arch Linux
    title  Arch Linux
    root   (hd0,0)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/0df05d3b-537c-4576-ad36-1f90a6b01ec0 ro vga=773
    initrd /boot/kernel26.img
    # (1) Windows
    title Windows
    rootnoverify (hd1,0)
    makeactive
    chainloader +1
    When I boot into Arch from Grub it works fine,  but when I try to boot into Windows from Grub, I get this:
    rootnoverify (hd1,0)
    makeactive
    chainloader +1
    and then nothing....No error message or anything. It just hangs.  Does anyone have any ideas as to what's happening? Thanks in advance.
    edit:  It seems I solved the problem by adding these lines to the menu.lst file:
    map (hd0) (hd1)
    map (hd1) (hd0)
    root (hd1,0)
    I can now boot into either Arch or Windows from the Grub menu
    Last edited by axle (2008-09-30 02:35:54)

    This is a question that can very easily be answered by doing a simple google serach.  Google is your friend.  I suggest you start there and come back if you run into issues.

  • How do I solve connection problems with Windows-PCs on a AirPort network?

    I have a AirPort network with 1 AP Extreme (dual band)  in bridge modeextended with two dualband AP Express and one 1st gen. AP Express. With only Macs all computers connect without problem, but when introducing PCs running Windows (7 or 8) on my wireless network both Windows and Macs often get problems getting an IP-adress from my router. When resetting my router problem is solved for a while.
    Anyone with a solution?

    You're going to have to be more specific with the issues, errors and diagnostic messages that you are encountering, and what particular configuration you are seeing to establish.
    Screen sharing is available from Mac to Mac, and from Windows once you load a VNC client on the Windows box such as TightVNC or some other VNC client, and configure and connect it.
    Here are some notes on getting Windows file clients to connect to a Mac OS X Server SMB Samba file server; you have to drop some of the Windows security requirements to allow it to connect to the Mac OS X Server box.
    Microsoft Office Outlook isn't traditionally used with mail servers other than Microsoft Exchange Server.  (While Outlook was good with Exchange Server and has likely gotten better over the years, it was classically rather poor when working with SMTP servers.)  More commonly, Outlook Express (and now called Windows Mail) is used for this, or Mozilla Thunderbird, or another SMTP-capable mail client.
    One of the first things you will want to ensure here is correct and functional DNS on your LAN; other services are entirely dependent on DNS, and your ISP DNS cannot provide valid DNS for a LAN behind a NAT device.  Launch Terminal.app and issue the command sudo changeip -checkhostname and see if you get an indication that DNS is correct and no changes are required, or that there are DNS errors.  (You will need to enter an administrative password for the sudo command to be accepted.)
    To connect and use a mail server on the Internet, you'll need to have a public static IP address and a correct public DNS configuration, or (far less desirably, and rather more complex) a way to tunnel from a non-static IP address over to a mail gateway service of some sort.  Having static IP and correct DNS is the usual approach.

Maybe you are looking for

  • S.M.A.R.T. was 'Failing'... now shows 'Verified'

    Hello, Yesterday I went into Disk Utility and found that S.M.A.R.T. on my hard drive was reporting 'Failing.' I immediately made a backup of my computer and put it to sleep. Today, S.M.A.R.T. in Disk Utility shows that the Hard Drive is 'Verified.' H

  • VPP for content as well as apps?

    I'm looking into deploying multiple iPads for my business and I've looked at the Volume Purchase Program. It seems to allow for Apps to be deployed across multiple devices, does anyone know if that would also apply to books, movies, magazine subscrip

  • DVD Player - Where are the language folders located?

    In attempting to free-up HD space, I accidently deleted ALL of my languages from the Open Apple-I window of DVD Player. They luckily went to the trash, and I recovered the English.Iproj folder. All I need to do is find a home for it, but alas, even S

  • Tried to open new POP account - disaster (2)

    NB. the port is 110 and the 'use SSL' box is NOT ticked (in advanced settings) when old emails coming flooding through into my mail program. If I tick the box 'use SSL' the port changes, but it doesn't make the Mail program work. Please see my previo

  • No authorisation error in MB1A

    Hi, I am trying to post scrap in T.code MB1A with movement type 551. at the time of saving system is saying "No Authorisation". when i check the T.code SU53. then its green. no aurhorisation is missing. what is missing unable to understand. please in