Solved

Diskless Linux workstation

Posted on 1998-01-19
2
231 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 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

27 Experts available now in Live!

Get 1:1 Help Now