Solved

Diskless Linux workstation

Posted on 1998-01-19
2
252 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

705 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