You are not logged in.
Hello,
I am having a hard time installing Arch next to Windows 7 on an UEFI Notebook.
The partitions of the HDD (GPT) looks like this:
sda1 Boot partition, fat32, 400 MiB. Mounted as GRUB Wiki says at /boot/efi
sda2 swap
sda3 Arch
sda4 Windows 7
First I install Windows 7 which workes without problems.
After that is done I start installing Arch. All goes well without any errors till the end.
For installing GRUB I use
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck
and
grub-mkconfig -o /boot/grub/grub.cfg
Both finish without errors.
First problem is os-prober never mangaged to find Windows 7 by itself. Not once in 6 installation retries.
Second problem. After I finished installtation and rebooting, GRUB doesn't show. It direktly starts to boot Windows.
I'm following the Beginners Installation Guide step by step (except the GRUB part). What am I doing wrong?
Are the Mountpoints wrong?
I don't know which config files you need to help.
Last edited by Peikko (2013-08-13 11:08:55)
Offline
Might be that your GRUB efi executable is not set to be the one booted.
See if you can enter an UEFI shell and launch GRUB from there.
Also post output of
efibootmgr
Offline
This is the Output: http://bpaste.net/show/122531/
I booted with the arch live cd and mounted the partitions again. The first time efibootmgr gave me an error and I had
modprobe efivars
.
Offline
Looking at that output: ATA HDD0 is set to be booted first, you might want to set the default boot to 001A, which is your arch_grub
Offline
I changed it with
efibootmgr -o 1A
and checked it again but it still boots right into Windows.
Offline
I have found this and made what is said there. GRUB bootet after that.
http://www.jsravn.com/2013/06/26/thinkp … -arch.html
Not the only problem is, that os-prober still dosn't find the Windows 7 partition.
Help please.
Offline
Did the efibootmgr command actually change your boot order successfully?
What is the output of efibootmgr -v?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
It did change but only for this session. After a reboot, the order was reset again.
But this is not the problem anymore.
I have found the solution for this problem here: http://www.jsravn.com/2013/06/26/thinkp … -arch.html
The only problem that still exists is that os-prober is not able to detect the existing Windows 7 partition and add it to the GRUB menu.
Offline
Sometimes os-prober likes things mounted. Have you tried mounting the relevant partitions first?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline