No Hard Drive Network
No Hard Drive Network
No Hard Drive Network
Table of Contents
Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
http://www.instructables.com/id/No-hard-drive-network/
Author:Computothought Computothought
Re-purposer, computerist, unchef, and pretend musician.
http://computothought.wordpress.com
http://www.twitter.com/computothought
It’s an idea as old as the hills – at least for hills that have been around since the 1970?s. The concept is that of a Diskless Workstation. That is, a workstation running
an operating system with no drives of any kind. This idea was very popular in University and research environments as much as 40 years ago.
You need a cdrom of Knoppix. You can download it from www.distrowatch.com . You need a working system long enough to burn the cd-rom. I carry mine with my cd all
the time, so I do not have to look for a machine to prepare one.
The basic prerequisites for this wonder of technology and network protocols are these:
1. A network based file system (NFS) – so you could store file in a persistent way,
2. A network based authentication and authorization system. Popular was YP (yellow Pages) and NIS (Network Information Systems). You need this to prove that
you are who you say you are.
Of course none of this would happen without a bunch of really smart people who had the vision for this concept and a bunch of technical folks who could make it happen.
In many cases those two groups of people were the same. In many cases, those folks were at Stanford University, MIT, and other major universtiy and research
institutions. Have you heard of SUN Microsystems? Stanford University Networking – that is the roots of that corporation.
http://www.instructables.com/id/No-hard-drive-network/
Step 2: Preparation part one.
You probably never noticed it, most modern PC and laptops have the ability to boot an operating system over the network – probably didn’t know that – did you? Well,
they can.
This feature on many PC’s is PXE (“pixie”) – Pre eXecution Environment
You can check you PC system BIOS on your laptop or desktop PC to see if you have this capability. Here is how to do it.
Enter the appropriate key when you turn on your PC to enter the BIOS setup screen.
Here is our setup. The PC on the left will be our boot server. The PC on the right will be our diskless workstation and we’ll network boot that baby to show you how it
works. Unlike Cold Fusion, you should be able to replicate our experiment at your home with very little trouble and get the same results.
1. Two PC’s that are both capable of running KNOPPIX with one of those PC’s capable of booting from its Network adapter. Most modern PC’s will have this
capability.
2. A network comprised of the two PC’s. We will make a network with a hub and two network cables. You can alternately use a special “cross-over” cable that
would let you connect the two PC’s without a hub or switch – but we will assume you don’t have that. Most likely you have a hub or switch – so we will use that
and a couple of ordinary network cables
Preparation
1. Set one of the PC’s to boot from the Network. Use whatever your BIOS requires to change the boot order to put the Network adapter ahead of all the other
boot devices. Don’t worry, if the network boot server is not available when your PC tries to boot in the normal manner – from the hard drive. Your PC will cycle
through all the other bootable devices until it finds some device it can boot from – usually your hard drive. We have set the PC on the right to boot from its
network adpater.
2. Network connect the 2 PC’s to the private network using the hub and two cables . Just plug the cables into into each PC and then into the hub – its as easy
as that.
3. Find the vendor and model of the network adapter on the diskless workstation PC. This is very important. One of these PC’s will act as the boot server.
The other PC will act as the diskless workstation. On the diskless workstation boot that machine into windows as normal and note the vendor, model, and type of
the network adapter. You can find this as follows. Right-click MyConputer -> Properties -> Device Manger -> expand Network Adapters and write down what you
see.
For our diskless workstation PC (the Compaq) we found we have a RealTek RTL-8139 Fast Ethernet adapter. it is very important that you know this piece of
information.
As a final check use the KNOPPIX live CD and make sure each of the PC’s will boot from the CD and are fully functional – especially the network card. Note any special
boot parameters you need for Knoppix. We will assume that ther are none.
Note:
Set all but one machine to set to boot to pxe boot. This will vary from system to system. To do this you usally need to go into the bios and set the nic (network interface
card or port) and set it to the first boot device.
You will also need to disable any settings for hard drives, floppys. or cd-roms (except for the system with the cdrom.
http://www.instructables.com/id/No-hard-drive-network/
Step 3: Preparation part two.
Boot the cd-rom system with the knoppix cd-rom.
“Pixie” (PXE)
1. We have PC’s that are both capable of booting KNOPPIX from the Live-CD
2. One PC is the boot server
3. The other PC's are capable of booting off the network device and you have changed the BIOS boot order to put the Network device at the top of this list.
4. Both PC’s are connected to a simple network using a hub and a couple of network cables.
1. Place the KNOPPIX live CD in the drive of the PC acting at the boot server.
2. Boot that PC into KNOPPIX
3. Once KNOPPIX is fully booted choose to start the KNOPPIX terminal Server
Once you start the Terminal Server program it will ask you a bunch of questions. You can take almost all the default answers.
Now the set up process is going to ask you some questions about the network.
Choose your network adapter from the list. If you can’t find your network adapter here – you are kinda out of luck – sorry. We are in luck.
1. Next, make sure the network card of the TARGET PC is checked in the list
2. Next you are presented with some security options – take the defaults
3. Next boot options for the target PC. We assume there are none.
4. Finally, choose Yes to start the terminal server
Optional
1. You can start the syslog to watch your terminal server: Penguin-> “Start SYSLOG”
2. You can also start WireShark to watch all the ethernet traffic: K -> Internet WireShark (as root) Network Analyzer
At this point the Terminal Server (boot server) should be running and waiting for requests from Diskless Workstations.
http://www.instructables.com/id/No-hard-drive-network/
File Downloads
The Pixie Experiment ??? Going Diskless with??Linux ?? frrl.wordpress.com.pdf ((612x5622) 8 MB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'The Pixie Experiment ??? Going Diskless with??Linux ?? frrl.wordpress.com.pdf']
kpxeboot (6 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'kpxeboot']
Step 4: Boot me.
Boot the Diskless Workstation
Here is the moment of truth. Turn on the other PC. If everything goes right, if the O-rings did not freeze in the coolness of the early morning, you should see something
like this (reference to NASA shuttle craft disaster of the 1980's).
The PC Pre eXecution Environment has done a broadcast to find a boot server, the boot server has answered. DHCP has assigned an address. An executable image is
about to be transferred by a Tiny version of FTP.
The executable image is coming across the network
The image has been transferred and now control is passed to that image
Note the Terminal server Client has started – now the boot sequence continues as normal. If you need to enter special boot parameters – do that now. We have none,
we hit the enter key and we are off and running booting the diskless PC from the KNOPPIX executable which was transferred from the boot server to this workstation
over the network. Knoppix resides completely in RAM.
And, if you had WireShark running on the boot server you can see all the detail.
http://www.instructables.com/id/No-hard-drive-network/
Step 5: Start up.
Boot the clients if you have not already done so. The faster the network the better. 100m cards will work but using 1g cards and switches is better. I would recommend
doing this with only one or two clients first to get the gist of it. You should be in business. If you have any questions, please feel free to ask. if for some reason all you
have is just two computers and no switch, you can use a cross over cable. You can make one or get a cable and adapter at most decent electronic stores.
Related Instructables
Almost free
computers or
Another almost Using Thin
PXE Network Reuses for Harddiskless Clients with
PC (personal free computers
Boot by legacy web server. by Debian linux. by
computer) into a wingeekkid thin client set
up. by computers. Computothought Computothought
sort of thin
Computothought (Photos) by
client. by
Computothought
Computothought
http://www.instructables.com/id/No-hard-drive-network/