|s i s t e m a o p e r a c i o n a l m a g n u x l i n u x||~/ · documentação · suporte · sobre|
This chapter describes how one constructs a filesystem suitable for use on the Linux-running JavaStations .
Building 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.
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.
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 and Debian distributions are good starting points.
The configuration lines placed into "/etc/fstab" depend on whether you will be using the "NFS-Root" or "Embedded-Root" filesystem configuration.
Here is an example of an "/etc/fstab" for an "NFS-Root" boot option.
Here is an example of an "/etc/fstab" for an "Embedded-Root" boot option.
Prepping 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.
Here are some sample filesystems for you to start with. They have been contributed by various JavaStation users. Warning: As of the time of this revision (May 3rd, 2001), these files are now heavily out of date, and may hold older versions of applications that have known security flaws. Use these only as a starting point, not in a production environment! If you'd like to see new versions of filesystems here, please contribute filesystems to include, or eel free to donate the HOWTO author a cheap SPARC system to build one on.
A filesystem image created by Varol Kapton <firstname.lastname@example.org > is at: http://javastation-howto.homeip.net/Files/filesystems/jsroot_varol.tar.gz
This image 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.
Of course, other filesystems and tools exist outside this document, and have been used by JavaStation users. Here are a few that were reported on the sparclinux mailing list as having been used.