Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616746 - genkernel initramfs and nfsroot problem
Summary: genkernel initramfs and nfsroot problem
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-27 16:04 UTC by dieter ferdinand
Modified: 2021-03-16 16:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dieter ferdinand 2017-04-27 16:04:22 UTC
hello,
i have a problem with my network boot for gentoo linux.

after some config changes, i can boot a system from network with gentoo-linux.

but if i insert nfs-mounts in fstab to mount /usr /lib /*bin /opt, the system hangs on boot at this point, the init script from initram try to mount this nfs-mounts.

the problem is, that rpcbind and rpc.mountd is not startet and i remember not on ramdisk.

so solve this problem without changing ramdiskimage every time, i create it new, i create a init script which i start as init, mount the nfs-mounts and give control to init or systemd.

but to do this, i must copy the needed libs and programs to the nfsroot and update them, if i update my system. this make more work.

please update genkernel to include the needed programs and libs and start this programs on boot, if the system is started from network.

goodby
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-16 16:30:07 UTC
This is not supported: You can either boot complete NFS root or not but we cannot add NFS into initramfs.

Remove "/usr" from /etc/initramfs.mounts to prevent genkernel from mounting /usr. However, if /usr is required to start up your real system, you must have a service in place which will do the work asap we handled control to real system.