Whole document tree 5. Build A JavaStation-Ready FileSystemThis chapter describes how one constructs a filesystem suitable for use on the Linux-running JavaStations . 5.1. Preparing Yourself to Build Your Own FilesystemBuilding a filesystem for use with the JavaStations is a time-consuming, but rewarding task for those who undertake it. You will learn more about library dependencies than you ever thought you could, all the time while trying to keep the overall image size as small as possible. WARNING: This is not an easy task. Creating a lasting filesystem is not for novices. If you seriously consider undertaking this step, prepare to budget a bit of time to get things just right, particularly if you plan to make an embedded-root filesystem which fits in the 8MB limit. You have now been properly warned. There are two common approaches one can take when rolling a new JavaStation-ready filesystem.
Which path you take, of course, is entirely up to you. The "rescue disk" build procedure seems to work best though, as more base commands in a rescue disk are statically linked, increasing the starting image size but causing less initial library headaches. Commands included on a rescue disk also happen to be bare-bones, with many extraneous options not compiled in. Obviously when building a filesystem in the context of the JavaStation, you will be basing off of an existing Linux/SPARC filesystem. The filesystems that come with the RedHat, SuSE or Debian distributions are good starting points.
5.2. Contents of the "/etc/fstab" FileThe configuration lines placed into "/etc/fstab" depend on whether you will be using the "NFS-Root" or "Embedded-Root" filesystem configuration. 5.2.1. "NFS-Root" Filesystem fstabHere is an example of an "/etc/fstab" for an "NFS-Root" boot option.
5.2.2. "Embedded-Root" Filesystem fstabHere is an example of an "/etc/fstab" for an "Embedded-Root" boot option.
5.3. The "Embedded-Root" Image Creation ProcedurePrepping up the "Embedded-Root" boot image requires a number of extra steps. Due to these extra steps, the "NFS-Root" filesystem option is recommended for beginners to Linux on the JavaStation. You might also try the samples pointed to in this document. Should you still wish to build and embedded image on your own, this section outlines the basic instructions. Creating the "Embedded-Root" boot image is a 5-Step Procedure:
Congratulations! You've created an "Embedded-Root" kernel/filesystem boot image. 5.4. Sample FileSystemsHere are some sample filesystems for you to start with. They have been contributed by various JavaStation users. Warning: Some of these filesystem images may be considered out of date, and should be avoided in a production environment. It is up to you to decide how much of a liability you feel running them holds. The document author and filesystem contributors cannot be held liable for any damage caused by the use of these files. They are provided with absolutely no warranties. 5.4.1. jsroot_varol_19991221filesystem (md5sum 450669bc5f3f8a4006fdc75471c0454b): http://dubinski-family.org/~jshowto/Files/filesystems/jsroot_varol/jsroot_varol_19991221.tar.bz2 Description: This image, created by Varol Kapton <varol@ulakbim.gov.tr>, was based on RedHat 6/SPARC. It has the Xfree 3.3.5 framebuffer server dated 19990823, but only works with Krups. If you are working with a Mr. Coffee unit, you must substitute the other X server discussed later in this HOWTO. As the network settings included are configured for Varol's network, you must first mount this image, and edit /etc/hosts and /etc/resolv.conf accordingly. Confirmed OK: YES Good for Mr. Coffee: YES Good for Krups: NO Good for Espresso: NO 5.5. Sample X ServersOne of the most frequently asked questions users have is where to get an X server from. Here are some sample X servers for you to start with. They have been contributed by various JavaStation users. Warning: Some of these files may be considered out of date, and should be avoided in a production environment. It is up to you to decide how much of a liability you feel running them holds. The document author and filesystem contributors cannot be held liable for any damage caused by the use of these files. They are provided with absolutely no warranties. 5.5.1. XF86_FBDev_3.3.3.1_19990104X server (md5sum 88b49bbbfa1c36a5049b62b44c54ed81): http://dubinski-family.org/~jshowto/Files/xfree/XF86_FBDev_3.3.3.1_19990104.bz2 XF86Config file (md5sum d9fa291efbd178812b3bd253dffb1893): http://dubinski-family.org/~jshowto/Files/xfree/XF86Config_FBDev_3.3.3.1_19990104.txt Description: This is a server for XFree 3.3.3.1 with support for the framebuffers of Mr. Coffee and Krups. Confirmed OK: YES Good for Mr. Coffee: YES Good for Krups: YES Good for Espresso: NO 5.6. Outside Sample FilesystemsOf course, other filesystems and tools exist outside this document, and have been used by JavaStation users. Here are a few files that were reported on the sparclinux mailing list as having been used. |