Solved

Diskless Linux workstation

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

735 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