Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to setup SWAP partition for diskless client



> 
> How do I set up the SWAP partition for a Linux diskless client using a Linux
> server's diskspace?  Thanks.
> 
You need a special kernel patch to do so. At the moment i've 
forgotten where to get it, look at the etherboot3.2 documentation.

Then, you can create a swapfile on the client's root partition with
dd if=/dev/zero of=/SWAPFILE bs=1k count=20000 
(for a 20 MB swap file).

Then you should do a mkswap /SWAPFILE <filesize> and put a
swapon in the system start scripts of your client.

Again, you need the NFS swap kernel patch to do so.


-- 
+-------------------------------------------------------------------+
| Karsten Brinkmann, ORGA Kartensysteme GmbH                        |
| An der Kapelle 2, 33104 Paderborn                                 |
| Tel: +49 +5254 991-828 Fax: +49 +5251 991-749 Email: kbr@orga.com |
+-------------------------------------------------------------------+



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.