[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.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
howtos:network_services:nfs_root [2018/05/28 21:10 (UTC)] – created bifferoshowtos:network_services:nfs_root [2018/05/28 21:26 (UTC)] – [Creating the kernel] bifferos
Line 56: Line 56:
 # make menuconfig</code> # make menuconfig</code>
  
-Configuration order is important, as selecting certain options makes others available:+Configuration order is important, as selecting certain options makes others available.  First off we will need a network driver compiled into the kernel for the NIC we're going to use.  For VirtualBox the default NIC is PCnet32, an lspci will probably tell you yours:
  
-Device Drivers -> Network Device Support -> Ethernet driver support -> AMD PCnet32 PCI support <*> +<code>Device Drivers -> Network Device Support -> Ethernet driver support -> AMD PCnet32 PCI support <*></code>
-Networking support -Networking options -> IP: kernel level autoconfiguration [*] +
-    IP: DHCP support [*] +
-File Systems -> Network File systems -> Root file system on NFS [*]+
  
-Save the configuration and them do a:+Make sure this is compiled into the kernel (e.g. hitting 'y').  
  
-<code>#make bzImage</code>+[OPTIONAL] We also need to tell the kernel which IP address to use, which can be set statically, but DHCP is much easier, so generally you will want to include these options: 
 + 
 +<code>Networking support -> Networking options -> IP: kernel level autoconfiguration [*] 
 +    IP: DHCP support [*]</code> 
 +     
 +Finally, we absolutely need the support for Root FS on NFS: 
 +     
 +<code>File Systems -> Network File systems -> Root file system on NFS [*]</code> 
 + 
 +[OPTIONAL] It's pretty useful to append a local version to this kernel release.  I'd advise doing this to differentiate it from your standard Slackware huge kernel and avoid clobbering the modules from that by mistake: 
 + 
 +<code>(-nfsroot) General Setup -> Local version - append to kernel release</code> 
 + 
 +Save the configuration and then do a: 
 + 
 +<code># make bzImage</code>
  
 While that build is running, it's time to configure LILO. While that build is running, it's time to configure LILO.
 howtos:network_services:nfs_root ()