<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Install</title><link>https://sourceforge.net/p/atheos/wiki/Install/</link><description>Recent changes to Install</description><atom:link href="https://sourceforge.net/p/atheos/wiki/Install/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 13 Dec 2021 02:52:07 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/atheos/wiki/Install/feed" rel="self" type="application/rss+xml"/><item><title>Install modified by Madison Brooks</title><link>https://sourceforge.net/p/atheos/wiki/Install/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;        INSTALLING ATHEOS
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Even though it was possible to install previous versions of AtheOS on&lt;br/&gt;
a FAT partition the current version must be installed on a native&lt;br/&gt;
(AFS) partition. In the future it will be possible to boot from a native&lt;br/&gt;
FS that is located inside a file on a FAT FS (and other filesystems if&lt;br/&gt;
AtheOS drivers are written for them). I am working on an installer that&lt;br/&gt;
will automate most of the installation but it is not yet finished so&lt;br/&gt;
to install the current version you must write the "atheos-#.#.#.boot.##"&lt;br/&gt;
and "atheos-#.#.#.data.##" floppy images on a set of floppies and boot&lt;br/&gt;
AtheOS from there.  After booting from the floppies you will have a&lt;br/&gt;
shell (BASH) in a terminal emulator. From the shell you can mount&lt;br/&gt;
existing FAT and AFS partitions, create AFS filesystems, and unpack&lt;br/&gt;
the install archive with the "tar" and "gzip" tools included on the&lt;br/&gt;
floppies.&lt;/p&gt;
&lt;p&gt;Here is a step-by-step description on how to make the partition and&lt;br/&gt;
install the OS:&lt;/p&gt;
&lt;p&gt;First you have to write the (currently 3) floppy images to a set of&lt;br/&gt;
floppy disks. From Linux, BeOS, AtheOS, and most other OS's you can do&lt;br/&gt;
this with "dd" from a shell. On Windows you will need a special&lt;br/&gt;
program that can write a raw disk image to a floppy. There is a&lt;br/&gt;
free utility named "rawwrite" that can be used to create the floppies&lt;br/&gt;
under Windows.&lt;/p&gt;
&lt;p&gt;After creating the boot-floppies you should be able to boot AtheOS&lt;br/&gt;
and continue with the installation.&lt;/p&gt;
&lt;p&gt;If you don't already have a partition ready for the AFS filesystem you&lt;br/&gt;
must first create one with the "DiskManager" tool that is included on&lt;br/&gt;
the boot floppies. Just run "DiskManager &amp;amp;" from the shell. The&lt;br/&gt;
partition editor has a fairly self-explanatory GUI where you first&lt;br/&gt;
select the disk to edit and then edit the partitions either&lt;br/&gt;
graphically by dragging the partition indicators or by explicitly&lt;br/&gt;
typing start and end positions for each partition.&lt;/p&gt;
&lt;p&gt;Then you must get access to the archive containing the installation.&lt;br/&gt;
There are several ways to do this. If possible the best way to&lt;br/&gt;
achieve this is to put the base-atheos-#.#.#.tgz file on a FAT&lt;br/&gt;
partition before booting AtheOS and then mount that partition under&lt;br/&gt;
AtheOS. If you don't have a FAT partition and are not able to create&lt;br/&gt;
one you must resort to floppy disks. You must then split the archive&lt;br/&gt;
into files that can fit on a floppy. The simplest way to do this is&lt;br/&gt;
probably to write the segments to raw floppies, but you can also make&lt;br/&gt;
a FAT filesystem on the floppy and put each segment as a normal file&lt;br/&gt;
inside that FS (it will be annoying to mount/copy/unmount all the&lt;br/&gt;
floppies under AtheOS though).&lt;/p&gt;
&lt;p&gt;To mount a FAT partition you must first make a mount-point and then&lt;br/&gt;
mount the right partition. A mount-point is simply a directory and&lt;br/&gt;
can be made with "mkdir". To mount the partition you must first figure&lt;br/&gt;
out what the path is for that partition inside the /dev/ directory&lt;br/&gt;
hierarchy and then mount it with the "mount" command.&lt;/p&gt;
&lt;p&gt;The /dev/ directory in AtheOS is not flat like for example under Linux&lt;br/&gt;
but hierarchical, and the disk block-devices are located under /dev/disk/.&lt;/p&gt;
&lt;p&gt;Currently the only driver available is the BIOS disk-device so all&lt;br/&gt;
disks are located under /dev/disk/bios/ and are named hda, hdb, hdc,&lt;br/&gt;
etc etc.  These disk-names are themselves directories that contain the&lt;br/&gt;
actual device nodes. Under each drive you will find at least one node&lt;br/&gt;
named "raw" that represent the whole disk and if the disk has a valid&lt;br/&gt;
partition table you will find one node for each partition named "0",&lt;br/&gt;
"1", etc etc. So to get the second partition on the third drive you&lt;br/&gt;
will have to write /dev/disk/bios/hdc/1 (partition numbers start at 0).&lt;br/&gt;
The disks are listed in the order they were reported by the BIOS so&lt;br/&gt;
drive 0x80 is hda, 0x81 is hdb and so on.&lt;/p&gt;
&lt;p&gt;In the following example I will assume that the base archive is&lt;br/&gt;
located at /download/atheos-base-0.3.0.tgz on a FAT partition on the&lt;br/&gt;
first partition (0) on the first drive (hda) and that we want to&lt;br/&gt;
install the OS on the second partition (1) on the first drive (still&lt;br/&gt;
hda :).&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;    INSTALLING THE OS FILES
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;First we make a mount-point for the FAT partition and mount it:&lt;/p&gt;
&lt;p&gt;bash-2.03$ mkdir dos&lt;br/&gt;
bash-2.03$ mount /dev/disk/bios/hda/0 dos&lt;/p&gt;
&lt;p&gt;Then we must create and mount the native FS, be 100% sure you select&lt;br/&gt;
the right partition before formatting it (see the fsprobe and devstat&lt;br/&gt;
notes below):&lt;/p&gt;
&lt;p&gt;bash-2.03$ format /dev/disk/bios/hda/1 afs MyAtheOSPartition&lt;br/&gt;
bash-2.03$ mkdir afs&lt;br/&gt;
bash-2.03$ mount /dev/disk/bios/hda/1 afs&lt;/p&gt;
&lt;p&gt;Now we are ready to unpack the base archive to install the FS:&lt;/p&gt;
&lt;p&gt;bash-2.03$ cd /afs&lt;br/&gt;
bash-2.03$ tar -xvpzf /dos/download/atheos-base-0.3.0.tgz&lt;/p&gt;
&lt;p&gt;This should create an "atheos" directory containing well... AtheOS and a&lt;br/&gt;
"boot" directory containing the GRUB bootloader inside the /afs/&lt;br/&gt;
mount-point.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;    CONFIGURING THE BOOTLOADER
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Next step is to configure and install the bootloader.&lt;/p&gt;
&lt;p&gt;First you must tell GRUB where to find the kernel and the required&lt;br/&gt;
disk/FS drivers to load before booting AtheOS. This information is&lt;br/&gt;
found in "/afs/boot/grub/menu.lst". If you have other OS's installed&lt;br/&gt;
on the machine you must either configure GRUB as a boot-manager or&lt;br/&gt;
install another boot-manager that can "chainload" GRUB from the AFS&lt;br/&gt;
partition.&lt;/p&gt;
&lt;p&gt;The menu.lst file should look something like this to boot AtheOS from&lt;br/&gt;
the installation described above:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt; title  AtheOS
 root   (hd0,1)
 kernel /atheos/sys/kernel.so root=/dev/disk/bios/hda/1
 module /atheos/sys/drivers/fs/afs
 module /atheos/sys/drivers/dev/disk/bios
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will tell GRUB to boot partition number 2 on the first drive&lt;br/&gt;
through the "root (hd0,1)" command and where to find the kernel, the&lt;br/&gt;
boot block-device driver and the boot-FS driver on that partition. The&lt;br/&gt;
"root=/dev/disk/bios/hda/1" string after the kernel-path is a parameter&lt;br/&gt;
that is passed to the kernel and tells what partition to mount as&lt;br/&gt;
/boot/ before continue to boot. The kernel can also take a number of&lt;br/&gt;
other parameters (listed below) that are given in the same manner after&lt;br/&gt;
the "root" param.&lt;/p&gt;
&lt;p&gt;If you install AtheOS on the second partition on the first drive the&lt;br/&gt;
default config-file is ok. otherwise you must edit the "root (disk,partition)&lt;br/&gt;
line to fit your setup. If you want to boot other OS's with GRUB you&lt;br/&gt;
must add them to the config file as well. For example to boot BeOS, or&lt;br/&gt;
Windows, or most other OS's that have a bootblock you can use the&lt;br/&gt;
"chainloader" command like this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt; &lt;span class="n"&gt;title&lt;/span&gt; &lt;span class="n"&gt;BeOS&lt;/span&gt;
 &lt;span class="n"&gt;chainloader&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hd0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will add a menu entry titled BeOS that will boot the OS&lt;br/&gt;
found on the fourth partition on the first disk.&lt;/p&gt;
&lt;p&gt;You can also set a timeout for when to boot the first OS in the list&lt;br/&gt;
(or the default as set by the "default" command) with the "timeout"&lt;br/&gt;
command:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt; timeout 5

    INSTALLING THE BOOTLOADER
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;When done editing the config file you must reboot the computer by&lt;br/&gt;
pressing &amp;lt;ctrl&amp;gt;, &amp;lt;alt&amp;gt;, and &lt;del&gt; simultanously (DO NOT HIT THE RESET&lt;br/&gt;
OR POWER BUTTON. THIS WILL CAUSE CACHED DATA THAT HAS NOT YET BEEN&lt;br/&gt;
WRITTEN TO THE DISK TO BE LOST AND THE INSTALLATION TO BE CORUPTED!)&lt;br/&gt;
boot from the floppy disk again to install the bootloader.  This time&lt;br/&gt;
you should abort GRUB before it boot AtheOS by hitting &amp;lt;esc&amp;gt; and then&lt;br/&gt;
hit "C" to enter the GRUB shell from which you can finish the install.&lt;br/&gt;
Now you must decide whether you want to install GRUB in the MBR&lt;br/&gt;
(Master Boot Record) of the first drive and use it as a boot-manager&lt;br/&gt;
(or if AtheOS is the only OS on the machine) or if you want to install&lt;br/&gt;
it on the AFS partition only and use another bootmanager select what&lt;br/&gt;
OS to boot.&amp;lt;/esc&amp;gt;&lt;/del&gt;&amp;lt;/alt&amp;gt;&amp;lt;/ctrl&amp;gt;&lt;/p&gt;
&lt;p&gt;In either case you must tell GRUB where to find the config file and&lt;br/&gt;
the second-stage loader by setting a "root" partition:&lt;/p&gt;
&lt;p&gt;root (hd0,1)&lt;/p&gt;
&lt;p&gt;If you did not install AtheOS on the second partition on the first&lt;br/&gt;
disk you must change the parameters accordingly.&lt;/p&gt;
&lt;p&gt;Then you must install the boot-loader with the "setup" command.&lt;/p&gt;
&lt;p&gt;To install on a MBR of the first drive run:&lt;/p&gt;
&lt;p&gt;setup (hd0)&lt;/p&gt;
&lt;p&gt;To install it on the AFS partition only run:&lt;/p&gt;
&lt;p&gt;setup (hd0,1) (again change the parameters according to your setup)&lt;/p&gt;
&lt;p&gt;Now it should be possible to boot AtheOS off the native partition.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;            NOTE
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;GRUB understands the AFS filesystem and can boot any kernel located on&lt;br/&gt;
an AFS partition by changing the "kernel" line in the config file or&lt;br/&gt;
by manually loading the kernel and required modules from the GRUB&lt;br/&gt;
shell. There is no need to run any tools to update block-lists or&lt;br/&gt;
anything like that after installing new kernels.&lt;/p&gt;
&lt;p&gt;Read the GRUB documentation &lt;a href="http://www.gnu.org/software/grub/grub.html" rel="nofollow"&gt;http://www.gnu.org/software/grub/grub.html&lt;/a&gt;&lt;br/&gt;
and use the "help" command in the GRUB shell for more information on the&lt;br/&gt;
bootloader.&lt;/p&gt;
&lt;p&gt;To edit the config file you can use "jed" which is a easy-to-use text&lt;br/&gt;
editor included on the boot-floppies.&lt;/p&gt;
&lt;p&gt;There is a couple of tools on the floppy that can help you find the&lt;br/&gt;
right partition. To find an existing filesystem you can use "fsprobe".&lt;br/&gt;
"fsprobe" takes a block-device path as it's only parameter and will&lt;br/&gt;
ask each filesystem driver if they recognize the partition and, if one&lt;br/&gt;
of them do, it will print the FS-type, the volume label and some&lt;br/&gt;
size/usage stats. The other tool is "devstat" that also takes a&lt;br/&gt;
block-device path and prints the size and geometry of the disk/partition.&lt;br/&gt;
This can be useful to verify that the partition you are about to format&lt;br/&gt;
is really the one you intend to nuke.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;    ADDITIONAL KERNEL PARAMETERS
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;You can pass various parameters to the kernel at boot-time through the&lt;br/&gt;
GRUB "kernel" line. Normally the only required parameter is&lt;br/&gt;
"root=/dev/disk/&amp;lt;boot-device&amp;gt;" to tell the kernel what FS to boot&lt;br/&gt;
from.  Other parameters can be passed to override autodetected values,&lt;br/&gt;
disable features, etc etc to aid debugging and help AtheOS run under&lt;br/&gt;
"unusual" environments. All the kernel parameters and the general&lt;br/&gt;
rules for passing parameters to the kernel are described in&lt;br/&gt;
"/atheos/Documentation/kernel-parameters.txt".&amp;lt;/boot-device&amp;gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;    HOW TO LOG IN, AND HOW TO ADD NEW USERS
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;AtheOS is a multiuser OS. Before you are able to do anything you will have to&lt;br/&gt;
log in using a user-name and a password. The base-installation comes with two&lt;br/&gt;
predefined users. "root"  with the password "root" is the super-user and has&lt;br/&gt;
unrestricted access to the system. The other user is "guest" with the password&lt;br/&gt;
"guest". This is a normal user. Eventually I will write a GUI based tool for&lt;br/&gt;
adding users and change their attributes. In the meantime you will have to&lt;br/&gt;
add users by manually editing the password file found in /etc/password.&lt;/p&gt;
&lt;p&gt;This files contains one line for each user. Each line looks something like this:&lt;br/&gt;
    guest:$1$$ysap7EeB9ODCr:500:100:Guest account:/home/guest:/bin/bash&lt;br/&gt;
The user description consists of several elements separated by colons (:).&lt;br/&gt;
The elements are: login_name:password:userid:groupid:Full Name:home_dir:login shell&lt;/p&gt;
&lt;p&gt;To add a user you copy the line describing the guest account and change the&lt;br/&gt;
following elements:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="nv"&gt;o&lt;/span&gt; &lt;span class="nv"&gt;The&lt;/span&gt; &lt;span class="nv"&gt;username&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;first&lt;/span&gt; &lt;span class="nv"&gt;field&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;.
  &lt;span class="nv"&gt;o&lt;/span&gt; &lt;span class="nv"&gt;The&lt;/span&gt; &lt;span class="nv"&gt;password&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;second&lt;/span&gt; &lt;span class="nv"&gt;field&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;. &lt;span class="nv"&gt;The&lt;/span&gt; &lt;span class="nv"&gt;password&lt;/span&gt; &lt;span class="nv"&gt;is&lt;/span&gt; &lt;span class="nv"&gt;MD5&lt;/span&gt; &lt;span class="nv"&gt;encrypted&lt;/span&gt; &lt;span class="nv"&gt;and&lt;/span&gt; &lt;span class="nv"&gt;can&lt;/span&gt; &lt;span class="nv"&gt;be&lt;/span&gt;
&lt;span class="nv"&gt;created&lt;/span&gt; &lt;span class="nv"&gt;by&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;crypt&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt; &lt;span class="nv"&gt;utility&lt;/span&gt;:

    &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;crypt&lt;/span&gt; &lt;span class="nv"&gt;mypassword&lt;/span&gt;
    &lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;Password&lt;/span&gt;: &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;$1$$xyAQ/aL.VY49zzXfVYUfK0&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;

&lt;span class="nv"&gt;The&lt;/span&gt; &lt;span class="nv"&gt;crypt&lt;/span&gt; &lt;span class="nv"&gt;utility&lt;/span&gt; &lt;span class="nv"&gt;takes&lt;/span&gt; &lt;span class="nv"&gt;a&lt;/span&gt; &lt;span class="nv"&gt;string&lt;/span&gt; &lt;span class="nv"&gt;as&lt;/span&gt; &lt;span class="nv"&gt;a&lt;/span&gt; &lt;span class="nv"&gt;parameter&lt;/span&gt; &lt;span class="nv"&gt;and&lt;/span&gt; &lt;span class="nv"&gt;prints&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;MD5&lt;/span&gt;
&lt;span class="nv"&gt;encrypted&lt;/span&gt; &lt;span class="nv"&gt;hash&lt;/span&gt; &lt;span class="nv"&gt;that&lt;/span&gt; &lt;span class="nv"&gt;you&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;put&lt;/span&gt; &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;password&lt;/span&gt; &lt;span class="nv"&gt;file&lt;/span&gt;.

  &lt;span class="nv"&gt;o&lt;/span&gt; &lt;span class="nv"&gt;User&lt;/span&gt; &lt;span class="nv"&gt;id&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;third&lt;/span&gt; &lt;span class="nv"&gt;field&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;. &lt;span class="nv"&gt;Each&lt;/span&gt; &lt;span class="nv"&gt;user&lt;/span&gt; &lt;span class="nv"&gt;must&lt;/span&gt; &lt;span class="nv"&gt;have&lt;/span&gt; &lt;span class="nv"&gt;an&lt;/span&gt; &lt;span class="nv"&gt;unique&lt;/span&gt; &lt;span class="nv"&gt;ID&lt;/span&gt;. &lt;span class="nv"&gt;It&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt;
&lt;span class="nv"&gt;be&lt;/span&gt; &lt;span class="nv"&gt;an&lt;/span&gt; &lt;span class="nv"&gt;integer&lt;/span&gt; &lt;span class="nv"&gt;number&lt;/span&gt; &lt;span class="nv"&gt;between&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="nv"&gt;and&lt;/span&gt; &lt;span class="mi"&gt;2147483648&lt;/span&gt;. &lt;span class="nv"&gt;Remember&lt;/span&gt; &lt;span class="nv"&gt;that&lt;/span&gt; &lt;span class="nv"&gt;this&lt;/span&gt;
&lt;span class="nv"&gt;ID&lt;/span&gt; &lt;span class="nv"&gt;will&lt;/span&gt; &lt;span class="nv"&gt;be&lt;/span&gt; &lt;span class="nv"&gt;used&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;identify&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;user&lt;/span&gt; &lt;span class="nv"&gt;throughout&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;system&lt;/span&gt; &lt;span class="nv"&gt;and&lt;/span&gt; &lt;span class="nv"&gt;will&lt;/span&gt;
&lt;span class="nv"&gt;be&lt;/span&gt; &lt;span class="nv"&gt;embedded&lt;/span&gt; &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;every&lt;/span&gt; &lt;span class="nv"&gt;file&lt;/span&gt; &lt;span class="nv"&gt;owned&lt;/span&gt; &lt;span class="nv"&gt;by&lt;/span&gt; &lt;span class="nv"&gt;this&lt;/span&gt; &lt;span class="nv"&gt;user&lt;/span&gt;. &lt;span class="nv"&gt;You&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;be&lt;/span&gt; &lt;span class="nv"&gt;very&lt;/span&gt;
&lt;span class="nv"&gt;careful&lt;/span&gt; &lt;span class="nv"&gt;not&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;change&lt;/span&gt; &lt;span class="nv"&gt;it&lt;/span&gt; &lt;span class="nv"&gt;after&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;user&lt;/span&gt; &lt;span class="nv"&gt;is&lt;/span&gt; &lt;span class="nv"&gt;created&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;

  &lt;span class="nv"&gt;o&lt;/span&gt; &lt;span class="nv"&gt;Group&lt;/span&gt; &lt;span class="nv"&gt;ID&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;fourth&lt;/span&gt; &lt;span class="nv"&gt;field&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;. &lt;span class="nv"&gt;This&lt;/span&gt; &lt;span class="nv"&gt;ID&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;correspond&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;one&lt;/span&gt; &lt;span class="nv"&gt;of&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt;
&lt;span class="nv"&gt;user&lt;/span&gt; &lt;span class="nv"&gt;groups&lt;/span&gt; &lt;span class="nv"&gt;defined&lt;/span&gt; &lt;span class="nv"&gt;in&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nv"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nv"&gt;group&lt;/span&gt;. &lt;span class="nv"&gt;You&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;normally&lt;/span&gt; &lt;span class="nv"&gt;leave&lt;/span&gt; &lt;span class="nv"&gt;this&lt;/span&gt;
&lt;span class="nv"&gt;unchanged&lt;/span&gt;.

  &lt;span class="nv"&gt;o&lt;/span&gt; &lt;span class="nv"&gt;User&lt;/span&gt; &lt;span class="nv"&gt;name&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;fifth&lt;/span&gt; &lt;span class="nv"&gt;field&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;. &lt;span class="nv"&gt;This&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;be&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;full&lt;/span&gt; &lt;span class="nv"&gt;name&lt;/span&gt; &lt;span class="nv"&gt;of&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;new&lt;/span&gt; &lt;span class="nv"&gt;user&lt;/span&gt;.

  &lt;span class="nv"&gt;o&lt;/span&gt; &lt;span class="nv"&gt;Home&lt;/span&gt; &lt;span class="nv"&gt;directory&lt;/span&gt; &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;sixth&lt;/span&gt; &lt;span class="nv"&gt;field&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;. &lt;span class="nv"&gt;This&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;be&lt;/span&gt; &lt;span class="nv"&gt;a&lt;/span&gt; &lt;span class="nv"&gt;path&lt;/span&gt; &lt;span class="nv"&gt;pointing&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;new&lt;/span&gt;
&lt;span class="nv"&gt;user&lt;/span&gt;&lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;s home directory. This is where user-specific configurations&lt;/span&gt;
&lt;span class="nv"&gt;are&lt;/span&gt; &lt;span class="nv"&gt;kept&lt;/span&gt;.
&lt;span class="nv"&gt;The&lt;/span&gt; &lt;span class="nv"&gt;home&lt;/span&gt; &lt;span class="nv"&gt;directory&lt;/span&gt; &lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;normally&lt;/span&gt; &lt;span class="nv"&gt;be&lt;/span&gt; &lt;span class="nv"&gt;named&lt;/span&gt; &lt;span class="nv"&gt;after&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;login&lt;/span&gt; &lt;span class="nv"&gt;name&lt;/span&gt;. &lt;span class="nv"&gt;You&lt;/span&gt;
&lt;span class="nv"&gt;should&lt;/span&gt; &lt;span class="nv"&gt;copy&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;guest&lt;/span&gt; &lt;span class="nv"&gt;homedir&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;get&lt;/span&gt; &lt;span class="nv"&gt;a&lt;/span&gt; &lt;span class="nv"&gt;basic&lt;/span&gt; &lt;span class="nv"&gt;configuration&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;new&lt;/span&gt;
&lt;span class="nv"&gt;user&lt;/span&gt;. &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;cp&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nv"&gt;a&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nv"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nv"&gt;guest&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nv"&gt;home&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nv"&gt;kurt&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This example shows a user with the following properties:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;Login name: kurt
Full name:  Kurt Skauen
Password:   mypassword
User ID:    501
Group ID:   100
Home directory: /home/kurt
Shell:      /bin/bash

kurt:$1$$xyAQ/aL.VY49zzXfVYUfK0:501:100:Kurt Skauen:/home/kurt:/bin/bash



    INSTALLING OPTIONAL SOFTWARE PACKAGES
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;When you get the thing to boot, you can start installing the different optional&lt;br/&gt;
packages. To install a package you simply start a shell, become root (su -l) and&lt;br/&gt;
go into the /usr/ directory and unpack the tarball with a command like this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&amp;gt;tar -xvpzf /atheos/packages/emacs-19.34.bin.tgz
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Then you must run "pkgmanager -a /usr/packagedir" to register the package&lt;br/&gt;
with the system. To register emacs run the following:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&amp;gt;pkgmanager -a /usr/emacs
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;This will make a bunch of symlinks in various subdirectories of&lt;br/&gt;
/atheos/autolnk/ to make it possible for the system to find&lt;br/&gt;
executables and other files belonging to the package.&lt;/p&gt;
&lt;p&gt;Voila you should now have the new package installed.&lt;/p&gt;
&lt;p&gt;If you want to uninstall the package again you should clean out&lt;br/&gt;
the symbolic links from /atheos/autolnk/ by running:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&amp;gt;pkgmanager -r /usr/emacs
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;before deleting the actual package directory itself:&lt;/p&gt;
&lt;p&gt;rm -R /usr/emacs (BE CAREFUL!).&lt;/p&gt;
&lt;p&gt;Please note that this way of installing software should ONLY BE USED&lt;br/&gt;
FOR COMMAND LINE APPLICATIONS AND APPLICATIONs PORTED TO ATHEOS FROM&lt;br/&gt;
UNIX AND OTHER OS's USING A UNIX LIKE FILESYSTEM. Native applications&lt;br/&gt;
should use the various mechanism available in AtheOS for making the&lt;br/&gt;
application "position independent" so it can be installed anywhere on&lt;br/&gt;
the HD. This mechanism include the option of opening files using paths&lt;br/&gt;
relative to the location of the executable file (and to obtain the&lt;br/&gt;
path to the directory where the binary lives) and the ability to embed&lt;br/&gt;
resources within the executable image itself.&lt;/p&gt;
&lt;p&gt;Remember that AtheOS is a multiuser OS and that you often must be&lt;br/&gt;
"root" in order to install new software packages. You become root by&lt;br/&gt;
typing "su -l" in a shell and then type the "root" password (Default&lt;br/&gt;
password is "root").&lt;/p&gt;
&lt;p&gt;If you want a backdrop image on your desktops you can put a jpeg&lt;br/&gt;
image at: /system/backdrop.jpg (This will soon be configurable) and&lt;br/&gt;
restart the desktop manager (kill_all -TERM desktop; desktop &amp;amp;). The&lt;br/&gt;
image will be tiled if it is smaller than the desktop, and clipped if&lt;br/&gt;
it is larger.&lt;/p&gt;
&lt;p&gt;If you have problems with the installation you might want to take a look&lt;br/&gt;
at the FAQ or subscribe to the mailing-list and/or read the list-archive.&lt;br/&gt;
Both the FAQ and the mailing-list can be found at &lt;a href="https://atheos.sourceforge.net" rel="nofollow"&gt;https://atheos.sourceforge.net&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Good luck with the installation.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Madison Brooks</dc:creator><pubDate>Mon, 13 Dec 2021 02:52:07 -0000</pubDate><guid>https://sourceforge.net6599bc551721b353eb1686507afe840b63313c28</guid></item></channel></rss>