You are not logged in.

#1 2015-04-15 22:49:53

take2hikes
Member
Registered: 2010-05-11
Posts: 6

GRUB Cannot Find chainload

I am currently trying to dual boot Windows 8 and Arch Linux. I have Windows 8 installed on my first boot device and Arch installed as per the Beginner's Wiki to my second boot device (both SSD's, sdb and sdc, respectively).

lsblk:

sda [RAID controlled by dedicated card]
sda1  128M
sda2  3.7T

sdb
sdb1  300M
sdb2  100M
sdb3  128M
sdb4  232.4G

sdc
sdc1  500M
sdc2  20G /
sdc3  10G /var
sdc4  200G /home
sdc5  235.3G  (spare)

Everything appears to be installed and configured correctly, and I have installed GRUB and gummiboot after GRUB did not work. This was partly do to me having to change some bios settings so that secure boot was disabled, or at least set to "Other OS". At an earlier point I actually wiped my /boot and re-installed Arch (which I believe only replaced missing files) and re-installed grub and re-generated the configuration file.

Now, the GRUB menu shows properly on boot with my Arch and Windows entries and I am able to boot into Arch fine. However, now when I select MS Windows, Grub tells me that it cannot find the chainload command. Is it supposed to be just 'chain', perhaps?

In my /etc/grub.d/40_custom file I added two menu entries, one for Arch Linux and one for MS Windows.

menuentry "Arch Linux" {
    set root=(hd2,2)
    linux /boot/vmlinuz-linux
    initrd /boot/initrd.img
}

# This was added as per the advice at: http://unix.stackexchange.com/questions … gpt-system
menuentry "MS Windows" {
    insmod part_gpt
    insmod search_fs_uuid
    insmod ntfs
    insmod chain
    search --fs-uuid 3A781C97781C544B --set=root --hint-bios=hd1,gpt4 --hint-efi=hd1,gpt4 --hint-baremetal=ahci1,gpt4
    chainload (${root})/Windows/Boot/EFI/bootmgfw.efi
}


What could this be?

Thank you for any and all suggestions!!


.t2h

Offline

#2 2015-04-15 23:02:54

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: GRUB Cannot Find chainload

I think you should try gummiboot, it generates the Windows entry automatically and is much simpler to manage (IMO).
https://wiki.archlinux.org/index.php/Be … therboards

Please post the output of:

# parted -l
lsblk

Is the Windows bootmanager (bootmgfw.efi) actually present at the location defined in your grub.cfg?

On my Windows (10) system, the top directory is called "Microsoft" rather than "Windows"


Jin, Jîyan, Azadî

Offline

#3 2015-04-16 02:23:30

take2hikes
Member
Registered: 2010-05-11
Posts: 6

Re: GRUB Cannot Find chainload

I'm not opposed to gummiboot, like I said it was my first choice, but as I encountered problems I took the guide advice and tried GRUB. If I can get GRUB to work and it increases my understanding, I would be all for it. I'm definitely familiar with Linux, but I don't have extensive experience with GRUB and EFI.

What is the best way to use gummiboot? Uninstall GRUB or install them side-by-side?

Here is the output of parted -l:
parted -l]http://www.hrtmn.net/Images/parted.png

And here is the output of lsblk:
parted -l]http://www.hrtmn.net/Images/lsblk.png

bootmgfw.efi:
parted -l]http://www.hrtmn.net/Images/bootmgfw.png

Moderator edit: Redacted huge images

Last edited by ewaller (2015-04-16 04:41:27)


.t2h

Offline

#4 2015-04-16 03:10:50

take2hikes
Member
Registered: 2010-05-11
Posts: 6

Re: GRUB Cannot Find chainload

I noticed somewhere in the Arch wiki that it should be 'chainloader', which fixed the original issue. But now of course when I select MS Windows it gives me the following notice:
http://www.hrtmn.net/Images/windows_bm_error.png

But, GRUB also has the Windows boot loader listed on the sdb device, which works fine.. So I imagine I should be happy with that, but I am still curious as to why the other entry doesn't work.

Moderator edit:  redacted HUGE picture and converted to url link.  Please only post thumbnails and provide links.  https://wiki.archlinux.org/index.php/Fo … s_and_code

Last edited by ewaller (2015-04-16 04:39:30)


.t2h

Offline

#5 2015-04-16 15:13:07

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: GRUB Cannot Find chainload

I can't see any of your links.

take2hikes wrote:

What is the best way to use gummiboot? Uninstall GRUB or install them side-by-side?

Just install it alongside GRUB -- which one is used is determined by the order of the NVRAM entries in your motherboard; both GRUB & gummiboot will place their entry at the top of the list when you run their respective install commands


Jin, Jîyan, Azadî

Offline

#6 2015-04-16 19:29:49

take2hikes
Member
Registered: 2010-05-11
Posts: 6

Re: GRUB Cannot Find chainload

Ok, that makes sense. Everything is working now and I'm able to boot into Arch or Windows, so all appears well on that front. I appreciate your responses!


.t2h

Offline

Board footer

Powered by FluxBB