Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Andrew `Hex' Munkres <amunk@efn.org>
Subject: Re: OK... so I'm a newbie but...
Date: 2000/03/21	[thread overview]
Message-ID: <m3u2hzambr.fsf@efn.org> (raw)
In-Reply-To: d9DXOCSXCl3AN0MF=QezLZoEHKXl@4ax.com

Mr. Moz <MrMoz@supernews.com> writes:

> Well, I bought a DEC Personal Workstation 433a with an unworking copy
> of NT 4 on it.  That won't last.  ;-)
> 
> The problem is I can't find any good documentation on installing RH 6
> on this beast.  PLEASE don't just tell me to go to ALPHALINUX.ORG or
> one of those sites, i have searched and searched and find nothing
> about how to install RH on a 433a.  Could some kind soul either post
> instructions for me or let me know where I can find it. 

If NT is installed on the machine, it will have either ARC or AlphaBIOS
firmware in the flash memory, depending on how old it is. The RH6.1
manual says that on the 433a, it is possible to use both SRM and
ARC/AlphaBIOS to boot Linux. I would recommend using SRM when possible,
but I do not use it myself because the manual says that the 164LX (which
is what mine is) will only boot Linux from AlphaBIOS. (Personally I have
doubts about this 'cause I was able to load MILO off a diskette made
from an image file from ftp.debian.org, but I was so frustrated by the
time I got the RH6.1 CD that I just wanted something that would work,
and now I'm not going to try SRM until I have got a tape drive installed
& have made a backup 'cause I don't want to lose all the data again!)
Consequently, I only know for certain (well, not exactly certain except
for on a 164LX, maybe not even then) how to install it using
ARC/AlphaBIOS (actually only the latter since that's what 164LXs use.)
So, here it is:

First, you should have a FAT16 partition (on the disk where you intend to
put the /boot & / filesystems) which the firmware can see. It should be
at least 1.44MB, preferably larger so you can put various useful
programs on it. AlphaBIOS can create partitions & format them with
FAT16; ARC needs one of these programs to do that. (It is likely that
you can go to ftp.digital.com and download it if you don't have it.)

Use dd or rawrite.exe or somesuch to write the image of the MILO
diskette to a diskette. These images are machine specific; the name of
the one for the 433a is miata.img (these can be found on the CD or
ftp.<yourdistofchoice>.<tld> or even ftp.digital.com in some cases.)
Create a boot selection in ARC/AlphaBIOS pointing to the program
linload.exe on the diskette drive (leave the load options blank for now;
the path field is irrelevant.) Now, boot into MILO using this
selection. If this works, you should see MILO's prompt. Now you have
some options:

The following will launch into the RH installer after loading the kernel
from the CD and using the CD as the root fs (note that if your CD drive
isn't called scd0, then use whatever it is instead of that:)
boot scd0:/kernels/generic.gz root=/dev/scd0

If this doesn't work, or if you don't have a CD, write kernel & root
images to diskettes like you did with the MILO image and run this
(again, if the diskette drive isn't called fd0, replace fd0 with
whatever it is:)
boot fd0:vmlinux.gz root=/dev/fd0 load_ramdisk=1
(although this one didn't work for me; conversely, some machine refuse
the CD based install and require this.)

If it can't read the kernel from the diskette and or the rootfs from the
CD, or vice versa, try these:
boot scd0:/kernels/generic.gz root=/dev/fd0 load_ramdisk=1
boot fd0:vmlinux.gz root/dev/scd0

Note that these commands will, without extra options, start the
installation in graphical mode. If you want to run a text based
installation (which I recommend you do; I didn't know that it was
possible, and because of that I know how awful the partitioning program
used in the graphical installer is!) you must append "text expert"
(without the quotes I believe, but I'm not sure; I never tried this, I
only saw it here, and I'm not sure I remember it correctly; if anyone
here knows that this is incorrect, please post a correction, thanks in
advance) to the above MILO commands.

The install program will run a partitioning program so you can set up
the disk for Linux. Be sure that you leave the FAT16 partition
unaltered. If it gives you the option of mkdosfsing the FAT16 partition,
_don't!_ This is unnecessary because it should already be formatted (and
even if it wasn't for some reason, it could be later,) and I've read
that doing this will sometimes crash the installer. Write down/remember
what partitions you created and what their mount points are; you'll need
to know them when you boot the new Linux installation. (If you are
running the text mode install, you can switch to another virtual console
and install MILO to the FAT16 partition as described in the paragraph
after the next one; skip ahead to that part and return to the next
paragraph when you entering the load options in the firmware. If not,
just read on.)

Now, you must boot the new Linux installation. Get back to the MILO
prompt and boot it using the appropriate command for your partitioning
scheme. For example:
boot sda3:/vmlinuz root=/dev/sda4
would be used if sda3 is mounted at /boot and sda4 at /. You should be
able to boot Linux at this point. However, if you power-cycle the
machine, you will need to read in MILO from the diskette again.

Thus, you should install MILO to the FAT16 partition. Login as root/su
root/go into single-user mode, mount the FAT16 partition, mount the MILO
diskette, and cp * from the latter to the former.

Next, shutdown and get back to the firmware configuration menu. Create a
new boot selection. Select the FAT16 partition, enter linload.exe as the
filename, and enter the MILO boot command in the load options field. You
should be able to use this to boot into Linux.

(Note that the device names are assuming that the devices are SCSI; I
believe that the equivalents for IDE <fx: shock! horror!> are identical
to the SCSI device names except that the first letter is h instead of
s, but I'm not sure of this.)

Now, for SRM (caution - this is untested by me:)

The disk image you use for SRM is called generic.img. To use this
diskette to boot into the installer using the CD as root fs, run this
command at the SRM prompt:
boot dva0 -file vmlinux.gz -flags "root=/dev/scd0"

Or, for a ramdisk install (using a root fs image on diskette:)
boot dva0 -file vmlinux.gz -flags "root=/dev/fd0 load_ramdisk=1"

For text expert mode, type "text expert" (no quotes) inside the set of
quotes containing the "root=whatever" as shown above. Again, this is highly
recommended, even more so than with ARC/AlphaBIOS. In fact, I'd say
don't even consider the graphical install for SRM; if you're using SRM,
you're probably not frightened of command lines!

Once you're in fdisk, type b and press enter. The first partition should
be the boot loader (called "aboot") partition. It should be about 2MB
and be set to type "boot." The rest are of course of the types "swap"
and "ext2fs" (the numbers 83 and 82 aren't used in BSD style
partitions.) Once again, be sure to remember/write down what the partitions are and
where they're mounted.

Once the installation is done, you should be able to boot with an
appropriate boot command. Apparently, this doesn't require a separate
partition for the /boot directory like MILO does. For example:
boot dka0 -file 3/boot/vmlinuz-2.2.12-20 -flags "root=/dev/sda3"

Notice the number after the -file switch; this is the partition number
on the drive which is specified after "boot" on the command line. The
name is the SRM device name of the HD where the Linux kernel and the
aboot program reside (it may be different from the example, obviously.)
Also notice that dka0 is SRM's name for /dev/sda (0 is the device number
and dka is the name for the first SCSI bus; this is different from the
UNIX device nodes for SCSI devices which don't say which bus they're
on.) It also appears that the -file switch must point to an actual
kernel instead of a symlink. So, the name of the kernel must say what
version it is.

Hope this helps.
-- 
	"I want to resist, but I can't hold it back!
	The beast is unleashed, it's got to attack!"
	- Udo "Slave To Metal" Dirkschneider
	"Sic 'em, Wuffles!" - Andrew "Drongo of Alternate Sanity" Munkres



  reply	other threads:[~2000-03-21  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-21  5:00 OK... so I'm a newbie but Mr. Moz
2000-03-21  5:00 ` Andrew `Hex' Munkres [this message]
2000-03-21  5:00 ` Mohan Vaghul
2000-03-22  5:00 ` Niels Roetert
2000-03-22  5:00 ` Mr. Moz
2000-03-24  5:00 ` Mr. Moz
2000-03-24  5:00   ` Andrew `Hex' Munkres
2000-03-25  5:00     ` Mr. Moz
read-only archive

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