[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
howtos:network_services:nfs_root [2018/05/28 22:11 (UTC)] – [Configuring LILO] bifferos | howtos:network_services:nfs_root [2018/05/28 22:21 (UTC)] (current) – [First Boot] bifferos | ||
---|---|---|---|
Line 121: | Line 121: | ||
None of the modules have been installed, let's add them. Shutting down the nfsroot system and booting back into the Slackware kernel compilation virtual machine we can now compile the missing modules. | None of the modules have been installed, let's add them. Shutting down the nfsroot system and booting back into the Slackware kernel compilation virtual machine we can now compile the missing modules. | ||
- | < | + | < |
Then we can compile and install the modules: | Then we can compile and install the modules: | ||
Line 127: | Line 127: | ||
< | < | ||
# make modules | # make modules | ||
- | # make modules_install INSTALL_MOD_PATH=/ | + | # make modules_install INSTALL_MOD_PATH=/ |
- | For the last command, | + | For the last command, avoid adding a trailing slash to /mnt/tmp, and try not to forget the INSTALL_MOD_PATH, |
=== Swap on NFS === | === Swap on NFS === | ||
Line 157: | Line 157: | ||
< | < | ||
- | And we presumably don't want all-and-sundry using our newly prepared rootfs directory, so drop it down a level and qualify it by IP address: | + | And we presumably don't want all-and-sundry using our newly prepared rootfs directory, so drop it down a level and qualify it by IP address |
< | < | ||
Line 164: | Line 164: | ||
# mv 172.17.0.81 nfs_share</ | # mv 172.17.0.81 nfs_share</ | ||
- | Now over on the client | + | Now over on the client machine, configure |
requests the nfs share based on the client' | requests the nfs share based on the client' | ||
Line 174: | Line 174: | ||
NFS Root is never going to be considered secure, but at least this makes cross-contamination of nfsroots less likely. | NFS Root is never going to be considered secure, but at least this makes cross-contamination of nfsroots less likely. | ||
+ | Note that I am using dhcp in the above example, but I've added an entry to / | ||