add directory distributions
This commit is contained in:
BIN
distributions/MCC/dos-utils.tar.gz
Normal file
BIN
distributions/MCC/dos-utils.tar.gz
Normal file
Binary file not shown.
BIN
distributions/MCC/dos-utils/dparam.com
Normal file
BIN
distributions/MCC/dos-utils/dparam.com
Normal file
Binary file not shown.
182
distributions/MCC/dos-utils/rawrite.c
Normal file
182
distributions/MCC/dos-utils/rawrite.c
Normal file
@@ -0,0 +1,182 @@
|
||||
/*
|
||||
rawrite.c Write a binary image to a 360K diskette.
|
||||
By Mark Becker
|
||||
|
||||
Usage:
|
||||
MS-DOS prompt> RAWRITE
|
||||
|
||||
And follow the prompts.
|
||||
|
||||
History
|
||||
-------
|
||||
|
||||
1.0 - Initial release
|
||||
1.1 - Beta test (fixing bugs) 4/5/91
|
||||
Some BIOS's don't like full-track writes.
|
||||
1.101 - Last beta release. 4/8/91
|
||||
Fixed BIOS full-track write by only
|
||||
writing 3 sectors at a time.
|
||||
1.2 - Final code and documentation clean-ups. 4/9/91
|
||||
*/
|
||||
#include <alloc.h>
|
||||
#include <bios.h>
|
||||
#include <ctype.h>
|
||||
#include <dir.h>
|
||||
#include <dos.h>
|
||||
#include <io.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define FALSE 0
|
||||
#define TRUE (!FALSE)
|
||||
|
||||
#define SECTORSIZE 512
|
||||
|
||||
#define RESET 0
|
||||
#define LAST 1
|
||||
#define READ 2
|
||||
#define WRITE 3
|
||||
#define VERIFY 4
|
||||
#define FORMAT 5
|
||||
|
||||
int done;
|
||||
|
||||
/*
|
||||
Catch ^C and ^Break.
|
||||
*/
|
||||
int handler(void)
|
||||
{
|
||||
done = TRUE;
|
||||
return(0);
|
||||
}
|
||||
void msg(char (*s))
|
||||
{
|
||||
fprintf(stderr, "%s\n", s);
|
||||
_exit(1);
|
||||
}
|
||||
/*
|
||||
Identify the error code with a real error message.
|
||||
*/
|
||||
void Error(int (status))
|
||||
{
|
||||
switch (status) {
|
||||
case 0x00: msg("Operation Successful"); break;
|
||||
case 0x01: msg("Bad command"); break;
|
||||
case 0x02: msg("Address mark not found"); break;
|
||||
case 0x03: msg("Attempt to write on write-protected disk"); break;
|
||||
case 0x04: msg("Sector not found"); break;
|
||||
case 0x05: msg("Reset failed (hard disk)"); break;
|
||||
case 0x06: msg("Disk changed since last operation"); break;
|
||||
case 0x07: msg("Drive parameter activity failed"); break;
|
||||
case 0x08: msg("DMA overrun"); break;
|
||||
case 0x09: msg("Attempt to DMA across 64K boundary"); break;
|
||||
case 0x0A: msg("Bad sector detected"); break;
|
||||
case 0x0B: msg("Bad track detected"); break;
|
||||
case 0x0C: msg("Unsupported track"); break;
|
||||
case 0x10: msg("Bad CRC/ECC on disk read"); break;
|
||||
case 0x11: msg("CRC/ECC corrected data error"); break;
|
||||
case 0x20: msg("Controller has failed"); break;
|
||||
case 0x40: msg("Seek operation failed"); break;
|
||||
case 0x80: msg("Attachment failed to respond"); break;
|
||||
case 0xAA: msg("Drive not ready (hard disk only"); break;
|
||||
case 0xBB: msg("Undefined error occurred (hard disk only)"); break;
|
||||
case 0xCC: msg("Write fault occurred"); break;
|
||||
case 0xE0: msg("Status error"); break;
|
||||
case 0xFF: msg("Sense operation failed"); break;
|
||||
}
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
/*
|
||||
Identify what kind of diskette is installed in the specified drive.
|
||||
Return the number of sectors per track assumed as follows:
|
||||
9 - 360 K and 720 K 5.25".
|
||||
15 - 1.2 M HD 5.25".
|
||||
18 - 1.44 M 3.5".
|
||||
*/
|
||||
int nsects(int (drive))
|
||||
{
|
||||
static int nsect[] = {18, 15, 9};
|
||||
|
||||
char *buffer;
|
||||
int i, status;
|
||||
/*
|
||||
Read sector 1, head 0, track 0 to get the BIOS running.
|
||||
*/
|
||||
buffer = (char *)malloc(SECTORSIZE);
|
||||
biosdisk(RESET, drive, 0, 0, 0, 0, buffer);
|
||||
status = biosdisk(READ, drive, 0, 10, 1, 1, buffer);
|
||||
if (status == 0x06) /* Door signal change? */
|
||||
status = biosdisk(READ, drive, 0, 0, 1, 1, buffer);
|
||||
|
||||
for (i=0; i < sizeof(nsect)/sizeof(int); ++i) {
|
||||
biosdisk(RESET, drive, 0, 0, 0, 0, buffer);
|
||||
status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer);
|
||||
if (status == 0x06)
|
||||
status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer);
|
||||
if (status == 0x00) break;
|
||||
}
|
||||
if (i == sizeof(nsect)/sizeof(int)) {
|
||||
msg("Can't figure out how many sectors/track for this diskette.");
|
||||
}
|
||||
free(buffer);
|
||||
return(nsect[i]);
|
||||
}
|
||||
|
||||
void main(void)
|
||||
{
|
||||
char fname[MAXPATH];
|
||||
char *buffer, *pbuf;
|
||||
int count, fdin, drive, head, track, status, spt, buflength, ns;
|
||||
|
||||
puts("RaWrite 1.2 - Write disk file to raw floppy diskette\n");
|
||||
ctrlbrk(handler);
|
||||
printf("Enter source file name: ");
|
||||
scanf("%s", fname);
|
||||
_fmode = O_BINARY;
|
||||
if ((fdin = open(fname, O_RDONLY)) <= 0) {
|
||||
perror(fname);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
printf("Enter destination drive: ");
|
||||
scanf("%s", fname);
|
||||
drive = fname[0];
|
||||
drive = (islower(drive) ? toupper(drive) : drive) - 'A';
|
||||
printf("Please insert a formatted diskette into ");
|
||||
printf("drive %c: and press -ENTER- :", drive + 'A');
|
||||
while (bioskey(1) == 0) ; /* Wait... */
|
||||
if ((bioskey(0) & 0x7F) == 3) exit(1); /* Check for ^C */
|
||||
putchar('\n');
|
||||
done = FALSE;
|
||||
/*
|
||||
* Determine number of sectors per track and allocate buffers.
|
||||
*/
|
||||
spt = nsects(drive);
|
||||
buflength = spt * SECTORSIZE;
|
||||
buffer = (char *)malloc(buflength);
|
||||
printf("Number of sectors per track for this disk is %d\n", spt);
|
||||
printf("Writing image to drive %c:. Press ^C to abort.\n", drive+'A');
|
||||
/*
|
||||
* Start writing data to diskette until there is no more data to write.
|
||||
*/
|
||||
head = track = 0;
|
||||
while ((count = read(fdin, buffer, buflength)) > 0 && !done) {
|
||||
pbuf = buffer;
|
||||
for (ns = 1; count > 0 && !done; ns+=3) {
|
||||
printf("Track: %02d Head: %2d Sector: %2d\r", track, head, ns);
|
||||
status = biosdisk(WRITE, drive, head, track, ns, 3, pbuf);
|
||||
|
||||
if (status != 0) Error(status);
|
||||
|
||||
count -= (3*SECTORSIZE);
|
||||
pbuf += (3*SECTORSIZE);
|
||||
}
|
||||
if ((head = (head + 1) & 1) == 0) ++track;
|
||||
}
|
||||
if (eof(fdin)) {
|
||||
printf("\nDone.\n");
|
||||
biosdisk(2, drive, 0, 0, 1, 1, buffer); /* Retract head */
|
||||
}
|
||||
} /* end main */
|
||||
86
distributions/MCC/dos-utils/rawrite.doc
Normal file
86
distributions/MCC/dos-utils/rawrite.doc
Normal file
@@ -0,0 +1,86 @@
|
||||
RaWrite 1.2
|
||||
-----------
|
||||
|
||||
Purpose
|
||||
-------
|
||||
|
||||
Write a disk image file to a 360K floppy disk.
|
||||
|
||||
|
||||
Equipment/Software Requirements
|
||||
-------------------------------
|
||||
|
||||
PC/XT/AT with a floppy disk drive capable of reading and writing a 360K
|
||||
diskette.
|
||||
|
||||
This program uses generic low-level BIOS diskette read/write functions. It
|
||||
should be portable to nearly every PC in existance. PS/2's should be able
|
||||
to run RawWrite but this has not been tested.
|
||||
|
||||
|
||||
CAVEAT
|
||||
------
|
||||
|
||||
This program will write ANY disk file to a floppy, overwriting any previous
|
||||
information that may have been present. If you wish to re-use a diskette
|
||||
under MS-DOS thats been written to by RawWrite then the disk will need to be
|
||||
reformatted; all MS-DOS specific information will have been erased.
|
||||
|
||||
|
||||
How to Compile
|
||||
--------------
|
||||
|
||||
TCC rawrite.c
|
||||
|
||||
The source code is specific to Borland International's Turbo C 2.01 and has
|
||||
been tested in all memory models.
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
C> RAWRITE
|
||||
|
||||
And follow the prompts. All arguments are case-insensitive.
|
||||
|
||||
A sample run is shown below. The disk file being written, in this example,
|
||||
is named DEMODISK and the destination - where the image is being written -
|
||||
is the B: drive.
|
||||
|
||||
This program may be aborted at any time by typing ^C.
|
||||
|
||||
|
||||
Sample Run
|
||||
----------
|
||||
|
||||
C> RAWRITE
|
||||
RaWrite 1.2 - Write disk file to raw floppy diskette
|
||||
|
||||
Enter source file name: DEMODISK
|
||||
Enter destination drive: B
|
||||
Please insert a formatted 360K diskette into drive B: and press -ENTER- :
|
||||
Writing image to drive B:
|
||||
|
||||
|
||||
Errors
|
||||
------
|
||||
|
||||
RaWrite attempts to determine if the diskette is a 360K, 720K, 1.2M, or
|
||||
1.44M diskette by reading specific sectors. If the inserted diskette is not
|
||||
one of the mentioned types, then RaWrite will abort with a short error
|
||||
message.
|
||||
|
||||
Errors such as write protect, door open, bad disk, bad sector, etc. cause a
|
||||
program abort with a short error message.
|
||||
|
||||
|
||||
History
|
||||
-------
|
||||
|
||||
1.0 - Initial release
|
||||
1.1 - Beta test (fixing bugs) 4/5/91
|
||||
Some BIOS's don't like full-track writes.
|
||||
1.101 - Last beta release. 4/8/91
|
||||
Fixed BIOS full-track write by only only
|
||||
writing 3 sectors at a time.
|
||||
1.2 - Final code and documentation clean-ups. 4/9/91
|
||||
BIN
distributions/MCC/dos-utils/rawrite3.com
Normal file
BIN
distributions/MCC/dos-utils/rawrite3.com
Normal file
Binary file not shown.
68
distributions/MCC/dos-utils/rawrite3.doc
Normal file
68
distributions/MCC/dos-utils/rawrite3.doc
Normal file
@@ -0,0 +1,68 @@
|
||||
RaWrite 1.3
|
||||
------------
|
||||
|
||||
Disclaimer of Warrenty
|
||||
----------------------
|
||||
|
||||
Users of this software must accept this disclaimer of warranty: "This
|
||||
software is supplied AS IS. Mark Becker disclaims all warranties, expressed
|
||||
or implied, including, without limitation, the warranties of merchantability
|
||||
and of fitness for any purpose. Mark Becker assumes no liability for
|
||||
damages, direct or consequential, which may result from the use of this
|
||||
software."
|
||||
|
||||
|
||||
Purpose
|
||||
-------
|
||||
|
||||
Write a disk image file to a floppy disk.
|
||||
|
||||
|
||||
Equipment/Software Requirements
|
||||
-------------------------------
|
||||
|
||||
* PC/XT/AT or 100% compatible with at least 256K of RAM and a floppy disk
|
||||
drive.
|
||||
|
||||
* MS-DOS version 3.21 or greater.
|
||||
|
||||
* A formatted diskette.
|
||||
|
||||
This program uses well-documented generic low-level DOS and BIOS functions.
|
||||
It should run on nearly every PC in existance. PS/2's should be able to run
|
||||
RaWrite but this has not been tested.
|
||||
|
||||
|
||||
CAVEAT
|
||||
------
|
||||
|
||||
This program will write ANY disk file to a floppy, overwriting any previous
|
||||
information that may have been present. If you wish to re-use a diskette
|
||||
that has been written to by RaWrite then that diskette will probably need to
|
||||
be reformatted; all MS-DOS specific information will have been erased.
|
||||
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
C> RAWRITE
|
||||
|
||||
And follow the prompts. All arguments are case-insensitive.
|
||||
|
||||
If the source and destination drives are the same, RaWrite will ask the user
|
||||
to swap diskettes as required. Rawrite allocates a large buffer in RAM to
|
||||
reduce the number of disk swaps.
|
||||
|
||||
RaWrite may be aborted at any time by typing ^C or CTRL-Break.
|
||||
|
||||
|
||||
Errors
|
||||
------
|
||||
|
||||
RaWrite attempts to determine if the diskette is a 1.44M, 1.2M, 720K, or 360K
|
||||
diskette by reading sectors 18, 15, and 9 in that order. If the inserted
|
||||
diskette is not one of the these types, then RaWrite will abort with an error
|
||||
message.
|
||||
|
||||
Errors such as write protect, door open, bad disk, bad sector, etc. cause a
|
||||
program abort with a short error message.
|
||||
BIN
distributions/MCC/mcc-0.97-p2-12.full.zip
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full.zip
Normal file
Binary file not shown.
155
distributions/MCC/mcc-0.97-p2-12.full/Linux-0.97-hd-install
Normal file
155
distributions/MCC/mcc-0.97-p2-12.full/Linux-0.97-hd-install
Normal file
@@ -0,0 +1,155 @@
|
||||
MCC Interim 0.97
|
||||
Written by John Heaton
|
||||
(http://www.manlug.org/content/view/180/71/)
|
||||
|
||||
Thanks to David Clark, we now have a full set of floppy disk images for
|
||||
version 0.97p2-12 and after a bit of 'fettling' I managed to get a QEMU
|
||||
system image set up:
|
||||
|
||||
mcc-interim-0.97p2-12.img.tgz
|
||||
|
||||
To run with QEMU, ungtar them after downloading and then type:
|
||||
|
||||
qemu -hda mcc-interim-0.97p2-12.img -fda floppy.img -boot a
|
||||
|
||||
To run this disk image up you'll notice that it requires a boot floppy
|
||||
which I've included as an image file.
|
||||
|
||||
To create these floppy and hard disk images, The details below are as near
|
||||
as I can remember
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
The disk images you will need from
|
||||
ftp://ftp.mcc.ac.uk/pub/linux/mcc-interim/old/0.97-p2-12 :
|
||||
boot.image.1440
|
||||
util.image.1440
|
||||
packages.1440/comp-1
|
||||
packages.1440/comp-2
|
||||
packages.1440/g++
|
||||
packages.1440/gdb
|
||||
packages.1440/misc
|
||||
Create a qcow (compressed) hard disk image
|
||||
qemu-img create -f qcow harddisk 64M
|
||||
Create a floppy disk image and make an MSDOS filesystem
|
||||
qemu-img create floppy 1440k
|
||||
mkfs.msdos floppy
|
||||
Start QEMU with the blank hard disk image attached and the boot image
|
||||
qemu -hda harddisk -fda boot.image.1440 -boot a
|
||||
press 'space' to continue booting press ctrl-alt-2 to escape to qemu-monitor
|
||||
and type
|
||||
change fda util.image.1440
|
||||
press ctrl-alt-1 to return to qemu and enter
|
||||
3
|
||||
when prompted for floppy drive type (you may need to repeat this)
|
||||
when system has booted type
|
||||
fdisk
|
||||
and setup the hard disk image
|
||||
Command (m for help): n
|
||||
Command action
|
||||
e extended
|
||||
p primary partition (1-4)
|
||||
p Partition number (1-4): 1
|
||||
First cylinder (1-130): 1
|
||||
Last cylinder or +size or +sizeM or +sizeK (1-130): 130
|
||||
Warning: partition 1 has an odd number of sectors. Command (m for help): w
|
||||
The partition table has been altered.
|
||||
Please reboot before doing anything else.
|
||||
sync
|
||||
then close QEMU window and Restart QEMU
|
||||
qemu -hda harddisk -fda boot.image.1440 -boot a
|
||||
and go though the procedure above until you have get the # prompt
|
||||
to do 'more /mnt/README' and type
|
||||
fdisk
|
||||
and make a note of the partition size you just created (65519) then type
|
||||
mkfs -c /dev/hda1 65519
|
||||
to make a filessytem on /dev/hda1 then type
|
||||
mount /dev/hda1 /root
|
||||
cd /root
|
||||
install_root
|
||||
to install the base system on your hard disk image. enter
|
||||
y
|
||||
to the prompt 'Do you wish to install Linux now?' and
|
||||
y
|
||||
to the prompt 'Do you want to continue installing?' and after the list of
|
||||
files, type
|
||||
umount /mnt
|
||||
hash -r
|
||||
then press ctrl-alt-2 to escape to the qemu-monitor and type
|
||||
change fda floppy
|
||||
then press ctrl-alt-1 to return to qemu and type
|
||||
cd /root/etc
|
||||
rdev Image /dev/hda1
|
||||
cp Image /dev/fd0
|
||||
sync
|
||||
and then exit QEMU and reboot the system with
|
||||
qemu -hda harddisk -fda floppy -boot a
|
||||
and cd to the root of the system before installing the package disks
|
||||
cd /
|
||||
|
||||
Compiler part 1
|
||||
press ctrl-alt-2 to escape to the qemu-monitor and type
|
||||
change fda comp-1
|
||||
then press ctrl-alt-1 to return to qemu
|
||||
mount /dev/fd0 /mnt
|
||||
/mnt/install_comp1
|
||||
n
|
||||
y (for each item to be installed)
|
||||
umount /mnt
|
||||
|
||||
Compiler part 2
|
||||
press ctrl-alt-2 to escape to the qemu-monitor and type
|
||||
change fda comp-2
|
||||
then press ctrl-alt-1 to return to qemu
|
||||
mount /dev/fd0 /mnt
|
||||
/mnt/install_comp2
|
||||
n
|
||||
y (for each item to be installed)
|
||||
umount /mnt
|
||||
|
||||
G++
|
||||
press ctrl-alt-2 to escape to the qemu-monitor and type
|
||||
change fda g++
|
||||
then press ctrl-alt-1 to return to qemu
|
||||
mount /dev/fd0 /mnt
|
||||
/mnt/install_g++
|
||||
n
|
||||
y (for each item to be installed)
|
||||
umount /mnt
|
||||
|
||||
GDB
|
||||
press ctrl-alt-2 to escape to the qemu-monitor and type
|
||||
change fda gdb
|
||||
then press ctrl-alt-1 to return to qemu
|
||||
mount /dev/fd0 /mnt
|
||||
/mnt/install_gdb
|
||||
n
|
||||
y (for each item to be installed)
|
||||
umount /mnt
|
||||
|
||||
Misc
|
||||
press ctrl-alt-2 to escape to the qemu-monitor and type
|
||||
change fda misc
|
||||
then press ctrl-alt-1 to return to qemu
|
||||
mount /dev/fd0 /mnt
|
||||
/mnt/install_misc
|
||||
n
|
||||
y (for each item to be installed)
|
||||
umount /mnt
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
and you've installed v0.97p2-12.. To run the system, use:
|
||||
|
||||
qemu -hda harddisk -fda floppy -boot a
|
||||
|
||||
This system is pre-LILO and pre-GRUB etc, so it needs the floppy image to boot,
|
||||
but once the system has booted you can unload the floppy image (eject the disk) by
|
||||
|
||||
press ctrl-alt-2 to escape to the qemu-monitor and type
|
||||
eject fda
|
||||
then press ctrl-alt-1 to return to qemu
|
||||
|
||||
There was a method of booting directly from a hard disk using the Minix utility
|
||||
called Shoelace, but I haven't the faintest idea how to use it.
|
||||
|
||||
33
distributions/MCC/mcc-0.97-p2-12.full/README
Normal file
33
distributions/MCC/mcc-0.97-p2-12.full/README
Normal file
@@ -0,0 +1,33 @@
|
||||
This is the utilities disk for installing the MCC (Manchester Computing
|
||||
Centre) interim version of Linux. To set up your hard disk:
|
||||
|
||||
Use fdisk to create a primary partition for Linux. The format of the
|
||||
command is 'fdisk [device]'; the default device is /dev/hda, and others
|
||||
are /dev/hdb, /dev/sda, /dev/sdb, /dev/sdc, etc. You may also wish
|
||||
to set up other partitions for Linux, and/or a partition of at least
|
||||
5 megabytes for swap space. Give the command V (verify) before
|
||||
writing your partition table.
|
||||
|
||||
AFTER USING FDISK, REBOOT AND REMOUNT THIS DISK ON /mnt.
|
||||
|
||||
Use mkfs and mkswap to initialise the partitions you created above.
|
||||
If you do not remember their blocksize, use fdisk with the command p
|
||||
to display it (and then q to exit). mkfs and mkswap have this syntax:
|
||||
|
||||
mkxxx [-c] /dev/hdxxx nnnnn
|
||||
|
||||
where [-c] optionally checks the partition, hdxxx is the partition's
|
||||
device as reported by fdisk, and nnnnn is the partition's size in blocks
|
||||
as reported by fdisk.
|
||||
|
||||
Alternatively, you may be updating an older version of Linux. In that
|
||||
case, only the commands and files contained in this disk will be replaced.
|
||||
The installation procedure saves old configuration files from /etc, /root,
|
||||
and /home/user.
|
||||
|
||||
Use the command 'swapon /dev/hdxxx' to activate swap space made by mkswap.
|
||||
|
||||
Mount the new root partition on /root. Mount any other partitions relative
|
||||
to this; for example, fir you want a partition to become /usr/src on the
|
||||
installed system, you should mount it on /root/usr/src. When all partitions
|
||||
are mounted, type 'install_root'.
|
||||
13
distributions/MCC/mcc-0.97-p2-12.full/Readme.history
Normal file
13
distributions/MCC/mcc-0.97-p2-12.full/Readme.history
Normal file
@@ -0,0 +1,13 @@
|
||||
These files are all that survive from a corrupt utilities disk from
|
||||
August 1992. Here is the image of the boot disk and of the
|
||||
utilities disk from an MCC Interim distribution which was 2 disks
|
||||
in size. The kernel was version 0.97-p2.12, I think.
|
||||
|
||||
(Six years later) Someone has kindly provided me with intact
|
||||
boot and utilities disks for 3.5 inch floppies as well as an
|
||||
apparently complete set of the images of packages which accompanied
|
||||
this distribution. Many thanks to Dr David Clark for saving this
|
||||
piece of history!
|
||||
|
||||
-- Owen
|
||||
LeBlanc@mcc.ac.uk
|
||||
BIN
distributions/MCC/mcc-0.97-p2-12.full/boot.image.1200
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/boot.image.1200
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.full/boot.image.1440
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/boot.image.1440
Normal file
Binary file not shown.
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/comp-1
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/comp-1
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/comp-2
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/comp-2
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/g++
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/g++
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/gdb
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/gdb
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/misc
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/packages.1440/misc
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.full/util.image.1440
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.full/util.image.1440
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12.zip
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12.zip
Normal file
Binary file not shown.
33
distributions/MCC/mcc-0.97-p2-12/README
Normal file
33
distributions/MCC/mcc-0.97-p2-12/README
Normal file
@@ -0,0 +1,33 @@
|
||||
This is the utilities disk for installing the MCC (Manchester Computing
|
||||
Centre) interim version of Linux. To set up your hard disk:
|
||||
|
||||
Use fdisk to create a primary partition for Linux. The format of the
|
||||
command is 'fdisk [device]'; the default device is /dev/hda, and others
|
||||
are /dev/hdb, /dev/sda, /dev/sdb, /dev/sdc, etc. You may also wish
|
||||
to set up other partitions for Linux, and/or a partition of at least
|
||||
5 megabytes for swap space. Give the command V (verify) before
|
||||
writing your partition table.
|
||||
|
||||
AFTER USING FDISK, REBOOT AND REMOUNT THIS DISK ON /mnt.
|
||||
|
||||
Use mkfs and mkswap to initialise the partitions you created above.
|
||||
If you do not remember their blocksize, use fdisk with the command p
|
||||
to display it (and then q to exit). mkfs and mkswap have this syntax:
|
||||
|
||||
mkxxx [-c] /dev/hdxxx nnnnn
|
||||
|
||||
where [-c] optionally checks the partition, hdxxx is the partition's
|
||||
device as reported by fdisk, and nnnnn is the partition's size in blocks
|
||||
as reported by fdisk.
|
||||
|
||||
Alternatively, you may be updating an older version of Linux. In that
|
||||
case, only the commands and files contained in this disk will be replaced.
|
||||
The installation procedure saves old configuration files from /etc, /root,
|
||||
and /home/user.
|
||||
|
||||
Use the command 'swapon /dev/hdxxx' to activate swap space made by mkswap.
|
||||
|
||||
Mount the new root partition on /root. Mount any other partitions relative
|
||||
to this; for example, fir you want a partition to become /usr/src on the
|
||||
installed system, you should mount it on /root/usr/src. When all partitions
|
||||
are mounted, type 'install_root'.
|
||||
7
distributions/MCC/mcc-0.97-p2-12/Readme.history
Normal file
7
distributions/MCC/mcc-0.97-p2-12/Readme.history
Normal file
@@ -0,0 +1,7 @@
|
||||
These files are all that survive from a corrupt utilities disk from
|
||||
August 1992. Here is the image of the boot disk and of the
|
||||
utilities disk from an MCC Interim distribution which was 2 disks
|
||||
in size. The kernel was version 0.97-p2.12, I think.
|
||||
|
||||
-- Owen
|
||||
LeBlanc@mcc.ac.uk
|
||||
BIN
distributions/MCC/mcc-0.97-p2-12/bin/cat
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/cat
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/chgrp
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/chgrp
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/chmod
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/chmod
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/chown
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/chown
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/cp
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/cp
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/df
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/df
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/dir
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/dir
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/du
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/du
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/fdisk
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/fdisk
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/fsck
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/fsck
Normal file
Binary file not shown.
143
distributions/MCC/mcc-0.97-p2-12/bin/install_root
Normal file
143
distributions/MCC/mcc-0.97-p2-12/bin/install_root
Normal file
@@ -0,0 +1,143 @@
|
||||
#!/bin/sh
|
||||
|
||||
yes () { \
|
||||
while [ 0 ];do \
|
||||
echo -n "Yes (y) or no (n): "; \
|
||||
read answer; \
|
||||
if [ -z $answer ];then answer="x";fi; \
|
||||
if [ $answer = "y" -o $answer = "Y" -o $answer = "yes" ]; \
|
||||
then return 0; \
|
||||
else if [ $answer = "n" -o $answer = "N" -o $answer = "no" ]; \
|
||||
then return 1;fi;fi; \
|
||||
done }
|
||||
|
||||
fixdirs () { \
|
||||
owner=$1;group=$2;perms=$3;shift 3; \
|
||||
for i in $*;do \
|
||||
if [ ! -d ${i} ];then /mnt/bin/rm -rf ${i};/mnt/bin/mkdir ${i};fi; \
|
||||
/mnt/bin/chown ${owner} ${i}; \
|
||||
/mnt/bin/chgrp ${group} ${i}; \
|
||||
/mnt/bin/chmod ${perms} ${i}; \
|
||||
done }
|
||||
|
||||
makeold () { \
|
||||
for i in $*;do \
|
||||
if [ -f ${i} ]; \
|
||||
then /mnt/bin/mv ${i} ${i}.old; \
|
||||
else /mnt/bin/rm -rf ${i}; \
|
||||
fi; \
|
||||
done }
|
||||
|
||||
/mnt/bin/cat <<EOT1
|
||||
|
||||
Before you run this script, you should:
|
||||
Use fdisk to create a partition to contain the root file system.
|
||||
Use mkfs to set up a file system on that partition.
|
||||
Mount that partition on /root.
|
||||
(Remember that mkfs and mount will not work correctly unless
|
||||
you reboot after using fdisk to change the partition table.)
|
||||
|
||||
If you are updating an existing Linux, mount the root partition
|
||||
of the file system on /root.
|
||||
If you have other partitions, you should mount them on
|
||||
subdirectories of /root; e.g., /root/usr or /root/home.
|
||||
|
||||
If you have created a swap partition and rebooted, and if you have
|
||||
initialised the swap partition with mkswap, you may use the
|
||||
swapon command to enable swapping.
|
||||
Do you wish to install Linux now? Type 'no' to stop.
|
||||
EOT1
|
||||
if ! yes;then exit 1;fi
|
||||
|
||||
/mnt/bin/cat <<EOT3
|
||||
|
||||
This is your last chance to stop before installing Linux.
|
||||
If you continue, you will lose many files currently in the
|
||||
following directories under the /root directory:
|
||||
bin dev etc home mnt tmp usr
|
||||
Do you want to continue installing? Type 'no' to stop.
|
||||
EOT3
|
||||
if ! yes;then exit 1;fi
|
||||
|
||||
cd /root
|
||||
/mnt/bin/rm -f lib/lib*.so.2 lib/lib*.so.2.2
|
||||
echo "I'm working. Please be patient."
|
||||
fixdirs bin bin 555 /root bin dev etc etc/lilo home lib mnt usr usr/bin usr/include \
|
||||
usr/lib usr/man usr/man/man1 usr/man/man2 usr/man/man3 usr/man/man4 \
|
||||
usr/man/man5 usr/man/man6 usr/man/man7 usr/man/man8 usr/man/man9
|
||||
fixdirs bin daemon 575 usr/man/cat1 usr/man/cat2 usr/man/cat3 usr/man/cat4 \
|
||||
usr/man/cat5 usr/man/cat6 usr/man/cat7 usr/man/cat8 usr/man/cat9
|
||||
|
||||
/mnt/bin/cat <<EOT3a
|
||||
|
||||
Do you have a 486 or a maths coprocessor? Answer 'no' if your
|
||||
machine is unable to execute floating point instructions.
|
||||
EOT3a
|
||||
if yes;then /usr/bin/tar xvzfp /mnt/tar.Z.files/hard.tar.Z; \
|
||||
else /usr/bin/tar xvzfp /mnt/tar.Z.files/soft.tar.Z; \
|
||||
fi
|
||||
|
||||
fixdirs bin bin 1777 tmp
|
||||
fixdirs bin bin 111 mnt
|
||||
fixdirs root bin 751 root
|
||||
fixdirs user other 711 home/user
|
||||
/mnt/bin/sync
|
||||
echo "I'm working. Please be patient."
|
||||
(cd etc;makeold fdprm fstab group inittab issue magic motd mtools passwd \
|
||||
profile rc securetty shells lilo/disktab lilo/install)
|
||||
for i in root home/user;do (cd $i;makeold .bashrc .kermrc .mcwd .profile);done
|
||||
/mnt/bin/rm -rf lib/libc2.2.2 lib/libm2.2.2
|
||||
(cd /etc;/usr/bin/tar cf - group passwd termcap update)|(cd /root/etc;/usr/bin/tar xvfp -)
|
||||
(cd /lib;/usr/bin/tar cf - *)|(cd /root/lib;/usr/bin/tar xvfp -)
|
||||
(cd /root/dev;/mnt/bin/rm -rf `(cd /dev;/mnt/bin/ls)`)
|
||||
(cd /dev;/usr/bin/tar cf - *)|(cd /root/dev;/usr/bin/tar xvfp -)
|
||||
/mnt/bin/sync
|
||||
(cd /bin;/usr/bin/tar cf - bash doshell mount sh umount)|(cd /root/bin;/usr/bin/tar xvfp -)
|
||||
(cd /mnt/bin;/usr/bin/tar cf - *)|(cd /root/bin;/usr/bin/tar xvfp -)
|
||||
/root/bin/rm -f /root/bin/install_root
|
||||
(cd /usr/bin;/usr/bin/tar cf - *)|(cd /root/usr/bin;/usr/bin/tar xvfp -)
|
||||
/root/bin/sync
|
||||
for i in bin etc man texts usr
|
||||
do /root/usr/bin/tar xvzfp /mnt/tar.Z.files/$i.tar.Z;sync
|
||||
done
|
||||
echo "I'm working. Please be patient."
|
||||
(cd /root/usr/man; \
|
||||
/root/bin/ls cat*/*[^Z]|/root/usr/bin/sed -e 's/$/.Z/'|/root/usr/bin/xargs \
|
||||
/root/bin/rm -f *1/mtools.1*; compress cat*/*[^Z];/root/bin/chown bin cat*/*; \
|
||||
/root/bin/chgrp daemon cat*/*;/root/bin/chmod 664 cat*/*; \
|
||||
/root/bin/ln -f cat8/mount.8.Z cat8/umount.8.Z; \
|
||||
cd cat1;/root/bin/ln -f [.1.Z test.1.Z;/root/bin/ln -f sh.1.Z bash.1.Z; \
|
||||
/root/bin/ln -f zcat.1.Z compress.1.Z;/root/bin/ln -f zcat.1.Z uncompress.1.Z; \
|
||||
/root/bin/ln -f decode.1.Z encode.1.Z;/root/bin/ln -f ls.1.Z dir.1.Z; \
|
||||
/root/bin/ln -f ls.1.Z vdir.1.Z;/root/bin/ln -f ls.1.Z ll.1.Z; \
|
||||
/root/bin/ln -f ls.1.Z lsf.1.Z;/root/bin/ln -f grep.1.Z egrep.1.Z; \
|
||||
/root/bin/ln -f vi.1.Z ex.1.Z; /root/bin/ln -f vi.1.Z elvis.1.Z; \
|
||||
/root/bin/ln -f virec.1.Z elvrec.1.Z)
|
||||
sync
|
||||
/root/bin/rm -rf /tmp
|
||||
/root/bin/ln -s /root/tmp /tmp
|
||||
sync
|
||||
|
||||
/root/bin/cat <<EOT4
|
||||
|
||||
|
||||
Linux has now been installed. Please type
|
||||
|
||||
umount /mnt
|
||||
hash -r
|
||||
|
||||
immediately, and then remove the utilities disk.
|
||||
|
||||
You can now set up a boot disk for your new hard disk root partition.
|
||||
Put a formatted high density floppy in drive 0 (A), and:
|
||||
|
||||
cd /root/etc
|
||||
rdev Image /dev/hda3
|
||||
replacing ^ with your root device
|
||||
cp Image /dev/fd0
|
||||
sync
|
||||
|
||||
Then you can reboot from the floppy. BEFORE YOU REBOOT, please edit
|
||||
your configurable files: /etc/fstab must be correct before rebooting.
|
||||
The editors joe and vi should now work.
|
||||
EOT4
|
||||
BIN
distributions/MCC/mcc-0.97-p2-12/bin/ll
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/ll
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/ln
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/ln
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/ls
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/ls
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/lsf
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/lsf
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mkdir
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mkdir
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mkfs
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mkfs
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mknod
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mknod
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mkswap
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mkswap
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/more
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/more
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mv
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/mv
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/rdev
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/rdev
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/rm
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/rm
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/rmdir
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/rmdir
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/setterm
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/setterm
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/stty
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/stty
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/swapon
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/swapon
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/sync
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/sync
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/bin/vdir
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/bin/vdir
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/boot.image
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/boot.image
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.97-p2-12/util.image
Normal file
BIN
distributions/MCC/mcc-0.97-p2-12/util.image
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.99.p10+.tar
Normal file
BIN
distributions/MCC/mcc-0.99.p10+.tar
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.99.p8+.zip
Normal file
BIN
distributions/MCC/mcc-0.99.p8+.zip
Normal file
Binary file not shown.
BIN
distributions/MCC/mcc-0.99.p8.zip
Normal file
BIN
distributions/MCC/mcc-0.99.p8.zip
Normal file
Binary file not shown.
Reference in New Issue
Block a user