Solved

Diskless Linux workstation

Posted on 1998-01-19
2
226 Views
Last Modified: 2010-03-18
I need to boot a 386 into Linux using only a floppy.  I have a Linux server running Slackware and kernel 2.0.33.  I have support for RARP compiled into the server's kernel.  Does someone out there have a step by step guide to doing this?  I need details b/c I have never worked a lot with the kernel and booting, I have normally just used lilo.
0
Comment
Question by:Hosehead
2 Comments
 
LVL 1

Accepted Solution

by:
XMS earned 390 total points
ID: 1587406
1) If you want to use your 386 as a complete Linux machine, you need to set up a root filesystem for it on the server, which will be accessed by NFS. See /usr/src/linux/Documentation/nfsroot.txt for a step-by-step explanation how to do it.

2) If you want to use the 386 as a telnet client and connect to the server on a shell account, you can stuff everything you need on a 1.44 meg floppy.
You can do this easily by using an old RedHat 4.2 bootdisk. It has a DOS FAT filesystem which contains the LDLINUX.SYS loader, a kernel (VMLINUZ) and a compressed (gzip) 2-meg ext2 filesystem (INITRD.IMG) that gets loaded into a ramdisk at boot time.
Just copy (mcopy) IMITRD.IMG to a directory on your hard disk, gunzip it, mount it as a loopback device, remove all unnecessary files, install a statically linked version of telnet, edit the startup scripts to automatically launch a telnet session to the server at startup, then umount it, gzip it at maximum compression level (gzip -9) and mcopy it back to the disk.
I used this dirty hack at a site to make network-bootable images and it worked great.

Good luck.

0
 

Expert Comment

by:spjuver
ID: 1587407
For me it was not enough with the /usr/src/linux/Documentation/nfsroot.txt file.

The whole situation is described better in the packages:
netboot-nfs.tar.gz
etherboot-3.1.tar.gz

There it is also described how you can boot a diskless dos-bucket.
I tried it on my old 286.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now