From: "Paul B. Brown" <pbrown@btechnet.com>
To: Izaak Bozof <izaak.bozof@lexicon.ins.com>
Cc: axp-list@redhat.com
Subject: Re: Installing
Date: Sat, 3 Apr 1999 18:13:04 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.3.95.990403181003.18041A-100000@mail.btechnet.com> (raw)
In-Reply-To: <4.1.19990403151533.009675e0@earthlink.net>
Izaak,
It is original and it is mine, thanks. I never thought of turning it into
a PDF file and put it on on Gatekeeper because I do not know how. If you
can tell me how I will. If you choose you can go ahead and do it for me.
Let me know . . . .
Thanks! :-)
Paul
---------------------------------------------------------------------------
Paul B. Brown pbrown@btechnet.com
President
Brown Technologies Network, Inc. http://www.btechnet.com/
Unix Systems Administration "Sailing is a state of mind . . . ."
---------------------------------------------------------------------------
On Sat, 3 Apr 1999, Izaak Bozof wrote:
> I think Paul deserves a BIG round of applause for this writeup (if it is
> original).
>
> Paul, you want to put this in pdf form and publish it to gatekeeper.dec.com?
>
> izaak
>
> At 07:45 p 4/2/99 , Paul B. Brown wrote:
> >To Install RedHat Linux 5.2 on a UDB
> >====================================
> >
> >A. PRE-INSTALLATION SETUP
> > ----------------------
> >
> >1. Get 5 MS-DOS formatted 3.5" (1.44MB) diskettes
> >2. Label diskette #1: UDB/Milo Boot Disk
> >3. Label diskette #2: UDB/Noname Boot Disk
> >4. Label diskette #3: UDB/Noname Root Disk
> >5. Label diskette #4: UDB Firmware Update 4.3.3
> >6. Label diskette #5: UDB Failsafe Loader
> >7. Load the RedHat Linux 5.2 CD-ROM into another Linux box that has a CD
> > Drive.
> >8. mount -r -t iso9660 /dev/cdrom /mnt/cdrom
> >9. Insert diskette #1 into the diskette drive of the other Linux box that
> > the CD is mounted on.
> >10. mount -t msdos /dev/fd0 /mnt/floppy
> >11. cp /mnt/cdrom/milo/arc/linload.exe /mnt/floppy
> >12. cp /mnt/cdrom/milo/noname-udb/milo /mnt/floppy
> >13. umount /mnt/floppy
> >14. Remove diskette #1 from the drive.
> >15. Insert diskette #2 into the same drive.
> >16. cd /mnt/cdrom/images
> >17. dd if=noname.img of=/dev/fd0 bs=1440k
> >18. Remove diskette #2 from the drive.
> >19. Insert diskette #3 into the same drive.
> >20. dd if=ramdisk.img of=/dev/fd0 bs=1440k
> >21. Remove diskette #3 from the drive.
> >22. Insert diskette #4 into the same drive.
> >23. umount /mnt/cdrom
> >24. Remove the RedHat Linux 5.2 CD from the drive.
> >25. cd /tmp
> >26. mkdir udb
> >27. cd udb
> >28. Dial into your ISP
> >29. ftp ftp.digital.com
> >30. ftp> cd /pub/Digital/Alpha/firmware/interim/multia
> >31. ftp> get readme.txt
> >32. ftp> get udbfs138.img
> >33. ftp> get udbupd38.img
> >34. ftp> quit
> >35. Disconnect from the Internet
> >36. dd if=udbupd38.img of=/dev/fd0h1440 bs=10240
> >37. Remove diskette #4 from the drive.
> >38. Insert diskette #5 into the same drive.
> >39. dd if=udbfsl38.img of=/dev/fd0h1440 bs=10240
> >40. Remove diskette #5 from the drive.
> >41. Now read the readme.txt file you just downloaded and skip to section:
> > Firmware Install/Update
> >42. Bring up your UDB for the first time and follow the directions in the
> > readme.txt file..
> >43. Make sure you are now running version 4.3.3 of the firmware. That is
> > the latest and greatest.
> >44. Turn off your UDB.
> >45. Make sure a CD-ROM drive is attached to your UDB
> >46. Insert the RedHat Linux 5.2 CD into the CD-ROM drive.
> >47. Turn on your UDB and the CD-ROM drive.
> >48. You will come to a "Boot Menu"
> >49. Select "Supplementary Menu..."
> >50. Select "Setup the System..."
> >51. Select "Manage Boot Selection Menu..."
> >52. Select "Add a Boot Selection..."
> >53. Select "Floppy Disk 0" if that option is there.
> > If not there then,
> > 53.1. Select "New System Partition"
> > 53.2. Select "Floppy Disk"
> > 53.3. The drive number to select is: 0
> >54. At the prompt: "Enter the OS loader directory and name:", type:
> > \linload.exe
> >55. Respond "yes" to the OS being on the same partition as the OS loader.
> >56. Enter "\" as the OS root directory.
> >57. Enter "Linux" as the name for the boot partition.
> >58. Select "No" when asked if we want the debugger initialized at boot
> > time.
> >59. We should now be back to the "Boot Selection menu"
> >60. Select "Change a Boot Selection"
> >61. Select "Linux"
> >62. Using the up and down arrow keys to move, RETURN to select, and ESC to
> > leave, make the setting look like:
> >
> > LOADIDENTIFIER=Linux
> > SYSTEMPARTITION=multi(0)disk(0)fdisk(0)
> > OSLOADER=multi(0)disk(0)fdisk(0)\linload.exe
> > OSLOADPARTITION=multi(0)disk(0)fdisk(0)
> > OSLOADFILENAME=\milo
> > OSLOADOPTIONS=
> >
> >63. When finished, press ESC to back out to the "Supplementary Menu"
> >64. Save the changes.
> >63. Press ESC to back out to the "Boot Menu"
> >64. Insert diskette #1 into the UDB's diskette drive.
> >65. Select "Boot Linux"
> >66. The MILO> prompt will eventually appear.
> >67. Remove diskette #1 from the drive.
> >68. Insert diskette #2 into the UDB's diskette drive.
> >69. At the MILO> prompt, type:
> >
> > boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1
> >
> >70. Press RETURN and the system will begin the boot process.
> >71. After a short while, the system will prompt for diskette #3.
> >72. Remove diskette #2 from the drive.
> >73. Insert diskette #3 into the UDB's diskette drive and press RETURN.
> >74. In about a minute you should come up to:
> >
> > "Welcome to RedHat"
> >
> >B. INSTALLATION SETUP:
> > ------------------
> >
> >75. Pull out the RedHat Alpha/Linux 5.2 Users Manual and use it to help
> > you load the system. The sore spot here is partitioning the drive.
> > If you don't know the number of heads, cylinders, and sectors for your
> > SCSI drive, you will need to figure them out or you will get nowhere.
> > At the end of this document there is a small C program that needs only
> > the number of bytes of the formatted SCSI disk and it will give the
> > user the head/cylinder/sector counts needed. Once you are past the
> > disk partitioning stage, the rest of the installation is magically
> > simple. Bear in mind what your intended use is for the machine or,
> > like me, you will load a lot of superfluous rubbish you will never use.
> >
> > I do suggest a disk partitioning of at least the following:
> >
> > Partition Device Size in MBs Filesystem Type Mount
> > --------- --------- ----------- ----------------------- -------
> > 1 /dev/sda1 2 MB DOS 16-bit <32M (id=4) /dosc
> > 2 /dev/sda2 Same as RAM Linux Swap (id=82)
> > 3 /dev/sda3 > 50 MB Linux native (id=83) /
> > 4 /dev/sda4 Remainder Linux native (id=83) /usr
> >
> > The reason for the first partition is to have linload.exe and milo on
> > it's own partition. I do this in leau of putting linload.exe and milo
> > into flashROM. You mess up flashROM, you will have a nice UDB paper
> > weight.
> >
> > NOTE: Do NOT set any partition as bootable. This is not needed due to
> > the way ARC works with linload.exe and milo.
> >
> >76. When the loading is complete and you can login to your new UDB as root.
> >77. Insert diskette #1 into the UDB's diskette drive.
> >78. dd if=/dev/fd0 of=/dev/sda1 bs=1440k
> > - This copies linload.exe and milo to your 2 MB DOS partition. It will
> > also format 1,440k worth of the space for you, killing two bird with
> > one stone.
> >79. Remove diskette #1 from the drive.
> >80. Store all 5 diskettes in a safe place.
> >81. Edit /etc/fstab and insert the following lines at the end of the file:
> >
> > /dev/sda1 /dos msdos defaults 1 2
> > /dev/fd0 /mnt/floppy msdos noauto 1 2
> > /dev/scd0 /mnt/cdrom iso9660 noauto 1 2
> >
> > The file should already contain some if not all of the following:
> >
> > /dev/sda2 swap swap defaults 0 0
> > /dev/sda3 / ext2 defaults 1 1
> > /dev/sda4 /usr ext2 defaults 1 2
> >
> >82. Save and exit the file, /etc/fstab.
> >83. Shutdown the UDB: shutdown -h now
> >
> >C. POST-INSTALLATION SETUP:
> > -----------------------
> >
> >84. Start the UDB.
> >85. You will come to a "Boot Menu"
> >86. Select "Supplementary Menu..."
> >87. Select "Edit Environment Variables..."
> >88. Using the up and down arrow keys to move, RETURN to select, and ESC to
> > leave, make the setting look like:
> >
> > CONSOLEIN=multi()key()keyboard()console()
> > CONSOLEOUT=multi()video()monitor()console()
> > FWSEARCHPATH=scsi(0)disk(0)rdisk(0)paritition(1)
> > TIMEZONE=EST5EDT
> > A:=multi(0)disk(0)fdisk(0)
> > FLOPPY=1
> > FLOPPY2=N
> > KEYBOARDTYPE=0
> > AUTOLOAD=YES
> > COUNTDOWN=15
> > LANG_ID=1
> > ENABLEPCIPARITYCHECKING=FALSE
> > LASTFIRMWAREREVISION=4.33
> > DISABLEPCIPARITYCHECKING=FALSE
> > OSLOADFILENAMENONAME.IMG=noname.img
> >
> > Some of these setting will vary depending on your setup. TIMEZONE will
> > change for obvious reasons. You may have a second floppy drive so
> > FLOPPY2 may be set to Y. I like my COUNTDOWN to AUTOLOAD to be 15
> > seconds. You may want it set to some other delay or you may just turn
> > AUTOLOAD to NO. LANG_ID=1 means English. This may not be good for you
> > so . . . change it. The last 2 entries, DISABLEPCIPARITYCHECKING and
> > OSLOADFILENAMENONAME.IMG, may not even show up on your list. If then
> > don't, then don't mess with them.
> >
> >89.. When finished, press ESC to back out to the "Supplementary Menu"
> >90. Select "Manage Boot Selection menu..."
> >91. Select "Change A Boot Selection..."
> >92. Select "Linux"
> >93. Using the up and down arrow keys to move, RETURN to select, and ESC to
> > leave, make the setting look like:
> >
> > LOADIDENTIFIER=Linux
> > SYSTEMPARTITION=scsi(0)disk(0)rdisk(0)partition(1)
> > OSLOADER=scsi(0)disk(0)rdisk(0)partition(1)\linload.exe
> > OSLOADPARTITION=scsi(0)disk(0)rdisk(0)partition(1)
> > OSLOADFILENAME=\milo
> > OSLOADOPTIONS= boot sda3:vmlinux.gz root /dev/sda3
> >
> >94. When finished, press ESC to back out to the "Boot Selections Menu..."
> >95. Select "Verify Boot Selections"
> > - If the screen winks out and back on and does nothing further then
> > your setup has been checked and verified.
> > - If there is a report of errors then go back to the two settings areas
> > and try again until this option only flashes at you signifying all is
> > well.
> >96. When the boot selection has been verified successfully, press ESC back
> > to the "Setup Menu"
> >97. Select "Supplementary Menu and Save Changes..."
> > - Make sure you save changes only when all is well and don't save
> > changes if things went haywire!
> >98. At the Supplementary Menu, Select "Boot Menu..."
> >99. If all went well, at the Boot Menu, select "Boot Linux"
> >100. And now the fun begins . . . . :-)
> >
> >-- CUT HERE --
> >
> > #include <stdio.h>
> >
> >/**************************************************************************
> ****
> > *
> > * Source Code: calc_hcs.c
> > *
> > * compile/link statement: gcc -o calc_hcs calc_hcs.c
> > *
> > * Description: This program will calculate the heads/cylinders/sectors on
> > * a Linux SCSI drive. Simply Change the define statement
> > * below, DISK_SIZE, specifying the size, in bytes, of the
> > * formatted SCSI drive, compile it, run it, and your done!
> > * Future version will need to be updated based on the info
> > * given in the SCSI HOWTO and the Large Disks mini-HOWTO.
> > *
> > * History:
> > *
> > * Who Date Comment
> > * ----------- ------ ---------------------------------------------------
> > * Paul Brown 970511 Initial version 0.1b
> > *
> > ***************************************************************************
> >***/
> >
> >/*
> > * Change this setting when you wish to calculate a new drive. It should be
> > * the size of the formatted drive in bytes.
> > */
> >#define DISK_SIZE (long) 345090000 /* Maxtor 7345S - 342 MB */
> >
> >/*
> > * Standard setting - DO NOT TOUCH
> > */
> >#define BYTES_PER_SECTOR (long) 512
> >
> >/*
> > * These settings are right out of the SCSI HOWTO. These are the max settings
> > * Linux will understand for SCSI drives. With these settings you cannot have
> > * a SCSI drive more than 8 formatted Gigabytes in size. Bummer!
> > */
> >#define MAX_HEADS (long) 256
> >#define MAX_CYLINDERS (long) 1024
> >#define MAX_SECTORS (long) 63
> >
> >main() {
> > long disk_size;
> > long cur_guess;
> > long heads;
> > long cylinders;
> > long sectors;
> > long best_heads;
> > long best_cylinders = (long) 0;
> > long best_sectors = (long) 0;
> > long best_guess = (long) 0;
> >
> > best_guess = disk_size = DISK_SIZE / BYTES_PER_SECTOR;
> >
> > for (heads = (long) 1; heads <= MAX_HEADS; heads++) {
> > for (cylinders = (long) 1; cylinders <= MAX_CYLINDERS; cylinders++) {
> > for (sectors = (long) 1; sectors <= MAX_SECTORS; sectors++) {
> > cur_guess = disk_size - (heads * cylinders * sectors);
> >
> > if (cur_guess < (long) 0) break;
> >
> > if (cur_guess == (long) 0)
> > printf("DIRECT HIT -> %ld/%ld/%ld (heads/cylinders/sectors)\n",
> > heads, cylinders, sectors);
> >
> > if (cur_guess < best_guess) {
> > best_heads = heads;
> > best_cylinders = cylinders;
> > best_sectors = sectors;
> > best_guess = cur_guess;
> > }
> > }
> > }
> > }
> >/*
> > * I pick the first direct hit to be the best guess because I have a
> preference
> > * for the lowest number of heads. Just a quirk of mine . . . . ;->
> > */
> > printf("BEST GUESS -> %ld/%ld/%ld (heads/cylinders/sectors)\n",
> > best_heads, best_cylinders, best_sectors);
> >
> > exit(0);
> >}
> >
> >-- CUT HERE --
> >
> >[Paul B. Brown, Copyright 1999]
> >
> >--
> >To unsubscribe: send e-mail to axp-list-request@redhat.com with
> >'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
> >
>
>
> _________________________________________________
> Izaak Bozof Pager: mailto:page.izaak@iname.com
> International Network Services
> http://www.ins.com
> _________________________________________________
>
next prev parent reply other threads:[~1999-04-03 23:31 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-03 0:36 Installing Rusty Lingenfelter
1999-04-03 0:35 ` Installing Rich Payne
1999-04-03 0:45 ` Installing Paul B. Brown
1999-04-03 2:31 ` Installing Geoff Shukin
[not found] ` <Pine.LNX.3.95.990402194442.10512A-100000@mail.btechnet.com >
1999-04-03 20:16 ` Installing Izaak Bozof
1999-04-03 23:13 ` Paul B. Brown [this message]
1999-04-03 23:10 ` Installing Rich Payne
1999-04-03 23:18 ` Installing Paul B. Brown
1999-04-03 23:18 ` Installing Paul B. Brown
1999-04-04 20:15 ` Installing Rusty Lingenfelter
1999-04-04 20:27 ` Installing Paul B. Brown
[not found] ` <Pine.LNX.3.95.990403181003.18041A-100000@mail.btechnet.com >
1999-04-03 23:47 ` Installing Izaak Bozof
1999-04-04 0:00 ` Installing Paul B. Brown
1999-04-03 21:25 ` Installing Izaak Bozof
1999-04-03 21:33 ` Installing Rich Payne
1999-04-03 22:23 ` UDB-MILO Keyboard problem Izaak Bozof
1999-04-04 1:12 ` Larry Snyder
1999-04-04 1:37 ` SUMMARY: " Izaak Bozof
1999-04-04 2:42 ` aLinux and Cybex boxes? Izaak Bozof
1999-04-05 4:03 ` Robert Bowles
1999-04-05 14:08 ` Paul B. Brown
[not found] ` <Pine.LNX.3.95.990405100658.30005A-100000@mail.btechnet.com >
1999-04-05 16:00 ` Izaak Bozof
1999-04-05 16:51 ` Paul B. Brown
1999-04-05 5:10 ` Eric Brown
1999-04-05 6:10 ` Greg Lindahl
1999-04-04 2:35 ` UDB-MILO Keyboard problem Bill Roman
1999-04-04 8:54 ` Izaak Bozof
-- strict thread matches above, loose matches on Subject: below --
1999-04-03 13:23 Installing Ken Hansen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox