Subject: Installing Linux for dummies ;-)

From: Jan Magnussen <[email-masked]>
Date: Thu, 21 May 1998 16:51:07 +0200

Hi

This little guide explains (in dummy terms?) how to install ArmLinux.
It is assumed, that the harddisk is already partitioned with a valid ADFS
formatted hda1 with at least 80MB free, and a Linux compatible partition
table, created by PartMan.
Is is also assumed, that you are in possession of the ARMLinux binaries:
mv, cp and ln.
Here is what to do:
Copy the RedHat/base files to your ADFS hdd as RedHat/base/*
Copy the RedHat/RPMS files to your ADFS hdd as RedHat/RPMS/0-4/* ie:
  RedHat/RPMS/0/*
  RedHat/RPMS/1/*
  .
  .
  RedHat/RPMS/4/*
  Make sure that no rpms overwrite each other if the files are truncated.
Copy cp, ln and mv-binaries to msdos-floppy
Copy maketree, linkbase and linkrpms to msdos-floppy
Copy kernel to msdos-floppy as vmlinux or copy it to the ADFS hdd as vmlinux
Start linux with <Linux$Dir>.!Run -bootkernel <path to your kernel>
Follow installation until both Root and Supplemental disk is loaded.
Press Alt-F2
Type:
mknod /dev/fd0 b 2 0
mknod /dev/hda1 b 3 1
mknod /dev/hda3 b 3 3
mount -t msdos /dev/fd0 /fd0
mount -t adfs /dev/hda1 /hda1
mke2fs /dev/hda3
mount -t ext2 /dev/hda3 /hda3
cd /fd0
PATH=$PATH:.
cp mv /bin/
cp ln /bin/
cp maketree /
cp link* /
cd
maketree
linkbase
linkrpms
cd
umount /fd0
umount /hda3
Alt+F1
Follow installation as if you have copied the installation files to the root
  of /dev/hda3.
Do *NOT* format hda3 when asked.

------ linkbase ------

cd /hda1/RedHat/base
for i in *; do ln -s /hda1/RedHat/base/$i /hda3/RedHat/base/$i; done
cd /hda3/RedHat/base
mv skeleton.c skeleton.cgz
cd

------ linkrpms ------

cd /hda1/RedHat/RPMS/0
for i in *; do ln -s /hda1/RedHat/RPMS/0/$i /hda3/RedHat/RPMS/$i.rpm; done
cd /hda1/RedHat/RPMS/1
for i in *; do ln -s /hda1/RedHat/RPMS/1/$i /hda3/RedHat/RPMS/$i.rpm; done
cd /hda1/RedHat/RPMS/2
for i in *; do ln -s /hda1/RedHat/RPMS/2/$i /hda3/RedHat/RPMS/$i.rpm; done
cd /hda1/RedHat/RPMS/3
for i in *; do ln -s /hda1/RedHat/RPMS/3/$i /hda3/RedHat/RPMS/$i.rpm; done
cd /hda1/RedHat/RPMS/4
for i in *; do ln -s /hda1/RedHat/RPMS/4/$i /hda3/RedHat/RPMS/$i.rpm; done
cd

------ maketree ------

mkdir /hda3/RedHat
mkdir /hda3/RedHat/RPMS
mkdir /hda3/RedHat/base

----------------------

Remember to read the FAQ about installing the kernel (Look for question:
  Where are the kernel and kernel-module packages?)
I will mail the binaries to whoever will need them, or maybe they can be put
on the ARMLinux-site (Russel?) for people to download them.

Regards,

Jan Magnussen
http://www.kom.auc.dk/~janm
Fidonet : 2:234/181.8

unsubscribe: body of `unsubscribe linux-arm' to [email-masked]