You are not logged in.
Hi,
After fresh install and 2 hole days searching solutions, I can't boot archlinux in a machine with pre-installed Win8.1.
All bootctl, refind-efi, gummiboot fails. When I reboot... just are Windows Boot Manager loading Windows automatically.
I didn't find any topic related with this particular hardware, an Acer E5-571G
Disk are parted with GPT.
This is my situation on partitions:
lsblk /dev/sda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 600M 0 part
├─sda2 8:2 0 300M 0 part
├─sda3 8:3 0 128M 0 part
├─sda4 8:4 0 851.7G 0 part
├─sda5 8:5 0 18.8G 0 part
├─sda6 8:6 0 25G 0 part /mnt
├─sda7 8:7 0 512M 0 part /mnt/boot
├─sda8 8:8 0 32.5G 0 part /mnt/home
└─sda9 8:9 0 2G 0 part [SWAP]
Ever mounting swap - /mnt - /mnt/boot - /mnt/home, on this right order.
Device "sda7" is set to boot, formated in fat32.
Installation made after boot in UEFI mode.
This is my "df -h" after arch-chroot:
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 25G 6.1G 18G 26% /
/dev/sda7 511M 88M 424M 18% /boot
/dev/sda8 32G 48M 31G 1% /home
udev 3.9G 0 3.9G 0% /dev
shm 3.9G 0 3.9G 0% /dev/shm
run 3.9G 0 3.9G 0% /run
tmp 3.9G 0 3.9G 0% /tmp
/dev/mapper/arch_airootfs 32G 823M 31G 3% /etc/resolv.conf
My mount after arch-chroot:
mount
/dev/sda6 on / type ext4 (rw,relatime,data=ordered)
/dev/sda8 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda7 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=4034040k,nr_inodes=1008510,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmp on /tmp type tmpfs (rw,nosuid,nodev)
/dev/mapper/arch_airootfs on /etc/resolv.conf type ext4 (rw,relatime)
Could someone give me some help?
Thanks in advance!!
Offline
Have you tried disabling Secure Boot (and fast boot) from your firmware (BIOS) options?
What is the output of:
# efibootmgr -v
Jin, Jîyan, Azadî
Offline
Have you tried disabling Secure Boot (and fast boot) from your firmware (BIOS) options?
What is the output of:
# efibootmgr -v
Of course.
This is my efibootmgr
BootCurrent: 0001
Timeout: 2 seconds
BootOrder: 0001,0002,2001,2002,2003
Boot0001* Windows Boot Manager HD(2,GPT,7b4fbbe6-440c-40ec-befc-1c75b17b34c4,0x12c800,0x96000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0002* Windows Boot Manager HD(7,GPT,369e33cc-a8b4-4cf3-9aed-b65e8938a02a,0x6db71000,0x100000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)RC
Boot2001* EFI USB Device RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network RC
Offline
All bootctl, refind-efi, gummiboot fails.
Post the exact commands that you used to install these.
What was the exact terminal output when you used those commands?
There are no NVRAM entries for your Arch system so it is no surprise that it does not boot.
Load up the Arch live ISO, mount all of your partitions, use `arch-chroot` then post the output of:
lsblk -f
# gdisk -l /dev/sda
Just to note: you should share the EFI system partition generated by Windows with your Arch system rather than create a new one.
If you create a custom NVRAM entry, does this boot:
# efibootmgr -d /dev/sda -p 7 -c -L "Arch" -l /vmlinuz-linux -u "root=/dev/sda6 rw initrd=/initramfs-linux.img"
Jin, Jîyan, Azadî
Offline
When I install Arch and Windows together, I make sure both are using the same EFI partition which for me is usually /dev/sda1. In the past (not sure if that's the case now), if Windows detects it isn't the primary boot, it will change that. This makes any other boot loader be secondary to Windows.
To change this, I trick Windows into thinking grub (I use grub on my machines) is the Windows boot loader and save the Windows boot loader as a new separate file. Then I tell grub where the new Windows boot loader file is and have it chain load when I need to use Windows. I did this yesterday in fact because I upgraded to Windows 10.
If you would like more instruction on how this is done, I can elaborate further.
Last edited by markzz (2015-08-07 20:06:17)
I don't want to work. I want to bang on the drum all day.
Offline
Try installing grub again, if you already have arch installed then mount the partition with the following:
mount /dev/sdaX /mnt
then make a directory for the efi boot partition to be mounted
mkdir -p /mnt/boot/efi
then mount the efi partition to the new directory
mount /dev/sdaX /mnt/boot/efi
then chroot into /mnt
arch-chroot /mnt
get grub
pacman -Syu grub
get efibootmgr
pacman -Syu efibootmgr
generate a grub config
grub-mkconfig -o /boot/grub/grub.cfg
now install grub to sda
grub-install /dev/sda
Now grub should be installed and you shouldn't have received any errors. This will only show your arch install on grub to start once your booted into arch you need to install os-prober with pacman. After you installed that you can run:
grub-mkconfig -o /boot/grub/grub.cfg
Now grub should be installed and your system should show arch linux and your windows 8 partition as well. Now if you did receive an error doing this and grub did not install, you need to enable UEFI boot and create UEFI bootable usb and re run the commands given. I found it easier to use a program called rufus to create it. I use rufus to write ubuntu to the drive. After doing this I would edit the grub config file to allow me to also boot straight from a arch iso by adding:
menuentry 'Arch Linux' {
set iso="/boot/iso/archlinux-2015.05.01-dual.iso"
loopback loop $iso
set root=(loop)
linux /arch/boot/x86_64/vmlinuz archisolabel=ARCH_201505 img_dev=/dev/disk/by-label/MULTI img_loop=$iso earlymodules=loop
initrd /arch/boot/x86_64/archiso.img
}
to my grub config file on my usb. Then right click on the drive go to properties and rename it to "MULTI".
Then you need to go back in to the usb drive open your boot folder create a new folder called "iso" copy your arch iso to this new folder.
This will make it so you can boot strait into the arch iso in UEFI mode and not CMS. You may have to press F12 to select it on boot but it should work. I hope this helps.
Last edited by Masstumor (2015-08-15 18:41:47)
Offline
After long time.. Thanks!
Offline
So, is it solved? If so, go ahead and prepend [SOLVED] to your thread title (edit your first post)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline