You are not logged in.

#1 2013-03-01 14:49:33

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

net_nfs4 has no build function

Hello, I don't understood how can I build net_nfs4 hook for Diskless_System NFSv4

# sed s/nfsmount/mount.nfs4/ "$root/usr/lib/initcpio/hooks/net" | tee "$root/usr/lib/initcpio/hooks/net_nfs4" 

after I copied from "$root/usr/lib/initcpio/hooks/{net,net_nfs4} to $root/usr/lib/initcpio/install/

after build from new mkinitcpio.conf kernel, and get this error.

==> ERROR: Hook /usr/lib/initcpio/install/net_nfs4 has no build function

And this on remote machine. What I did wrongly?

UNDI data segment at 9C59 leu 1830
Getting cached packet 01 02 03
My IP address seems to be 0AO0007E 10.0.0.126
ip=10.0.0.126:10.0.0.1:10.0.0.1:255.255.255.0
BOOTIF=01-08-00-27-eO-a0-22
SYSUUID=4c53f3dd-0b02-4047-abd2-b8639cc5a48e TFTP prefix: /
Trying to load: pxe1inux.cfg/defauIt
Loading vmlinuz-1inux......
Load ing initramfs-linux.img.....ready.
Probing EDD (edd=off to disable)... ok ear iy console in decompress_kerne1
Decompressing Linux... Parsing ELF... done. Booting the kernel.
[	0.0000001	tsc: Fast TSC calibration faile
:: running early hook [udevl :: running hook [udevl : : Triggering ueuents. . .
ERROR: device '' not found. Skipping fsck. ERROR: Unable to find root device '' .
You are being dropped to a recovery shell
Type ' exit' to try and continue booting sh: can't access tty; job control turned off [rootfs /I#

Thanks, Geo...

Offline

#2 2013-03-01 16:21:22

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: net_nfs4 has no build function

Did you look at the file you created? I'm no expert wrt initcpio, but from what I've seen only the files in initcpio/install have a build function.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

Board footer

Powered by FluxBB