UUID vs. Label

Hi Archers, there is something I'm curious about.
I know UUID is used for persistent device naming, and so could labels be used for that purpose.
UUIDs are assigned automatically by the system but they are not really user friendly, labels are friendlier but you have have to asign them yourself.
I was just wondering whether there is any reason why one is better/prefered over the other, or if it really doens't ake any difference.
Oh and by the way, I have read the wiki entry on naming devices persistently. but anyway I'd like to know your point of view on this.
Thank you.

ixzus wrote:
thanks
I normally prefer labels over uuids just because of readability.
I can see that one can make mistakes when assigning a label, but if that is the only problem, I guess I'll have to be carefull when adding labels to the partitions.
Is there any other reason?
Yeah, I do too.  When I used Fedora, I was pleasantly surprised that it assigned both menu.lst and my fstab as labels.  I looked into this a bit and there was a device node for it '/dev/label' or 'dev/LABEL' I'm not sure which.  For Arch there is no such device node.  When I tried to find out why I didn't get much information except from some old mailing lists.  I'm not sure if this is a kernel option or if it is a userspace tool, but since it was in Grub I'm guessing it was kernel.  I've done kernel configurations in the past though and never seen this opton, but perhaps I missed it.  I too like the idea of labels because I tend to resize my partitions from time to time.

Similar Messages

  • Dualboot with Windows from secondary MBR drive using e.g. grub/refind

    Hi!
    I'm trying to get my secondary drive with Windows 8, installed in MBR-mode to boot using either grub2, refind or any other suitable bootloader. "bootinfoscript" return:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => is installed in the MBR of /dev/sda.
    => Windows is installed in the MBR of /dev/sdb.
    sda1: __________________________________________________________________________
    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /grub/grub.cfg /efi/arch_grub/grubx64.efi
    /efi/refind/refind_x64.efi
    sda2: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Arch Linux ()
    Boot files: /etc/fstab
    sdb1: __________________________________________________________________________
    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
    sdb2: __________________________________________________________________________
    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 /Windows/System32/winload.exe
    sdb3: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 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/sda1 1 117,231,407 117,231,407 ee GPT
    GUID Partition Table detected.
    Partition Start Sector End Sector # of Sectors System
    /dev/sda1 40 409,639 409,600 EFI System partition
    /dev/sda2 409,640 115,752,999 115,343,360 Data partition (Linux)
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 1.4 TiB, 1500301910016 bytes, 2930277168 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/sdb1 2,048 718,847 716,800 7 NTFS / exFAT / HPFS
    /dev/sdb2 718,848 882,276,351 881,557,504 7 NTFS / exFAT / HPFS
    /dev/sdb3 * 882,276,352 2,930,272,255 2,047,995,904 af HFS / HFS+
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 39D2-CCE0 vfat
    /dev/sda2 0c5d5c14-1e89-44ec-af4d-7b180ed693bc ext4
    /dev/sdb1 780CD4910CD44BAE ntfs System Reserved
    /dev/sdb2 105CD9745CD95556 ntfs
    /dev/sdb3 bb50e1d4-cc4c-43cc-8597-54815366422f ext4
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda1 /boot vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sda2 / ext4 (rw,noatime,discard,data=ordered)
    /dev/sdb3 /home ext4 (rw,relatime,data=ordered)
    ============================= sda1/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
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,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 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
    else
    search --no-floppy --fs-uuid --set=root 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_archlinux ###
    menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod fat
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
    initrd /initramfs-linux.img
    menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod fat
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
    initrd /initramfs-linux-fallback.img
    ### END /etc/grub.d/10_archlinux ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
    insmod part_msdos
    insmod ntfs
    insmod search_fs_uuid
    insmod ntldr
    search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
    ntldr /bootmgr
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    =================== sda1: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    =============================== sda2/etc/fstab: ================================
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda2
    UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc / ext4 rw,defaults,noatime,discard,data=ordered 0 1
    # /dev/sda1
    UUID=39D2-CCE0 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sdb3
    UUID=bb50e1d4-cc4c-43cc-8597-54815366422f /home ext4 rw,relatime,data=ordered 0 2
    =============================== StdErr Messages: ===============================
    cat: /tmp/BootInfo-2fUreQzU/Tmp_Log: No such file or directory
    No volume groups found
    mdadm: No arrays found in config file or automatically
    As seen, windows is installed in the MBR of /dev/sdb and grub, using the chainloader should be able to boot it (i guess).
    I have the following in my 40-custom.
    menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
    insmod part_msdos
    insmod ntfs
    insmod search_fs_uuid
    insmod ntldr
    search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
    ntldr /bootmgr
    where the first is  "--hint-bios= ..." is given by
    sudo grub-probe --target=hints_string -d /dev/sdb1
    and the UUID by
    sudo grub-probe --target=fs_uuid -d /dev/sdb1
    When I try to boot the above configuration, I get an error saying that "ntldr cannot be found" - and indeed, while I find "ntldr.mod" in "/usr/lib/grub/i386-pc/" I cannot find it in "/usr/lib/grub/x86_64-efi/".
    I've also tried getting refind to identify "bootmgr" from windows without success. I guess it does not support NTFS or something.
    Anyway, do anyone have any idea of how to get this to work - without reinstalling Windows in EFI-mode?
    Thanks in advance,
    elt

    dieelt wrote:
    Hi!
    I'm trying to get my secondary drive with Windows 8, installed in MBR-mode to boot using either grub2, refind or any other suitable bootloader. "bootinfoscript" return:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => is installed in the MBR of /dev/sda.
    => Windows is installed in the MBR of /dev/sdb.
    sda1: __________________________________________________________________________
    File system: vfat
    Boot sector type: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /grub/grub.cfg /efi/arch_grub/grubx64.efi
    /efi/refind/refind_x64.efi
    sda2: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Arch Linux ()
    Boot files: /etc/fstab
    sdb1: __________________________________________________________________________
    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
    sdb2: __________________________________________________________________________
    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 /Windows/System32/winload.exe
    sdb3: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 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/sda1 1 117,231,407 117,231,407 ee GPT
    GUID Partition Table detected.
    Partition Start Sector End Sector # of Sectors System
    /dev/sda1 40 409,639 409,600 EFI System partition
    /dev/sda2 409,640 115,752,999 115,343,360 Data partition (Linux)
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 1.4 TiB, 1500301910016 bytes, 2930277168 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/sdb1 2,048 718,847 716,800 7 NTFS / exFAT / HPFS
    /dev/sdb2 718,848 882,276,351 881,557,504 7 NTFS / exFAT / HPFS
    /dev/sdb3 * 882,276,352 2,930,272,255 2,047,995,904 af HFS / HFS+
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 39D2-CCE0 vfat
    /dev/sda2 0c5d5c14-1e89-44ec-af4d-7b180ed693bc ext4
    /dev/sdb1 780CD4910CD44BAE ntfs System Reserved
    /dev/sdb2 105CD9745CD95556 ntfs
    /dev/sdb3 bb50e1d4-cc4c-43cc-8597-54815366422f ext4
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda1 /boot vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sda2 / ext4 (rw,noatime,discard,data=ordered)
    /dev/sdb3 /home ext4 (rw,relatime,data=ordered)
    ============================= sda1/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
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,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 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
    else
    search --no-floppy --fs-uuid --set=root 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
    # Fallback normal timeout code in case the timeout_style feature is
    # unavailable.
    else
    set timeout=5
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_archlinux ###
    menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod fat
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
    initrd /initramfs-linux.img
    menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    fi
    set gfxpayload=keep
    insmod fat
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
    initrd /initramfs-linux-fallback.img
    ### END /etc/grub.d/10_archlinux ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
    menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
    else
    search --no-floppy --fs-uuid --set=root 39D2-CCE0
    fi
    echo 'Loading Linux linux ...'
    linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
    insmod part_msdos
    insmod ntfs
    insmod search_fs_uuid
    insmod ntldr
    search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
    ntldr /bootmgr
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    =================== sda1: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    =============================== sda2/etc/fstab: ================================
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda2
    UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc / ext4 rw,defaults,noatime,discard,data=ordered 0 1
    # /dev/sda1
    UUID=39D2-CCE0 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sdb3
    UUID=bb50e1d4-cc4c-43cc-8597-54815366422f /home ext4 rw,relatime,data=ordered 0 2
    =============================== StdErr Messages: ===============================
    cat: /tmp/BootInfo-2fUreQzU/Tmp_Log: No such file or directory
    No volume groups found
    mdadm: No arrays found in config file or automatically
    As seen, windows is installed in the MBR of /dev/sdb and grub, using the chainloader should be able to boot it (i guess).
    I have the following in my 40-custom.
    menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
    insmod part_msdos
    insmod ntfs
    insmod search_fs_uuid
    insmod ntldr
    search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
    ntldr /bootmgr
    where the first is  "--hint-bios= ..." is given by
    sudo grub-probe --target=hints_string -d /dev/sdb1
    and the UUID by
    sudo grub-probe --target=fs_uuid -d /dev/sdb1
    When I try to boot the above configuration, I get an error saying that "ntldr cannot be found" - and indeed, while I find "ntldr.mod" in "/usr/lib/grub/i386-pc/" I cannot find it in "/usr/lib/grub/x86_64-efi/".
    I've also tried getting refind to identify "bootmgr" from windows without success. I guess it does not support NTFS or something.
    Anyway, do anyone have any idea of how to get this to work - without reinstalling Windows in EFI-mode?
    Thanks in advance,
    elt
    UEFI GRUB(2) does not support booting BIOS boot loaders in non-Apple systems. For Apple Macs that support exists in form of 'appleloader' grub command. You might have better luck with rEFInd bios boot support but as per its author Rod Smith (srs5694) even that support is severely limited http://rodsbooks.com/refind/using.html#legacy .
    You 40_custom is correct but that will work only in bios grub(2), not in uefi grub(2). 'ntldr' grub module is specific to bios grub(2).
    Last edited by the.ridikulus.rat (2014-04-13 20:09:25)

  • [MOOT] Can't access bootloader in laptop w/out chainloading (syslinux)

    EDIT: Laptop died shortly into thread.
    I've run into a curious error as I'm installing onto a new laptop for the wife (Acer Aspire V5-531).  As in most laptops, it has a single hard drive.
    I've gone through the install, and threw on syslinux as the bootloader.  I reboot, pull the installation USB from the drive, and suddenly the computer tells me it can't find the OS (syslinux doesn't appear at all).
    I've discovered though that if I plug back in the Arch install ISO, change the 'Boot into existing OS' option within syslinux to 'hd1' rather than 'hd0', I can chain load into my install of syslinux successfully and boot.
    I've tried about everything I can think of messing around in the BIOS with boot settings, but I haven't the slightest idea why this is happening.
    I'm attaching below the output of the popular bootinfo script.
    My partition scheme:
    sda1 - Windows recovery partition
    sda2 - Another small partition that already existed with windows stuff
    sda3 - Windows C:
    sda4 - Extended
    sda5 - /boot
    sda6 - swap
    sda7 - /
    sda8 - /home
    (sdb is the USB holding the arch install media).
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
    => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
    sda1: __________________________________________________________________________
    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
    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: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /bootmgr /Windows/System32/winload.exe
    sda4: __________________________________________________________________________
    File system: Extended Partition
    Boot sector type: -
    Boot sector info:
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: SYSLINUX 4.06 2012-10-23
    Boot sector info: Syslinux looks at sector 266240 of /dev/sda5 for its
    second stage. SYSLINUX is installed in the /syslinux
    directory. The 2 ADV sectors are not the same
    (corrupt).
    Operating System:
    Boot files: /syslinux/syslinux.cfg /syslinux/ldlinux.sys
    sda6: __________________________________________________________________________
    File system: swap
    Boot sector type: -
    Boot sector info:
    sda7: __________________________________________________________________________
    File system: ext4
    Boot sector type: SYSLINUX 4.06 2012-10-23
    Boot sector info: Syslinux looks at sector 84262920 of /dev/sda7 for
    its second stage. SYSLINUX is installed in the
    /boot/syslinux directory.
    Operating System: Arch Linux ()
    Boot files: /etc/fstab
    sda8: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    sdb1: __________________________________________________________________________
    File system: iso9660
    Boot sector type: Unknown
    Boot sector info:
    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 2,048 34,818,047 34,816,000 27 Hidden NTFS (Recovery Environment)
    /dev/sda2 34,818,048 35,022,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda3 35,022,848 160,851,967 125,829,120 7 NTFS / exFAT / HPFS
    /dev/sda4 160,851,968 976,773,119 815,921,152 5 Extended
    /dev/sda5 * 160,854,016 162,951,167 2,097,152 83 Linux
    /dev/sda6 162,953,216 171,341,823 8,388,608 82 Linux swap / Solaris
    /dev/sda7 171,343,872 297,172,991 125,829,120 83 Linux
    /dev/sda8 297,175,040 976,773,119 679,598,080 83 Linux
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 4009 MB, 4009754624 bytes, 7831552 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 * 0 854,015 854,016 17 Hidden NTFS / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/loop0 squashfs
    /dev/loop1 0c909e27-ed21-43d8-900c-da9289df1475 ext4
    /dev/loop2 0c909e27-ed21-43d8-900c-da9289df1475 ext4
    /dev/loop3 squashfs
    /dev/loop4 c2386a4b-f8f8-41a1-b642-536f5a9807bb ext4
    /dev/loop5 c2386a4b-f8f8-41a1-b642-536f5a9807bb ext4
    /dev/loop6 squashfs
    /dev/loop7 897cbb01-aa14-4adc-935b-343e1796b6fb ext4
    /dev/loop8 897cbb01-aa14-4adc-935b-343e1796b6fb ext4
    /dev/mapper/arch_root-image 0c909e27-ed21-43d8-900c-da9289df1475 ext4
    /dev/mapper/arch_usr-lib-modules c2386a4b-f8f8-41a1-b642-536f5a9807bb ext4
    /dev/mapper/arch_usr-share 897cbb01-aa14-4adc-935b-343e1796b6fb ext4
    /dev/sda1 708CAF888CAF4804 ntfs PQSERVICE
    /dev/sda2 2A8E441E8E43E145 ntfs SYSTEM RESERVED
    /dev/sda3 EE9E4C629E4C2585 ntfs ACER
    /dev/sda5 1a300782-99b8-4b48-a61c-7f4f570c5238 ext4 boot
    /dev/sda6 1e4981f3-3558-43aa-9eed-49117946d510 swap
    /dev/sda7 e144a443-0e65-4cd7-b4ff-3723de144331 ext4 root
    /dev/sda8 14602e49-3348-422d-b9af-760e68b837ef ext4 home
    /dev/sdb1 2012-11-01-06-08-08-00 iso9660 ARCH_201211
    ========================= "ls -R /dev/mapper/" output: =========================
    /dev/mapper:
    arch_root-image
    arch_usr-lib-modules
    arch_usr-share
    control
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/loop0 /run/archiso/sfs/root-image squashfs (ro,relatime)
    /dev/loop3 /run/archiso/sfs/usr-lib-modules squashfs (ro,relatime)
    /dev/loop6 /run/archiso/sfs/usr-share squashfs (ro,relatime)
    /dev/mapper/arch_root-image / ext4 (rw,relatime)
    /dev/mapper/arch_usr-lib-modules /usr/lib/modules ext4 (rw,relatime)
    /dev/mapper/arch_usr-share /usr/share ext4 (rw,relatime)
    /dev/sdb1 /run/archiso/bootmnt iso9660 (ro,relatime)
    ========================= sda5/syslinux/syslinux.cfg: ==========================
    # Config file for Syslinux -
    # /boot/syslinux/syslinux.cfg
    # Comboot modules:
    # * menu.c32 - provides a text menu
    # * vesamenu.c32 - provides a graphical menu
    # * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
    # * hdt.c32 - hardware detection tool
    # * reboot.c32 - reboots the system
    # * poweroff.com - shutdown the system
    # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
    # If /usr and /boot are on the same file system, symlink the files instead
    # of copying them.
    # If you do not use a menu, a 'boot:' prompt will be shown and the system
    # will boot automatically after 5 seconds.
    # Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
    # The wiki provides further configuration examples
    DEFAULT arch
    PROMPT 0 # Set to 1 if you always want to display the boot: prompt
    TIMEOUT 50
    # You can create syslinux keymaps with the keytab-lilo tool
    #KBDMAP de.ktl
    # Menu Configuration
    # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
    UI menu.c32
    #UI vesamenu.c32
    # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
    MENU TITLE Arch Linux
    #MENU BACKGROUND splash.png
    MENU COLOR border 30;44 #40ffffff #a0000000 std
    MENU COLOR title 1;36;44 #9033ccff #a0000000 std
    MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
    MENU COLOR unsel 37;44 #50ffffff #a0000000 std
    MENU COLOR help 37;40 #c0ffffff #a0000000 std
    MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
    MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
    MENU COLOR msg07 37;40 #90ffffff #a0000000 std
    MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
    # boot sections follow
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda7 ro
    INITRD ../initramfs-linux.img
    LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda7 ro
    INITRD ../initramfs-linux-fallback.img
    #LABEL windows
    # MENU LABEL Windows
    # COM32 chain.c32
    # APPEND hd0 1
    LABEL hdt
    MENU LABEL HDT (Hardware Detection Tool)
    COM32 hdt.c32
    LABEL reboot
    MENU LABEL Reboot
    COM32 reboot.c32
    LABEL off
    MENU LABEL Power Off
    COMBOOT poweroff.com
    =================== sda5: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    76.849609375 = 82.516639744 initramfs-linux-fallback.img 2
    76.836238861 = 82.502283264 initramfs-linux.img 1
    76.833354950 = 82.499186688 vmlinuz-linux 1
    ================= sda5: Location of files loaded by Syslinux: ==================
    GiB - GB File Fragment(s)
    76.826660156 = 82.491998208 syslinux/chain.c32 1
    76.826988220 = 82.492350464 syslinux/hdt.c32 1
    76.830081940 = 82.495672320 syslinux/ldlinux.sys 2
    76.826477051 = 82.491801600 syslinux/menu.c32 1
    76.826992035 = 82.492354560 syslinux/reboot.c32 1
    76.830085754 = 82.495676416 syslinux/syslinux.cfg 1
    76.826622009 = 82.491957248 syslinux/vesamenu.c32 1
    ============== sda5: Version of COM32(R) files used by Syslinux: ===============
    syslinux/chain.c32 : COM32R module (v4.xx)
    syslinux/hdt.c32 : COM32R module (v4.xx)
    syslinux/menu.c32 : COM32R module (v4.xx)
    syslinux/reboot.c32 : COM32R module (v4.xx)
    syslinux/vesamenu.c32 : COM32R module (v4.xx)
    =============================== sda7/etc/fstab: ================================
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda7 LABEL=root
    UUID=e144a443-0e65-4cd7-b4ff-3723de144331 / ext4 rw,noatime 0 1
    # /dev/sda8 LABEL=home
    UUID=14602e49-3348-422d-b9af-760e68b837ef /home ext4 rw,noatime 0 2
    # /dev/sda5 LABEL=boot
    UUID=1a300782-99b8-4b48-a61c-7f4f570c5238 /boot ext4 rw,noatime 0 2
    ======================== Unknown MBRs/Boot Sectors/etc: ========================
    Unknown BootLoader on sdb1
    00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
    00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
    00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
    00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
    00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
    00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
    00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
    00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
    00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
    00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
    000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
    000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
    000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
    000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
    000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
    000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
    00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
    00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
    00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
    00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
    00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
    00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001b0 c8 07 00 00 00 00 00 00 28 be 32 51 00 00 80 00 |........(.2Q....|
    000001c0 01 00 17 3f 60 a0 00 00 00 00 00 08 0d 00 00 00 |...?`...........|
    000001d0 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 00 00 00 00 00 00 55 aa |..............U.|
    00000200
    =============================== StdErr Messages: ===============================
    No volume groups found
    mdadm: No arrays found in config file or automatically
    Last edited by Morrad (2012-12-01 23:47:17)

    Went ahead and duplicated the results that I'm seeing using grub-bios this time.  Same problem, and the same strange method of getting to the bootloader through chainloading works.
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    => Grub2 (v1.99) is installed in the MBR of /dev/sdb.
    sda1: __________________________________________________________________________
    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 /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd
    /boot/BCD /BOOT/BCD /Boot/BCD
    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 /BOOTMGR /boot/bcd /BOOT/bcd /Boot/bcd
    /boot/BCD /BOOT/BCD /Boot/BCD
    sda3: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /bootmgr /Windows/System32/winload.exe
    sda4: __________________________________________________________________________
    File system: Extended Partition
    Boot sector type: -
    Boot sector info:
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: SYSLINUX 4.06 2012-10-23
    Boot sector info: Syslinux looks at sector 311504 of /dev/sda5 for its
    second stage. SYSLINUX is installed in the /syslinux
    directory. The 2 ADV sectors are not the same
    (corrupt).
    Operating System:
    Boot files: /grub/grub.cfg
    sda6: __________________________________________________________________________
    File system: swap
    Boot sector type: -
    Boot sector info:
    sda7: __________________________________________________________________________
    File system: ext4
    Boot sector type: Syslinux 4.03 or higher
    Boot sector info: Syslinux looks at sector 84262920 of /dev/sda7 for
    its second stage. It is very unlikely that Syslinux is
    (still) installed. The second stage could not be found.
    Operating System: Arch Linux ()
    Boot files: /etc/fstab
    sda8: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    sdb1: __________________________________________________________________________
    File system: iso9660
    Boot sector type: Unknown
    Boot sector info:
    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 2,048 34,818,047 34,816,000 27 Hidden NTFS (Recovery Environment)
    /dev/sda2 34,818,048 35,022,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda3 35,022,848 160,851,967 125,829,120 7 NTFS / exFAT / HPFS
    /dev/sda4 160,851,968 976,773,119 815,921,152 5 Extended
    /dev/sda5 * 160,854,016 162,951,167 2,097,152 83 Linux
    /dev/sda6 162,953,216 171,341,823 8,388,608 82 Linux swap / Solaris
    /dev/sda7 171,343,872 297,172,991 125,829,120 83 Linux
    /dev/sda8 297,175,040 976,773,119 679,598,080 83 Linux
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 4009 MB, 4009754624 bytes, 7831552 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 * 0 854,015 854,016 17 Hidden NTFS / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 708CAF888CAF4804 ntfs PQSERVICE
    /dev/sda2 2A8E441E8E43E145 ntfs SYSTEM RESERVED
    /dev/sda3 EE9E4C629E4C2585 ntfs ACER
    /dev/sda5 1a300782-99b8-4b48-a61c-7f4f570c5238 ext4 boot
    /dev/sda6 1e4981f3-3558-43aa-9eed-49117946d510 swap
    /dev/sda7 e144a443-0e65-4cd7-b4ff-3723de144331 ext4 root
    /dev/sda8 14602e49-3348-422d-b9af-760e68b837ef ext4 home
    /dev/sdb1 2012-11-01-06-08-08-00 iso9660 ARCH_201211
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda5 /boot ext4 (rw,noatime,data=ordered)
    /dev/sda7 / ext4 (rw,noatime,data=ordered)
    /dev/sda8 /home ext4 (rw,noatime,data=ordered)
    ============================= sda5/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_msdos
    insmod ext2
    set root='hd0,msdos7'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos7 --hint-efi=hd0,msdos7 --hint-baremetal=ahci0,msdos7 e144a443-0e65-4cd7-b4ff-3723de144331
    else
    search --no-floppy --fs-uuid --set=root e144a443-0e65-4cd7-b4ff-3723de144331
    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 GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-e144a443-0e65-4cd7-b4ff-3723de144331' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1a300782-99b8-4b48-a61c-7f4f570c5238
    else
    search --no-floppy --fs-uuid --set=root 1a300782-99b8-4b48-a61c-7f4f570c5238
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=e144a443-0e65-4cd7-b4ff-3723de144331 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux.img
    menuentry 'Arch GNU/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-e144a443-0e65-4cd7-b4ff-3723de144331' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 1a300782-99b8-4b48-a61c-7f4f570c5238
    else
    search --no-floppy --fs-uuid --set=root 1a300782-99b8-4b48-a61c-7f4f570c5238
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=e144a443-0e65-4cd7-b4ff-3723de144331 ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /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/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-708CAF888CAF4804' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 708CAF888CAF4804
    else
    search --no-floppy --fs-uuid --set=root 708CAF888CAF4804
    fi
    drivemap -s (hd0) ${root}
    chainloader +1
    menuentry 'Windows 7 (loader) (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-chain-2A8E441E8E43E145' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos2'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 2A8E441E8E43E145
    else
    search --no-floppy --fs-uuid --set=root 2A8E441E8E43E145
    fi
    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.
    ### 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 ###
    =================== sda5: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    76.892585754 = 82.562785280 grub/grub.cfg 1
    76.849609375 = 82.516639744 initramfs-linux-fallback.img 2
    76.836238861 = 82.502283264 initramfs-linux.img 1
    76.833354950 = 82.499186688 vmlinuz-linux 1
    =============================== sda7/etc/fstab: ================================
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda7 LABEL=root
    UUID=e144a443-0e65-4cd7-b4ff-3723de144331 / ext4 rw,noatime 0 1
    # /dev/sda8 LABEL=home
    UUID=14602e49-3348-422d-b9af-760e68b837ef /home ext4 rw,noatime 0 2
    # /dev/sda5 LABEL=boot
    UUID=1a300782-99b8-4b48-a61c-7f4f570c5238 /boot ext4 rw,noatime 0 2
    ======================== Unknown MBRs/Boot Sectors/etc: ========================
    Unknown BootLoader on sdb1
    00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
    00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
    00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
    00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
    00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
    00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
    00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
    00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
    00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
    00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
    000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
    000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
    000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
    000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
    000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
    000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
    00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
    00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
    00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
    00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
    00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
    00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    000001b0 c8 07 00 00 00 00 00 00 28 be 32 51 00 00 80 00 |........(.2Q....|
    000001c0 01 00 17 3f 60 a0 00 00 00 00 00 08 0d 00 00 00 |...?`...........|
    000001d0 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 00 00 00 00 00 00 55 aa |..............U.|
    00000200
    =============================== StdErr Messages: ===============================
    No volume groups found
    mdadm: No arrays found in config file or automatically

  • Is there a way to prevent MacOS from initializing second hard disk

    My second hard disk (using optibay slot) is a TrueCrypt encrypted backup disk of critical information (this is company policy).
    Because of this encryption, the second hard disk is not recognized and mounted "properly", and on starting up the dialog box always pops up giving the user the option to INITIALIZE the disk (which would destroy the data).
    I know that there are probably other ways to back up the data some other way, but please, assuming that this setup is preserved (i.e. I do not confront the company powers-that-be), how can I suppress the dialog box vis-a-vis the second hard disk, or prevent the initialization of the second hard disk? I don't want either myself or my kids to accidentally press "initialize" and POOF there goes the data!
    I cannot get methods with /etc/fstab to work (along the lines of noauto) because the unrecognised partition/disk is not successfully mounted in the first place, therefore I have been unable to derive the UUID or LABEL.

    This question was also posed in http://superuser.com/questions/117444/prevent-mac-os-x-from-prompting-disk-initi alization-formatting
    Seriously, is there no script or method to achieve this? It should be out there...

  • [SOLVED] Unable to dual boot into Windows 8

    I have an Acer Aspire S3 laptop which came with Windows 8 installed. After following the Beginner's Guide to install Arch alongside Windows, Linux works but Windows fails to boot. When I select Windows from the GRUB menu I get kicked out to rescue mode with a "file not found" error. This is a UEFI-GPT setup and in GRUB rescue I get an "unknown filesystem" error when I try to ls the ESP. In fact I get that error for everything except the two ext4 partitions I created during the Arch install.
    I'll just briefly run down (what I think are) the relevant parts of the installation process, then post the output of Boot Info Script at the end.
    Partitions
    I created three partitions during the installation:
    Swap (/dev/sda6)
    Root (/dev/sda7)
    Home (/dev/sda8)
    The disk already had an EFI System Partition (/dev/sda2) so I used that instead of creating my own, mounting it to /boot as described in the beginner's guide (not /boot/efi as in the GRUB docs - not sure if that makes a difference).
    Boot Loader
    I installed and configured GRUB exactly as described in the beginner's guide:
    # pacman -S grub efibootmgr os-prober
    # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck
    # grub-mkconfig -o /boot/grub/grub.cfg
    This appeared to work. Os-prober found my Windows OS ("Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi") and added a corresponding menuentry to grub.cfg. On discovering that this didn't actually boot, I added a custom Windows entry per the GRUB dual-boot instructions. That didn't work either.
    Boot Info
    Here is the output from boot info script which includes my grub config, partition info, fstab etc. One strange thing is that the script found every boot file on the ESP except the Windows Boot Manager, including leftover files from short-lived installations of Elementary OS and gummiboot. Maybe Windows is the "Unknown BootLoader" mentioned at the end.
    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: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    sda2: __________________________________________________________________________
    File system: vfat
    Boot sector type: Unknown
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /grub/grub.cfg /efi/arch_grub/grubx64.efi
    /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
    /efi/elementary/grubx64.efi
    /efi/gummiboot/gummibootx64.efi
    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 /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: swap
    Boot sector type: -
    Boot sector info:
    sda7: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Arch Linux ()
    Boot files: /etc/fstab
    sda8: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    sdb1: __________________________________________________________________________
    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''
    mount: unknown filesystem type ''
    sdb2: __________________________________________________________________________
    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''
    mount: unknown filesystem type ''
    mount: unknown filesystem type ''
    ============================ 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 821,247 819,200 Windows Recovery Environment (Windows)
    /dev/sda2 821,248 1,435,647 614,400 EFI System partition
    /dev/sda3 1,435,648 1,697,791 262,144 Microsoft Reserved Partition (Windows)
    /dev/sda4 1,697,792 130,945,023 129,247,232 Data partition (Windows/Linux)
    /dev/sda5 950,145,024 976,773,119 26,628,096 Windows Recovery Environment (Windows)
    /dev/sda6 130,945,024 139,333,631 8,388,608 Swap partition (Linux)
    /dev/sda7 139,333,632 206,442,495 67,108,864 Data partition (Linux)
    /dev/sda8 206,442,496 950,145,023 743,702,528 Data partition (Linux)
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 20.0 GB, 20014718976 bytes, 39091248 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 7,839,744 39,090,175 31,250,432 -
    /dev/sdb2 2,048 7,837,695 7,835,648 -
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 CCAC5E91AC5E75C4 ntfs Recovery
    /dev/sda2 A05F-051D vfat ESP
    /dev/sda3
    /dev/sda4 4218603F18603457 ntfs ACER
    /dev/sda5 8088627C88627118 ntfs Push Button Reset
    /dev/sda6 d4f5415f-f771-4f9c-ba4a-0f639d055360 swap
    /dev/sda7 90d566ac-57d9-475c-9493-14ba0472d832 ext4
    /dev/sda8 8ab4a486-02d8-4cb4-af91-43acac7e81d7 ext4
    /dev/sdb1
    /dev/sdb2
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda2 /boot vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sda7 / ext4 (rw,relatime,data=ordered)
    /dev/sda8 /home ext4 (rw,relatime,data=ordered)
    ============================= sda2/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
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,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 90d566ac-57d9-475c-9493-14ba0472d832
    else
    search --no-floppy --fs-uuid --set=root 90d566ac-57d9-475c-9493-14ba0472d832
    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_GB
    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-90d566ac-57d9-475c-9493-14ba0472d832' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    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 A05F-051D
    else
    search --no-floppy --fs-uuid --set=root A05F-051D
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=90d566ac-57d9-475c-9493-14ba0472d832 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /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-90d566ac-57d9-475c-9493-14ba0472d832' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    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 A05F-051D
    else
    search --no-floppy --fs-uuid --set=root A05F-051D
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=90d566ac-57d9-475c-9493-14ba0472d832 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /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/30_os-prober ###
    menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-A05F-051D' {
    insmod part_gpt
    insmod fat
    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 A05F-051D
    else
    search --no-floppy --fs-uuid --set=root A05F-051D
    fi
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    ### 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 "Windoze Ate UEFI-GPT" {
    insmod part_gpt
    insmod fat
    insmod search_fs_uuid
    insmod chain
    search --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 A05F-051D
    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 ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    =================== sda2: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    =============================== sda7/etc/fstab: ================================
    # /dev/sda7
    UUID=90d566ac-57d9-475c-9493-14ba0472d832 / ext4 rw,relatime 0 1
    # /dev/sda8
    UUID=8ab4a486-02d8-4cb4-af91-43acac7e81d7 /home ext4 rw,relatime 0 2
    # /dev/sda2 LABEL=ESP
    UUID=A05F-051D /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sda6
    UUID=d4f5415f-f771-4f9c-ba4a-0f639d055360 none swap defaults 0 0
    ======================== Unknown MBRs/Boot Sectors/etc: ========================
    Unknown GPT Partiton Type
    5850cbb887c11947baf0379ca2d4c97e
    Unknown GPT Partiton Type
    dee2bfd3af3ddf11ba40e3a556d89593
    Unknown BootLoader on sda2
    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 88 0c 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 1d 05 5f a0 4e 4f 20 4e 41 4d 45 20 20 |..).._.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-9VAYCuxc/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
    I tried tackling this myself and ended up not being able to boot into Linux either. I had to go back to the USB install stick and redo a lot of the installation. I thought I'd better ask for some advice before diving in again. Let me know if you need any more info or log/config files.
    Last edited by pauldice (2013-10-11 03:06:18)

    As mentioned earlier, Fast Startup is off. I disabled it before installing Linux. dosfsck looks clean.
    $ sudo umount /dev/sda2
    $ sudo dosfsck -w -r -l -a -v -t /dev/sda2
    fsck.fat 3.0.22 (2013-07-19)
    fsck.fat 3.0.22 (2013-07-19)
    Checking we can access the last sector of the filesystem
    Boot sector contents:
    System ID "MSDOS5.0"
    Media byte 0xf8 (hard disk)
    512 bytes per logical sector
    4096 bytes per cluster
    7006 reserved sectors
    First FAT starts at byte 3587072 (sector 7006)
    2 FATs, 32 bit entries
    303616 bytes per FAT (= 593 sectors)
    Root directory start at cluster 2 (arbitrary size)
    Data area starts at byte 4194304 (sector 8192)
    75776 data clusters (310378496 bytes)
    63 sectors/track, 255 heads
    821248 hidden sectors
    614400 sectors total
    Checking file /
    Checking file /ESP
    Checking file /grub (GRUB)
    Checking file /EFI
    Checking file /loader (LOADER)
    Checking file /vmlinuz-linux (VMLINU~1)
    Checking file /initramfs-linux.img (INITRA~1.IMG)
    Checking file /initramfs-linux-fallback.img (INITRA~2.IMG)
    Checking file /grub/.
    Checking file /grub/..
    Checking file /grub/x86_64-efi (X86_64~1)
    Checking file /grub/locale (LOCALE)
    Checking file /grub/themes (THEMES)
    Checking file /grub/fonts (FONTS)
    Checking file /grub/grub.cfg (GRUB.CFG)
    Checking file /grub/grubenv (GRUBENV)
    Checking file /grub/grub.cfg.backup (GRUBCF~1.BAC)
    Checking file /grub/grub.efi (GRUB.EFI)
    Checking file /grub/x86_64-efi/.
    Checking file /grub/x86_64-efi/..
    Checking file /grub/x86_64-efi/acpi.mod (ACPI.MOD)
    Checking file /grub/x86_64-efi/adler32.mod (ADLER32.MOD)
    Checking file /grub/x86_64-efi/affs.mod (AFFS.MOD)
    Checking file /grub/x86_64-efi/afs.mod (AFS.MOD)
    Checking file /grub/x86_64-efi/ahci.mod (AHCI.MOD)
    Checking file /grub/x86_64-efi/all_video.mod (ALL_VI~1.MOD)
    Checking file /grub/x86_64-efi/aout.mod (AOUT.MOD)
    Checking file /grub/x86_64-efi/appleldr.mod (APPLELDR.MOD)
    Checking file /grub/x86_64-efi/archelp.mod (ARCHELP.MOD)
    Checking file /grub/x86_64-efi/at_keyboard.mod (AT_KEY~1.MOD)
    Checking file /grub/x86_64-efi/ata.mod (ATA.MOD)
    Checking file /grub/x86_64-efi/backtrace.mod (BACKTR~1.MOD)
    Checking file /grub/x86_64-efi/bfs.mod (BFS.MOD)
    Checking file /grub/x86_64-efi/bitmap.mod (BITMAP.MOD)
    Checking file /grub/x86_64-efi/bitmap_scale.mod (BITMAP~1.MOD)
    Checking file /grub/x86_64-efi/blocklist.mod (BLOCKL~1.MOD)
    Checking file /grub/x86_64-efi/boot.mod (BOOT.MOD)
    Checking file /grub/x86_64-efi/bsd.mod (BSD.MOD)
    Checking file /grub/x86_64-efi/btrfs.mod (BTRFS.MOD)
    Checking file /grub/x86_64-efi/bufio.mod (BUFIO.MOD)
    Checking file /grub/x86_64-efi/cacheinfo.mod (CACHEI~1.MOD)
    Checking file /grub/x86_64-efi/cat.mod (CAT.MOD)
    Checking file /grub/x86_64-efi/cbfs.mod (CBFS.MOD)
    Checking file /grub/x86_64-efi/cbls.mod (CBLS.MOD)
    Checking file /grub/x86_64-efi/cbmemc.mod (CBMEMC.MOD)
    Checking file /grub/x86_64-efi/cbtable.mod (CBTABLE.MOD)
    Checking file /grub/x86_64-efi/cbtime.mod (CBTIME.MOD)
    Checking file /grub/x86_64-efi/chain.mod (CHAIN.MOD)
    Checking file /grub/x86_64-efi/cmdline_cat_test.mod (CMDLIN~1.MOD)
    Checking file /grub/x86_64-efi/cmp.mod (CMP.MOD)
    Checking file /grub/x86_64-efi/configfile.mod (CONFIG~1.MOD)
    Checking file /grub/x86_64-efi/cpio.mod (CPIO.MOD)
    Checking file /grub/x86_64-efi/cpio_be.mod (CPIO_BE.MOD)
    Checking file /grub/x86_64-efi/cpuid.mod (CPUID.MOD)
    Checking file /grub/x86_64-efi/crc64.mod (CRC64.MOD)
    Checking file /grub/x86_64-efi/crypto.mod (CRYPTO.MOD)
    Checking file /grub/x86_64-efi/cryptodisk.mod (CRYPTO~1.MOD)
    Checking file /grub/x86_64-efi/cs5536.mod (CS5536.MOD)
    Checking file /grub/x86_64-efi/date.mod (DATE.MOD)
    Checking file /grub/x86_64-efi/datehook.mod (DATEHOOK.MOD)
    Checking file /grub/x86_64-efi/datetime.mod (DATETIME.MOD)
    Checking file /grub/x86_64-efi/diskfilter.mod (DISKFI~1.MOD)
    Checking file /grub/x86_64-efi/dm_nv.mod (DM_NV.MOD)
    Checking file /grub/x86_64-efi/echo.mod (ECHO.MOD)
    Checking file /grub/x86_64-efi/efi_gop.mod (EFI_GOP.MOD)
    Checking file /grub/x86_64-efi/efi_uga.mod (EFI_UGA.MOD)
    Checking file /grub/x86_64-efi/efifwsetup.mod (EFIFWS~1.MOD)
    Checking file /grub/x86_64-efi/efinet.mod (EFINET.MOD)
    Checking file /grub/x86_64-efi/ehci.mod (EHCI.MOD)
    Checking file /grub/x86_64-efi/elf.mod (ELF.MOD)
    Checking file /grub/x86_64-efi/eval.mod (EVAL.MOD)
    Checking file /grub/x86_64-efi/exfat.mod (EXFAT.MOD)
    Checking file /grub/x86_64-efi/exfctest.mod (EXFCTEST.MOD)
    Checking file /grub/x86_64-efi/ext2.mod (EXT2.MOD)
    Checking file /grub/x86_64-efi/extcmd.mod (EXTCMD.MOD)
    Checking file /grub/x86_64-efi/fat.mod (FAT.MOD)
    Checking file /grub/x86_64-efi/fixvideo.mod (FIXVIDEO.MOD)
    Checking file /grub/x86_64-efi/font.mod (FONT.MOD)
    Checking file /grub/x86_64-efi/fshelp.mod (FSHELP.MOD)
    Checking file /grub/x86_64-efi/functional_test.mod (FUNCTI~1.MOD)
    Checking file /grub/x86_64-efi/gcry_arcfour.mod (GCRY_A~1.MOD)
    Checking file /grub/x86_64-efi/gcry_blowfish.mod (GCRY_B~1.MOD)
    Checking file /grub/x86_64-efi/gcry_camellia.mod (GCRY_C~1.MOD)
    Checking file /grub/x86_64-efi/gcry_cast5.mod (GCRY_C~2.MOD)
    Checking file /grub/x86_64-efi/gcry_crc.mod (GCRY_CRC.MOD)
    Checking file /grub/x86_64-efi/gcry_des.mod (GCRY_DES.MOD)
    Checking file /grub/x86_64-efi/gcry_dsa.mod (GCRY_DSA.MOD)
    Checking file /grub/x86_64-efi/gcry_ecc.mod (GCRY_ECC.MOD)
    Checking file /grub/x86_64-efi/gcry_md4.mod (GCRY_MD4.MOD)
    Checking file /grub/x86_64-efi/gcry_md5.mod (GCRY_MD5.MOD)
    Checking file /grub/x86_64-efi/gcry_rfc2268.mod (GCRY_R~1.MOD)
    Checking file /grub/x86_64-efi/gcry_rijndael.mod (GCRY_R~2.MOD)
    Checking file /grub/x86_64-efi/gcry_rmd160.mod (GCRY_R~3.MOD)
    Checking file /grub/x86_64-efi/gcry_rsa.mod (GCRY_RSA.MOD)
    Checking file /grub/x86_64-efi/gcry_seed.mod (GCRY_S~1.MOD)
    Checking file /grub/x86_64-efi/gcry_serpent.mod (GCRY_S~2.MOD)
    Checking file /grub/x86_64-efi/gcry_sha1.mod (GCRY_S~3.MOD)
    Checking file /grub/x86_64-efi/gcry_sha256.mod (GCRY_S~4.MOD)
    Checking file /grub/x86_64-efi/gcry_sha512.mod (GCRY_S~5.MOD)
    Checking file /grub/x86_64-efi/gcry_tiger.mod (GCRY_T~1.MOD)
    Checking file /grub/x86_64-efi/gcry_twofish.mod (GCRY_T~2.MOD)
    Checking file /grub/x86_64-efi/gcry_whirlpool.mod (GCRY_W~1.MOD)
    Checking file /grub/x86_64-efi/geli.mod (GELI.MOD)
    Checking file /grub/x86_64-efi/gettext.mod (GETTEXT.MOD)
    Checking file /grub/x86_64-efi/gfxmenu.mod (GFXMENU.MOD)
    Checking file /grub/x86_64-efi/gfxterm.mod (GFXTERM.MOD)
    Checking file /grub/x86_64-efi/gfxterm_background.mod (GFXTER~1.MOD)
    Checking file /grub/x86_64-efi/gfxterm_menu.mod (GFXTER~2.MOD)
    Checking file /grub/x86_64-efi/gptsync.mod (GPTSYNC.MOD)
    Checking file /grub/x86_64-efi/gzio.mod (GZIO.MOD)
    Checking file /grub/x86_64-efi/halt.mod (HALT.MOD)
    Checking file /grub/x86_64-efi/hashsum.mod (HASHSUM.MOD)
    Checking file /grub/x86_64-efi/hdparm.mod (HDPARM.MOD)
    Checking file /grub/x86_64-efi/hello.mod (HELLO.MOD)
    Checking file /grub/x86_64-efi/help.mod (HELP.MOD)
    Checking file /grub/x86_64-efi/hexdump.mod (HEXDUMP.MOD)
    Checking file /grub/x86_64-efi/hfs.mod (HFS.MOD)
    Checking file /grub/x86_64-efi/hfsplus.mod (HFSPLUS.MOD)
    Checking file /grub/x86_64-efi/hfspluscomp.mod (HFSPLU~1.MOD)
    Checking file /grub/x86_64-efi/http.mod (HTTP.MOD)
    Checking file /grub/x86_64-efi/iorw.mod (IORW.MOD)
    Checking file /grub/x86_64-efi/iso9660.mod (ISO9660.MOD)
    Checking file /grub/x86_64-efi/jfs.mod (JFS.MOD)
    Checking file /grub/x86_64-efi/jpeg.mod (JPEG.MOD)
    Checking file /grub/x86_64-efi/keylayouts.mod (KEYLAY~1.MOD)
    Checking file /grub/x86_64-efi/keystatus.mod (KEYSTA~1.MOD)
    Checking file /grub/x86_64-efi/ldm.mod (LDM.MOD)
    Checking file /grub/x86_64-efi/legacycfg.mod (LEGACY~1.MOD)
    Checking file /grub/x86_64-efi/linux.mod (LINUX.MOD)
    Checking file /grub/x86_64-efi/linux16.mod (LINUX16.MOD)
    Checking file /grub/x86_64-efi/loadbios.mod (LOADBIOS.MOD)
    Checking file /grub/x86_64-efi/loadenv.mod (LOADENV.MOD)
    Checking file /grub/x86_64-efi/loopback.mod (LOOPBACK.MOD)
    Checking file /grub/x86_64-efi/ls.mod (LS.MOD)
    Checking file /grub/x86_64-efi/lsacpi.mod (LSACPI.MOD)
    Checking file /grub/x86_64-efi/lsefi.mod (LSEFI.MOD)
    Checking file /grub/x86_64-efi/lsefimmap.mod (LSEFIM~1.MOD)
    Checking file /grub/x86_64-efi/lsefisystab.mod (LSEFIS~1.MOD)
    Checking file /grub/x86_64-efi/lsmmap.mod (LSMMAP.MOD)
    Checking file /grub/x86_64-efi/lspci.mod (LSPCI.MOD)
    Checking file /grub/x86_64-efi/lssal.mod (LSSAL.MOD)
    Checking file /grub/x86_64-efi/luks.mod (LUKS.MOD)
    Checking file /grub/x86_64-efi/lvm.mod (LVM.MOD)
    Checking file /grub/x86_64-efi/lzopio.mod (LZOPIO.MOD)
    Checking file /grub/x86_64-efi/mdraid09.mod (MDRAID09.MOD)
    Checking file /grub/x86_64-efi/mdraid09_be.mod (MDRAID~1.MOD)
    Checking file /grub/x86_64-efi/mdraid1x.mod (MDRAID1X.MOD)
    Checking file /grub/x86_64-efi/memdisk.mod (MEMDISK.MOD)
    Checking file /grub/x86_64-efi/memrw.mod (MEMRW.MOD)
    Checking file /grub/x86_64-efi/minicmd.mod (MINICMD.MOD)
    Checking file /grub/x86_64-efi/minix.mod (MINIX.MOD)
    Checking file /grub/x86_64-efi/minix2.mod (MINIX2.MOD)
    Checking file /grub/x86_64-efi/minix2_be.mod (MINIX2~1.MOD)
    Checking file /grub/x86_64-efi/minix3.mod (MINIX3.MOD)
    Checking file /grub/x86_64-efi/minix3_be.mod (MINIX3~1.MOD)
    Checking file /grub/x86_64-efi/minix_be.mod (MINIX_BE.MOD)
    Checking file /grub/x86_64-efi/mmap.mod (MMAP.MOD)
    Checking file /grub/x86_64-efi/morse.mod (MORSE.MOD)
    Checking file /grub/x86_64-efi/mpi.mod (MPI.MOD)
    Checking file /grub/x86_64-efi/msdospart.mod (MSDOSP~1.MOD)
    Checking file /grub/x86_64-efi/multiboot.mod (MULTIB~1.MOD)
    Checking file /grub/x86_64-efi/multiboot2.mod (MULTIB~2.MOD)
    Checking file /grub/x86_64-efi/nativedisk.mod (NATIVE~1.MOD)
    Checking file /grub/x86_64-efi/net.mod (NET.MOD)
    Checking file /grub/x86_64-efi/newc.mod (NEWC.MOD)
    Checking file /grub/x86_64-efi/nilfs2.mod (NILFS2.MOD)
    Checking file /grub/x86_64-efi/normal.mod (NORMAL.MOD)
    Checking file /grub/x86_64-efi/ntfs.mod (NTFS.MOD)
    Checking file /grub/x86_64-efi/ntfscomp.mod (NTFSCOMP.MOD)
    Checking file /grub/x86_64-efi/odc.mod (ODC.MOD)
    Checking file /grub/x86_64-efi/ohci.mod (OHCI.MOD)
    Checking file /grub/x86_64-efi/part_acorn.mod (PART_A~1.MOD)
    Checking file /grub/x86_64-efi/part_amiga.mod (PART_A~2.MOD)
    Checking file /grub/x86_64-efi/part_apple.mod (PART_A~3.MOD)
    Checking file /grub/x86_64-efi/part_bsd.mod (PART_BSD.MOD)
    Checking file /grub/x86_64-efi/part_dfly.mod (PART_D~1.MOD)
    Checking file /grub/x86_64-efi/part_dvh.mod (PART_DVH.MOD)
    Checking file /grub/x86_64-efi/part_gpt.mod (PART_GPT.MOD)
    Checking file /grub/x86_64-efi/part_msdos.mod (PART_M~1.MOD)
    Checking file /grub/x86_64-efi/part_plan.mod (PART_P~1.MOD)
    Checking file /grub/x86_64-efi/part_sun.mod (PART_SUN.MOD)
    Checking file /grub/x86_64-efi/part_sunpc.mod (PART_S~1.MOD)
    Checking file /grub/x86_64-efi/parttool.mod (PARTTOOL.MOD)
    Checking file /grub/x86_64-efi/password.mod (PASSWORD.MOD)
    Checking file /grub/x86_64-efi/password_pbkdf2.mod (PASSWO~1.MOD)
    Checking file /grub/x86_64-efi/pata.mod (PATA.MOD)
    Checking file /grub/x86_64-efi/pbkdf2.mod (PBKDF2.MOD)
    Checking file /grub/x86_64-efi/pcidump.mod (PCIDUMP.MOD)
    Checking file /grub/x86_64-efi/play.mod (PLAY.MOD)
    Checking file /grub/x86_64-efi/png.mod (PNG.MOD)
    Checking file /grub/x86_64-efi/priority_queue.mod (PRIORI~1.MOD)
    Checking file /grub/x86_64-efi/probe.mod (PROBE.MOD)
    Checking file /grub/x86_64-efi/procfs.mod (PROCFS.MOD)
    Checking file /grub/x86_64-efi/raid5rec.mod (RAID5REC.MOD)
    Checking file /grub/x86_64-efi/raid6rec.mod (RAID6REC.MOD)
    Checking file /grub/x86_64-efi/read.mod (READ.MOD)
    Checking file /grub/x86_64-efi/reboot.mod (REBOOT.MOD)
    Checking file /grub/x86_64-efi/regexp.mod (REGEXP.MOD)
    Checking file /grub/x86_64-efi/reiserfs.mod (REISERFS.MOD)
    Checking file /grub/x86_64-efi/relocator.mod (RELOCA~1.MOD)
    Checking file /grub/x86_64-efi/romfs.mod (ROMFS.MOD)
    Checking file /grub/x86_64-efi/scsi.mod (SCSI.MOD)
    Checking file /grub/x86_64-efi/search.mod (SEARCH.MOD)
    Checking file /grub/x86_64-efi/search_fs_file.mod (SEARCH~1.MOD)
    Checking file /grub/x86_64-efi/search_fs_uuid.mod (SEARCH~2.MOD)
    Checking file /grub/x86_64-efi/search_label.mod (SEARCH~3.MOD)
    Checking file /grub/x86_64-efi/serial.mod (SERIAL.MOD)
    Checking file /grub/x86_64-efi/setjmp.mod (SETJMP.MOD)
    Checking file /grub/x86_64-efi/setjmp_test.mod (SETJMP~1.MOD)
    Checking file /grub/x86_64-efi/setpci.mod (SETPCI.MOD)
    Checking file /grub/x86_64-efi/sfs.mod (SFS.MOD)
    Checking file /grub/x86_64-efi/sleep.mod (SLEEP.MOD)
    Checking file /grub/x86_64-efi/spkmodem.mod (SPKMODEM.MOD)
    Checking file /grub/x86_64-efi/squash4.mod (SQUASH4.MOD)
    Checking file /grub/x86_64-efi/tar.mod (TAR.MOD)
    Checking file /grub/x86_64-efi/terminal.mod (TERMINAL.MOD)
    Checking file /grub/x86_64-efi/terminfo.mod (TERMINFO.MOD)
    Checking file /grub/x86_64-efi/test.mod (TEST.MOD)
    Checking file /grub/x86_64-efi/test_blockarg.mod (TEST_B~1.MOD)
    Checking file /grub/x86_64-efi/testload.mod (TESTLOAD.MOD)
    Checking file /grub/x86_64-efi/testspeed.mod (TESTSP~1.MOD)
    Checking file /grub/x86_64-efi/tftp.mod (TFTP.MOD)
    Checking file /grub/x86_64-efi/tga.mod (TGA.MOD)
    Checking file /grub/x86_64-efi/time.mod (TIME.MOD)
    Checking file /grub/x86_64-efi/trig.mod (TRIG.MOD)
    Checking file /grub/x86_64-efi/true.mod (TRUE.MOD)
    Checking file /grub/x86_64-efi/udf.mod (UDF.MOD)
    Checking file /grub/x86_64-efi/ufs1.mod (UFS1.MOD)
    Checking file /grub/x86_64-efi/ufs1_be.mod (UFS1_BE.MOD)
    Checking file /grub/x86_64-efi/ufs2.mod (UFS2.MOD)
    Checking file /grub/x86_64-efi/uhci.mod (UHCI.MOD)
    Checking file /grub/x86_64-efi/usb.mod (USB.MOD)
    Checking file /grub/x86_64-efi/usb_keyboard.mod (USB_KE~1.MOD)
    Checking file /grub/x86_64-efi/usbms.mod (USBMS.MOD)
    Checking file /grub/x86_64-efi/usbserial_common.mod (USBSER~1.MOD)
    Checking file /grub/x86_64-efi/usbserial_ftdi.mod (USBSER~2.MOD)
    Checking file /grub/x86_64-efi/usbserial_pl2303.mod (USBSER~3.MOD)
    Checking file /grub/x86_64-efi/usbserial_usbdebug.mod (USBSER~4.MOD)
    Checking file /grub/x86_64-efi/usbtest.mod (USBTEST.MOD)
    Checking file /grub/x86_64-efi/verify.mod (VERIFY.MOD)
    Checking file /grub/x86_64-efi/video.mod (VIDEO.MOD)
    Checking file /grub/x86_64-efi/video_bochs.mod (VIDEO_~1.MOD)
    Checking file /grub/x86_64-efi/video_cirrus.mod (VIDEO_~2.MOD)
    Checking file /grub/x86_64-efi/video_colors.mod (VIDEO_~3.MOD)
    Checking file /grub/x86_64-efi/video_fb.mod (VIDEO_FB.MOD)
    Checking file /grub/x86_64-efi/videoinfo.mod (VIDEOI~1.MOD)
    Checking file /grub/x86_64-efi/videotest.mod (VIDEOT~1.MOD)
    Checking file /grub/x86_64-efi/videotest_checksum.mod (VIDEOT~2.MOD)
    Checking file /grub/x86_64-efi/xfs.mod (XFS.MOD)
    Checking file /grub/x86_64-efi/xnu.mod (XNU.MOD)
    Checking file /grub/x86_64-efi/xnu_uuid.mod (XNU_UUID.MOD)
    Checking file /grub/x86_64-efi/xzio.mod (XZIO.MOD)
    Checking file /grub/x86_64-efi/zfs.mod (ZFS.MOD)
    Checking file /grub/x86_64-efi/zfscrypt.mod (ZFSCRYPT.MOD)
    Checking file /grub/x86_64-efi/zfsinfo.mod (ZFSINFO.MOD)
    Checking file /grub/x86_64-efi/moddep.lst (MODDEP.LST)
    Checking file /grub/x86_64-efi/command.lst (COMMAND.LST)
    Checking file /grub/x86_64-efi/fs.lst (FS.LST)
    Checking file /grub/x86_64-efi/partmap.lst (PARTMAP.LST)
    Checking file /grub/x86_64-efi/parttool.lst (PARTTOOL.LST)
    Checking file /grub/x86_64-efi/video.lst (VIDEO.LST)
    Checking file /grub/x86_64-efi/crypto.lst (CRYPTO.LST)
    Checking file /grub/x86_64-efi/terminal.lst (TERMINAL.LST)
    Checking file /grub/x86_64-efi/core.efi (CORE.EFI)
    Checking file /grub/x86_64-efi/grub.efi (GRUB.EFI)
    Checking file /grub/locale/.
    Checking file /grub/locale/..
    Checking file /grub/locale/ast.mo (AST.MO)
    Checking file /grub/locale/ca.mo (CA.MO)
    Checking file /grub/locale/da.mo (DA.MO)
    Checking file /grub/locale/de.mo (DE.MO)
    Checking file /grub/locale/[email protected] (DE@HEB~1.MO)
    Checking file /grub/locale/de_CH.mo (DE_CH.MO)
    Checking file /grub/locale/[email protected] (EN@ARA~1.MO)
    Checking file /grub/locale/[email protected] (EN@HEB~1.MO)
    Checking file /grub/locale/[email protected] (EN@PIG~1.MO)
    Checking file /grub/locale/[email protected] ([email protected])
    Checking file /grub/locale/eo.mo (EO.MO)
    Checking file /grub/locale/es.mo (ES.MO)
    Checking file /grub/locale/fi.mo (FI.MO)
    Checking file /grub/locale/fr.mo (FR.MO)
    Checking file /grub/locale/hu.mo (HU.MO)
    Checking file /grub/locale/id.mo (ID.MO)
    Checking file /grub/locale/it.mo (IT.MO)
    Checking file /grub/locale/ja.mo (JA.MO)
    Checking file /grub/locale/lt.mo (LT.MO)
    Checking file /grub/locale/nl.mo (NL.MO)
    Checking file /grub/locale/pa.mo (PA.MO)
    Checking file /grub/locale/pl.mo (PL.MO)
    Checking file /grub/locale/pt_BR.mo (PT_BR.MO)
    Checking file /grub/locale/ru.mo (RU.MO)
    Checking file /grub/locale/sl.mo (SL.MO)
    Checking file /grub/locale/sv.mo (SV.MO)
    Checking file /grub/locale/tr.mo (TR.MO)
    Checking file /grub/locale/uk.mo (UK.MO)
    Checking file /grub/locale/vi.mo (VI.MO)
    Checking file /grub/locale/zh_CN.mo (ZH_CN.MO)
    Checking file /grub/locale/zh_TW.mo (ZH_TW.MO)
    Checking file /grub/themes/.
    Checking file /grub/themes/..
    Checking file /grub/themes/starfield (STARFI~1)
    Checking file /grub/themes/starfield/.
    Checking file /grub/themes/starfield/..
    Checking file /grub/themes/starfield/COPYING.CC-BY-SA-3.0 (COPYIN~1.0)
    Checking file /grub/themes/starfield/README
    Checking file /grub/themes/starfield/blob_w.png (BLOB_W.PNG)
    Checking file /grub/themes/starfield/boot_menu_c.png (BOOT_M~1.PNG)
    Checking file /grub/themes/starfield/boot_menu_e.png (BOOT_M~2.PNG)
    Checking file /grub/themes/starfield/boot_menu_n.png (BOOT_M~3.PNG)
    Checking file /grub/themes/starfield/boot_menu_ne.png (BOOT_M~4.PNG)
    Checking file /grub/themes/starfield/boot_menu_nw.png (BOOT_M~5.PNG)
    Checking file /grub/themes/starfield/boot_menu_s.png (BOOT_M~6.PNG)
    Checking file /grub/themes/starfield/boot_menu_se.png (BOOT_M~7.PNG)
    Checking file /grub/themes/starfield/boot_menu_sw.png (BOOT_M~8.PNG)
    Checking file /grub/themes/starfield/boot_menu_w.png (BOOT_M~9.PNG)
    Checking file /grub/themes/starfield/dejavu_10.pf2 (DEJAVU~1.PF2)
    Checking file /grub/themes/starfield/dejavu_12.pf2 (DEJAVU~2.PF2)
    Checking file /grub/themes/starfield/dejavu_14.pf2 (DEJAVU~3.PF2)
    Checking file /grub/themes/starfield/dejavu_16.pf2 (DEJAVU~4.PF2)
    Checking file /grub/themes/starfield/dejavu_bold_14.pf2 (DEJAVU~5.PF2)
    Checking file /grub/themes/starfield/slider_c.png (SLIDER_C.PNG)
    Checking file /grub/themes/starfield/slider_n.png (SLIDER_N.PNG)
    Checking file /grub/themes/starfield/slider_s.png (SLIDER_S.PNG)
    Checking file /grub/themes/starfield/starfield.png (STARFI~1.PNG)
    Checking file /grub/themes/starfield/terminal_box_c.png (TERMIN~1.PNG)
    Checking file /grub/themes/starfield/terminal_box_e.png (TERMIN~2.PNG)
    Checking file /grub/themes/starfield/terminal_box_n.png (TERMIN~3.PNG)
    Checking file /grub/themes/starfield/terminal_box_ne.png (TERMIN~4.PNG)
    Checking file /grub/themes/starfield/terminal_box_nw.png (TERMIN~5.PNG)
    Checking file /grub/themes/starfield/terminal_box_s.png (TERMIN~6.PNG)
    Checking file /grub/themes/starfield/terminal_box_se.png (TERMIN~7.PNG)
    Checking file /grub/themes/starfield/terminal_box_sw.png (TERMIN~8.PNG)
    Checking file /grub/themes/starfield/terminal_box_w.png (TERMIN~9.PNG)
    Checking file /grub/themes/starfield/theme.txt (THEME.TXT)
    Checking file /grub/fonts/.
    Checking file /grub/fonts/..
    Checking file /grub/fonts/unicode.pf2 (UNICODE.PF2)
    Checking file /EFI/.
    Checking file /EFI/..
    Checking file /EFI/Microsoft (MICROS~1)
    Checking file /EFI/Boot (BOOT)
    Checking file /EFI/elementary (ELEMEN~1)
    Checking file /EFI/arch_grub (ARCH_G~1)
    Checking file /EFI/gummiboot (GUMMIB~1)
    Checking file /EFI/Microsoft/.
    Checking file /EFI/Microsoft/..
    Checking file /EFI/Microsoft/Boot (BOOT)
    Checking file /EFI/Microsoft/Boot/.
    Checking file /EFI/Microsoft/Boot/..
    Checking file /EFI/Microsoft/Boot/bg-BG (BG-BG)
    Checking file /EFI/Microsoft/Boot/BOOT.STL
    Checking file /EFI/Microsoft/Boot/BOOTMGR.EFI
    Checking file /EFI/Microsoft/Boot/cs-CZ (CS-CZ)
    Checking file /EFI/Microsoft/Boot/da-DK (DA-DK)
    Checking file /EFI/Microsoft/Boot/de-DE (DE-DE)
    Checking file /EFI/Microsoft/Boot/el-GR (EL-GR)
    Checking file /EFI/Microsoft/Boot/en-GB (EN-GB)
    Checking file /EFI/Microsoft/Boot/en-US (EN-US)
    Checking file /EFI/Microsoft/Boot/es-ES (ES-ES)
    Checking file /EFI/Microsoft/Boot/et-EE (ET-EE)
    Checking file /EFI/Microsoft/Boot/fi-FI (FI-FI)
    Checking file /EFI/Microsoft/Boot/fr-FR (FR-FR)
    Checking file /EFI/Microsoft/Boot/hr-HR (HR-HR)
    Checking file /EFI/Microsoft/Boot/hu-HU (HU-HU)
    Checking file /EFI/Microsoft/Boot/it-IT (IT-IT)
    Checking file /EFI/Microsoft/Boot/ja-JP (JA-JP)
    Checking file /EFI/Microsoft/Boot/ko-KR (KO-KR)
    Checking file /EFI/Microsoft/Boot/lt-LT (LT-LT)
    Checking file /EFI/Microsoft/Boot/lv-LV (LV-LV)
    Checking file /EFI/Microsoft/Boot/MEMTEST.EFI
    Checking file /EFI/Microsoft/Boot/nb-NO (NB-NO)
    Checking file /EFI/Microsoft/Boot/nl-NL (NL-NL)
    Checking file /EFI/Microsoft/Boot/pl-PL (PL-PL)
    Checking file /EFI/Microsoft/Boot/pt-BR (PT-BR)
    Checking file /EFI/Microsoft/Boot/pt-PT (PT-PT)
    Checking file /EFI/Microsoft/Boot/QPS-PLOC
    Checking file /EFI/Microsoft/Boot/ro-RO (RO-RO)
    Checking file /EFI/Microsoft/Boot/ru-RU (RU-RU)
    Checking file /EFI/Microsoft/Boot/sk-SK (SK-SK)
    Checking file /EFI/Microsoft/Boot/sl-SI (SL-SI)
    Checking file /EFI/Microsoft/Boot/sr-Latn-CS (SR-LAT~1)
    Checking file /EFI/Microsoft/Boot/sv-SE (SV-SE)
    Checking file /EFI/Microsoft/Boot/tr-TR (TR-TR)
    Checking file /EFI/Microsoft/Boot/uk-UA (UK-UA)
    Checking file /EFI/Microsoft/Boot/zh-CN (ZH-CN)
    Checking file /EFI/Microsoft/Boot/zh-HK (ZH-HK)
    Checking file /EFI/Microsoft/Boot/zh-TW (ZH-TW)
    Checking file /EFI/Microsoft/Boot/BOOTSTAT.DAT
    Checking file /EFI/Microsoft/Boot/Fonts (FONTS)
    Checking file /EFI/Microsoft/Boot/Resources (RESOUR~1)
    Checking file /EFI/Microsoft/Boot/BCD
    Checking file /EFI/Microsoft/Boot/BCD.LOG
    Checking file /EFI/Microsoft/Boot/BCD.LOG1 (BCD~1.LOG)
    Checking file /EFI/Microsoft/Boot/BCD.LOG2 (BCD~2.LOG)
    Checking file /EFI/Microsoft/Boot/bootmgfw.efi (BOOTMGFW.EFI)
    Checking file /EFI/Microsoft/Boot/bootx64.efi.grb (BOOTX6~1.GRB)
    Checking file /EFI/Microsoft/Boot/bootx64.efi (BOOTX64.EFI)
    Checking file /EFI/Microsoft/Boot/bootmgfw.bootrepair.efi (BOOTMG~1.EFI)
    Checking file /EFI/Microsoft/Boot/bg-BG/.
    Checking file /EFI/Microsoft/Boot/bg-BG/..
    Checking file /EFI/Microsoft/Boot/bg-BG/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/bg-BG/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/cs-CZ/.
    Checking file /EFI/Microsoft/Boot/cs-CZ/..
    Checking file /EFI/Microsoft/Boot/cs-CZ/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/cs-CZ/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/cs-CZ/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/da-DK/.
    Checking file /EFI/Microsoft/Boot/da-DK/..
    Checking file /EFI/Microsoft/Boot/da-DK/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/da-DK/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/da-DK/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/de-DE/.
    Checking file /EFI/Microsoft/Boot/de-DE/..
    Checking file /EFI/Microsoft/Boot/de-DE/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/de-DE/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/de-DE/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/el-GR/.
    Checking file /EFI/Microsoft/Boot/el-GR/..
    Checking file /EFI/Microsoft/Boot/el-GR/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/el-GR/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/el-GR/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/en-GB/.
    Checking file /EFI/Microsoft/Boot/en-GB/..
    Checking file /EFI/Microsoft/Boot/en-GB/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/en-GB/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/en-US/.
    Checking file /EFI/Microsoft/Boot/en-US/..
    Checking file /EFI/Microsoft/Boot/en-US/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/en-US/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/en-US/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/es-ES/.
    Checking file /EFI/Microsoft/Boot/es-ES/..
    Checking file /EFI/Microsoft/Boot/es-ES/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/es-ES/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/es-ES/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/et-EE/.
    Checking file /EFI/Microsoft/Boot/et-EE/..
    Checking file /EFI/Microsoft/Boot/et-EE/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/et-EE/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/fi-FI/.
    Checking file /EFI/Microsoft/Boot/fi-FI/..
    Checking file /EFI/Microsoft/Boot/fi-FI/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/fi-FI/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/fi-FI/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/fr-FR/.
    Checking file /EFI/Microsoft/Boot/fr-FR/..
    Checking file /EFI/Microsoft/Boot/fr-FR/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/fr-FR/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/fr-FR/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/hr-HR/.
    Checking file /EFI/Microsoft/Boot/hr-HR/..
    Checking file /EFI/Microsoft/Boot/hr-HR/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/hr-HR/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/hu-HU/.
    Checking file /EFI/Microsoft/Boot/hu-HU/..
    Checking file /EFI/Microsoft/Boot/hu-HU/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/hu-HU/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/hu-HU/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/it-IT/.
    Checking file /EFI/Microsoft/Boot/it-IT/..
    Checking file /EFI/Microsoft/Boot/it-IT/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/it-IT/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/it-IT/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/ja-JP/.
    Checking file /EFI/Microsoft/Boot/ja-JP/..
    Checking file /EFI/Microsoft/Boot/ja-JP/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/ja-JP/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/ja-JP/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/ko-KR/.
    Checking file /EFI/Microsoft/Boot/ko-KR/..
    Checking file /EFI/Microsoft/Boot/ko-KR/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/ko-KR/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/ko-KR/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/lt-LT/.
    Checking file /EFI/Microsoft/Boot/lt-LT/..
    Checking file /EFI/Microsoft/Boot/lt-LT/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/lt-LT/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/lv-LV/.
    Checking file /EFI/Microsoft/Boot/lv-LV/..
    Checking file /EFI/Microsoft/Boot/lv-LV/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/lv-LV/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/nb-NO/.
    Checking file /EFI/Microsoft/Boot/nb-NO/..
    Checking file /EFI/Microsoft/Boot/nb-NO/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/nb-NO/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/nb-NO/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/nl-NL/.
    Checking file /EFI/Microsoft/Boot/nl-NL/..
    Checking file /EFI/Microsoft/Boot/nl-NL/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/nl-NL/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/nl-NL/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/pl-PL/.
    Checking file /EFI/Microsoft/Boot/pl-PL/..
    Checking file /EFI/Microsoft/Boot/pl-PL/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/pl-PL/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/pl-PL/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/pt-BR/.
    Checking file /EFI/Microsoft/Boot/pt-BR/..
    Checking file /EFI/Microsoft/Boot/pt-BR/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/pt-BR/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/pt-BR/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/pt-PT/.
    Checking file /EFI/Microsoft/Boot/pt-PT/..
    Checking file /EFI/Microsoft/Boot/pt-PT/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/pt-PT/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/pt-PT/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/QPS-PLOC/.
    Checking file /EFI/Microsoft/Boot/QPS-PLOC/..
    Checking file /EFI/Microsoft/Boot/QPS-PLOC/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/QPS-PLOC/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/QPS-PLOC/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/ro-RO/.
    Checking file /EFI/Microsoft/Boot/ro-RO/..
    Checking file /EFI/Microsoft/Boot/ro-RO/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/ro-RO/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/ru-RU/.
    Checking file /EFI/Microsoft/Boot/ru-RU/..
    Checking file /EFI/Microsoft/Boot/ru-RU/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/ru-RU/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/ru-RU/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/sk-SK/.
    Checking file /EFI/Microsoft/Boot/sk-SK/..
    Checking file /EFI/Microsoft/Boot/sk-SK/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/sk-SK/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/sl-SI/.
    Checking file /EFI/Microsoft/Boot/sl-SI/..
    Checking file /EFI/Microsoft/Boot/sl-SI/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/sl-SI/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/sr-Latn-CS/.
    Checking file /EFI/Microsoft/Boot/sr-Latn-CS/..
    Checking file /EFI/Microsoft/Boot/sr-Latn-CS/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/sr-Latn-CS/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/sv-SE/.
    Checking file /EFI/Microsoft/Boot/sv-SE/..
    Checking file /EFI/Microsoft/Boot/sv-SE/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/sv-SE/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/sv-SE/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/tr-TR/.
    Checking file /EFI/Microsoft/Boot/tr-TR/..
    Checking file /EFI/Microsoft/Boot/tr-TR/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/tr-TR/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/tr-TR/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/uk-UA/.
    Checking file /EFI/Microsoft/Boot/uk-UA/..
    Checking file /EFI/Microsoft/Boot/uk-UA/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/uk-UA/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/zh-CN/.
    Checking file /EFI/Microsoft/Boot/zh-CN/..
    Checking file /EFI/Microsoft/Boot/zh-CN/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/zh-CN/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/zh-CN/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/zh-HK/.
    Checking file /EFI/Microsoft/Boot/zh-HK/..
    Checking file /EFI/Microsoft/Boot/zh-HK/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/zh-HK/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/zh-HK/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/zh-TW/.
    Checking file /EFI/Microsoft/Boot/zh-TW/..
    Checking file /EFI/Microsoft/Boot/zh-TW/bootmgfw.efi.mui (BOOTMG~1.MUI)
    Checking file /EFI/Microsoft/Boot/zh-TW/bootmgr.efi.mui (BOOTMG~2.MUI)
    Checking file /EFI/Microsoft/Boot/zh-TW/memtest.efi.mui (MEMTES~1.MUI)
    Checking file /EFI/Microsoft/Boot/Fonts/.
    Checking file /EFI/Microsoft/Boot/Fonts/..
    Checking file /EFI/Microsoft/Boot/Fonts/CHS_BOOT.TTF
    Checking file /EFI/Microsoft/Boot/Fonts/CHT_BOOT.TTF
    Checking file /EFI/Microsoft/Boot/Fonts/JPN_BOOT.TTF
    Checking file /EFI/Microsoft/Boot/Fonts/KOR_BOOT.TTF
    Checking file /EFI/Microsoft/Boot/Fonts/malgunn_boot.ttf (MALGUN~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/malgun_boot.ttf (MALGUN~2.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/meiryon_boot.ttf (MEIRYO~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/meiryo_boot.ttf (MEIRYO~2.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/msjhn_boot.ttf (MSJHN_~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/msjh_boot.ttf (MSJH_B~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/msyhn_boot.ttf (MSYHN_~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/msyh_boot.ttf (MSYH_B~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/segmono_boot.ttf (SEGMON~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/segoen_slboot.ttf (SEGOEN~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/segoe_slboot.ttf (SEGOE_~1.TTF)
    Checking file /EFI/Microsoft/Boot/Fonts/wgl4_boot.ttf (WGL4_B~1.TTF)
    Checking file /EFI/Microsoft/Boot/Resources/.
    Checking file /EFI/Microsoft/Boot/Resources/..
    Checking file /EFI/Microsoft/Boot/Resources/BOOTRES.DLL
    Checking file /EFI/Microsoft/Boot/Resources/en-US (EN-US)
    Checking file /EFI/Microsoft/Boot/Resources/en-US/.
    Checking file /EFI/Microsoft/Boot/Resources/en-US/..
    Checking file /EFI/Microsoft/Boot/Resources/en-US/bootres.dll.mui (BOOTRE~1.MUI)
    Checking file /EFI/Boot/.
    Checking file /EFI/Boot/..
    Checking file /EFI/Boot/bkpbootx64.efi (BKPBOO~1.EFI)
    Checking file /EFI/Boot/bootx64.efi (BOOTX64.EFI)
    Checking file /EFI/elementary/.
    Checking file /EFI/elementary/..
    Checking file /EFI/elementary/grubx64.efi (GRUBX64.EFI)
    Checking file /EFI/arch_grub/.
    Checking file /EFI/arch_grub/..
    Checking file /EFI/arch_grub/grubx64.efi (GRUBX64.EFI)
    Checking file /EFI/gummiboot/.
    Checking file /EFI/gummiboot/..
    Checking file /EFI/gummiboot/gummibootx64.efi (GUMMIB~2.EFI)
    Checking file /loader/.
    Checking file /loader/..
    Checking file /loader/entries (ENTRIES)
    Checking file /loader/loader.conf (LOADER~1.CON)
    Checking file /loader/entries/.
    Checking file /loader/entries/..
    Checking file /loader/entries/arch.conf (ARCH~1.CON)
    Checking for bad clusters.
    Reclaiming unconnected clusters.
    Checking free cluster summary.
    /dev/sda2: 500 files, 14626/75776 clusters
    srs5694 wrote:No, it definitely looks in EFI/Microsoft/Boot for boot loader files.
    I'm not sure it does. This is the only mention of efi files I can find in the script.
    # Check FAT filesystems for EFI boot files.
    for file in "${mountname}"/efi/*/*.efi ; do
    # Remove "${mountname}" part of the filename.
    file="${file#${mountname}}";
    if [ -f "${mountname}${file}" ] && [ -s "${mountname}${file}" ] && FileNotMounted "${mountname}${file}" "${mountname}" ; then
    BootFiles="${BootFiles} ${file}";
    fi
    done
    Looking for "${mountname}"/efi/*/*.efi will only pick up files one level down from, say, /boot/EFI. Files in /boot/EFI/Microsoft/Boot are two levels down. I copied bootx64.efi into /boot/EFI/Microsoft and the script picked it up. This is with the latest version of bootinfoscript afaik.
    $ bootinfoscript -v
    Boot Info Script version: 0.61
    Release date: 1 April 2012

  • [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] Can't boot into Arch after deleting some partitons

    About 6 months ago I installed Arch on a machine that used to run Ubuntu. Had some trouble at the time getting to boot into Arch but somehow managed. Now eventually decided to delete the old Ubuntu partitons to free up some space using gparted. Arch partition number changed from sda12 to sda6.
    On rebooting after deleting ubuntu partitions with gparted, I got an ubuntu splash screen and a whole lot of ubuntu boot options. Somehow these were all contained in my Arch's /boot/grub/menu.lst. Arch is all on one partition and no separate boot partition (which I had with Ubuntu - maybe I haven't deleted that and this is the problem?). Will need to check that out.
    I can chroot into Arch and did the following -
    grub> find /boot/grub/stage1
    (hd0,5)
    grub> root (hd0,5)
    Filesystem type is ext2fs, partition type 0x83
    grub> setup (hd0)
    Checking if "/boot/grub/stage1" exists... yes
    Checking if "/boot/grub/stage2" exists... yes
    Checking if "/boot/grub/e2fs_stage1_5" exists... yes
    Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
    succeeded
    Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p (hd0,5)/boot/grub/stage2 /boot/grub/menu.lst"... succeed
    ed
    Done.
    grub>
    The Arch /boot/grub/menu.lst had a whole lot of ubuntu stuff in it but I edited to the following -
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 3
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    # examples
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,3)
    title Arch uuid
    #root (hd0,5)
    uuid d15cf4f9-18ca-4ec5-95bc-db0f6f264736
    kernel /boot/vmlinuz26 root=/dev/sda6 ro vga=775
    intrd /boot/kernel26.img
    title Arch hd
    root (hd0,5)
    kernel /boot/vmlinuz26 root=/dev/sda6
    intrd /boot/kernel26.img
    I have a bootinfo script which gives the following (from the chroot environment) -
    Boot Info Script 0.55 dated February 15th, 2010
    ============================= Boot Info Summary: ==============================
    => Grub 0.97 is installed in the MBR of /dev/sda and looks on the same drive
    in partition #6 for /boot/grub/stage2 and /boot/grub/menu.lst.
    => No boot loader is installed in the MBR of /dev/sdb
    sda1: _________________________________________________________________________
    File system: swap
    Boot sector type: -
    Boot sector info:
    sda2: _________________________________________________________________________
    File system: Extended Partition
    Boot sector type: -
    Boot sector info:
    sda5: _________________________________________________________________________
    File system: ext3
    Boot sector type: -
    Boot sector info:
    Mounting failed:
    mount: /dev/sda5 already mounted or sda5 busy
    sda6: _________________________________________________________________________
    File system: ext3
    Boot sector type: -
    Boot sector info:
    Mounting failed:
    mount: /dev/sda5 already mounted or sda5 busy
    mount: /dev/sda6 already mounted or sda6 busy
    sda7: _________________________________________________________________________
    File system: ext3
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files/dirs:
    sda3: _________________________________________________________________________
    File system: ext3
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 10.04.1 LTS
    Boot files/dirs: /etc/fstab
    sda4: _________________________________________________________________________
    File system: ext3
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files/dirs: /grub/menu.lst /grub/grub.cfg /grub/core.img
    sdb1: _________________________________________________________________________
    File system: xfs
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files/dirs:
    =========================== Drive/Partition Info: =============================
    Drive: sda ___________________ _____________________________________________________
    Disk /dev/sda: 750.2 GB, 750155292160 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465147055 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start End Size Id System
    /dev/sda1 417,690 6,554,519 6,136,830 82 Linux swap / Solaris
    /dev/sda2 25,414,954 1,465,144,064 1,439,729,111 5 Extended
    /dev/sda5 25,414,956 1,360,287,809 1,334,872,854 83 Linux
    /dev/sda6 1,360,287,873 1,423,198,349 62,910,477 83 Linux
    /dev/sda7 1,423,198,413 1,465,144,064 41,945,652 83 Linux
    /dev/sda3 6,554,520 25,414,829 18,860,310 83 Linux
    /dev/sda4 * 63 417,689 417,627 83 Linux
    Drive: sdb ___________________ _____________________________________________________
    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    Partition Boot Start End Size Id System
    /dev/sdb1 2,048 1,953,523,711 1,953,521,664 83 Linux
    blkid -c /dev/null: ____________________________________________________________
    Device UUID TYPE LABEL
    /dev/loop0 squashfs
    /dev/sda1 2a95d85a-45fe-4584-88dd-0ee20e651ec5 swap
    /dev/sda2: PTTYPE="dos" PART_ENTRY_SCHEME="dos" PART_ENTRY_TYPE="0x5" PART_ENTRY_NUMBER="2"
    /dev/sda3 32495e1a-227c-4d23-9f63-b1319def0dd9 ext3
    /dev/sda4 d6dc69b0-967d-4886-b62d-8c0d6be06b41 ext3
    /dev/sda5 37971286-b8d3-4a1b-9f94-4008288fed6d ext3 data
    /dev/sda6 d15cf4f9-18ca-4ec5-95bc-db0f6f264736 ext3 30GB-02
    /dev/sda7 eb736131-b558-4404-9b83-7f1e6d9e76ae ext3 var
    /dev/sda: PTTYPE="dos"
    /dev/sdb1 0e83045d-a0bd-4d36-b61d-bdb905130dc2 xfs 1TB-04
    /dev/sdb: PTTYPE="dos"
    ============================ "mount | grep ^/dev output: ===========================
    Device Mount_Point Type Options
    /dev/sda12 / ext3 (rw,commit=0)
    =============================== sda3/etc/fstab: ===============================
    # /etc/fstab: static file system information.
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # /dev/sda1 = swap
    /dev/sda1 none swap sw 0 0
    # /dev/sda3 = root
    #UUID=32495e1a-227c-4d23-9f63-b1319def0dd9
    /dev/sda3 / ext3 relatime,errors=remount-ro 0 1
    # /dev/sda4 = boot
    # UUID=d6dc69b0-967d-4886-b62d-8c0d6be06b41
    /dev/sda4 /boot ext3 relatime 0 2
    # /dev/sda5 = home
    # UUID=670eee83-0a3e-429c-863f-b9ecced9f97e
    /dev/sda5 /home ext3 relatime 0 2
    #/dev/sda6
    #UUID=37971286-b8d3-4a1b-9f94-4008288fed6d
    /dev/sda6 /home/ben/Data ext3 defaults,relatime 0 0
    # /dev/sda7
    # UUID=fdb14ca4-d71d-489f-a00e-6e608770674c
    /dev/sda7 /var ext3 relatime 0 2
    # /dev/sda8
    /dev/sda8 /opt ext3 relatime 0 2
    # /dev/sda10 - Arch
    /dev/sda10 /mnt/arch ext3 relatime 0 2
    # Not sure what this is doing here
    # Have commented it out - May be the reason why xbmc and mythtv were crashing on dvd insert and play
    # /dev/hda /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    # /dev/sde1
    # uuid appears to be 644406B3570C1846 -> ../../sde1
    #/dev/sde1 /home/ben/Data/TVRecordings-1TB01 xfs defaults,relatime 0 0
    #1TB-01
    UUID=76f3823a-81dc-45c9-a0b7-2bc6c3beb2f8 /media/1TB-01 xfs noatime,nodiratime,allocsize=512m 0 0 #remove
    d defaults, relatime
    # 1TB-02
    UUID=59cbf7a1-7008-40d0-96ed-c6f231823d4f /media/1TB-02 xfs noatime,nodiratime,allocsize=512m 0 0 #remove
    d defaults, relatime
    # 1TB-03
    UUID=0e936800-3c53-4b87-abc8-19be0ffca7f9 /media/1TB-03 xfs noatime,nodiratime,allocsize=512m 0 0 #remove
    d defaults, relatime
    # 750GB-02 ext3 Partition
    # UUID giving problems, trying with dev
    # UUID=c23b9c9a-66fc-4256-9211-73156c1ac64a /media/750GB-02_ext3 ext3 defaults,relatime 0 0
    /dev/sde2 /media/750GB-02_ext3 ext3 defaults,relatime 0 0
    ============================= sda4/grub/menu.lst: =============================
    # menu.lst - See: grub(8), info grub, update-grub(8)
    # grub-install(8), grub-floppy(8),
    # grub-md5-crypt, /usr/share/doc/grub
    # and /usr/share/doc/grub-doc/.
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default 0
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout 3
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    hiddenmenu
    # Pretty colours
    #color cyan/blue white/blue
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line) and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    # examples
    # title Windows 95/98/NT/2000
    # root (hd0,0)
    # makeactive
    # chainloader +1
    # title Linux
    # root (hd0,1)
    # kernel /vmlinuz root=/dev/hda2 ro
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ## kopt_2_6_8=root=/dev/hdc1 ro
    ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=(hd0,3)
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ## alternative=false
    # alternative=true
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ## lockalternative=false
    # lockalternative=false
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ## lockold=true
    # lockold=false
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ## altoptions=(recovery) single
    # altoptions=(recovery mode) single
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ## howmany=7
    # howmany=all
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ## memtest86=false
    # memtest86=true
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    ## ## End Default Options ##
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-26-generic
    root (hd0,3)
    kernel /vmlinuz-2.6.32-26-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-26-generic
    quiet
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-26-generic (recovery mode)
    root (hd0,3)
    kernel /vmlinuz-2.6.32-26-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    initrd /initrd.img-2.6.32-26-generic
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic
    root (hd0,3)
    kernel /vmlinuz-2.6.32-24-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-24-generic
    quiet
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-24-generic (recovery mode)
    root (hd0,3)
    kernel /vmlinuz-2.6.32-24-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    initrd /initrd.img-2.6.32-24-generic
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-23-generic
    root (hd0,3)
    kernel /vmlinuz-2.6.32-23-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-23-generic
    quiet
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-23-generic (recovery mode)
    root (hd0,3)
    kernel /vmlinuz-2.6.32-23-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    initrd /initrd.img-2.6.32-23-generic
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-22-generic
    root (hd0,3)
    kernel /vmlinuz-2.6.32-22-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-22-generic
    quiet
    title Ubuntu 10.04.1 LTS, kernel 2.6.32-22-generic (recovery mode)
    root (hd0,3)
    kernel /vmlinuz-2.6.32-22-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    initrd /initrd.img-2.6.32-22-generic
    title Ubuntu 10.04.1 LTS, memtest86+
    root (hd0,3)
    kernel /memtest86+.bin
    quiet
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    ============================= sda4/grub/grub.cfg: =============================
    # DO NOT EDIT THIS FILE
    # It is automatically generated by /usr/sbin/grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    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 recordfail {
    set recordfail=1
    if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 32495e1a-227c-4d23-9f63-b1319def0dd9
    if loadfont /usr/share/grub/unicode.pf2 ; then
    set gfxmode=640x480
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
    fi
    fi
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    set locale_dir=($root)/grub/locale
    set lang=en
    insmod gettext
    if [ ${recordfail} = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Ubuntu, with Linux 2.6.32-26-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    linux /vmlinuz-2.6.32-26-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-26-generic
    menuentry 'Ubuntu, with Linux 2.6.32-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu -
    -class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    echo 'Loading Linux 2.6.32-26-generic ...'
    linux /vmlinuz-2.6.32-26-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    echo 'Loading initial ramdisk ...'
    initrd /initrd.img-2.6.32-26-generic
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    linux /vmlinuz-2.6.32-24-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-24-generic
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu -
    -class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    echo 'Loading Linux 2.6.32-24-generic ...'
    linux /vmlinuz-2.6.32-24-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    echo 'Loading initial ramdisk ...'
    initrd /initrd.img-2.6.32-24-generic
    menuentry 'Ubuntu, with Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    linux /vmlinuz-2.6.32-23-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-23-generic
    menuentry 'Ubuntu, with Linux 2.6.32-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu -
    -class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    echo 'Loading Linux 2.6.32-23-generic ...'
    linux /vmlinuz-2.6.32-23-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    echo 'Loading initial ramdisk ...'
    initrd /initrd.img-2.6.32-23-generic
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    linux /vmlinuz-2.6.32-22-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash
    initrd /initrd.img-2.6.32-22-generic
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu -
    -class os {
    recordfail
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    echo 'Loading Linux 2.6.32-22-generic ...'
    linux /vmlinuz-2.6.32-22-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro single
    echo 'Loading initial ramdisk ...'
    initrd /initrd.img-2.6.32-22-generic
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    linux16 /memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,4)'
    search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41
    linux16 /memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Arch Linux (on /dev/sda10)" {
    insmod ext2
    set root='(hd0,10)'
    search --no-floppy --fs-uuid --set 26851879-58d1-4d65-90b4-e0845fe1176c
    linux /boot/vmlinuz26 root=/dev/sda10 ro
    initrd /boot/kernel26.img
    menuentry "Arch Linux Fallback (on /dev/sda10)" {
    insmod ext2
    set root='(hd0,10)'
    search --no-floppy --fs-uuid --set 26851879-58d1-4d65-90b4-e0845fe1176c
    linux /boot/vmlinuz26 root=/dev/sda10 ro
    initrd /boot/kernel26-fallback.img
    #### 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.
    # From Arch grub menu.lst
    # (0) Arch Linux
    #title Arch Linux [/boot/vmlinuz26]
    #root (hd0,0)
    #kernel /vmlinuz26 root=/dev/sda3 ro
    #initrd /kernel26.img
    #Note: With a separate boot partition, omit /boot from the path, (i.e. type set prefix=(hdX,Y)/grub and insmod
    (hdX,Y)/grub/linux.mod).
    #This introduces the "linux" and "initrd" commands, which should be familiar (see #Configuration).
    #An example, booting Arch Linux:
    #set root=(hd0,5)
    #linux /boot/vmlinuz26 root=/dev/sda5
    #initrd /boot/kernel26.img
    #boot
    ###menuentry "Arch1" {
    ###insmod ext2
    ###set root='(hd0,10)'
    #search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41 = FOR UBUNTU THIS IS THE BOOT
    PARTITION
    #linux /vmlinuz-2.6.32-26-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash = FOR
    UBUNTU THIS IS THE ROOT PARTITION
    #initrd /initrd.img-2.6.32-26-generic
    ###search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41 # UBUNTU'S BOOT PARTITION UU
    ID
    ###linux /boot/vmlinuz-26 root=635d7d02-3f5b-4af6-9c74-16b2af8cc7fd ro quiet splash # ARCH'S ROOT UUID
    ###initrd /boot/kernel26.img
    # /dev/sda10 uuid = 635d7d02-3f5b-4af6-9c74-16b2af8cc7fd - obtain using ls -l /dev/disk/by-uuid/
    ###menuentry "Arch2" {
    ###insmod ext2
    ###set root='(hd0,4)' #= TRYING UBUNTU'S BOOT
    #search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41 = FOR UBUNTU THIS IS THE BOOT
    PARTITION
    #linux /vmlinuz-2.6.32-26-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash = FOR
    UBUNTU THIS IS THE ROOT PARTITION
    #initrd /initrd.img-2.6.32-26-generic
    #search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41 # UBUNTU'S BOOT PARTITION UUID
    ###linux /boot/vmlinuz-26 root=/dev/sda10 ro quiet splash # TRYING ARCH'S ROOT DEVICE FORMAT
    ###initrd /boot/kernel26.img
    # /dev/sda10 uuid = 635d7d02-3f5b-4af6-9c74-16b2af8cc7fd - obtain using ls -l /dev/disk/by-uuid/
    ###menuentry "Arch3" {
    ###insmod ext2
    ###set root='(hd0,10)' #= TRYING UBUNTU'S BOOT IN HD FORMAT
    #search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41 = FOR UBUNTU THIS IS THE BOOT
    PARTITION
    #linux /vmlinuz-2.6.32-26-generic root=UUID=32495e1a-227c-4d23-9f63-b1319def0dd9 ro quiet splash = FOR
    UBUNTU THIS IS THE ROOT PARTITION
    #initrd /initrd.img-2.6.32-26-generic
    #search --no-floppy --fs-uuid --set d6dc69b0-967d-4886-b62d-8c0d6be06b41 # UBUNTU'S BOOT PARTITION UUID
    ###linux /boot/vmlinuz-26 root=/dev/sda10 ro quiet splash # TRYING ARCH'S ROOT DEVICE FORMAT
    ###initrd /boot/kernel26.img
    # /dev/sda10 uuid = 635d7d02-3f5b-4af6-9c74-16b2af8cc7fd - obtain using ls -l /dev/disk/by-uuid/
    ### END /etc/grub.d/40_custom ###
    =================== sda4: Location of files loaded by Grub: ===================
    .0GB: grub/core.img
    .0GB: grub/grub.cfg
    .0GB: grub/menu.lst
    .0GB: grub/stage2
    .0GB: initrd.img-2.6.32-22-generic
    .0GB: initrd.img-2.6.32-23-generic
    .1GB: initrd.img-2.6.32-24-generic
    .1GB: initrd.img-2.6.32-26-generic
    .0GB: vmlinuz26
    .0GB: vmlinuz-2.6.32-22-generic
    .0GB: vmlinuz-2.6.32-23-generic
    .1GB: vmlinuz-2.6.32-24-generic
    .0GB: vmlinuz-2.6.32-26-generic
    =============================== StdErr Messages: ===============================
    No volume groups found
    mdadm: No arrays found in config file or automatically
    [/quote]
    Output of fdisk -l from chroot is -
    [quote]Disk /dev/sda: 750.2 GB, 750155292160 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465147055 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
    Disk identifier: 0x0000b084
    Device Boot Start End Blocks Id System
    /dev/sda1 417690 6554519 3068415 82 Linux swap / Solaris
    /dev/sda2 25414954 1465144064 719864555+ 5 Extended
    /dev/sda3 6554520 25414829 9430155 83 Linux
    /dev/sda4 * 63 417689 208813+ 83 Linux
    /dev/sda5 25414956 1360287809 667436427 83 Linux
    /dev/sda6 1360287873 1423198349 31455238+ 83 Linux
    /dev/sda7 1423198413 1465144064 20972826 83 Linux
    Partition table entries are not in disk order
    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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
    Disk identifier: 0x00025bd3
    Device Boot Start End Blocks Id System
    /dev/sdb1 2048 1953523711 976760832 83 Linux
    I need to post this now and come back from a different machine to note the error messages I am now getting on boot. ...
    Note that when I boot and press esc to get the menu I get the menu.lst I created (in the second quote) above in /dev/sda6, ie the one with the Arch hd and uuid entries - so grub is looking there and finding that menu.lst, but something goes wrong after that.
    OK. Have now booted the machine and after pressing esc and selecting the uuid entry (the same thing happens with the hd entry) I get a whole lot of stuff, but what seems relevant is (typing it out) -
    List of all partitions:
    No filesystem could mount root, tried:
    Kernel panic - not syncing: VS: Unable to mount root fs on unknown-block(0,0)
    Pid: 1, comm: swapper Not tainted 2.6.39-Arch #1
    If anyone can help I'd really appreciate it. This is my MythTV machine so the WAF is about to take a big dive!
    If I could just install grub to the MBR as if this was a new installation of Arch that would be great.
    I am really lost as to what is going on, which I'm sure is evident.
    Thanks a lot
    belbo
    Last edited by belbo (2011-08-12 13:31:23)

    Hi. Unfortunately that didn't help.
    So next, based on this post https://wiki.archlinux.org/index.php/Ke … el_version I chrooted into Arch and (a) rolled back and (b) reinstalled my kernel but that didn't help either. I suspected it wouldn't because the kernel was working fine before I deleted the partitions in question.
    [2011-08-08 23:32] ==> Image generation successful
    [2011-08-08 23:32] upgraded kernel26 (2.6.39.3-1 -> 2.6.39.3-1)
    I then did a pacman -Suy and the linux package has now replaced kernel26. ( See this wiki entry http://www.archlinux.org/news/changes-t … filenames/). I didn't change anything in menu.lst owing to this and it seems there is no need to. Unfortunately this hasn't helped either - still getting the kernel panic. 
    Pacman.log relating to the new kernel package below -
    [2011-08-09 00:22] Running 'pacman -Suy'
    [2011-08-09 00:22] synchronizing package lists
    [2011-08-09 00:23] starting full system upgrade
    [2011-08-09 00:23] Running 'pacman -Suy'
    [2011-08-09 00:23] synchronizing package lists
    [2011-08-09 00:23] starting full system upgrade
    [2011-08-09 00:26] removed python-mygpoclient (1.5-1)
    [2011-08-09 00:26] removed kernel26 (2.6.39.3-1)
    [2011-08-09 00:26] warning: /boot/grub/menu.lst installed as /boot/grub/menu.lst.pacnew
    [2011-08-09 00:26] upgraded grub (0.97-17 -> 0.97-19)
    [2011-08-09 00:26] upgraded icu (4.8-1 -> 4.8.1-1)
    [2011-08-09 00:26] upgraded linux-firmware (20110512-2 -> 20110727-1)
    [2011-08-09 00:26] >>> Updating module dependencies. Please wait ...
    [2011-08-09 00:26] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2011-08-09 00:26] ==> Building image from preset: 'default'
    [2011-08-09 00:26] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2011-08-09 00:26] ==> Starting build: 3.0-ARCH
    [2011-08-09 00:26] -> Parsing hook: [base]
    [2011-08-09 00:26] -> Parsing hook: [udev]
    [2011-08-09 00:26] -> Parsing hook: [autodetect]
    [2011-08-09 00:26] -> Parsing hook: [pata]
    [2011-08-09 00:26] -> Parsing hook: [scsi]
    [2011-08-09 00:26] -> Parsing hook: [sata]
    [2011-08-09 00:26] -> Parsing hook: [filesystems]
    [2011-08-09 00:26] -> Parsing hook: [usbinput]
    [2011-08-09 00:26] ==> Generating module dependencies
    [2011-08-09 00:26] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2011-08-09 00:26] 7079 blocks
    [2011-08-09 00:26] ==> Image generation successful
    [2011-08-09 00:26] ==> Building image from preset: 'fallback'
    [2011-08-09 00:26] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2011-08-09 00:26] ==> Starting build: 3.0-ARCH
    [2011-08-09 00:26] -> Parsing hook: [base]
    [2011-08-09 00:26] -> Parsing hook: [udev]
    [2011-08-09 00:26] -> Parsing hook: [pata]
    [2011-08-09 00:26] -> Parsing hook: [scsi]
    [2011-08-09 00:26] -> Parsing hook: [sata]
    [2011-08-09 00:26] -> Parsing hook: [filesystems]
    [2011-08-09 00:26] -> Parsing hook: [usbinput]
    [2011-08-09 00:26] ==> Generating module dependencies
    [2011-08-09 00:26] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2011-08-09 00:26] 23360 blocks
    [2011-08-09 00:26] ==> Image generation successful
    [2011-08-09 00:26] installed linux (3.0.1-1)
    I don't think I've mentioned that my old menu.lst seems to have disappeared and so must have been on one of the partitions that were deleted. I did have 2 Arch installations when I was setting things up months ago and that menu.lst may have been on the other partition but pointing to this partiton's kernel for booting. Presumably that's possible since this partiton is definitely the one I have been using for the last several months (confirmed by log and other files updated in the last few days etc). Even so, I suppose that probably wouldn't be relevant to this issue, since grub is finding the menu.lst on this partition when it boots so it is looking in the intended place now.
    It seems I'm at a bit of a dead end. It seems these kernel panics are usually because there is something wrong with the kernel - which there wasn't with mine (and presumably the kernel in the new linux package is fine) or there is a typo in menu.lst (I can't see one and nobody has pointed one out yet) or menu.lst is pointing to the wrong partition (mine is pointing to the same partition and /boot directory that is found by grub - which is where my boot image is located - so it seems to be correct). I have nevertheless tried editing the menu.lst entry when booting to boot from different partitions but so far that hasn't worked either.
    If anybody has other ideas I'd really appreciate it.
    If not, some suggestions on re-installing would also be appreciated. I have a recent tar archive of the partition, but presumably reinstalling that wouldn't be of much use since it would just put back what is currently there. I guess that I need to format the partition, create a separate boot partition, do a fresh install of Arch into the formatted partition (and with boot in the new boot partition). And then restore my tar backup (excluding the boot directory) into the formatted partition?
    Any assistance greatly appreciated.
    Thanks
    belbo
    Last edited by belbo (2011-08-08 23:17:49)

  • [solved] unable to boot to the root partition on my new (usb) HDD

    hello,
    i got a "unable to determine major/minor number of root device" error message when the system try to find the root partition (after it succefully boot on the boot partition).
    Shuttle XPC SB65G2 (Mainboard FB65), usb HDD: Intenso INIC-1608L, Linux ctkarch 2.6.37-ARCH #1 SMP PREEMPT, grub legacy.
    sdb1: /boot (ext2), sdb2: swap, sdb3: / (ext4), sdb4: /home (ext4)
    of course i have a kernel compiled with usb in HOOKS in mkinitcpio.conf.
    i tried to install with sdb1: / (ext4), sdb2: swap, sdb3: /home (ext4)
    but i got another error: it can't find the file /dev/blabla (root partition) (after it succefully boot on the partition!).
    at last i found the solution: i have to comment "root (hdx,x)" in menu.lst for grub legacy!:
    # (0) Arch Linux
    title Arch Linux
    # root (hd1,0)
    kernel ... by-uuid...
    you don't need this line when you define by uuid, by label, or so...
    it seems this line perturbs the behavior of the system.
    if this can help...

    You do not need the "raw". If you do:
    ok devalias
    it will show you how other aliases are formed
    do ls -l /dev/dsk/c0t2d0s0 and you'll see the "non-raw" device path
    ok reset
    will "lock" your alias in NVRAM but it will attempt to boot from boot-device (normally disk) the next time unless auto-boot? is set to false
    ok setenv auto-boot? false
    My guess is that it could not understand "raw", reset, and booted from boot-device.
    You can:
    ok setenv auto-boot? false
    ok nvunalias altboot
    ok nvalias altboot /pci@1f,0/ide@d/dad@2,0
    ok reset
    ok boot altboot

  • Arch & Windows 8 Dual Boot -- Windows Boot Loader loads grub-rescue

    Arch works fine,but as it always happens Windows boot went down. Both OS are EFI.
    Note that boot secure and fast boot were disabled for Windows 8.
    I used os-prober, but did not fix anything; so, I removed it. I tried to hack things out using boot-repair from Ubuntu, but it requires a repository, grub-efi, from Ubuntu that Arch doesn't have.
    I am trying to modify files in grub.d and grub.cfg and hopefully fix something.
    Exact description:
    - archgrub loads and shows 3 entries. Two for Arch that load the sys succesfully and one for Windows 8 that fails.
    - When I try to execute Windows from grub, it brings me to a grub rescue>
      and shows error /boot/grub/x86_64-efi/normal.mod not found
      As far as I am concerned this .mod is from Linux, so I don't know why it is being called into Windows loading procedures.
    lsblk returns:
    [jav@localhost ~]$ lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 931.5G 0 disk
    |-sda1 8:1 0 1000M 0 part
    |-sda2 8:2 0 260M 0 part
    |-sda3 8:3 0 1000M 0 part
    |-sda4 8:4 0 128M 0 part
    |-sda5 8:5 0 605.3G 0 part
    |-sda6 8:6 0 5.4G 0 part /boot/efi
    |-sda7 8:7 0 25G 0 part
    |-sda8 8:8 0 20G 0 part
    |-sda9 8:9 0 244.1G 0 part /
    `-sda10 8:10 0 29.3G 0 part
    sr0 11:0 1 1024M 0 rom
    Here's the output of fdisk. Another weird thing is that sometimes ubuntu would show on my terminal. See the first line below, "jav@ubuntu"?!
    [jav@ubuntu ~]$ sudo fdisk -l
    [sudo] password for jav:
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: [i deleted this]
    Device Start End Size Type
    /dev/sda1 2048 2050047 1000M Windows recovery environment
    /dev/sda2 2050048 2582527 260M EFI System
    /dev/sda3 2582528 4630527 1000M unknown
    /dev/sda4 4630528 4892671 128M Microsoft reserved
    /dev/sda5 4892672 1274335231 605.3G Microsoft basic data
    /dev/sda6 1847777280 1859151871 5.4G EFI System
    /dev/sda7 1859151872 1911580671 25G Microsoft basic data
    /dev/sda8 1911580672 1953523711 20G Windows recovery environment
    /dev/sda9 1335775232 1847777279 244.1G Linux filesystem
    /dev/sda10 1274335232 1335775231 29.3G Microsoft basic data
    And, bootinfoscript output:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => No boot loader is installed in the MBR of /dev/sda.
    sda1: __________________________________________________________________________
    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:
    sda2: __________________________________________________________________________
    File system: vfat
    Boot sector type: Windows 7: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
    /efi/ubuntu/grubx64.efi
    sda3: __________________________________________________________________________
    File system: vfat
    Boot sector type: Windows 7: FAT32
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
    /efi/ubuntu/grubx64.efi /bootmgr /boot/bcd
    sda4: __________________________________________________________________________
    File system:
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: unknown filesystem type ''
    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: /bootmgr /Boot/BCD /Windows/System32/winload.exe
    sda6: __________________________________________________________________________
    File system: vfat
    Boot sector type: SYSLINUX 6.02 ... :..(:,:0:4:8:....D:H:L:[.T:[.\:`:d:[.l:p:t:x:|:.:.:.:.:.:.:.:.....................
    Boot sector info: Syslinux looks at sector 99102 of /dev/sda6 for its
    second stage. SYSLINUX is installed in the /syslinux
    directory. No errors found in the Boot Parameter Block.
    Operating System:
    Boot files: /grub/grub.cfg /syslinux/syslinux.cfg
    /syslinux/ldlinux.sys
    sda7: __________________________________________________________________________
    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:
    sda8: __________________________________________________________________________
    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:
    sda9: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Arch Linux ()
    Boot files: /etc/fstab
    sda10: _________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 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 1,953,525,167 1,953,525,167 ee GPT
    GUID Partition Table detected.
    Partition Start Sector End Sector # of Sectors System
    /dev/sda1 2,048 2,050,047 2,048,000 Windows Recovery Environment (Windows)
    /dev/sda2 2,050,048 2,582,527 532,480 EFI System partition
    /dev/sda3 2,582,528 4,630,527 2,048,000 -
    /dev/sda4 4,630,528 4,892,671 262,144 Microsoft Reserved Partition (Windows)
    /dev/sda5 4,892,672 1,274,335,231 1,269,442,560 Data partition (Windows/Linux)
    /dev/sda6 1,847,777,280 1,859,151,871 11,374,592 EFI System partition
    /dev/sda7 1,859,151,872 1,911,580,671 52,428,800 Data partition (Windows/Linux)
    /dev/sda8 1,911,580,672 1,953,523,711 41,943,040 Windows Recovery Environment (Windows)
    /dev/sda9 1,335,775,232 1,847,777,279 512,002,048 Data partition (Linux)
    /dev/sda10 1,274,335,232 1,335,775,231 61,440,000 Data partition (Windows/Linux)
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda1 CE62D9F062D9DCF1 ntfs WINRE_DRV
    /dev/sda10 150a8788-6049-45ed-85af-ded92a2c0801 ext4
    /dev/sda2 16DC-8816 vfat SYSTEM_DRV
    /dev/sda3 7CDD-0403 vfat LRS_ESP
    /dev/sda4
    /dev/sda5 40E4E0CFE4E0C7EC ntfs Windows8_OS
    /dev/sda6 9C3F-2A9E vfat
    /dev/sda7 7240E43740E40427 ntfs LENOVO
    /dev/sda8 422CE5EA2CE5D945 ntfs PBR_DRV
    /dev/sda9 1a765403-f251-43d8-8edf-c191475d3837 ext4
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda6 /boot vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sda6 /boot/efi vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sda9 / ext4 (rw,relatime,data=ordered)
    ============================= sda6/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
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 1a765403-f251-43d8-8edf-c191475d3837
    else
    search --no-floppy --fs-uuid --set=root 1a765403-f251-43d8-8edf-c191475d3837
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    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-1a765403-f251-43d8-8edf-c191475d3837' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt6'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 9C3F-2A9E
    else
    search --no-floppy --fs-uuid --set=root 9C3F-2A9E
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /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-1a765403-f251-43d8-8edf-c191475d3837' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt6'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 9C3F-2A9E
    else
    search --no-floppy --fs-uuid --set=root 9C3F-2A9E
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ## Attempt at fixing grub
    # insmod fat
    # set root='hd0,gpt6'
    ### BEGIN /etc/grub.d/30_os-prober ###
    #menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-16DC-8816' {
    # insmod part_gpt
    # insmod fat
    # 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 16DC-8816
    # else
    # search --no-floppy --fs-uuid --set=root 16DC-8816
    # fi
    # chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    menuentry "Windows 8 UEFI" {
    set root='(hd0,gpt2)'
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    ========================= sda6/syslinux/syslinux.cfg: ==========================
    # Config file for Syslinux -
    # /boot/syslinux/syslinux.cfg
    # Comboot modules:
    # * menu.c32 - provides a text menu
    # * vesamenu.c32 - provides a graphical menu
    # * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
    # * hdt.c32 - hardware detection tool
    # * reboot.c32 - reboots the system
    # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
    # If /usr and /boot are on the same file system, symlink the files instead
    # of copying them.
    # If you do not use a menu, a 'boot:' prompt will be shown and the system
    # will boot automatically after 5 seconds.
    # Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
    # The wiki provides further configuration examples
    DEFAULT arch
    PROMPT 0 # Set to 1 if you always want to display the boot: prompt
    TIMEOUT 50
    # You can create syslinux keymaps with the keytab-lilo tool
    #KBDMAP de.ktl
    # Menu Configuration
    # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
    UI menu.c32
    #UI vesamenu.c32
    # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
    MENU TITLE Arch Linux
    #MENU BACKGROUND splash.png
    MENU COLOR border 30;44 #40ffffff #a0000000 std
    MENU COLOR title 1;36;44 #9033ccff #a0000000 std
    MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
    MENU COLOR unsel 37;44 #50ffffff #a0000000 std
    MENU COLOR help 37;40 #c0ffffff #a0000000 std
    MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
    MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
    MENU COLOR msg07 37;40 #90ffffff #a0000000 std
    MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
    # boot sections follow
    # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda3 rw
    INITRD ../initramfs-linux.img
    LABEL archfallback
    MENU LABEL Arch Linux Fallback
    LINUX ../vmlinuz-linux
    APPEND root=/dev/sda3 rw
    INITRD ../initramfs-linux-fallback.img
    #LABEL windows
    # MENU LABEL Windows
    # COM32 chain.c32
    # APPEND hd0 1
    LABEL hdt
    MENU LABEL HDT (Hardware Detection Tool)
    COM32 hdt.c32
    LABEL reboot
    MENU LABEL Reboot
    COM32 reboot.c32
    LABEL poweroff
    MENU LABEL Poweroff
    COM32 poweroff.c32
    =================== sda6: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    ================= sda6: Location of files loaded by Syslinux: ==================
    GiB - GB File Fragment(s)
    ============== sda6: Version of COM32(R) files used by Syslinux: ===============
    syslinux/cat.c32 : not a COM32/COM32R module
    syslinux/chain.c32 : not a COM32/COM32R module
    syslinux/cmd.c32 : not a COM32/COM32R module
    syslinux/config.c32 : not a COM32/COM32R module
    syslinux/cptime.c32 : not a COM32/COM32R module
    syslinux/cpuid.c32 : not a COM32/COM32R module
    syslinux/cpuidtest.c32 : not a COM32/COM32R module
    syslinux/debug.c32 : not a COM32/COM32R module
    syslinux/disk.c32 : not a COM32/COM32R module
    syslinux/dmitest.c32 : not a COM32/COM32R module
    syslinux/elf.c32 : not a COM32/COM32R module
    syslinux/ethersel.c32 : not a COM32/COM32R module
    syslinux/gfxboot.c32 : not a COM32/COM32R module
    syslinux/gpxecmd.c32 : not a COM32/COM32R module
    syslinux/hdt.c32 : not a COM32/COM32R module
    syslinux/hexdump.c32 : not a COM32/COM32R module
    syslinux/host.c32 : not a COM32/COM32R module
    syslinux/ifcpu.c32 : not a COM32/COM32R module
    syslinux/ifcpu64.c32 : not a COM32/COM32R module
    syslinux/ifmemdsk.c32 : not a COM32/COM32R module
    syslinux/ifplop.c32 : not a COM32/COM32R module
    syslinux/kbdmap.c32 : not a COM32/COM32R module
    syslinux/kontron_wdt.c32 : not a COM32/COM32R module
    syslinux/ldlinux.c32 : not a COM32/COM32R module
    syslinux/libcom32.c32 : not a COM32/COM32R module
    syslinux/libgpl.c32 : not a COM32/COM32R module
    syslinux/liblua.c32 : not a COM32/COM32R module
    syslinux/libmenu.c32 : not a COM32/COM32R module
    syslinux/libutil.c32 : not a COM32/COM32R module
    syslinux/linux.c32 : not a COM32/COM32R module
    syslinux/ls.c32 : not a COM32/COM32R module
    syslinux/lua.c32 : not a COM32/COM32R module
    syslinux/mboot.c32 : not a COM32/COM32R module
    syslinux/meminfo.c32 : not a COM32/COM32R module
    syslinux/menu.c32 : not a COM32/COM32R module
    syslinux/pcitest.c32 : not a COM32/COM32R module
    syslinux/pmload.c32 : not a COM32/COM32R module
    syslinux/poweroff.c32 : not a COM32/COM32R module
    syslinux/prdhcp.c32 : not a COM32/COM32R module
    syslinux/pwd.c32 : not a COM32/COM32R module
    syslinux/pxechn.c32 : not a COM32/COM32R module
    syslinux/reboot.c32 : not a COM32/COM32R module
    syslinux/rosh.c32 : not a COM32/COM32R module
    syslinux/sanboot.c32 : not a COM32/COM32R module
    syslinux/sdi.c32 : not a COM32/COM32R module
    syslinux/sysdump.c32 : not a COM32/COM32R module
    syslinux/vesainfo.c32 : not a COM32/COM32R module
    syslinux/vesamenu.c32 : not a COM32/COM32R module
    syslinux/vpdtest.c32 : not a COM32/COM32R module
    syslinux/whichsys.c32 : not a COM32/COM32R module
    syslinux/zzjson.c32 : not a COM32/COM32R module
    =============================== sda9/etc/fstab: ================================
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    # /dev/sda9
    UUID=1a765403-f251-43d8-8edf-c191475d3837 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda6
    #UUID=9C3F-2A9E /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    UUID=9C3F-2A9E /boot vfat defaults 0 2
    UUID=9C3F-2A9E /boot/efi vfat defaults 0 1
    ============== sda9: Version of COM32(R) files used by Syslinux: ===============
    boot/syslinux/cat.c32 : not a COM32/COM32R module
    boot/syslinux/chain.c32 : not a COM32/COM32R module
    boot/syslinux/cmd.c32 : not a COM32/COM32R module
    boot/syslinux/config.c32 : not a COM32/COM32R module
    boot/syslinux/cptime.c32 : not a COM32/COM32R module
    boot/syslinux/cpuid.c32 : not a COM32/COM32R module
    boot/syslinux/cpuidtest.c32 : not a COM32/COM32R module
    boot/syslinux/debug.c32 : not a COM32/COM32R module
    boot/syslinux/disk.c32 : not a COM32/COM32R module
    boot/syslinux/dmitest.c32 : not a COM32/COM32R module
    boot/syslinux/elf.c32 : not a COM32/COM32R module
    boot/syslinux/ethersel.c32 : not a COM32/COM32R module
    boot/syslinux/gfxboot.c32 : not a COM32/COM32R module
    boot/syslinux/gpxecmd.c32 : not a COM32/COM32R module
    boot/syslinux/hdt.c32 : not a COM32/COM32R module
    boot/syslinux/hexdump.c32 : not a COM32/COM32R module
    boot/syslinux/host.c32 : not a COM32/COM32R module
    boot/syslinux/ifcpu.c32 : not a COM32/COM32R module
    boot/syslinux/ifcpu64.c32 : not a COM32/COM32R module
    boot/syslinux/ifmemdsk.c32 : not a COM32/COM32R module
    boot/syslinux/ifplop.c32 : not a COM32/COM32R module
    boot/syslinux/kbdmap.c32 : not a COM32/COM32R module
    boot/syslinux/kontron_wdt.c32 : not a COM32/COM32R module
    boot/syslinux/ldlinux.c32 : not a COM32/COM32R module
    boot/syslinux/libcom32.c32 : not a COM32/COM32R module
    boot/syslinux/libgpl.c32 : not a COM32/COM32R module
    boot/syslinux/liblua.c32 : not a COM32/COM32R module
    boot/syslinux/libmenu.c32 : not a COM32/COM32R module
    boot/syslinux/libutil.c32 : not a COM32/COM32R module
    boot/syslinux/linux.c32 : not a COM32/COM32R module
    boot/syslinux/ls.c32 : not a COM32/COM32R module
    boot/syslinux/lua.c32 : not a COM32/COM32R module
    boot/syslinux/mboot.c32 : not a COM32/COM32R module
    boot/syslinux/meminfo.c32 : not a COM32/COM32R module
    boot/syslinux/menu.c32 : not a COM32/COM32R module
    boot/syslinux/pcitest.c32 : not a COM32/COM32R module
    boot/syslinux/pmload.c32 : not a COM32/COM32R module
    boot/syslinux/poweroff.c32 : not a COM32/COM32R module
    boot/syslinux/prdhcp.c32 : not a COM32/COM32R module
    boot/syslinux/pwd.c32 : not a COM32/COM32R module
    boot/syslinux/pxechn.c32 : not a COM32/COM32R module
    boot/syslinux/reboot.c32 : not a COM32/COM32R module
    boot/syslinux/rosh.c32 : not a COM32/COM32R module
    boot/syslinux/sanboot.c32 : not a COM32/COM32R module
    boot/syslinux/sdi.c32 : not a COM32/COM32R module
    boot/syslinux/sysdump.c32 : not a COM32/COM32R module
    boot/syslinux/vesainfo.c32 : not a COM32/COM32R module
    boot/syslinux/vesamenu.c32 : not a COM32/COM32R module
    boot/syslinux/vpdtest.c32 : not a COM32/COM32R module
    boot/syslinux/whichsys.c32 : not a COM32/COM32R module
    boot/syslinux/zzjson.c32 : not a COM32/COM32R module
    ======================== Unknown MBRs/Boot Sectors/etc: ========================
    Unknown GPT Partiton Type
    e7afbfbf4fa38a449a5b6213eb736c22
    ========= Devices which don't seem to have a corresponding hard drive: =========
    sdb
    =============================== StdErr Messages: ===============================
    cat: /tmp/BootInfo-p9ML2Cte/Tmp_Log: No such file or directory
    cat: /tmp/BootInfo-p9ML2Cte/Tmp_Log: No such file or directory
    /dev/cdrom: open failed: No medium found
    /dev/sdb: open failed: No medium found
    No volume groups found
    mdadm: No arrays found in config file or automatically
    Any ideas?
    Here's my grub.cfg:
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    if [ "${next_entry}" ] ; then
    set default="${next_entry}"
    set next_entry=
    save_env next_entry
    set boot_once=true
    else
    set default="0"
    fi
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_gpt
    insmod ext2
    set root='hd0,gpt9'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 1a765403-f251-43d8-8edf-c191475d3837
    else
    search --no-floppy --fs-uuid --set=root 1a765403-f251-43d8-8edf-c191475d3837
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    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-1a765403-f251-43d8-8edf-c191475d3837' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt6'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 9C3F-2A9E
    else
    search --no-floppy --fs-uuid --set=root 9C3F-2A9E
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /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-1a765403-f251-43d8-8edf-c191475d3837' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod fat
    set root='hd0,gpt6'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 9C3F-2A9E
    else
    search --no-floppy --fs-uuid --set=root 9C3F-2A9E
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /vmlinuz-linux root=UUID=1a765403-f251-43d8-8edf-c191475d3837 rw quiet
    echo 'Loading initial ramdisk ...'
    initrd /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/30_os-prober ###
    menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-16DC-8816' {
    insmod part_gpt
    insmod fat
    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 16DC-8816
    else
    search --no-floppy --fs-uuid --set=root 16DC-8816
    fi
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    ### BEGIN /etc/grub.d/60_memtest86+ ###
    ### END /etc/grub.d/60_memtest86+ ###
    Last edited by knowNothing23 (2013-12-30 00:17:02)

    Hi,
    New to this forum, joined today in anticipation of trying an install of AL...For whatever this may be worth:
    I have an HP Pavillion desktop that came with Windows 8 (now 8.1), & has, of course, a UEFI boot system. I tried earlier to install Ubuntu Studio (which I currently run) on the same disk as Windows (/dev/sda), I made (I believe) a huge mistake in trying to install as LVM/ext4... wiped out my Windows install & made the UEFI unavailable... I had to do a complete re-install of Windows (fortunately, I did the recommended system backup, using 4 DVD's!) so then I tried a (non LVM) install on an external usb 3.0, with the Grub 2 on the external disk (great access time, & it worked fine...  IMO)...
    One other item: as I have been trying to find the right flavor of Linux for my main purposes, I have been trying various distros. & having to try to learn to negotiate the UEFI, secure/legacy procedures (still learning)... As I was unsure of installing rEFind... I did down load the .iso, burn it to a CD...
    http://www.rodsbooks.com/refind/getting.html
    & in  legacy mode, found that simply putting it (rEFind CD into the CD/DVD player, which in the UEFI it is labeled something like HP/UEFI CD/DVD), & then launching it, rEFind worked for some other distros...that is, I was able to boot into my Linux distros, even bypassing Grub), as well as having the option of booting Windows. It may seem trivial that I say this (it maybe is), but I have not seen anywhere (I have scoured the internet rather well) this mentioned as a possibility (though it, of course, would not make such a good permanent solution, especially for computers like mine that have only one CD/DVD player).
    HenryP

  • "Disk read error occurred" cannot even load System Recovery

    Hello,
    yesterday I powered on my computer, and it was almost froze, with only the mouse moving and even the task manager not showing up when called.
    I first tried to make it go in standby, as I thought it was some program which didnt start as planned. After I closed the screen , the screen went black, but the pc continued to run. I then pressed the power button, shutting the system the hard way.
    After that, I powered back the pc, which now only showed "Disk read error occurred, press ctrl+alt+del to restart" and obviously this wasnt the solution. I tried resetting the BIOS, then running the diagnostics on f2: it ALWAYS passes the test the first time, then if i try to run the diagnostics again, it says "NOT INSTALLED". I tried running the system recovery on f11, but the same "disk read error" appears.
    I-ve already confirmed the problem lies in the hard disk itself {hitachi 750gb}, having plugged it in another notebook with an hitachi hard disk and still showing the same problem, while the other hard disk booted just fine in my HP.
    I tried with a win7 cd, both recovering and installing a new version, but they both kept frozen for about 1 hour and did nothing.
    I then made a bootable USB with Trinity Recovery Kit and after a quick diagnostic, it said boot partition has "unclean" windows files and tried fixing the problem, without success. I-m now writing from a bootable USB linux distro, because i cannot find a bootable iso oh hitachi recovery program, what should I do?
    Is it possible the hard disk failed so bad for an uncommon closure of the system? It looks to me like some data got corrupted.
    Please help me, as I-m an academy student and I use the PC for almost everything.
    Thank you.

    I-ve booted Boot Repair 64bit and tried repairing the boot section... i even checked the boot infos and printed an info file, can someone answer what the actual FOG is happening here?
    Spoiler (Highlight to read)
     Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]
    ============================= Boot Info Summary: ===============================
     => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda.
     => Windows 7/8/2012 is installed in the MBR of /dev/sdb.
    sda1: __________________________________________________________________________
        File system:       vfat
        Boot sector type:  SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
        Boot sector info:  Syslinux looks at sector 840 of /dev/sda1 for its
                           second stage. SYSLINUX is installed in the /multiboot
                           directory. No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi
                           /multiboot/boot-repair-disk-64bit/EFI/BOOT/grubx64.efi
    sdb1: __________________________________________________________________________
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /bootmgr /Boot/BCD
    sdb2: __________________________________________________________________________
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows 7
        Boot files:        /Windows/System32/winload.exe
    sdb3: __________________________________________________________________________
        File system:       vfat
        Boot sector type:  Windows 7/2008: FAT32
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        /Hewlett-Packard/BIOSUpdate/CryptRSA.efi
                           /Hewlett-Packard/BIOSUpdate/CryptRSA32.efi
                           /Hewlett-Packard/BIOSUpdate/HpBiosUpdate.efi
                           /Hewlett-Packard/BIOSUpdate/HpBiosUpdate32.efi
    sdb4: __________________________________________________________________________
        File system:       ntfs
        Boot sector type:  Windows 7/2008: NTFS
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files:        
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 2014 MB, 2014314496 bytes
    48 heads, 47 sectors/track, 1743 cylinders, total 3934208 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    /dev/sda1    *          7,736     3,934,207     3,926,472   6 FAT16
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    /dev/sdb1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS
    /dev/sdb2             206,848 1,042,102,271 1,041,895,424   7 NTFS / exFAT / HPFS
    /dev/sdb3       1,042,102,272 1,058,879,487    16,777,216   c W95 FAT32 (LBA)
    /dev/sdb4       1,058,879,488 1,465,145,343   406,265,856   7 NTFS / exFAT / HPFS
    GUID Partition Table detected, but does not seem to be used.
    Partition    Start Sector    End Sector  # of Sectors System
    "blkid" output: ________________________________________________________________
    Device           UUID                                   TYPE       LABEL
    /dev/loop0                                              squashfs   
    /dev/sda1        8445-39EA                              vfat       MULTIBOOT
    /dev/sdb1        E48A3EB48A3E82DA                       ntfs       System Reserved
    /dev/sdb2        869E4B729E4B5A37                       ntfs       
    /dev/sdb3        70C8-BABE                              vfat       HP_TOOLS
    /dev/sdb4        FA50FC5C50FC2155                       ntfs       Bananalandia
    /dev/sr0                                                udf        UDF Volume
    /dev/zram0       c7af1e29-699f-4efa-a763-6bd4df3c5edf   swap       
    /dev/zram1       ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1   swap       
    /dev/zram2       744b5bbe-811f-43c5-b381-5f9723476774   swap       
    /dev/zram3       501bb243-bf9b-4346-a227-d10edf37dfda   swap       
    ========================= "ls -l /dev/disk/by-id" output: ======================
    total 0
    lrwxrwxrwx 1 root root  9 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B -> ../../sdb
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part2 -> ../../sdb2
    lrwxrwxrwx 1 root root 10 Jan  6 20:12 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part3 -> ../../sdb3
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part4 -> ../../sdb4
    lrwxrwxrwx 1 root root  9 Jan  6 20:12 ata-hp_DVDRAM_GU90N_M83E1M80128 -> ../../sr0
    lrwxrwxrwx 1 root root  9 Jan  6 20:13 usb-Generic_Flash_Disk_E5F27B91-0:0 -> ../../sda
    lrwxrwxrwx 1 root root 10 Jan  6 20:12 usb-Generic_Flash_Disk_E5F27B91-0:0-part1 -> ../../sda1
    lrwxrwxrwx 1 root root  9 Jan  6 20:13 wwn-0x5000cca760d011d0 -> ../../sdb
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part1 -> ../../sdb1
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part2 -> ../../sdb2
    lrwxrwxrwx 1 root root 10 Jan  6 20:12 wwn-0x5000cca760d011d0-part3 -> ../../sdb3
    lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part4 -> ../../sdb4
    lrwxrwxrwx 1 root root  9 Jan  6 20:12 wwn-0x5001480000000000 -> ../../sr0
    ================================ Mount points: =================================
    Device           Mount_Point              Type       Options
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    /dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/sr0         /media/it/UDF Volume     udf        (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)
    =============================== StdErr Messages: ===============================
    File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 9523: bash
    File descriptor 63 (pipe:[28797]) leaked on lvs invocation. Parent PID 9523: bash
      No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-repair 2015-01-06__20h12 ===================
    boot-repair version : 4ppa14
    boot-sav version : 4ppa14
    glade2script version : 3.2.2~ppa47~saucy
    boot-sav-extra version : 4ppa14
    File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 4571: /bin/sh
    No volume groups found
    boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
    ls: cannot access /home/usr/.config: No such file or directory
    CPU op-mode(s):        32-bit, 64-bit
    BOOT_IMAGE=/multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi file=/cdrom/multiboot/boot-repair-disk-64bit/preseed/lubuntu.seed boot=casper cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid live-media-path=/multiboot/boot-repair-disk-64bit/casper/ initrd=/multiboot/boot-repair-disk-64bit/casper/initrd.lz quiet splash --
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== os-prober:
    /dev/sdb1:Windows 7 (loader):Windows:chain
    =================== blkid:
    /dev/loop0: TYPE="squashfs"
    /dev/sda1: SEC_TYPE="msdos" LABEL="MULTIBOOT" UUID="8445-39EA" TYPE="vfat"
    /dev/sdb1: LABEL="System Reserved" UUID="E48A3EB48A3E82DA" TYPE="ntfs"
    /dev/sdb2: UUID="869E4B729E4B5A37" TYPE="ntfs"
    /dev/sdb3: LABEL="HP_TOOLS" UUID="70C8-BABE" TYPE="vfat"
    /dev/sdb4: LABEL="Bananalandia" UUID="FA50FC5C50FC2155" TYPE="ntfs"
    /dev/sr0: LABEL="UDF Volume" TYPE="udf"
    /dev/zram0: UUID="c7af1e29-699f-4efa-a763-6bd4df3c5edf" TYPE="swap"
    /dev/zram1: UUID="ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1" TYPE="swap"
    /dev/zram2: UUID="744b5bbe-811f-43c5-b381-5f9723476774" TYPE="swap"
    /dev/zram3: UUID="501bb243-bf9b-4346-a227-d10edf37dfda" TYPE="swap"
    1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
    Windows not detected by os-prober on sdb2.
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== UEFI/Legacy mode:
    This live-session is not in EFI-mode.
    EFI in dmesg.
    [    0.000000] ACPI: UEFI 000000009cffd000 000236 (v01 HPQOEM 2166     00000001 HP   00040000)
    SecureBoot maybe enabled.
    =================== PARTITIONS & DISKS:
    sdb1    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    bootmgr,    is-winboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    not-far,    /mnt/boot-sav/sdb1.
    sdb2    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    haswinload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb2.
    sdb3    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb3.
    sdb4    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb4.
    sdb    : GPT,    no-BIOS_boot,    has-no-EFIpart,     not-usb,    has-os,    2048 sectors * 512 bytes
    =================== parted -l:
    Model: Generic Flash Disk (scsi)
    Disk /dev/sda: 2014MB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number  Start   End     Size    Type     File system  Flags
    1      3961kB  2014MB  2010MB  primary  fat16        boot
                                                                                Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.
    However, it does not have a valid fake msdos partition table, as it should.
    Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
    partition tables.  Or perhaps you deleted the GPT table, and are now using an
    msdos partition table.  Is this a GPT partition table?
    Model: ATA HGST HTS541075A9 (scsi)
    Disk /dev/sdb: 750GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Number  Start  End  Size  File system  Name  Flags
                                                                                Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
    has been opened read-only.
                                                                                Error: /dev/sr0: unrecognised disk label
                                                                                Error: /dev/zram0: unrecognised disk label
                                                                                Error: /dev/zram1: unrecognised disk label
                                                                                Error: /dev/zram2: unrecognised disk label
                                                                                Error: /dev/zram3: unrecognised disk label
    =================== parted -lm:
    BYT;
    /dev/sda:2014MB:scsi:512:512:msdos:Generic Flash Disk;
    1:3961kB:2014MB:2010MB:fat16::boot;
                                                                                Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.
    However, it does not have a valid fake msdos partition table, as it should.
    Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
    partition tables.  Or perhaps you deleted the GPT table, and are now using an
    msdos partition table.  Is this a GPT partition table?
    BYT;
    /dev/sdb:750GB:scsi:512:4096:gpt:ATA HGST HTS541075A9;
                                                                                Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
    has been opened read-only.
                                                                                Error: /dev/sr0: unrecognised disk label
                                                                                Error: /dev/zram0: unrecognised disk label
                                                                                Error: /dev/zram1: unrecognised disk label
                                                                                Error: /dev/zram2: unrecognised disk label
                                                                                Error: /dev/zram3: unrecognised disk label
    =================== mount:
    /cow on / type overlayfs (rw)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    /dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
    /dev/loop0 on /rofs type squashfs (ro,noatime)
    none on /sys/fs/cgroup type tmpfs (rw)
    none on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    none on /sys/fs/pstore type pstore (rw)
    systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
    gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=it)
    /dev/sr0 on /media/it/UDF Volume type udf (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)
    /dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sdb3 on /mnt/boot-sav/sdb3 type vfat (rw)
    /dev/sdb4 on /mnt/boot-sav/sdb4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    =================== ls:
    /sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 size slaves stat subsystem trace uevent
    /sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb3 sdb4 size slaves stat subsystem trace uevent
    /sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd freefall full fuse hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb3 sdb4 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zero
    ls /dev/mapper:  control
    =================== hexdump -n512 -C /dev/sdb1
    00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
    00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|
    00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|
    00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|
    00000040  f6 00 00 00 01 00 00 00  da 82 3e 8a b4 3e 8a e4  |..........>..>..|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    =================== hexdump -n512 -C /dev/sdb2
    00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
    00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 28 03 00  |........?....(..|
    00000020  00 00 00 00 80 00 80 00  ff 0f 1a 3e 00 00 00 00  |...........>....|
    00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
    00000040  f6 00 00 00 01 00 00 00  37 5a 4b 9e 72 4b 9e 86  |........7ZK.rK..|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    =================== hexdump -n512 -C /dev/sdb3
    00000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 10 16 20  |.X.MSDOS5.0.... |
    00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3e  |........?....8.>|
    00000020  00 00 00 01 f5 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 01 29 be ba c8 70 4e  4f 20 4e 41 4d 45 20 20  |..)...pNO 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 4e 02 8a 56 40 b4 41  |{......|[email protected]|
    00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|
    00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |[email protected].|
    00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |.....f...@f.....|
    000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|
    000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|
    000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|
    000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|
    000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|
    000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|
    00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|
    00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |[email protected]|
    00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|
    00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|
    00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |.f....v....V@...|
    00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|
    00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |[email protected]|
    00000170  20 20 20 20 00 00 00 00  00 00 00 00 00 00 00 00  |    ............|
    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 52 65  |..............Re|
    000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot|
    000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....Dis|
    000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...Press |
    000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key to resta|
    000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............U.|
    00000200
    =================== hexdump -n512 -C /dev/sdb4
    00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
    00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3f  |........?....8.?|
    00000020  00 00 00 00 80 00 80 00  ff 1f 37 18 00 00 00 00  |..........7.....|
    00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
    00000040  f6 00 00 00 01 00 00 00  55 21 fc 50 5c fc 50 fa  |........U!.P.P.|
    00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|
    00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|
    00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|
    00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|
    00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|
    000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|
    000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|
    000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|
    000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|
    000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|
    000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|
    00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|
    00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|
    00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|
    00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|
    00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|
    00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|
    00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|
    00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|
    00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |
    00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |
    000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|
    000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|
    000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|
    000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|
    000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|
    000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|
    00000200
    WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
    =================== df -Th:
    Filesystem     Type       Size  Used Avail Use% Mounted on
    /cow           overlayfs  3.9G  6.2M  3.9G   1% /
    udev           devtmpfs   3.9G   12K  3.9G   1% /dev
    tmpfs          tmpfs      792M  1.2M  791M   1% /run
    /dev/sda1      vfat       1.9G  628M  1.3G  33% /cdrom
    /dev/loop0     squashfs   549M  549M     0 100% /rofs
    none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
    tmpfs          tmpfs      3.9G  8.0K  3.9G   1% /tmp
    none           tmpfs      5.0M     0  5.0M   0% /run/lock
    none           tmpfs      3.9G     0  3.9G   0% /run/shm
    none           tmpfs      100M   16K  100M   1% /run/user
    /dev/sr0       udf        3.0G  3.0G     0 100% /media/it/UDF Volume
    /dev/sdb1      fuseblk    100M   26M   75M  26% /mnt/boot-sav/sdb1
    /dev/sdb2      fuseblk    497G  429G   69G  87% /mnt/boot-sav/sdb2
    /dev/sdb3      vfat       8.0G   11M  8.0G   1% /mnt/boot-sav/sdb3
    /dev/sdb4      fuseblk    194G   99G   96G  51% /mnt/boot-sav/sdb4
    =================== fdisk -l:
    Disk /dev/sda: 2014 MB, 2014314496 bytes
    48 heads, 47 sectors/track, 1743 cylinders, total 3934208 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
    Disk identifier: 0x2628973b
    Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *        7736     3934207     1963236    6  FAT16
    Disk /dev/sdb: 750.2 GB, 750156374016 bytes
    255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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
    Disk identifier: 0xedc07a32
    Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
    /dev/sdb2          206848  1042102271   520947712    7  HPFS/NTFS/exFAT
    /dev/sdb3      1042102272  1058879487     8388608    c  W95 FAT32 (LBA)
    /dev/sdb4      1058879488  1465145343   203132928    7  HPFS/NTFS/exFAT
    No OS or WinEFI system
    =================== Suggested repair
    The default repair of the Boot-Repair utility would not act on the MBR.
    Additional repair would be performed:  repair-filesystems  fix-windows-boot
    =================== User settings
    The settings chosen by the user will not act on the boot.
     Boot Info Script e7fc706 + Boot-Repair extra info      [Boot-Info 23Nov2014]============================= Boot Info Summary: =============================== => Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sda. => Windows 7/8/2012 is installed in the MBR of /dev/sdb.sda1: __________________________________________________________________________    File system:       vfat    Boot sector type:  SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n    Boot sector info:  Syslinux looks at sector 840 of /dev/sda1 for its                       second stage. SYSLINUX is installed in the /multiboot                       directory. No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi                       /multiboot/boot-repair-disk-64bit/EFI/BOOT/grubx64.efisdb1: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /bootmgr /Boot/BCDsdb2: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:  Windows 7    Boot files:        /Windows/System32/winload.exesdb3: __________________________________________________________________________    File system:       vfat    Boot sector type:  Windows 7/2008: FAT32    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        /Hewlett-Packard/BIOSUpdate/CryptRSA.efi                       /Hewlett-Packard/BIOSUpdate/CryptRSA32.efi                       /Hewlett-Packard/BIOSUpdate/HpBiosUpdate.efi                       /Hewlett-Packard/BIOSUpdate/HpBiosUpdate32.efisdb4: __________________________________________________________________________    File system:       ntfs    Boot sector type:  Windows 7/2008: NTFS    Boot sector info:  No errors found in the Boot Parameter Block.    Operating System:      Boot files:        ============================ Drive/Partition Info: =============================Drive: sda _____________________________________________________________________Disk /dev/sda: 2014 MB, 2014314496 bytes48 heads, 47 sectors/track, 1743 cylinders, total 3934208 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesPartition  Boot  Start Sector    End Sector  # of Sectors  Id System/dev/sda1    *          7,736     3,934,207     3,926,472   6 FAT16Drive: sdb _____________________________________________________________________Disk /dev/sdb: 750.2 GB, 750156374016 bytes255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 4096 bytesPartition  Boot  Start Sector    End Sector  # of Sectors  Id System/dev/sdb1    *          2,048       206,847       204,800   7 NTFS / exFAT / HPFS/dev/sdb2             206,848 1,042,102,271 1,041,895,424   7 NTFS / exFAT / HPFS/dev/sdb3       1,042,102,272 1,058,879,487    16,777,216   c W95 FAT32 (LBA)/dev/sdb4       1,058,879,488 1,465,145,343   406,265,856   7 NTFS / exFAT / HPFSGUID Partition Table detected, but does not seem to be used.Partition    Start Sector    End Sector  # of Sectors System"blkid" output: ________________________________________________________________Device           UUID                                   TYPE       LABEL/dev/loop0                                              squashfs   /dev/sda1        8445-39EA                              vfat       MULTIBOOT/dev/sdb1        E48A3EB48A3E82DA                       ntfs       System Reserved/dev/sdb2        869E4B729E4B5A37                       ntfs       /dev/sdb3        70C8-BABE                              vfat       HP_TOOLS/dev/sdb4        FA50FC5C50FC2155                       ntfs       Bananalandia/dev/sr0                                                udf        UDF Volume/dev/zram0       c7af1e29-699f-4efa-a763-6bd4df3c5edf   swap       /dev/zram1       ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1   swap       /dev/zram2       744b5bbe-811f-43c5-b381-5f9723476774   swap       /dev/zram3       501bb243-bf9b-4346-a227-d10edf37dfda   swap       ========================= "ls -l /dev/disk/by-id" output: ======================total 0lrwxrwxrwx 1 root root  9 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B -> ../../sdblrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part1 -> ../../sdb1lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part2 -> ../../sdb2lrwxrwxrwx 1 root root 10 Jan  6 20:12 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part3 -> ../../sdb3lrwxrwxrwx 1 root root 10 Jan  6 20:13 ata-HGST_HTS541075A9E680_JD12001W14AW4B-part4 -> ../../sdb4lrwxrwxrwx 1 root root  9 Jan  6 20:12 ata-hp_DVDRAM_GU90N_M83E1M80128 -> ../../sr0lrwxrwxrwx 1 root root  9 Jan  6 20:13 usb-Generic_Flash_Disk_E5F27B91-0:0 -> ../../sdalrwxrwxrwx 1 root root 10 Jan  6 20:12 usb-Generic_Flash_Disk_E5F27B91-0:0-part1 -> ../../sda1lrwxrwxrwx 1 root root  9 Jan  6 20:13 wwn-0x5000cca760d011d0 -> ../../sdblrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part1 -> ../../sdb1lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part2 -> ../../sdb2lrwxrwxrwx 1 root root 10 Jan  6 20:12 wwn-0x5000cca760d011d0-part3 -> ../../sdb3lrwxrwxrwx 1 root root 10 Jan  6 20:13 wwn-0x5000cca760d011d0-part4 -> ../../sdb4lrwxrwxrwx 1 root root  9 Jan  6 20:12 wwn-0x5001480000000000 -> ../../sr0================================ Mount points: =================================Device           Mount_Point              Type       Options/dev/loop0       /rofs                    squashfs   (ro,noatime)/dev/sda1        /cdrom                   vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)/dev/sr0         /media/it/UDF Volume     udf        (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)=============================== StdErr Messages: ===============================File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 9523: bashFile descriptor 63 (pipe:[28797]) leaked on lvs invocation. Parent PID 9523: bash  No volume groups foundADDITIONAL INFORMATION :=================== log of boot-repair 2015-01-06__20h12 ===================boot-repair version : 4ppa14boot-sav version : 4ppa14glade2script version : 3.2.2~ppa47~saucyboot-sav-extra version : 4ppa14File descriptor 9 (/proc/1971/mounts) leaked on lvs invocation. Parent PID 4571: /bin/shNo volume groups foundboot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)ls: cannot access /home/usr/.config: No such file or directoryCPU op-mode(s):        32-bit, 64-bitBOOT_IMAGE=/multiboot/boot-repair-disk-64bit/casper/vmlinuz.efi file=/cdrom/multiboot/boot-repair-disk-64bit/preseed/lubuntu.seed boot=casper cdrom-detect/try-usb=true noprompt floppy.allowed_drive_mask=0 ignore_uuid live-media-path=/multiboot/boot-repair-disk-64bit/casper/ initrd=/multiboot/boot-repair-disk-64bit/casper/initrd.lz quiet splash --WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.=================== os-prober:/dev/sdb1:Windows 7 (loader):Windows:chain=================== blkid:/dev/loop0: TYPE="squashfs"/dev/sda1: SEC_TYPE="msdos" LABEL="MULTIBOOT" UUID="8445-39EA" TYPE="vfat"/dev/sdb1: LABEL="System Reserved" UUID="E48A3EB48A3E82DA" TYPE="ntfs"/dev/sdb2: UUID="869E4B729E4B5A37" TYPE="ntfs"/dev/sdb3: LABEL="HP_TOOLS" UUID="70C8-BABE" TYPE="vfat"/dev/sdb4: LABEL="Bananalandia" UUID="FA50FC5C50FC2155" TYPE="ntfs"/dev/sr0: LABEL="UDF Volume" TYPE="udf"/dev/zram0: UUID="c7af1e29-699f-4efa-a763-6bd4df3c5edf" TYPE="swap"/dev/zram1: UUID="ddfe2e88-60eb-4564-9f7f-a6a55d40cfa1" TYPE="swap"/dev/zram2: UUID="744b5bbe-811f-43c5-b381-5f9723476774" TYPE="swap"/dev/zram3: UUID="501bb243-bf9b-4346-a227-d10edf37dfda" TYPE="swap"1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.Windows not detected by os-prober on sdb2.WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util sfdisk doesn't support GPT. Use GNU Parted.WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.=================== UEFI/Legacy mode:This live-session is not in EFI-mode.EFI in dmesg.[    0.000000] ACPI: UEFI 000000009cffd000 000236 (v01 HPQOEM 2166     00000001 HP   00040000)SecureBoot maybe enabled.=================== PARTITIONS & DISKS:sdb1    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    bootmgr,    is-winboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    not-far,    /mnt/boot-sav/sdb1.sdb2    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    is-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    haswinload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb2.sdb3    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb3.sdb4    : sdb,    not-sepboot,    no-grubenv    nogrub,    no-docgrub,    no-update-grub,    32,    no-boot,    no-os,    not--efi--part,    part-has-no-fstab,    part-has-no-fstab,    no-nt,    no-winload,    no-recov-nor-hid,    no-bmgr,    notwinboot,    nopakmgr,    nogrubinstall,    no---usr,    part-has-no-fstab,    not-sep-usr,    standard,    farbios,    /mnt/boot-sav/sdb4.sdb    : GPT,    no-BIOS_boot,    has-no-EFIpart,     not-usb,    has-os,    2048 sectors * 512 bytes=================== parted -l:Model: Generic Flash Disk (scsi)Disk /dev/sda: 2014MBSector size (logical/physical): 512B/512BPartition Table: msdosNumber  Start   End     Size    Type     File system  Flags1      3961kB  2014MB  2010MB  primary  fat16        boot                                                                            Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.However, it does not have a valid fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand GPTpartition tables.  Or perhaps you deleted the GPT table, and are now using anmsdos partition table.  Is this a GPT partition table?Model: ATA HGST HTS541075A9 (scsi)Disk /dev/sdb: 750GBSector size (logical/physical): 512B/4096BPartition Table: gptNumber  Start  End  Size  File system  Name  Flags                                                                            Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0has been opened read-only.                                                                            Error: /dev/sr0: unrecognised disk label                                                                            Error: /dev/zram0: unrecognised disk label                                                                            Error: /dev/zram1: unrecognised disk label                                                                            Error: /dev/zram2: unrecognised disk label                                                                            Error: /dev/zram3: unrecognised disk label=================== parted -lm:BYT;/dev/sda:2014MB:scsi:512:512:msdos:Generic Flash Disk;1:3961kB:2014MB:2010MB:fat16::boot;                                                                            Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.However, it does not have a valid fake msdos partition table, as it should.Perhaps it was corrupted -- possibly by a program that doesn't understand GPTpartition tables.  Or perhaps you deleted the GPT table, and are now using anmsdos partition table.  Is this a GPT partition table?BYT;/dev/sdb:750GB:scsi:512:4096:gpt:ATA HGST HTS541075A9;                                                                            Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0has been opened read-only.                                                                            Error: /dev/sr0: unrecognised disk label                                                                            Error: /dev/zram0: unrecognised disk label                                                                            Error: /dev/zram1: unrecognised disk label                                                                            Error: /dev/zram2: unrecognised disk label                                                                            Error: /dev/zram3: unrecognised disk label=================== mount:/cow on / type overlayfs (rw)proc on /proc type proc (rw,noexec,nosuid,nodev)sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)udev on /dev type devtmpfs (rw,mode=0755)devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)/dev/sda1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)/dev/loop0 on /rofs type squashfs (ro,noatime)none on /sys/fs/cgroup type tmpfs (rw)none on /sys/fs/fuse/connections type fusectl (rw)none on /sys/kernel/debug type debugfs (rw)none on /sys/kernel/security type securityfs (rw)tmpfs on /tmp type tmpfs (rw,nosuid,nodev)none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)none on /run/shm type tmpfs (rw,nosuid,nodev)none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)none on /sys/fs/pstore type pstore (rw)systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=it)/dev/sr0 on /media/it/UDF Volume type udf (ro,nosuid,nodev,uid=999,gid=999,iocharset=utf8,umask=0077,uhelper=udisks2)/dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)/dev/sdb2 on /mnt/boot-sav/sdb2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)/dev/sdb3 on /mnt/boot-sav/sdb3 type vfat (rw)/dev/sdb4 on /mnt/boot-sav/sdb4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)=================== ls:/sys/block/sda (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 size slaves stat subsystem trace uevent/sys/block/sdb (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 sdb2 sdb3 sdb4 size slaves stat subsystem trace uevent/sys/block/sr0 (filtered):  alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent/dev (filtered):  autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fd freefall full fuse hpet input kmsg log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sdb sdb1 sdb2 sdb3 sdb4 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom v4l vga_arbiter vhci vhost-net video0 zerols /dev/mapper:  control=================== hexdump -n512 -C /dev/sdb100000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 08 00 00  |........?.......|00000020  00 00 00 00 80 00 80 00  ff 1f 03 00 00 00 00 00  |................|00000030  55 21 00 00 00 00 00 00  02 00 00 00 00 00 00 00  |U!..............|00000040  f6 00 00 00 01 00 00 00  da 82 3e 8a b4 3e 8a e4  |..........>..>..|00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|00000200=================== hexdump -n512 -C /dev/sdb200000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 28 03 00  |........?....(..|00000020  00 00 00 00 80 00 80 00  ff 0f 1a 3e 00 00 00 00  |...........>....|00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|00000040  f6 00 00 00 01 00 00 00  37 5a 4b 9e 72 4b 9e 86  |........7ZK.rK..|00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|00000200=================== hexdump -n512 -C /dev/sdb300000000  eb 58 90 4d 53 44 4f 53  35 2e 30 00 02 10 16 20  |.X.MSDOS5.0.... |00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3e  |........?....8.>|00000020  00 00 00 01 f5 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 01 29 be ba c8 70 4e  4f 20 4e 41 4d 45 20 20  |..)...pNO 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 4e 02 8a 56 40 b4 41  |{......|[email protected]|00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |[email protected].|00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |.....f...@f.....|000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |[email protected]|00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |.f....v....V@...|00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |[email protected]|00000170  20 20 20 20 00 00 00 00  00 00 00 00 00 00 00 00  |    ............|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 52 65  |..............Re|000001b0  6d 6f 76 65 20 64 69 73  6b 73 20 6f 72 20 6f 74  |move disks or ot|000001c0  68 65 72 20 6d 65 64 69  61 2e ff 0d 0a 44 69 73  |her media....Dis|000001d0  6b 20 65 72 72 6f 72 ff  0d 0a 50 72 65 73 73 20  |k error...Press |000001e0  61 6e 79 20 6b 65 79 20  74 6f 20 72 65 73 74 61  |any key to resta|000001f0  72 74 0d 0a 00 00 00 00  00 ac cb d8 00 00 55 aa  |rt............U.|00000200=================== hexdump -n512 -C /dev/sdb400000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 38 1d 3f  |........?....8.?|00000020  00 00 00 00 80 00 80 00  ff 1f 37 18 00 00 00 00  |..........7.....|00000030  00 00 0c 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|00000040  f6 00 00 00 01 00 00 00  55 21 fc 50 5c fc 50 fa  |........U!.P.P.|00000050  00 00 00 00 fa 33 c0 8e  d0 bc 00 7c fb 68 c0 07  |.....3.....|.h..|00000060  1f 1e 68 66 00 cb 88 16  0e 00 66 81 3e 03 00 4e  |..hf......f.>..N|00000070  54 46 53 75 15 b4 41 bb  aa 55 cd 13 72 0c 81 fb  |TFSu..A..U..r...|00000080  55 aa 75 06 f7 c1 01 00  75 03 e9 dd 00 1e 83 ec  |U.u.....u.......|00000090  18 68 1a 00 b4 48 8a 16  0e 00 8b f4 16 1f cd 13  |.h...H..........|000000a0  9f 83 c4 18 9e 58 1f 72  e1 3b 06 0b 00 75 db a3  |.....X.r.;...u..|000000b0  0f 00 c1 2e 0f 00 04 1e  5a 33 db b9 00 20 2b c8  |........Z3... +.|000000c0  66 ff 06 11 00 03 16 0f  00 8e c2 ff 06 16 00 e8  |f...............|000000d0  4b 00 2b c8 77 ef b8 00  bb cd 1a 66 23 c0 75 2d  |K.+.w......f#.u-|000000e0  66 81 fb 54 43 50 41 75  24 81 f9 02 01 72 1e 16  |f..TCPAu$....r..|000000f0  68 07 bb 16 68 70 0e 16  68 09 00 66 53 66 53 66  |h...hp..h..fSfSf|00000100  55 16 16 16 68 b8 01 66  61 0e 07 cd 1a 33 c0 bf  |U...h..fa....3..|00000110  28 10 b9 d8 0f fc f3 aa  e9 5f 01 90 90 66 60 1e  |(........_...f`.|00000120  06 66 a1 11 00 66 03 06  1c 00 1e 66 68 00 00 00  |.f...f.....fh...|00000130  00 66 50 06 53 68 01 00  68 10 00 b4 42 8a 16 0e  |.fP.Sh..h...B...|00000140  00 16 1f 8b f4 cd 13 66  59 5b 5a 66 59 66 59 1f  |.......fY[ZfYfY.|00000150  0f 82 16 00 66 ff 06 11  00 03 16 0f 00 8e c2 ff  |....f...........|00000160  0e 16 00 75 bc 07 1f 66  61 c3 a0 f8 01 e8 09 00  |...u...fa.......|00000170  a0 fb 01 e8 03 00 f4 eb  fd b4 01 8b f0 ac 3c 00  |..............<.|00000180  74 09 b4 0e bb 07 00 cd  10 eb f2 c3 0d 0a 41 20  |t.............A |00000190  64 69 73 6b 20 72 65 61  64 20 65 72 72 6f 72 20  |disk read error |000001a0  6f 63 63 75 72 72 65 64  00 0d 0a 42 4f 4f 54 4d  |occurred...BOOTM|000001b0  47 52 20 69 73 20 6d 69  73 73 69 6e 67 00 0d 0a  |GR is missing...|000001c0  42 4f 4f 54 4d 47 52 20  69 73 20 63 6f 6d 70 72  |BOOTMGR is compr|000001d0  65 73 73 65 64 00 0d 0a  50 72 65 73 73 20 43 74  |essed...Press Ct|000001e0  72 6c 2b 41 6c 74 2b 44  65 6c 20 74 6f 20 72 65  |rl+Alt+Del to re|000001f0  73 74 61 72 74 0d 0a 00  8c a9 be d6 00 00 55 aa  |start.........U.|00000200WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.=================== df -Th:Filesystem     Type       Size  Used Avail Use% Mounted on/cow           overlayfs  3.9G  6.2M  3.9G   1% /udev           devtmpfs   3.9G   12K  3.9G   1% /devtmpfs          tmpfs      792M  1.2M  791M   1% /run/dev/sda1      vfat       1.9G  628M  1.3G  33% /cdrom/dev/loop0     squashfs   549M  549M     0 100% /rofsnone           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgrouptmpfs          tmpfs      3.9G  8.0K  3.9G   1% /tmpnone           tmpfs      5.0M     0  5.0M   0% /run/locknone           tmpfs      3.9G     0  3.9G   0% /run/shmnone           tm

  • Separate /var resiserfs partition on usb drive won't mount on boot

    It has mounted successfully a few times.  I set it up because I don't want /var on my Revodrive, and I've added a label (var) to the partition.  I've tried mounting at first by UUID, then label, then strictly by dev (which isn't an option considering the number of block devices I have attached at any given time).
    I have to manually mount var afterward, and this causes all sorts of hal problems with KDE, such as not being able to see my hard drives in Dolphin.
    Any ideas?  I have another mechanical HDD that I'm going to be using as a download drive, so I could locate var there if needed.
    Here is my daemons array in rc.con:
    DAEMONS=(dbus hal network rpcbind nfs-common syslog-ng samba sshd alsa sensors netfs)
    and fstab
    devpts /dev/pts devpts defaults 0 0
    shm /dev/shm tmpfs nodev,nosuid 0 0
    /dev/mapper/sil_bgbgdjaddicbp1 / ext4 defaults,noatime 0 1
    /dev/mapper/sil_bgbgdjaddicbp2 /home ext4 defaults,noatime 0 1
    UUID=31061fe9-f3de-40d3-93da-c0fce7ed5014 /boot ext2 defaults 0 0
    #UUID=7fb98876-0e33-44b8-90e4-f2a103dd0166 /var reiserfs defaults 0 0
    /dev/disk/by-label/var /var reiserfs defaults,noatime 0 0
    none /tmp tmpfs nodev,nosuid,noatime,size=1000M,mode=1777 0 0
    shm /dev/shm tmpfs nodev,nosuid,size=6G 0 0
    Last edited by DarksideEE7 (2010-12-23 10:16:59)

    stqn wrote:Someone will probably come up with a better solution, and I don't even know if that will fix your problem, but you could try adding "usb" to the beginning to the HOOKS line in /etc/mkinitcpio.conf. I think it is needed to be able to boot from a usb disk. (You'll have to run "mkinitcpio -p kernel26" afterwards.)
    That makes sense.  I actually prefer using the sata drive as /var, but I was just interested as to why it wasn't mounting. 
    BTW I have GRUB and boot installed on the same USB drive (from which I boot), then it mounts the root and home partitions on my OCZ Revodrive.  This drive is essentially fakeraid with an sil satalink controller, and I was never able to get grub installed on the dmraid setup.  I just gave up.  It actually works quite well though.

  • Mdadm boot slow to assemble drives with newer installs

    I had a problem where my raid1 installs from this year would pause about 5 seconds per mdadm entry yet my old installs from March 2014 would go through all 4 mdadm entries in less than a second. After fussing for a long time on the new installs I finally broke (slowed) one of my old installs which immediately revealed what the problem was.
    I didn't forget to pick partition type FD or FD00. I have my install sequence in a text file so I rarely forget things. I install through PuTTY pasting all the way so it's fast and mistakes are rare.
    devices of the form /dev/md/* take about 5 seconds to create.
    devices of the form /dev/md{0..127} create very fast.
    "mdadm -E --scan" always creates devices of the form /dev/md/{0..127}. In the past I was very meticulous about fixing the device names to the more compact form. I never missed so I never found out there was a substantial speed difference. I just like the the more compact look of /dev/md1 in my boot menu. Eventually I progressed to UUID and LABEL but persisted with the compact form. Then I discovered "mdadm --name" so I left mdadm do it's own thing. What could possibly go wrong?
    I also noticed that the mdadm instructions changed from using "mdadm" to "mdadm_udev". mdadm_udev seems to assemble faster than mdadm.
    To fix, boot once to see if you're slow, fix any usage of /dev/md*/* in your boot scripts or fstab, fix the form in /etc/mdadm.conf, and mkinitcpio...
    I still see that the new installs pause at udev more than old installs, but instead of 20s vs >1s, it's now 5s vs >1s, which is much better.
    Looking further I compared mkinitcpio.conf and noticed that autodetect is now installed by default. I took that out and though my list of drivers went way down the pause didn't change. Then I compared "lsinitcpio -a /boot/initramfs-linux.img" and I saw that fsck.zfs was loading so ZFS being a data drive only I uninstalled it and remade mkinitcpio. The pause didn't change.
    Now "lsinitcpio -a /boot/initramfs-linux.img" and "lsinitcpio /boot/initramfs-linux.img | sort" compare the same yet the pause remains. I know something is lying because the slow pause computer has a SAS controller and the fast pause computer doesn't, and I know that I must remake mkinitcpio when the SAS controller brand changes or it won't boot without Fallback. The mptsas driver is hiding in there somewhere. So then I unpack both initrd files and by-content compare all files with Total Commander.
    Only one difference: mdadm.conf
    I can't boot without the SAS controller so I can't check to see if that's the source of the pause. I suspect it is because I can see the NumLock blink halfway through the pause and I know the SAS controller isn't concerned with that.
    To solve this quandary I made a quickie install on a SATA only computer. I used the fast form of /dev/md* in mdadm.conf and left autodetect in mkinitcpio.
    It's fast, but there's still about a half second pause right there at udev. Out goes autodetect. Still about a half second.
    Then, back at the slow pause computer, I swapped the Marvell AOC-SASLP-MV8 for the LSI SAS2008 9211-8i. See Zorinaq for what makes this possible. The pause at udev dropped to about 1s which is only a bit slower than SATA. Not really a win since the LSI BIOS boot takes much longer. The good news is that I didn't need to rebuild mkinitcpio to change controllers. autodetect is toast and I get one more degree of freedom!
    I guess that's as good as it gets. Fortunately the mdadm --name option doesn't create /dev/md/* entries so I don't need to fix that.
    The Internet is strangely silent on this issue. I guess you're all just used to slow boots with mdraid.
    This is a bug and needs to be reported. Either mdadm scan needs to stop producing the slow form or needs to make the slow form fast.

    severach wrote:I didn't forget to pick partition type FD or FD00.
    I wouldn't use this partition type anymore. (raid autodetect is deprecated)
    severach wrote:Then I discovered "mdadm --name" so I left mdadm do it's own thing.
    mdadm --name never worked well for me. I don't see many people using it.
    I prefer a minimal mdadm.conf that only specifies the md number and UUID.
    ARRAY /dev/md0 UUID=627125a5:abce6b82:6c738e49:50adadae
    I don't notice any delays but, in my case the raid is assembled in the background while in the foreground LUKS is waiting for me to type a passphrase.

  • Rc.sysinit hangs at fsck check when sdb gets mistaken for sda

    I've recently started having this problem where booting gets stuck at  "Checking Filesystems", seemingly at random, when my boot drive gets assigned to sdb. Sda is SATA (/, /home), sdb is IDE (backup). Grub2 and fstab are using UUID (and have always used them).
    The only thing I can do is press the "Print Screen/Sys Rq" key to instigate a reboot (fsckret=131).
    Can anyone point me in the right direction please? It's driving me bonkers now!

    tomk wrote:Use UUIDs or labels instead of sd* device naming - details here.
    I don't want to appear rude but did you read what I wrote? I've never used sd* device naming.
    Edit: Let me be more specific... This is what should happen
    Apr 11 21:37:10 arch64 kernel: sda1 sda2 sda3 sda4 < sdb1 sdb4
    Apr 11 21:37:10 arch64 kernel: sd 2:0:0:0: [sdb] Attached SCSI disk
    Apr 11 21:37:10 arch64 kernel: sda5 sda6 sda7 sda8 >
    Apr 11 21:37:10 arch64 kernel: sd 0:0:0:0: [sda] Attached SCSI disk
    But for some reason [sda] and [sdb] get switched on about 50-60% of boots.
    Last edited by fabertawe (2010-04-13 08:43:15)

  • [Solved] Boot process hangs for installed Arch and installation usb

    Hi. I've been using Arch Linux for around 6 months now and I'm in love with it. It is now my primary OS. However, I might have done something or performed some update, and I can no longer boot into Arch. The boot process hangs right before it should show the login screen (I'm using Gnome 3.6 with GDM). I see the following messages on the screen:
    Loading Linux core repo kernel ...
    Loading initial ramdisk ...
    /dev/sda3: recovering journal
    /dev/sda3: clean, 330610/1749664 files, 5585671/6996827 blocks
    And then it hangs right there. I have to hard-reboot after this.
    I then tried to boot using the Arch Linux Installation USB (archlinux-2012.12.01-dual.img), which also hangs at a particular point, before it should show me the prompt. I took a picture of the screen where it hangs: Screen Capture. This is an issue with just my laptop, because the USB boots just fine on another laptop I tried.
    I also have Windows 7 and Ubuntu 12.10 installed on my system, and I'm able to boot into both of them.
    I have 2 hard drives: /dev/sda is a 120GB SSD, and /dev/sdb is a 500GB hard disk. My partitions are as follows:
    sda1 - Windows 7 100MB System Reserved Partition (boot flag enabled)
    sda2 - Windows 7 OS
    sda3 - ArchLinux (boot flag enabled)
    sdb1 - Ubuntu 12.10 (boot flag enabled)
    sdb2 - Just data
    I ran bootinfoscript and below is the output:
    Boot Info Script 0.61 [1 April 2012]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    => Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 1 of
    the same hard drive for core.img. core.img is at this location and looks
    in partition 99 for .
    sda1: __________________________________________________________________________
    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
    sda2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista/7: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /Windows/System32/winload.exe
    sda3: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Mounting failed: mount: /dev/sda3 already mounted or sda3 busy
    sdb1: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Ubuntu 12.10
    Boot files: /boot/grub/grub.cfg /etc/fstab
    sdb2: __________________________________________________________________________
    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:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sda1 * 2,048 206,847 204,800 7 NTFS / exFAT / HPFS
    /dev/sda2 206,848 178,466,084 178,259,237 7 NTFS / exFAT / HPFS
    /dev/sda3 * 178,466,085 234,440,703 55,974,619 83 Linux
    Drive: sdb _____________________________________________________________________
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition Boot Start Sector End Sector # of Sectors Id System
    /dev/sdb1 * 63 20,948,759 20,948,697 83 Linux
    /dev/sdb2 20,964,824 976,771,071 955,806,248 7 NTFS / exFAT / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/mmcblk0p1 6665-3162 vfat
    /dev/sda1 CA6A20CC6A20B75B ntfs System Reserved
    /dev/sda2 1EE242D5E242B137 ntfs
    /dev/sda3 65db0c59-9f04-46f1-975d-8a4c28132137 ext4
    /dev/sdb1 bb9818db-ce7c-43a4-8ad5-8d3702001aed ext4
    /dev/sdb2 3C2E3A4E2E3A0206 ntfs
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/mmcblk0p1 /media/dhaval/6665-3162 vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
    /dev/sdb1 / ext4 (rw,errors=remount-ro)
    =========================== sdb1/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 ###
    if [ -s $prefix/grubenv ]; then
    set have_grubenv=true
    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 recordfail {
    set recordfail=1
    if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; 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_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    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_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=-1
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=black/light-gray
    if background_color 13,37,73; then
    clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="${1}"
    if [ "${1}" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    if [ "${recordfail}" != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
    menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    initrd /boot/initrd.img-3.5.0-21-generic
    submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.5.0-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.5.0-21-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.5.0-21-generic ...'
    linux /boot/vmlinuz-3.5.0-21-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.5.0-21-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-advanced-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro quiet splash acpi_osi=Linux acpi_backlight=vendor $vt_handoff
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    menuentry 'Ubuntu, with Linux 3.2.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-29-generic-recovery-bb9818db-ce7c-43a4-8ad5-8d3702001aed' {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    echo 'Loading Linux 3.2.0-29-generic ...'
    linux /boot/vmlinuz-3.2.0-29-generic root=UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed ro recovery nomodeset
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.2.0-29-generic
    ### 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+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd1,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 bb9818db-ce7c-43a4-8ad5-8d3702001aed
    else
    search --no-floppy --fs-uuid --set=root bb9818db-ce7c-43a4-8ad5-8d3702001aed
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-CA6A20CC6A20B75B' {
    insmod part_msdos
    insmod ntfs
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 CA6A20CC6A20B75B
    else
    search --no-floppy --fs-uuid --set=root CA6A20CC6A20B75B
    fi
    chainloader +1
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    =============================== sdb1/etc/fstab: ================================
    # /etc/fstab: static file system information.
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc nodev,noexec,nosuid 0 0
    # / was on /dev/sdb1 during installation
    UUID=bb9818db-ce7c-43a4-8ad5-8d3702001aed / ext4 errors=remount-ro 0 1
    =================== sdb1: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    4.564525127 = 4.901121536 boot/grub/grub.cfg 1
    5.130507946 = 5.508840960 boot/initrd.img-3.2.0-29-generic 2
    5.851592541 = 6.283099648 boot/initrd.img-3.5.0-21-generic 2
    6.317649364 = 6.783524352 boot/vmlinuz-3.2.0-29-generic 1
    4.965751171 = 5.331934720 boot/vmlinuz-3.5.0-21-generic 2
    5.851592541 = 6.283099648 initrd.img 2
    5.851592541 = 6.283099648 initrd.img.old 2
    4.965751171 = 5.331934720 vmlinuz 2
    4.965751171 = 5.331934720 vmlinuz.old 2
    I tried adding nomodeset and acpi=off to the boot parameters, but the boot process still hangs. Please let me know if I should provide any other information.
    Last edited by dhavalparmar (2012-12-30 11:45:25)

    Ok.. So my Arch Linux randomly decided to work. I'm sure I didn't do anything between my last "not working" state and my current "working" state. Below are a few things I tried:
    I thought of trying an earlier build of ArchLinux, and downloaded archlinux-2012.11.01-dual.iso and made a bootable USB out of it. It still hung.
    I was getting error messages during Arch boot that the last access time for the disks was at a future date. I found out that Ubuntu was using localtime instead of UTC and screwing up my hardware clock. I fixed it, and thought maybe the time issues were causing the boot problem. But fixing time didn't solve my problem.
    I chrooted into Arch from my Ubuntu install, ran 'sudo pacman -Syyu' and updated my Arch install.
    I thought maybe GDM isn't starting up. I re-enabled the service using 'systemctl enable gdm.service'.
    I removed OpenNTPd and installed NTPd. Enabled the daemon using 'systemctl enable ntpd'
    None of the above solved the problem, and rebooting to Arch still hung the system. So I stopped fiddling with it yesterday. Today, as usual, I just tried logging into Arch.. And it just worked out of the blue. The solution to me is as mysterious as the problem.
    I told this to my friend who introduced me to Arch, and this is what he said:
    Damn it computers, you were supposed to be deterministic!

  • Disk order changes, grub problem, filesystem check failed

    I'm having some problems installing Archlinux onto a machine with a lot of SATA drives, some connected by SATA cards. I have tried the 2009-08 netinstaller burned to CD, both -x86_64.iso and -x86_64-isolinux.iso, and I have the same problem with both.
    I am installing from a USB-connect optical drive to an Intel X25-M 80GB SSD connected to a motherboard SATA port. I also have 2 HDDs connected to motherboard SATA ports, and 4 more HDDs connected to 4 SIL-based PCIe SATA cards. Additionally, I have a 4GB Patriot USB flash drive connected to a motherboard USB port. None of the HDDs have a bootable MBR, I am planning to create an mdadm RAID with the HDDs, but the USB flash drive is bootable. The motherboard is an Asus Z8PE-D18 with the latest BIOS, in AHCI mode.
    First thing to note is that I was able to successfully install Fedora 12 linux to this machine in the exact configuration that I am trying to install Archlinux. I just installed Fedora 12 again last night, and it installed and loaded fine when I rebooted from the SSD.
    So, the problems I am having with Archlinux. During install, I found that the SSD is showing up as either /dev/sde or /dev/sdf. This is odd since it was /dev/sda with Fedora. It makes sense for it to be /dev/sda, since it is on the first motherboard SATA port. But I proceeded with the Archlinux install, and grub seemed to detect the stage1 location properly -- root was set to (hda4,0) or (hda5,0) depending on whether the SSD was at sde or sdf. The kernel root was configured by UUID, so that does not depend on the drive order. Okay so far.
    The problem shows up on reboot. The bootloader immediately complains that there is no such partition sde1 or sdf1. I drop into a grub command line and do
    find /boot/grub/stage1
    and it replies with (hd0,0), so I modify the boot line to root (hd0,0) and boot. Now it gets pretty far. Lots of boot messages scroll by. Here are some of the last few before the problem:
    Waiting 10 seconds for device /dev/disk/by-uuid/22a35aa2-9799-4575-b1eb-456e819a1a26 ...
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (sde1): mounted filesystem with writeback data mode
    INIT: version 2.86 booting
    ::Starting UDev DAemon
    ::Triggering UDev uevents
    ::Loading Modules
    ::Waiting for UDev uevents to be processed
    ::Bringing up loopback interface
    ::Mounting Root Read-only
    ::Checking Filesystems
    /dev/sdf1:
    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock
    **** FILESYSTEM CHECK FAILED
    * Please repair manually and reboot. Note that the root file system
    * is currently mounted read-only....
    Give root password for maintenance
    So I logged in as root and did an fdisk -l. The boot SSD was at /dev/sde. The menu.lst has root as (hd5,0), which would be sdf (which was correct during installation, but the disk order apparently changed). The kernel root= in menu.lst used by-uuid, and it at least points to the correct drive, which I suppose is why I was able to boot as far as I did, but when it tries to mount the root filesystem, it fails as shown above.
    So, at initial grub boot, the grub stage1 is found at (hd0,0). During installation, the SSD was sdf, but after booting the kernel, the SSD is sde. What is going on?
    One other experiment  is that I pulled all the drives (including USB flash drive) except the SSD. The HDDs are in hot-swap slots, so that was easy. The PCIe SATA cards are still plugged into the PCIe slots. Then I was able to successfully install and boot Archlinux. But when I plugged the drives back in and rebooted, I had the same problem as detailed above.
    Any suggestions on how to fix this?

    I had the same problem.
    Last week I installed Arch onto a new SATA HD. I wanted to make sure the installation worked before I attached the other drives. On booting with the other drives attached, similar messages.
    My solution:
    Login as root.
    Follow the instruction to mount / as read-write so you can make changes to the filesystem.
    edit /etc/fstab and eliminate the references to /dev/sdxx and replace them with UUIDs or labels (as suggested above) as these won't change.
    in /etc/fstab ...
    # external data sources
    #data /dev/sdb6
    UUID=931d7107-1241-4d82-ad28-fcbe7af8ba69 /data ext3 defaults 0 0
    #Documents /dev/sda9
    /dev/disk/by-label/Documents /data/Documents ext3 defaults 0 0
    Reboot and you should be good.
    You can find the UUID of the drives by using
    $ blkid
    or you can set a drive label with e2label, assuming you are using ext2,3 or 4
    Good luck.

  • Error 15: file not found [solved]

    I've found a number of posts on this forum that sound like they are dealing with similar problems, but none of them are quite right.
    Just built a new computer, and I have been trying to install arch all day.
    The install went without a problem, but then when I booted her up, grub gives me error 15.  I've reinstalled several times using both the UUID and disk by LABEL options, and I get the same error.  At first I had separate /boot and / partitions, but in order to simplify things, I reinstalled with /boot on the root partition.
    here are the relevant lines in menu.lst:
    root (hd1,0)
    kernel /boot/vmlinuz26 root=/dev/disk/by-label/rooty ro vga=773
    initrd /boot/kernel26.img
    Maybe I should mention that this is an SSD. 
    Is there a way to determine WHICH file is not found?  That might make solving this problem a little easier.
    Last edited by Convergence (2011-02-22 21:56:11)

    litemotiv wrote:
    Is disk 1 the actual location of your SSD? Error 15 means that the kernel can not be found, this means that you're pointing grub to the wrong disk or partition.
    Also see: https://wiki.archlinux.org/index.php/Grub
    Try with the sdX scheme instead of uuid or label.
    Disk 1?  I'm a little confused.  The kernel should be on sdb1 if that's what you mean. 
    I have scanned it before, but I think that it would be a good idea to enable debugging as per the wiki.  It might help shed some light on this problem.
    I haven't gone through the installer with the sdX scheme, but once everything was installed, I've used the grub console to change it to that scheme.  It didn't seem to work, but maybe I'll try it again tomorrow before I give up on my ssd.
    I'm beginning to think that recent versions of grub choke on my dual hard drive setup.

Maybe you are looking for

  • My Media Won't Play in iTunes or on my Apple TV (Except Music)

    I am unable to play content in my library, whether purchased from iTunes or whether it is a media file of my own that I have added...be it purchased, obtained from a friend or stripped from a DVD using Handbrake or Wondershare Ultimate Video Converte

  • Oracle Terminal, how can i simulate this setting into all client places

    Hi friends, i did setting at ORacle Terminal for ESC button to exit_form. it is ok working fine. i have his application installed into several client places, so, in all this places do i ahve to install Oracle terminal and change the key mappings or i

  • Out of DFU mode

    Hi I have trouble with my apple tv after I connecting my apple tv to the my computer,my apple tv just show logo iTunes on my TV the light is always blink every time I search on internet,my apple tv is in DFU mode now,how to I out from DFU mode?with s

  • SEARCH in the Calendar

    I don't understand how Apple did another firmware update and completely ignored adding SEARCH to the calendar, not to mention copy/cut/paste. I'm beginning to miss my Palm Centro...

  • Light and dark solid grey vertical lines appear randomly on screen

    This has happened about 4 times in the last couple of months, when these light and dark solid grey lines appear on my screen, I have to turn my computer off by holding down the power button and rebooting it, it fixes the problem for the time being. T