network support in grub

Kernels & Hardware, configuring network, installing services

network support in grub

Postby boudinec » 2018-02-26 07:47

Hello

I would like to enable network support in grub for booting an image from a server.
When I type net_ls_cards in grub prompt, I have an empty list.

After searching a bit, I found that I should insert ofnet.mod or efinet.mod to activate network support.
These two modules are available in grub-ieee1275-bin and grub-efi-ia32-bin.
I tried to install grub-ieee1275 and launched grub-install, but my computer still seems to boot with grub-pc: ofnet is not in /boot/grub subdirectories.

I tried also with grub-efi-ia32 and I have the same result.

What should I do? Do I need to recompile grub? At least, is it possible to enable network cards in grub?
boudinec
 
Posts: 2
Joined: 2018-02-26 07:29

Re: network support in grub

Postby boudinec » 2018-02-27 14:18

Hello

I managed to find how to select which version of grub to install. The option is --target. However I still have some errors.

When I type sudo grub-install --boot-directory=/media/path/to/boot /dev/sdb --target=i386-ie1275, the result is:
grub-install: error ofpathname:not found.

ofpathname is available in powerpc-ibm-utils which is only build for ppc64el -> does that mean that open firmware is only usable with PowerPC ?

Cedric
boudinec
 
Posts: 2
Joined: 2018-02-26 07:29


Return to System configuration

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable