![]() |
PCI Promise Ultra66 card.
From: m thompso <thompso_m@hotmail.com>
How to do a fresh install of Caldera OpenLinux eDesktop 2.4 on
to a hard drive that is connected to a PCI Promise Ultra66
card.
Before installing Linux, I used PowerQuest PartitionMagic to partition my hard drive
http://sites.netscape.net/memo81.
1) Use a Linux boot disk to boot your system (if you don't
have one yet, you can get one from
http://www.toms.net/rb/
2) At the Linux console prompt, type "cat /proc/pci"
without the quotes.
3) This will spit out five I/O numbers for your Promise
Ultra66 card (the ones that are not in brackets).
4) Label those I/O numbers a, b, c, d, e (the first is "a";
the second is "b"; etc.).
5) Now, restart your system and boot from the Linux
installation CD (or installation diskette).
6) At the "select install mode" screen, highlight "expert
install mode" (do NOT press enter yet). I'm a newbie and I was
able to easily proceed with the expert install mode. Newbies,
don't be scared by the words "expert install mode." It is
honestly painless. Think of "expert install mode" as "custom
install mode."
7) Press "e" to edit the entry.
8) Highlight the line that starts with the word "kernel".
9) Press "e" to edit this entry.
10) At the end of the entry, add " ide2=a,b ide3=c,d"
without the quotes. Be sure to substitute the actual I/O
numbers for the letters shown above.
11) Press enter when done completing step #10.
12) Press "b" to boot the installation with the changes you
made in step #10.
13) When you see a screen come up that says "Select Language,"
press CTRL-ALT-F2
14) You will see a login prompt labeled, "noname login:"
15) Type "root" and press enter (Linux is case sensitive; use
all lowercase)
16) Type "cat /proc/partitions" and press enter. This
will show you a list of all available drives and all available
partitions on those drives. This also tells you the major and
minor numbers of your drives and partitions. Decide which
drives and partitions you will use for Linux and write down
their names and their major/minor numbers. For this example,
I'll use drive hde, partition hde5 for my swap,
and I'll use partition hde12 as my Linux root
partition.
17) Type "cd /dev" and press enter
18) You will now need to use the information for the drives
and partitions that you chose in step #16.
19) Type "rm hde5" and press enter (note: this removes
the buggy Caldera device file IN THIS EXAMPLE. Your partition
names and numbers may vary).
20) Type "rm hde12" and press enter (note: this removes
the buggy Caldera device file IN THIS EXAMPLE. Your partition
names and numbers may vary)
21) Type "mknod hde5 b 33 5" and press enter (the "33"
and "5" at the end of the command are the major and minor
numbers respectively. These numbers were obtained in step #16).
(note: this adds a new non-buggy device file)
22) Type "mknod hde12 b 33 12" and press enter (the
"33" and "12" at the end of the command are the major and minor
numbers respectively. These numbers were obtained in step #16).
(note: this adds a new non-buggy device file)
23) Type "mknod hde b 33 0" and press enter (note: this
creates a device file that Caldera apparently forgot to
create)
24) Press CTRL-ALT-F8 and continue with the installation
25) I always chose to install Linux to "Selected Partitions"
but you are free to setup Linux according to your own
wishes.
26) After successfully installing Linux, you will want to edit
/etc/lilo.conf with any text editor. Add " ide2=a,b
ide3=c,d" without the quotes to the end of your append line
(remember to substitute the actual I/O numbers for the letters
in the example). If you turned off your PC without modifying
/etc/lilo.conf, just type "Linux ide2=a,b ide3=c,d"
without the quotes at the boot prompt to get back into Linux
(you can now edit /etc/lilo.conf so you don't have to type this
lengthy command to boot your Linux box).
BTW - I installed Linux on my system using "Linux ide2=a,b
ide3=c,d" but all the documentation describes adding 2 to
the I/O numbers for b and d, but YMMV (example: ide2=a,b+2
ide3=c,d+2).
Checkout these great sites to now make your drive operate in
UDMA mode (the first is specific to the HPT366 card but
most of the information can easily be applied to the Promise
Ultra66 card. When you get around to recompiling the kernel,
you'll want to include support for the PDC20262 chip
instead of the HPT266 chip):
http://metalab.unc.edu/mdw/HOWTO/mini/Ultra-DMA.html
Hope that Helps,
Matt (thompso_m@hotmail.com)