Trouble With Grub - Setting up Triple Boot

Before I had Arch running on my desktop, I was using Ubuntu with Vista on the same disk and XP on another one. When I moved to Arch, I backed up menu.lst to preserve the entries, and installed Arch over the same partition that Ubuntu was on.
However, after I restored the entries for Vista and XP, I wasn't able to boot to them. A few weeks ago I absolutely had to do some work under windows, so I swapped out my XP disk and installed Vista on it, which got rid of the grub install in MBR and I used vista for about a week. I reinstalled Grab after that, and wasn't able to configure grub to boot to the new disk that had vista on it, only to Arch.
I'm more or less at a loss as to what may be wrong with my entries, the locations are correct but it just doesn't boot them for some reason.
Here is the output of fdisk -l:
Disk1:
sda1 is The original Vista install
sda4 is Arch Linux
sda3 is /boot for Arch linux
sdb1 is the new Vista install
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1f0b226a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 7359 59111136 7 HPFS/NTFS
/dev/sda2 9245 9729 3895762+ 82 Linux swap / Solaris
/dev/sda3 9184 9244 489982+ 83 Linux
/dev/sda4 7360 9183 14651280 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2edf2ede
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30400 244187968+ 7 HPFS/NTFS
Disk /dev/sdc: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x889d889d
Device Boot Start End Blocks Id System
/dev/sdc2 * 1 36481 293033598+ 83 Linux
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000efff1
Device Boot Start End Blocks Id System
/dev/sdd1 1 121601 976760001 83 Linux
Here are the boot entries in grub:
# (0) Arch Linux
title Arch Linux
root (hd0,2)
kernel /vmlinuz26 root=/dev/disk/by-uuid/28e57cc7-2ae6-423c-b2ba-18a48b79433b ro vga=331
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,2)
kernel /vmlinuz26 root=/dev/disk/by-uuid/28e57cc7-2ae6-423c-b2ba-18a48b79433b ro
initrd /kernel26-fallback.img
title Windows Systems
root
title Windows Vista 64-bit
rootnoverify (hd0,0)
chainloader +1
savedefault
makeactive
title Windows XP Professional
rootnoverify (hd1,0)
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1
savedefault
makeactive
Any help or insight into what may be the issue is greatly appreciated.
Edit: I should mention I did some fiddling around trying to get the second vista install to boot by changing the location of the vista entry to (hd1,0) with no luck.
Last edited by Ashex (2009-02-28 22:02:27)

You need to change your menu.lst. I have windows 7 on my first partition, ie sda1. Arch linux is on the second partition, ie sda2:
# (0) Arch Linux
title Arch Linux
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,1)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
initrd /boot/kernel26-fallback.img
# (1) Windows
title Windows 7
rootnoverify (hd0,0)
makeactive
chainloader +1
Make sure that you use (hd0,0), which is the first partition. Change the harddisk boot order in your BIOS. If you want to boot the second harddisk, this is the way to do it I suppose:
title Windows Vista 64
map (hd0) (hd1)
map (hd1) (hd0)
makeactive
rootnoverify (hd0,0)
chainloader (hd1,0)+1
Read more about it here:
http://forums.opensuse.org/install-boot … d-hdd.html
Last edited by ahcaliskan (2009-02-28 23:04:38)

Similar Messages

  • Having trouble with intial set up

    having trouble with initial set up!

    Hi jandra31 and welcome to the forums!
    You'll need to provide us with a little more information.  At what point during the setup are you encountering a problem.  What, exactly, is the problem you are encountering?  Are there any messages?

  • [solved]Trouble with Grub

    Hi,
    I just installed Arch a few hours back. The only problem I had was the grub wouldnt install. My old grub(from ubuntu) is intact though it has no arch in the menu and it has a old Windows option(I deleted windows partition while installing arch, will install it later again).
    I even edited the menu.lst from grub in ubuntu, but it still shows the old chart/list of OS. I'll post it here.
    # 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-legacy-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,4)
    makeactive
    chainloader +1
    ###Boot Windows - test 1 ###
    Title Windows on partition 1
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    ###Boot Windows - test 2 ###
    Title Windows on partition 2
    rootnoverify (hd0,1)
    makeactive
    chainloader +1
    ###Boot Windows - test 3 ###
    Title Windows on partition 3
    rootnoverify (hd0,2)
    makeactive
    chainloader +1
    ###Boot Windows - test 4 ###
    Title Windows on partition 4
    rootnoverify (hd0,3)
    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=9f847f23-7716-4b30-9b65-176789e688de ro
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=9f847f23-7716-4b30-9b65-176789e688de
    ## 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
    ## specify if running in Xen domU or have grub detect automatically
    ## update-grub will ignore non-xen kernels when running in domU and vice versa
    ## e.g. indomU=detect
    ## indomU=true
    ## indomU=false
    # indomU=detect
    ## 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.2 LTS, kernel 2.6.32-27-generic
    uuid 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/initrd.img-2.6.32-27-generic
    title Ubuntu 10.04.2 LTS, kernel 2.6.32-27-generic (recovery mode)
    uuid 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    initrd /boot/initrd.img-2.6.32-27-generic
    title Chainload into GRUB 2
    root 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/grub/core.img
    title Ubuntu 10.04.2 LTS, memtest86+
    uuid 9f847f23-7716-4b30-9b65-176789e688de
    kernel /boot/memtest86+.bin
    # (0) Arch Linux
    title Arch Linux
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/sda3
    /dev/sda4 ro
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,2)
    kernel /boot/vmlinuz26 root=/dev/sda3
    /dev/sda4 ro
    initrd /boot/kernel26-fallback.img
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    What am I doing wrong? How do I add arch to the grub menu?
    Last edited by death__machine (2011-03-04 13:23:21)

    Ok I saw that the /boot/grub/ doesnt have a grub.cfg, only menu.lst. Am really getting confused on what am supposed to edit, am guessing the grub.cfg from ubuntu but compared to menu.lst , grub.cfg is more complicated.
    # 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 9f847f23-7716-4b30-9b65-176789e688de
    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,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    set locale_dir=($root)/boot/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.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/initrd.img-2.6.35-22-generic
    menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    echo 'Loading Linux 2.6.35-22-generic ...'
    linux /boot/vmlinuz-2.6.35-22-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.35-22-generic
    menuentry 'Ubuntu, with Linux 2.6.32-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/initrd.img-2.6.32-27-generic
    menuentry 'Ubuntu, with Linux 2.6.32-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    echo 'Loading Linux 2.6.32-27-generic ...'
    linux /boot/vmlinuz-2.6.32-27-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-27-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,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux /boot/vmlinuz-2.6.32-24-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro quiet splash
    initrd /boot/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,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    echo 'Loading Linux 2.6.32-24-generic ...'
    linux /boot/vmlinuz-2.6.32-24-generic root=UUID=9f847f23-7716-4b30-9b65-176789e688de ro single
    echo 'Loading initial ramdisk ...'
    initrd /boot/initrd.img-2.6.32-24-generic
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux16 /boot/memtest86+.bin
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set 9f847f23-7716-4b30-9b65-176789e688de
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Microsoft Windows XP Professional (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set 9810e0fb10e0e0ec
    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.
    ### END /etc/grub.d/40_custom ###
    Ok on the top of the .cfg it says to not edit it :\
    Last edited by death__machine (2011-03-04 10:16:31)

  • Trouble with DNS set up

    Hello !
    I've got a real trouble with my dns configuration... and i can't understand! so, i need some help....
    well, qutie newbie in mac os server, i run in on a G4, and i had not noticed any trouble until i've decided to run open directory as a master with LDAP, wanting to have a kerberos protection for the users.
    Kerberos doesn't want to play with me !
    I've been in console mode to have a look, and, actually i've seen this :
    "Oct 17 11:31:08 wakan servermgrd: servermgr_dns: no name available via DNS for 192.168.0.109
    Oct 17 11:31:08 wakan servermgrd: servermgr_dns: no reverse DNS entry for server, various services may not function properly"
    Ok... my DNS has a trouble... but i don't know how to fix it ! Is there anybody in this world who can help me?
    I don't want to have a real DNS for my little server... but i understand that my config is not good. I can understand that having a caching DNS can improve the quality of my config, and, in other hand that it is necessary for having the services of OSX server in an effeciant way, but i don't know the way and the parameters i've to put in my config to fix it.
    Now, just some words on my config...
    First, i've got an adress provided by my FAI (the frenchy workd for ISP, i think) is "193.252.209.135". This adress is set on a d-link modem router via PPOE. The DNS of my provider (wanadoo.fr) are 80.10.246.1 and 80.10.246.132.
    After this there is my G4 With mac osX server.
    • en0, the "extenal gate" and the internal ethernet on the computer is plug on the modem with the adress "192.168.0.109". the router is set on "192.168.0.1". the dns are 80.10.246.1 and 80.10.246.132.
    • en1, the "internal gate" for the network, an PCI card in the computer, has the parameters : adress "192.168.3.1", subnet "255.255.255.0", router "192.168.3.1". no dns records. (no VPN service for the moment). After this, i've a switch for the macs behind the server. (without any link agregation)
    All those parameters have been set by the gateaway assistant.
    And now the parameters inside the admin server :
    DHCP : en1 - adress from 192.168.3.2 to 192.168.3.254, name 192.168.3. no static card. Router 192.168.3.1. No name for domaine by defaut, name servers 80.10.246.1 and 80.10.246.132 No LDAP, no WINS.
    DNS : No zone transfert, recursivity is ON. No zone records.
    NAT : set on full, Transfert and Network Address Translation.
    When i've been on the terminal, i had those information:
    "wakan:~ st$ sudo changeip -checkhostname
    Password:
    Primary address = 192.168.0.109
    Current HostName = wakan.local
    The DNS hostname is not available, please repair DNS and re-run this tool."
    All my "main" services are working fine (AFP, Firewall, DHCP, DNS, Update) Open Directory is running without Kerberos. By the way, all the macs after the G4server can have a corect access to internet, and share information via LDAP of Open Directory, but i've to say that, a couple of days later, a friend of mine, who has a PC computer, can't have a DHCP dynamic address when he plug on my little network. I think that it is an other trouble, and i've decided to have e look to this later... but if someone knows how to resolve it...
    So here begins the nightmare for me... so if anybody can help me... i realy need some help to fix this mystery!!!
    Special thanks!

    As the router modem is already doing NAT why use NAT in the server?
    If you want to use OpenDirectory and other services you should/need to set up the DNS correctly using the server's private IP (and others in the same range the server is setup with). The domainname used internally can be different than your public one.
    And then use the server as the only DNS for you LAN clients and the server itself. Forwarders (your ISP DNSes) in /etc/named.conf usually speeds up lookups of external addresses (also turning off IPv6 can help that too).

  • Trouble with grub...

    Hi,
    I tryed to install solaris 10 in a virtalbox under my Linux... but the problem is that grub load only stage 1 but not stage 2 (It breaks in the grub console.)
    I have downloaded the developer version on 2 DVDs...
    How can I load the solaris-installer with grub in my Virtalbox? Im not realy experienced with grub :-( If I try to boot my whole Computer with the first DVD, it happens the same...
    In the offical installationhowto.pdf stays nothing to this, and I cant find someone who have the same problem. What do I wrong?

    You need to change your menu.lst. I have windows 7 on my first partition, ie sda1. Arch linux is on the second partition, ie sda2:
    # (0) Arch Linux
    title Arch Linux
    root (hd0,1)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
    initrd /boot/kernel26.img
    # (1) Arch Linux
    title Arch Linux Fallback
    root (hd0,1)
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/01c08dbe-bfc1-4b41-95d6-3abd118b42a1 ro
    initrd /boot/kernel26-fallback.img
    # (1) Windows
    title Windows 7
    rootnoverify (hd0,0)
    makeactive
    chainloader +1
    Make sure that you use (hd0,0), which is the first partition. Change the harddisk boot order in your BIOS. If you want to boot the second harddisk, this is the way to do it I suppose:
    title Windows Vista 64
    map (hd0) (hd1)
    map (hd1) (hd0)
    makeactive
    rootnoverify (hd0,0)
    chainloader (hd1,0)+1
    Read more about it here:
    http://forums.opensuse.org/install-boot … d-hdd.html
    Last edited by ahcaliskan (2009-02-28 23:04:38)

  • [Solved]Having trouble with Grub detecting Windows 8 in dualboot

    Hey there,
    I have a UEFI board. When I first installed archlinux I did not used the Windows boot partition. To fix this I loaded up the installation media, mounted the partitions as they should be, mounting the microsoft boot partition as /mnt/boot and mounted my UEFI partition into /mnt/boot/efi. I reinstalled the kernel and regenerated the fstab. I also reinstalled grub and os-prober and such and regenerated the config.
    When I did all this, there is still not  /boot/EFI/Microsoft. The grub mkconfig does not detect the microsoft boot at all.
    What am I missing?
    Thanks!
    Last edited by Aquila (2013-10-03 17:45:44)

    I am using 2 disks: sda and sdb.
    I made sda2 is the windows boot partition, sda5 is the root partition for arch, sda6 is the UEFI partition I made for UEFI, sdb2 is the home partition.
    I followed the commands in the beginners guide.
    Originally I did
    mount /dev/sda5 /mnt
    mount /dev/sda6 /mnt/boot
    mount /dev/sdb2 /mnt/home
    pacstrapped and generated fstab and did the three commands for grub before arch-chroot
    # umount /sys/firmware/efi/efivars   
    # modprobe -r efivars   
    # modprobe efivars
    Arch-chrooted, changed clock, changed hostname, changed passwd, then installed grub
    # pacman -S grub efibootmgr
    # grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=arch_grub --recheck --debug
    # grub-mkconfig -o /boot/grub/grub.cfg
    Exited, unmouted, and rebooted
    Grub arrives but of course Windows is missing. Windows boot is in sda2. I made sure by looking in gparted lol
    At this point I booted installation media again and remounted
    mount /dev/sda5 /mnt
    mount /dev/sda2 /mnt/boot
    mount /dev/sda6 /mnt/boot/efi
    mount /dev/sdb2 /mnt/home
    Did pre-grub stuff then arch-chrooted in and reinstalled the kernel and grub and grub config
    # pacman -U /var/cache/pacman/pkg/linux-3.xx-x.pkg.tar.gz  for reinstalling the kernel in the chroot
    At this point I rebooted but I forgot to regenerate the fstab. So I remounted everything the same way, deleted the fstab and regenerated it. The fstab looks ok when I log in. I also then reinstalled grub and made the config again.
    This is where I am at now. I also get this weird issue when I shutdown, it immediately starts up again. I know this could be an issue with the Windows 8 fastboot, but I know I disabled that before I installed arch linux.
    Any tips would be great. I'm not sure where to go from here.
    And yes you're right it should be /boot/efi/EFI/Microsoft. I have /boot/EFI/EFI/arch-grub but not Microsoft in there
    Last edited by Aquila (2013-09-30 01:58:24)

  • (Cross Post! SORRY!)  Having trouble with Mac Pro and Vista/Boot Camp

    I feel like this board is more populated, so I thought I'd post this here as well. Forgive me.
    Ok, so it took me forever to install Vista. It kept saying my partition wasn't valid even after I'd format it. After restarting like 15 times it finally went through. So, it installed.
    BUT, now I have two issues. When Vista starts, I get this weird jumble of like MS-DOS text talking about partitions, weird numbers, my monitors just flash and kinda go nuts with the text then at the top after like 10 second of text, it says 'booting windows vista' with more ms-dos text. Finally after 30 seconds of that, it shows me that green bar that shows up to load Vista then voila, Vista is up and running. The OS works fine, but no matter what, I go through that jumble of text. Any way to get rid of it? What's wrong with it?
    Also, now that I've installed Vista, I can't get back into OS X. I have a wireless PC keyboard and a wireless bluetooth Apple keyboard, so I don't know what to do. When I go into Vista's Control Panel to select Startup Disk it says it can't load the program. So I'm at a loss. I really wanna get back into OS X!
    Any help would be fantastic!!

    Ok, I fixed the issue by using the wireless PC keyboard. I put the Vista install DVD in the drive and restarted the computer. The computer wouldn't recognize the OS X DVD.
    I remembered that the computer would register the keyboard inputs after restarting from the Vista Install Screen, so I restarted, held down alt on the PC keyboard and it worked!
    Now with the apple keyboard working, I restarted and reset the PRAM which made the computer boot into OS X by default instead of Vista.
    BUT, I still get that weird DOS text every time I load Vista, and now after keeping Vista running for a few hours, it starts kinda glitching over time. It loses connection with the network (I had to physically unplug and plug back in the ethernet cable to get it to recognize the network) and for some reason in order to use my apple keyboard, I have to turn it off and on when I get into Vista. It's annoying.
    Anywho, if anyone can help me with my Vista problems, that'd be grand :P

  • Ipad 3G 64 GB + Trouble with APN Setting

    Why the APN settings(APN, username, password) are lost after about 1 hour working with 3g internet? When I retype my settings again they are lost again after 1 hour working.

    try: Settings - General - Reset
    Reset your network setting, reboot, then re-Enter your APN again.

  • Trouble with iPod setting screen

    Right, Ive got all my music on my 5G 30gb iPod, the problem is, I also have a movie I want to put onto my iPod but Im not having much luck with it. I successfully coded the movie using HandBrake, and its currently under "movies" in my library. However, when I connect my iPod to my laptop, the iPod settings screen only brings up the Summary, Music, Podcasts and Contacts tabs. Also under the devices, it only has my iPod and its music. This does not give me the option of adding Photos, Movies or Games. I have iTunes 7.0.2 and Im sure the iPod is up to date because I only recieved it yesterday for Chrismas. Any ideas why and how I can get the Movies, Photos etc. under my devices and on my settings screen when the iPod is connected? Your help will be appreciated.

    Try this: http://support.apple.com/kb/ts1567

  • Trouble with WEP setting up HP7410xi

    I'm switching wireless routers and my  HP 7410xi won't accept the WEP. My default WEP that came with router is 7 letters and 3 numbers and the error message says..."INVALID WEP KEY...Key must be 5 or 13 characters OR 10-26 length with 0-9 A-F (Hex)".
    I have restarted the printer and the router as well as restored to wireless default.
    Help!

    You know that WEP is not in the least secure, right?   Your printer should work with WPA.
    Switch your router's settings to WPA and create your own password for it (use numbers and letters, upper and lower case - at least a dozen characters).
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Tutorial - How to triple boot OSX, Linux and Windows 8.1 with a shared Data Partition without any third party Win / OSX softwares

    This is not a question, but rather a personal guide that has proved to be running successfully.
    I would like to thank numerous sources, including Christopher Murphy's suggestions at:
    Re: Repairing Boot Camp after creating new partition
    Before proceeding, there are certain concepts needs to know:
    Why Boot Camp does NOT allow further partitioning of drives after Windows has installed?
    Answer: Because the way Apple configures the Mac to be recognized as non UEFI capable system on Windows.
    Quote from Christopher Murphy based on the above line:
    However, Windows on Macs right now use CSM-BIOS mode in Mac firmware that presents BIOS to Windows rather than EFI. Windows thinks it's on a BIOS computer, and therefore mandates the use of MBR for boot disks, rather than GPT. So that's why we have this hybrid MBR+GPT approach on Mac with Windows on it. You inherit the limitations of MBR, which is four primary partitions.
    So what does it means?
    It means that OSX + EFI + Recovery HD + Boot Camp partition = 4 primary partitions and thus any attempt to modify the disk will render booting issues of either system.
    For more info on GPT (GUID Partition Table disks VS Master Boot Record or MBR in short, you may visit: http://msdn.microsoft.com/en-us/library/windows/hardware/dn640535%28v=vs.85%29.a spx)
    So, how to overcome it?
    The general guideline is to install ALL GPT ready OS first then create a Data partition, before installing Windows (Which is again, NOT supported GPT due to EFI configuration by Apple where end-users are not able to modify it).
    Interestingly, since Mac Pro 2013 Late supports only Windows 8 and above, thus it is not known if this CSM-BIOS applies to it or not.
    Do take note that GPT disks in Windows can only be booted when the system meets the 2 requirements:
    http://msdn.microsoft.com/en-us/library/windows/hardware/dn640535%28v=vs.85%29.a spx#gpt_faq_win7_boot
    1) Windows x64 version (Which is a must for newer Macs. If you cannot go to Boot Camp 5, then you need Windows 7 x86 or 32bit version)
    2) UEFI system. However, Windows sees all Macs (With the possibility of Mac Pro 2013 Late is an exception. To be determined) as BIOS, or rather NON-UEFI system.
    In short, booting on GPT disks is not possible for Mac in Windows.
    Summary,
    It is tested that a combination of the following will not work:
    - OSX + Windows + Linux
    - Windows + OSX + Linux
    - Windows + Linux + OSX
    Usually it can create the system un-bootable or OSX refused to install due to the system does not recognize such partitions and / or Disk Utility refused to format a free space. An example screen-shot is provided below:
    The error message is shown as
    Title: "Failed to erase volume" Message: "Failed to wipe volume, as an error occurred: MediaKit has reported that the device does not have enough free space to execute the requested operations."
    The second thing is about the preparations we need.
    1) 1X Windows 7 or 8 DVD or USB thumbdrive
    1A) If you uses a DVD to install, you will need another thumbdrive to load the BootCamp drivers for Windows as well as may requires an external DVD drive for newer Macs
    2) 1X Linux DVD of your choice. Personally I choose Fedora 20.
    So ready? Let's go.
    1. Using Disk Utility, shrink the OSX's partition size to what is needed. For me, I give OSX 150GB. Do NOT create any new partition.
    Disk Utility should see something like below whereby only OSX partition is left with desired disk space. The remaining space are to be unused disk space for the moment.
    Note: Click on the top most item that should start with the size of your HDD / SSD. Then clicked on "Partition" and specify the desired OSX size. Hit "Apply" after that.
    2: Download Boot Camp drivers only via Boot Camp Assistant. The USB thumbdrive shall be used later after Linux's installation.
    Boot Camp Assistant should see this:
    I have only selected "Download latest Windows Support Files from Apple"
    3. Insert Linux DVD, reboot Mac into EFI mode (The left most first "EFI mode").
    Note 1: Before rebooting, please plugged in an Ethernet adapter because Wi-Fi drivers is not installed.
    Note 2: For Thunderbolt adapters, it must be plugged in before reboot as hot-swapping is not supported under Linux. More on the tips at the end of this article.
    Note 3: Press and hold "Option" after the screen turns black. Release Option key after you see the image as below:

    For the unfortunate part that did not make it on time to edit the images:
    9. Install the Windows Support software from your CD/USB drive to gain full functionality of your computer. Reboot and go to Windows again.
    Note 1: You may choose to eject disc at this point of time. For Apple SuperDrive users, you will need to wait until the drivers (i.e. Boot Camp support files) is installed and rebooted before ejecting is reasonably possible (As I failed to figured out how to right click without the drivers)
    Note 2: Unlike Windows 7 on KBase article TS4599 Keyboard/trackpad inoperative, black screen, or alert messages when installing Windows 7, USB stick can be plugged in after the Windows installation is done. This is because Windows 7 (And probably Windows 7 with SP1 DVD) does not have a built in USB 3 drivers when it was released back in 2009 where USB3 has not arrived then.
    Note 3: Due to TPM, Bitlocker is not supported without the use of thumbdrives.
    10. Using Disk Management to determine the given drive letter for the DATA partition (DO NOT DELETE and RECREATE partition or else you can goodbye to booting Linux and OSX). Disk Management will not allow you to format it as exFAT / FAT32 in graphical way.
    Note: You may remove or modify some of the disk letters in Disk Management. However, do NOT remove / modfify the drive letter for the partition with 200MB size in HFS. This is because it will disallow booting of Linux and neither could Windows nor OSX can do anything EXCEPT to reinstall Linux only.
    11. Open Command Prompt in Administrator Mode (Important!!), and key in the following command:
    format F: /FS:exFAT
    Give this volume a label after it has successfully formatted before hitting "Enter" again.
    Note: Mine Data partition was assigned as F drive. Please make necessary adjustment to "F:" should your Data partition is assigned to other letters.
    12. After that, Setup your Data partition structure as you like.
    Tip: Minimally create the important folders such as:
    - Music
    - Documents
    - Movie (Videos)
    - Downloads
    - Pictures
    All these folders are commonly used by the 3 OSes. I do NOT recommend changing of /home (OSX and / or Linux) and / or user home directory (Windows) either partially or as a whole.
    This is because of compatibility issue.
    On a side note, iTunes Media Library used in OSX and Windows are NOT able to be use interchangably due to hard-coded path used.
    13. Useful troubleshooting in Fedora / Linux:
    With references to these:
    http://chaidarun.com/fedora-mbp
    http://anderson.the-silvas.com/2014/02/14/fedora-20-on-a-macbook-pro-13-late-201 3-retina-display/
    http://unencumberedbyfacts.com/2013/08/16/linux-on-a-macbook-pro-101/
    I would like to highlight a few important points:
    1) Wi-Fi driver:
    http://rpmfusion.org/Configuration
    Note 1: The sound driver should be installed at Out of Box Experience. However, the Wi-Fi is not.
    Note 2: Install both free and non-free repository. By the way, some other software like VLC can only be found after the Free Repository is installed.
    Search for "akmod-wl" in Gnome-Package-Installer in order to install Wi-Fi drivers
    Note 3: For those who do not have Ethernet adapters and their Mac does NOT have a built-in Ethernet port, it is recommended to get one. This is because Fedora 20 does not have a good support for iPhone USB tethering. Unsure for Andriod / Blackberry / Windows Phone users.
    2) Grub Menu:
    It will show several options to boot into OSX, even of the capability to boot into x86 or x64 mode. However, neither of them is bootable except Linux and the rescue.
    Hence, it is recommended to remove the items by hand in this file:
    /boot/efi/EFI/fedora/grub.cfg
    Command to be used:
    "sudo gedit /boot/efi/EFI/fedora/grub.cfg"
    Parts to be removed:
    - For any extra kernels, delete the target entry by locating the line "menuentry" under "/etc/grub.d/10_linux" sector to one line above the next "menuentry".
    It is recommended to keep one main kernel, and one recovery at the minimal.
    - For other OS, delete all the entry (Since neither it can works) under "/etc/grub.d/30_os-prober" sector without removing the lines starts with ###.
    Auto Mount exFAT partition:
    - After installing extra packages for exFAT support (Since it is not supported by Fedora 20 from a default installation), you may wish to edit "/etc/fstab" in order to mount the exFAT partition during boot time.
    Command to be used:
    "sudo gedit /etc/fstab"
    Add the following line in gedit:
    UUID=702D-912D /run/media/Samuel/DATA                   exfat    defaults        1 2
    Note 1: For DATA partition, OSX & Boot Camp partition, Fedora defaults mounts under: "/run/medua/<Username with case sensitive>/<Partition Label Name>"
    Note 2: UUID is unique ID. You can find out the UUID by:
    Step 1: First determine the DATA partition number:
    "sudo gdisk /dev/sda"
    Step 2: Determine the UUID of this partition number:
    "sudo blkid /dev/sda8"
    Reference 1: http://manpages.courier-mta.org/htmlman5/fstab.5.html
    Reference 2: http://liquidat.wordpress.com/2007/10/15/short-tip-get-uuid-of-hard-disks/
    3) Overheating CPU
    Solution is to issue the following command in Linux terminal: su -c "echo -n 1 > /sys/devices/system/cpu/intel_pstate/no_turbo"
    4) System resumes immediately after suspend
    Solution is to issue the following command in Linux terminal: su -c "echo XHC1 > /proc/acpi/wakeup"
    5) What does not works well out of box:
    - Both GNOME and KDE's fonts are too small to be readable for out of box experience. Additional configuration is a need. (Some of the info can be found on "More Tips" later)
    - Thunderbolt hotplugging is NOT supported under Windows and Linux so far. Neither FaceTime HD camera works as well.
    - The red light in Headphone jack is always on. I do not have luck in switching off the light without losing the sound.
    Note 1: It is determined that the module "snd_hda_intel" is used by both cards (HDMI and normal output)
    Note 2: It is also known that blacklisting it can switch off the redlight at the price of muting the system.
    Note: Based on this article, http://support.apple.com/kb/TS1574
    A Mac (Except Mac Pro) needs servicing when there is a red light while the system fails to detect internal speakers. However, this article does NOT applies to this issue.
    5A) More Tips:
    Install gnome-tweak-tool for more customization
    Search for: "gnome-package" to install:
    Install Gnome Package Installer for advanced package repository
    Install Gnome Package Updater for advanced updates to be install (Whereby Fedora's App Store alike might not show the relevant updates)
    14. Verify if disk is still GPT:
    Use Gdisk to determine if the disk is pure GPT:
    http://ubuntuforums.org/showthread.php?t=1742682
    Command: sudo gdisk -l /dev/sda (The entire hard drive)
    You should see the MBR is "Protective" instead of anything else.
    15. Congrats, the system is ready for triple boot. (I forgot to eject my Windows DVD when the photo was taken)
    Note 1: You cannot set the default startup disk in Linux due to the lack of Boot Camp Control Panel in Linux.
    Neither is changing startup disk recommended in Windows due to the inability to display correctly.
    For me, I click "Cancel" whenever I am on this tab (Feel free to make other Boot Camp adjustments in other tabs).
    Only OSX I know that can show the startup disk options correctly.
    Note 2: For some reason, OSX likes to auto mount the EFI partition everytime it boots up. It is not known to have any issue for ejecting other disks or mounting disks via Disk Utility.
    Note 3: It is not determined if any Firmware or System upgrades will cause issues. It is only known that all 3 OS's regular updates should not be an issue.
    System Updates excludes Mac OSX 10.9.3 updates to OSX 10.9.4 type as I had done it on a OSX 10.9.4 Mac or Windows 8.1 to Windows 8.1 Update 1 since my Windows DVD comes with Update 1.
    System Upgrades refers to OSX Mavericks to Yosemite, Fedora 20 to Fedora 21, Windows 8.1 Update 1 to Windows 8.2 / Windows 9 for that matter.
    Note 4: Reset SMC and / or PRAM will NOT affect your ability to boot any of the OS (OSX, Recovery HD, Fedora & Windows 8)
    Yup, that is it!

  • How to triple boot (MacOSX / Win7 / Linux) a MacBook Pro (Retina, late 2013) with Refind

    ok it's not a question, it's an howto.
    You do it at your own risk. No failure reported so far, but I'm not responsible for anything.
    If you try to multiboot your MacBook Pro (MBP hereafter) you may face a new complexity. With on partition, Bootcamp does a pretty amazing job installing windows. But when you want to partition your disk in your own way, Bootcamp may fail to install windows and another third OS. You may also want to have a share partition between your OSes, hence have multiple partitions. Most of this tuto should also work for Windows 8 and for other Macbooks.
    Problem 1 : Bootcamp does it with one partition that it divides in two and allow to setup Win7. Not all time though since some user reportidely have problems to get USB 3 support and the keyboard and mouse are non working during the install / setup phase.
    Problem 2 : Windows 7 is not able to install itself to a GPT partition and needs an Hybrid MBR. Bootcamp does this, but just for a Dual OS setup. So to make the magic happen in a multi OS environment, you'll have to do want bootcamp does, manually.
    Step 1 : Download the OS X Recovery Disk Assistant from Apple and flash it to a USB stick. (http://support.apple.com/kb/DL1433)
    Step 2 : Reboot, holding the option key (aka CMD, left of spacebar) down, to trigger the boot menu options. Start the usb drive with OS X recovery and enter the partition tool. Create 3 to 4 partitions, suiting your tastes. Just put windows partition first and I recommend to put the partition sharing data across OSes second, MacOS 3rd and Linux Last for example. MacOS and Linux are fine with pretty much every setup, Windows need the 1° usable partition.
    Step 3 : Migrate your Macos using the same tool (google it for details) or Reinstall MacOS from the recovery partition. (more about migration here, but there are better tuto on this)
    Step 4 : Start your MacOS and create a bootcamp USB stick with the bootcamp tool. You need an ISO from Win7 (or Win 8) and a drive of at least 4 GB. Bootcamp will most likely complain about the fact that it will not be able to install 7 due to the fact that you don't have only one partition, ignore and proceed to the Bootcamp USB stick setup.
    Step 5 : Adding the USB3 support to your Win7 installation. Plug your newly created Win7 USB stick to a computer running Windows. In the sources directory, copy the boot.vim on your disk drive and add the drivers that Bootcamp added to your USB stick, in the $WinPEDriver$ directory and follow these instructions to add them to your boot.vim image. Follow carefully every step, it does works. Add the drivers you feel like, commit and copy back your boot.vim image, patched, to your USB stick, in the sources directory.
    Step 6 : In your MacOSX, install the GPT fdisk partition tool. You just have to unzip the archive. Win7 is unable to install to a GPT disk, so you will have to create a (dirty) Hybrid MBR. From a terminal, launch GPT fdisk. Carefull here, the Win7 is most likely not the 1st but the 2nd or 3rd because there is an UEFI partition before. Just check before adding them if in doubt, by striking p. Then key in r then h then the number of the partitions you want to add to this hybrid MBR (the Win7 & the Shared one). Accept the type 07 for this partition and type y, n & finally w. (more details here for the fans)
    Step 7 : Reboot, keep the CMD key down to trigger the boot option menu. Reboot on the USB stick, install Win7. If it doesn't understand the partition made for it, format it, if needed, from the 7 installer, delete and recreate it.
    Step 8 : Install your favorite Linux distro with a USB stick generator. (see here & here). No complex part, except that Grub will most likely scratch your nice Hybrid MBR, rendering Win7 inaccessible. No problem, reboot in MacOS and redo step 6, this will revive your win7.
    Step 9 : It's cosmetic but keeping CMD key down to boot is not so practical. ReFind does it just great. Setup is super easy, just kick install.sh from a shell in MacOS. Fine tune decoration and some stuffs later on from the config file.
    Step 10 (optionnal) : You want it all, without switching between OSes? Having Windows app running within MacOS is easy, with most native hardware acceleration preserved, using Parallels desktop. It also works with a "simple" Bootcamp Windows setup.
    Enjoy your mighty triple boot MBP.

    Just ordered a Retina MacBook Pro11,2 (mid-2014 15", 2.2GHz Intel Core i7, 16GB RAM, 512GB SSD, OSX 10.9.4 Pre-installed - Build 13E28)  and have the exact same issue.  The first thing I did when i booted it for the first time was enable FileValut2 and encrypt the disk.  Though I failed to notice this behavior prior to encrypting the disk, the stuttering/lag happens without fail every time I have logged in from a cold boot, locked screen or sleep. Additionally I have noticed the same stuttering behavior when switching tabs on various built-in OSX applications such as the tabs on the About This Mac > More Info.... (System Information) dialog for example, and similarly other dialogs that experience this behavior of resizing when switching tabs. I was running no other software than About This Mac > More Info ... (System Information) and OSX 10.9.4 itself.  The issue happens without fail with and without a USB mouse plugged in.
    I am really glad to have found this thread and with such recent posts.  I'd love to find out that this is just a software bug that will be fixed when OSX 10.10 "Yosemite" is released.  If not, I hope the cause of this bug is determined soon so I can still exchange or have it repaired.
    Migflono and Matthew, would you be able to post your hardware specs for comparison? 

  • Dual boot Arch / Windows 8 with grub, uefi and gpt

    hi,
    (my aplogies for my bad english)
    after a fresh installation without worries I have one last problem : starting w8
    Partitions :
    [root@ToshCM christian]# gdisk -l /dev/sda
    GPT fdisk (gdisk) version 0.8.7
    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present
    Found valid GPT with protective MBR; using GPT.
    Disk /dev/sda: 1465149168 sectors, 698.6 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): BAE3660C-FC6F-11E1-9C45-C6B1BB081CD7
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 1465149134
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 3757 sectors (1.8 MiB)
    Number Start (sector) End (sector) Size Code Name
    1 2048 923647 450.0 MiB 2700 Basic data partition
    2 923648 1456127 260.0 MiB EF00 Basic data partition
    3 1456128 1718271 128.0 MiB 0C01 Basic data partition
    4 1718272 1230518271 585.9 GiB 0700 Basic data partition
    5 1445343232 1465147391 9.4 GiB 2700 Basic data partition
    6 1230518272 1250998271 9.8 GiB 8200
    7 1250998272 1291958271 19.5 GiB 8300
    8 1291958272 1445343231 73.1 GiB 8300
    2 = efi (fat32)
    4 = Windows (ntfs)
    6 = swap
    7 = /
    8 = /home
    EFI partition is mounted in /boot/efi
    [root@ToshCM christian]# grep efi /etc/fstab
    UUID=7CD3-EE8E /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    For now I have a grub that works perfectly without Windows
    Now I try to follow this page
    [root@ToshCM christian]# grub-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    7CD3-EE8E
    [root@ToshCM christian]# grub-probe --target=hints_string /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
    --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2
    I put the result in /etc//grub.d/40_custom
    [root@ToshCM christian]# cat /etc/grub.d/40_custom
    #!/bin/sh
    exec tail -n +3 $0
    # 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 x86_64 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 7CD3-EE8E
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    I regenerates grub.cfg
    grub-mkconfig -o /boot/grub/grub.cfg
    I check the result in /boot/grub/grub.cfg
    ### 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 x86_64 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 7CD3-EE8E
    chainloader /EFI/Microsoft/Boot/bootmgfw.efi
    ### END /etc/grub.d/40_custom ###
    After reboot I can see a fine line with Windows but it has no effect, neither start nor error message
    The computer is a Toshiba Satellite C855-1TM
    In the BIOS Advanced page "Boot Mode" is [UEFI Boot]
    In the Security page "Secure Boot" is [Disabled]
    Thanks in advance

    vintherine wrote:
    the.ridikulus.rat wrote:
    @vintherine: Everything you mentioned in the 1st post is correct. In your case the correct commands should be:
    grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
    grub-mkconfig -o /boot/grub/grub.cfg
    Thanks. I've tried that, get now a single line with Windows, which does not work
    EDIT: Are you able to boot Windows independent of GRUB, ie. directly from the firmware boot menu?
    I've tried F12 key, found a menu, started on the HD, found a new menu corresponding with the EFI directories (arch_grub, Microsoft....). Microsoft entry sent me on... grub menu
    EDIT: Can you try (note the extra line : "set gfxpayload=keep")
    It's time for diner (i'm in France). I'll see this in the next hour.
    Many thanks
    Seems like the actual Windows bootmgfw.efi was overwritten by grubx64.efi or something else. In the boot menu Windows's entry (created by Windows installer) is usually titled "Windows Boot Manager".
    EDIT:
    Try this. Copy the files from Windows's C:\Windows\Boot\EFI to <EFISYS>/EFI/Microsoft/Boot/ . Overwrite any exisitng files, and make sure <EFISYS>/EFI/Microsoft/Boot/BCD file exists. That is the Windows equivalent of grub.cfg (although BCD cannot be read easily since it is not a text file). Try your menuentry again.
    Last edited by the.ridikulus.rat (2013-09-27 18:29:09)

  • Trouble with Boot Device

    I'm having some trouble with boot devices on my Neo Plat and I hoped someone here might have a fix.
    I recently installed a new hard-drive as C. I've gone into Bios/Advanced Features and set the boot order to the following:
    Hard Drive
    CD-ROM
    Floppy
    When I reboot now I get the message "Booting from CD" which it can't do because there is no bootable CD-ROM present. I then get a message like "No Boot Device Present" and the system halts.
    The strange thing is that if I select F11(Select Boot Device) at the BIOS test screen and select Hard Drive and then my C: Drive it boots just fine from that drive! But it will not do this automatically.
    Anyone know what the problem might be?

    F11 is pr. boot only .
    Need to be in the bios ..
    You need to go into "hd boot priority" submenu in advanced features menu and set/save the HD order there . (number three from the top)
    Toggle the boot drive from pos 1. to 2. in the list and back to pos 1.
    Then save the bios and exit .

  • Trouble with booting system after upgrade udev= systemd

    Hi everybody,
    I have been trouble with my system since last upgrade (udev => systemd)
    My issue is something like this: https://bbs.archlinux.org/viewtopic.php?pid=1106157 but advice from this discussion doesn't work.
    When system booting, *immediately* (very fast, too fast) display login screen after start parsing hook [udev]
    Of course, i can't login - type username and i have redraw screen again on all /dev/tty* - i have no chance to type password.
    Many invalid logins suspend init for 5 minutes and allow me see display error due stop redraw screen - libpam.so.0 cannot find.
    I suspect that, partitions aren't mount (this fast login screen doesn't have even hostname). I have a 4 discs, with many partitions - mounting
    this take a some time (+- 5 secs).
    In rescuecd, i can mount all partitions and chroot. In chroot all works fine - /bin/login (i was checked authorization on all users),
    paths and pams are ok. Of course i try ,,default rescue trick'': `pacman -Suy linux udev mkinitcpio` and 'mkinitcpio -p linux' on rescuecd
    but nothing it's changed after reboot. I checking grub config, and unpack and check initramfs-linux.img - all ok.
    In my mkinitcpio.conf ofcourse i have MODULES="ext3" (for my filesystems).
    Please help.

    crab wrote:
    This may or may not be related... but I saw this message just now during an upgrade:
    (121/168) upgrading mkinitcpio [###################] 100%
    ==> If your /usr is on a separate partition, you must add the "usr" hook
    to /etc/mkinitcpio.conf and regenerate your images before rebooting
    And am wondering what the message means by if /usr is on a separate partition - separate partition to what?  /boot? / ?
    I have my /usr partition in the same partition as /  (but /boot is in a different partition)
    Logic tells me I'm safe (haven't rebooted yet), as / is "master", and anything else is a separate partition, and I have /usr on the same partition as /.
    Do you guys have separate /usr and/or /boot partitions?  As stated in first sentence this may not be related, but looks important...
    It means separate from /. So yes, you're right, you are "safe" from having to do anything with this message on your system.
    And to the other people on this thread: make sure you do have all your packages uniformly updated, including any pam-related AUR or ABS-build packages. libpam and the pam module directory (.../lib/security) were moved from /lib to /usr/lib a little while back, so make sure that anything that cares about where these may be have been updated so they aren't confused by this move.
    Last edited by ataraxia (2012-06-03 22:40:22)

Maybe you are looking for

  • Usb 3.0 hard drive doesn't work

    i boot my laptop with ubuntu ,the usb3.0 hard drive could be recognized by usb3.0 port without external power, but archlinux cannot. the write speed is 43.7 MB/s in ubuntu. it seems like that this is only usb2.0 speed. can archlinux use usb3.0 as usb

  • "CUSTOMIZE LOCAL LAYOUT" missing in iView

    Hi all, I created a SAP transaction iView for PO create(me21n). For PO create we have "Customize local layout"(It is the last one in the tool bar) option in ECC6.0. I couldn't able to get that option through iView. Do we need to make any setting chan

  • Can any one tell me how to attach a pdf file to the mail through workflow

    I have a smart which i am able  to convert it to a pdf file...now.. can any one tell me how to attach a pdf file to the mail through workflow

  • Re:select statement

    Hi when I writing the following select statement SELECT SUM( menge )            INTO sumgood            FROM aufm            WHERE ( bwart EQ '101' or  bwart EQ 'X01' )              AND matnr EQ it_afpo-matnr              AND aufnr EQ t_prodbom-aufnr

  • Multilingual data file Oracle - 8.1.7

    I am using 'sqlldr' to insert data into Oracle 8.1.7 database(charset UTF-8, OS=Win NT) from a datafile encoded in UTF-8. This datafile contains data in English, Japanese, Chinese languages. All rows were inserted into the database but I couldn't see