Differences between version 6 and previous revision of NFSRoot.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Saturday, July 12, 2003 4:27:39 pm | by DanielLawson | Revert |
Older page: | version 5 | Last edited on Saturday, July 12, 2003 1:54:53 pm | by DanielLawson | Revert |
@@ -58,20 +58,22 @@
# diskless-newimage
Follow the instructions - the defaults are probably good enough
-
-This has created the basic nfsroot filesystem for you. Now you must create a newhost using this image (this allows you ot have per-host settings for hostname etc). Use:
-
- # diskless-newhost /path/to/deskless/root <ip address of host>
NOTE: if you want to add things to your diskless image first, this is a good time to do it
chroot /var/lib/diskless/default/root
This puts you in a chroot jail inside the diskless image. You can use apt-get update and apt-get install to add new packages. EG, I added devfsd support here.
+
+As this is effectivly a debian install which has only done the first reboot, you may wish to finish the install. Inside the chroot run /usr/sbin/base-config and run as usual.
Also, if you want to change the template files for /etc on your diskless machines, you can do that here. Edit /usr/lib/diskless-image/template/etc/<file> inside the chroot appropriately, before you run diskless-newhost
Note: the templates reside in the above path *inside* the chroot, or else look in /var/lib/diskless/default/root/usr/lib/diskless-image/template/etc/<file>
+
+You now have a basic nfsroot filesystem. Now you must create a newhost using this image (this allows you to have per-host settings for hostname etc). Use:
+
+ # diskless-newhost /path/to/deskless/root <ip address of host>
! Set up the kernel for your nfsroot
If you made a debian kernel-package, copy it to /var/lib/diskless/default/root/root (or wherever you put your default image), then chroot to /var/lib/diskless/default/root, and run dpkg -i root/kernel-image.....