[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 revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:network_services:nfs_root [2018/05/28 21:17 (UTC)] – [Creating the kernel] bifferos | howtos:network_services:nfs_root [2018/05/28 21:38 (UTC)] – [Configuring LILO] bifferos | ||
---|---|---|---|
Line 62: | Line 62: | ||
Make sure this is compiled into the kernel (e.g. hitting ' | Make sure this is compiled into the kernel (e.g. hitting ' | ||
- | [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: | + | [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: |
< | < | ||
Line 70: | Line 70: | ||
| | ||
< | < | ||
+ | |||
+ | [OPTIONAL] It's pretty useful to append a local version to this kernel release. | ||
+ | |||
+ | < | ||
Save the configuration and then do a: | Save the configuration and then do a: | ||
Line 80: | Line 84: | ||
==== Configuring LILO ==== | ==== Configuring LILO ==== | ||
- | Let's call the kernel / | + | Let's call the kernel / |
- | Add a section to the lilo.conf file: | + | |
- | < | + | < |
label = nfs | label = nfs | ||
read-only | read-only | ||
append= " | append= " | ||
- | (substitute your nfsroot | + | If you didn't want to use dhcp you'll now need to have a read of |
+ | Documentation/ | ||
+ | include | ||
Obviously keep your default linux kernel in another image= section so you can switch between booting the nfsroot and the normal kernel to play around with this stuff. | Obviously keep your default linux kernel in another image= section so you can switch between booting the nfsroot and the normal kernel to play around with this stuff. | ||
- | You cannot specify a normal root = entry in this section because lilo doesn' | + | You cannot specify a normal root= entry in this section because lilo doesn' |
The v3 seems to be really important in making anything at all happen on boot. If that isn't set, no communication seems to occur. | The v3 seems to be really important in making anything at all happen on boot. If that isn't set, no communication seems to occur. | ||
- | The ' | + | The ' |
+ | |||
+ | With the kernel compilation finished, copy the kernel into the /boot directory and rename it: | ||
+ | |||
+ | < | ||
+ | |||
+ | It may be created elsewhere depending on your architecture, | ||
+ | Don't forget to run LILO: | ||
+ | < | ||
====== Sources ====== | ====== Sources ====== |