Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Installing
  1999-04-03  0:36 Installing Rusty Lingenfelter
@ 1999-04-03  0:35 ` Rich Payne
  1999-04-03  0:45   ` Installing Paul B. Brown
       [not found]   ` <Pine.LNX.3.95.990402194442.10512A-100000@mail.btechnet.com >
  0 siblings, 2 replies; 16+ messages in thread
From: Rich Payne @ 1999-04-03  0:35 UTC (permalink / raw)
  To: Rusty Lingenfelter; +Cc: axp-list

On Fri, 2 Apr 1999, Rusty Lingenfelter wrote:

> Since it looks like I may have all of the pieces assembled sometime next
> week, I am wondering if there is a text or website that offers
> step-by-step instructions for installing RH on the Multia. I have seen
> various information, but not quite for the newbie. Any suggestions
> appreciated.

If you go to www.alphalinux.org/docs/ and choose the multia section there
is a link to some docs at CPU Micromart.

The redhat docs themselves aren't to bad (www.redhat.com).

and somewhere I think I have a doc that I started writing that was multia
specific, it you like I might be able to dig it out and send you a copy.

Rich Payne
rpayne@alphalinux.org			www.alphalinux.org



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Installing
@ 1999-04-03  0:36 Rusty Lingenfelter
  1999-04-03  0:35 ` Installing Rich Payne
  0 siblings, 1 reply; 16+ messages in thread
From: Rusty Lingenfelter @ 1999-04-03  0:36 UTC (permalink / raw)
  To: axp-list@redhat.com

Since it looks like I may have all of the pieces assembled sometime next
week, I am wondering if there is a text or website that offers
step-by-step instructions for installing RH on the Multia. I have seen
various information, but not quite for the newbie. Any suggestions
appreciated.

Rusty


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03  0:35 ` Installing Rich Payne
@ 1999-04-03  0:45   ` Paul B. Brown
  1999-04-03  2:31     ` Installing Geoff Shukin
       [not found]   ` <Pine.LNX.3.95.990402194442.10512A-100000@mail.btechnet.com >
  1 sibling, 1 reply; 16+ messages in thread
From: Paul B. Brown @ 1999-04-03  0:45 UTC (permalink / raw)
  To: Rich Payne; +Cc: Rusty Lingenfelter, axp-list

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]


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03  0:45   ` Installing Paul B. Brown
@ 1999-04-03  2:31     ` Geoff Shukin
  0 siblings, 0 replies; 16+ messages in thread
From: Geoff Shukin @ 1999-04-03  2:31 UTC (permalink / raw)
  To: axp-list

Paul B. Brown wrote:

> To Install RedHat Linux 5.2 on a UDB
>
>
> 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.

I get to this on a friend's UDB and get a : "fatal error:  Not Enough Memory to
load kernel"

Does anyone know how to get around this on a UDB?

This is a 24 Meg box with a 340 Meg SCSI Internal drive (No External SCSI Port).  I
was hoping to make this into a good firewall using the internal ethernet interface
and a PCMCIA Ethernet card.

Thanks

Geoff Shukin


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
@ 1999-04-03 13:23 Ken Hansen
  0 siblings, 0 replies; 16+ messages in thread
From: Ken Hansen @ 1999-04-03 13:23 UTC (permalink / raw)
  To: axp-list

24 Meg is not enough for the latest Red Hat images... 32 Meg should
be fine, if you can boost the memory up you should be fine...

If I can assume for a minute, your Multia/UDB probably has 2 12 Meg
"special" SIMMs, that means you can simply add 2 4 Meg SIMMs
and finish your install.  I bet that if you post a request here you will
find someone that has a couple of 4 Meg SIMMs they'd sell cheap,
since most AS200s and other low-end Alphas came with these
"valuable" upgrades...

Good luck, HTH,

Ken
khansen@njcc.com

-----Original Message-----
From: Geoff Shukin <shukin@home.com>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Friday, April 02, 1999 9:32 PM
Subject: Re: Installing


>Paul B. Brown wrote:
>
>> To Install RedHat Linux 5.2 on a UDB
>>
>>
>> 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.
>
>I get to this on a friend's UDB and get a : "fatal error:  Not Enough
Memory to
>load kernel"
>
>Does anyone know how to get around this on a UDB?
>
>This is a 24 Meg box with a 340 Meg SCSI Internal drive (No External SCSI
Port).  I
>was hoping to make this into a good firewall using the internal ethernet
interface
>and a PCMCIA Ethernet card.
>
>Thanks
>
>Geoff Shukin
>
>--
>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
>
>


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
       [not found]   ` <Pine.LNX.3.95.990402194442.10512A-100000@mail.btechnet.com >
@ 1999-04-03 20:16     ` Izaak Bozof
  1999-04-03 23:13       ` Installing Paul B. Brown
       [not found]       ` <Pine.LNX.3.95.990403181003.18041A-100000@mail.btechnet.com >
  1999-04-03 21:25     ` Installing Izaak Bozof
  1 sibling, 2 replies; 16+ messages in thread
From: Izaak Bozof @ 1999-04-03 20:16 UTC (permalink / raw)
  To: axp-list, pbrown

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                          
_________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
       [not found]   ` <Pine.LNX.3.95.990402194442.10512A-100000@mail.btechnet.com >
  1999-04-03 20:16     ` Installing Izaak Bozof
@ 1999-04-03 21:25     ` Izaak Bozof
  1999-04-03 21:33       ` Installing Rich Payne
  1 sibling, 1 reply; 16+ messages in thread
From: Izaak Bozof @ 1999-04-03 21:25 UTC (permalink / raw)
  To: axp-list; +Cc: Paul B. Brown


At 07:45 p 4/2/99 , you wrote:
>11. cp /mnt/cdrom/milo/arc/linload.exe /mnt/floppy
>12. cp /mnt/cdrom/milo/noname-udb/milo /mnt/floppy

I have RH5.2 CD's right here.  Can someone please verify the path name in
step #12?  On my cd the only directories under /mnt/cdrom/milo are /arc and
/images.  I do not have a directory called /noname-udb, and the closest I
have to it are images in /mnt/cdrom/milo and /mnt/cdrom/milo/images called
"udb-noname".

thanks

_________________________________________________
Izaak Bozof          Pager: mailto:page.izaak@iname.com    
International Network Services
http://www.ins.com                          
_________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03 21:25     ` Installing Izaak Bozof
@ 1999-04-03 21:33       ` Rich Payne
  0 siblings, 0 replies; 16+ messages in thread
From: Rich Payne @ 1999-04-03 21:33 UTC (permalink / raw)
  To: axp-list; +Cc: Paul B. Brown

On Sat, 3 Apr 1999, Izaak Bozof wrote:

> 
> At 07:45 p 4/2/99 , you wrote:
> >11. cp /mnt/cdrom/milo/arc/linload.exe /mnt/floppy
> >12. cp /mnt/cdrom/milo/noname-udb/milo /mnt/floppy

I think that 12 should be
	cp /mnt/cdrom/milo/udb-noname /mnt/floppy

OR, instead of 11 and 12 you could do

dd if=/mnt/cdrom/milo/images/udb-noname.img of=/dev/fd0 bs=1440

> 
> I have RH5.2 CD's right here.  Can someone please verify the path name in
> step #12?  On my cd the only directories under /mnt/cdrom/milo are /arc and
> /images.  I do not have a directory called /noname-udb, and the closest I
> have to it are images in /mnt/cdrom/milo and /mnt/cdrom/milo/images called
> "udb-noname".


Rich Payne
rpayne@alphalinux.org			www.alphalinux.org



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03 23:13       ` Installing Paul B. Brown
@ 1999-04-03 23:10         ` Rich Payne
  1999-04-03 23:18           ` Installing Paul B. Brown
  1999-04-03 23:18           ` Installing Paul B. Brown
  0 siblings, 2 replies; 16+ messages in thread
From: Rich Payne @ 1999-04-03 23:10 UTC (permalink / raw)
  To: Paul B. Brown; +Cc: Izaak Bozof, axp-list


I've actually got it sitting in my Todo box, so it will get added to the
Multia section of alphalinux.org. I'm not going to put it into PDF
thought, just HTML.

This OK with you Paul?

Rich Payne
rpayne@alphalinux.org			www.alphalinux.org

On Sat, 3 Apr 1999, Paul B. Brown wrote:

> 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                          
> > _________________________________________________
> > 
> 
> -- 
> 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
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03 20:16     ` Installing Izaak Bozof
@ 1999-04-03 23:13       ` Paul B. Brown
  1999-04-03 23:10         ` Installing Rich Payne
       [not found]       ` <Pine.LNX.3.95.990403181003.18041A-100000@mail.btechnet.com >
  1 sibling, 1 reply; 16+ messages in thread
From: Paul B. Brown @ 1999-04-03 23:13 UTC (permalink / raw)
  To: Izaak Bozof; +Cc: axp-list

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                          
> _________________________________________________
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03 23:10         ` Installing Rich Payne
@ 1999-04-03 23:18           ` Paul B. Brown
  1999-04-03 23:18           ` Installing Paul B. Brown
  1 sibling, 0 replies; 16+ messages in thread
From: Paul B. Brown @ 1999-04-03 23:18 UTC (permalink / raw)
  To: Rich Payne; +Cc: Izaak Bozof, axp-list

Rich,

No sweat.  I wrote it for everyone.  Enjoy!

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, Rich Payne wrote:

> 
> I've actually got it sitting in my Todo box, so it will get added to the
> Multia section of alphalinux.org. I'm not going to put it into PDF
> thought, just HTML.
> 
> This OK with you Paul?
> 
> Rich Payne
> rpayne@alphalinux.org			www.alphalinux.org
> 
> On Sat, 3 Apr 1999, Paul B. Brown wrote:
> 
> > 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                          
> > > _________________________________________________
> > > 
> > 
> > -- 
> > 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
> > 
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03 23:10         ` Installing Rich Payne
  1999-04-03 23:18           ` Installing Paul B. Brown
@ 1999-04-03 23:18           ` Paul B. Brown
  1999-04-04 20:15             ` Installing Rusty Lingenfelter
  1 sibling, 1 reply; 16+ messages in thread
From: Paul B. Brown @ 1999-04-03 23:18 UTC (permalink / raw)
  To: Rich Payne; +Cc: Izaak Bozof, axp-list

gang,

Oh, yeah . . . Send all corrections you find to me.  I'll update it and
send it back to the list!

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, Rich Payne wrote:

> 
> I've actually got it sitting in my Todo box, so it will get added to the
> Multia section of alphalinux.org. I'm not going to put it into PDF
> thought, just HTML.
> 
> This OK with you Paul?
> 
> Rich Payne
> rpayne@alphalinux.org			www.alphalinux.org
> 
> On Sat, 3 Apr 1999, Paul B. Brown wrote:
> 
> > 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                          
> > > _________________________________________________
> > > 
> > 
> > -- 
> > 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
> > 
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
       [not found]       ` <Pine.LNX.3.95.990403181003.18041A-100000@mail.btechnet.com >
@ 1999-04-03 23:47         ` Izaak Bozof
  1999-04-04  0:00           ` Installing Paul B. Brown
  0 siblings, 1 reply; 16+ messages in thread
From: Izaak Bozof @ 1999-04-03 23:47 UTC (permalink / raw)
  To: axp-list, pbrown

Paul

The only suggestion I make is to proofread and pass it round for comment.
I found a couple of path inaccuracies in it.. (i,e, Line #12 -- my RH 52 cd
doesn't have this directory)

izaak

At 06:13 p 4/3/99 , you wrote:
>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                          
>> _________________________________________________
>> 
>
>-- 
>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                          
_________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03 23:47         ` Installing Izaak Bozof
@ 1999-04-04  0:00           ` Paul B. Brown
  0 siblings, 0 replies; 16+ messages in thread
From: Paul B. Brown @ 1999-04-04  0:00 UTC (permalink / raw)
  To: Izaak Bozof; +Cc: axp-list


That's very possible.  I origonally wrote the ytext for RH 4.2.  Any
corrections would be appreciated.

---------------------------------------------------------------------------
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:

> Paul
> 
> The only suggestion I make is to proofread and pass it round for comment.
> I found a couple of path inaccuracies in it.. (i,e, Line #12 -- my RH 52 cd
> doesn't have this directory)
> 
> izaak
> 
> At 06:13 p 4/3/99 , you wrote:
> >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                          
> >> _________________________________________________
> >> 
> >
> >-- 
> >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                          
> _________________________________________________
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-03 23:18           ` Installing Paul B. Brown
@ 1999-04-04 20:15             ` Rusty Lingenfelter
  1999-04-04 20:27               ` Installing Paul B. Brown
  0 siblings, 1 reply; 16+ messages in thread
From: Rusty Lingenfelter @ 1999-04-04 20:15 UTC (permalink / raw)
  To: axp-list, pbrown

> Paul,

As someone wrote previously, the correct directory for step 12 is:

/mnt/cdrom/milo/udb-noname

Also in step 29, ftp.digital.com did not allow anonymous FTP. I used my browser and went
straight to the directory. I am not too linux smart and did not know how to dial my ISP
without using kppp. Thanks.

Rusty



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Installing
  1999-04-04 20:15             ` Installing Rusty Lingenfelter
@ 1999-04-04 20:27               ` Paul B. Brown
  0 siblings, 0 replies; 16+ messages in thread
From: Paul B. Brown @ 1999-04-04 20:27 UTC (permalink / raw)
  To: Rusty Lingenfelter; +Cc: axp-list


Got it.  Thanks!  :-)

---------------------------------------------------------------------------
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 Sun, 4 Apr 1999, Rusty Lingenfelter wrote:

> > Paul,
> 
> As someone wrote previously, the correct directory for step 12 is:
> 
> /mnt/cdrom/milo/udb-noname
> 
> Also in step 29, ftp.digital.com did not allow anonymous FTP. I used my browser and went
> straight to the directory. I am not too linux smart and did not know how to dial my ISP
> without using kppp. Thanks.
> 
> Rusty
> 
> 


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~1999-04-04 20:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-03 13:23 Installing Ken Hansen
  -- strict thread matches above, loose matches on Subject: below --
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       ` Installing Paul B. Brown
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox