mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2005-08-14, 23:51   #1
Mike_in_RI
 
Feb 2005

2 Posts
Default diskless linux OS?

Hey there :) I have been running prime for awhile now under windows but would love to convert to linux to use all my PCs. I have read the posts here but find them hard to use being a novice linux user. I have tried redhat 9 and a couple other OS but haven't a clue to the programing once the os is running on "1" machine. Is anyone out there with a diskless linux network running prime that can give me details on setup with needing a programming degree? :) Or is there a simple server all ready programmed that I can start pluggin in pcs over a hub or router?
Mike_in_RI is offline   Reply With Quote
Old 2005-08-16, 10:46   #2
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default

If you have two machines each with their own hard disk and connected by ethernet, then the easiest way to get started is to install the same Linux distribution on both and use the configuration tools from that distribution to set up the network. You need to at least be able to copy files from one machine to the other using tar.

Once you have things running as you like, copy the filesystem from the client machine to a directory on the server's hard disk and expose that directory to nfs mounts by adding an entry in the server's /etc/exports file and running exportfs. Then create a new lilo boot entry with the boot option root=/dev/nfs instead of root=/dev/hda or similar (but keep the old entry active too in case it doesn't work), and change the root entry in the client's /etc/fstab to perform an nfs mount instead of mounting the harddisk. Reboot the client and it will be running diskless.

To complete the process you need to either copy the client kernel image to a floppy and boot using syslinux or similar (assuming the kernel will fit on a floppy), or set up bootp and tftp services on the server and boot from the network. How you do that will depend a lot on your hardware, but if the client doesn't have a BIOS option to boot from the network device then you can put an etherboot ROM (see http://rom-o-matic.net/) onto a floppy instead.

This is not a step by step guide, I don't really remember exactly what I did or what order I did it in. You may need to recompile the kernel to add some capabilities if they are not included by default, the main ones are nfs-server (for the server kernel) and nfs-client, root-on-nfs, bootp for the client. There are many other ways to do it and different software to choose from, but I found bootp by far the easiest bootserver to set up, and nfs is built into the Linux kernel and should be ready to go in most distributions. Once you have made one diskless client, you will easily be able to add others just by adding entries to /etc/bootptab, /etc/hosts, etc.
geoff is offline   Reply With Quote
Old 2006-12-11, 01:23   #3
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

350710 Posts
Default

Similar question:

Xyzzy(I think that's how his name is spelled) told me that if all I wanted to do with a computer is run DC, that it was possible to get a small thumb drive and run it off of that using Linux. Mind you, Bill Gates has me under his thumb on my main computer. The secondary computer(and, hopefully, later a third, diskless computer) is only for crunching. I have a 128MB thumb drive my Dad gave me, and absolutely no idea what to do next.

I'm not a total dunce when it comes to computers, so I'd like to suggest sr5sieve(the base-5 sieving program in the base-5 forum) as a first attempt. I'm thinking looking up "Live CD creation" or some such would be what I need, but I'm hoping you guys have a better idea as to where I could go, or what I could look up.
jasong is offline   Reply With Quote
Old 2006-12-13, 16:47   #4
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

71328 Posts
Default

http://www.damnsmalllinux.org/ The FAQ might relevant to you. Bear in mind the limitations of "USB space" when considering your number crunching applications. Also, I have heard that some USB sticks can wear out with many, many writes; So backup accordingly. HTH
paulunderwood is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
64-bit CD or DVD Linux henryzz Linux 15 2008-06-29 12:30
Should a diskless node run it's own ecm program or should I combine them somehow? jasong GMP-ECM 1 2006-02-24 08:34
Diskless Boot For Windows louis_net Software 14 2004-11-18 12:18
Linux Drooling_Sheep Software 8 2003-11-22 05:50
Diskless client setup? dans Hardware 4 2003-09-15 16:04

All times are UTC. The time now is 23:23.

Fri May 14 23:23:09 UTC 2021 up 36 days, 18:04, 0 users, load averages: 2.60, 2.02, 1.97

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.