moyix's ghost
02-17-2002, 04:15 PM
Major props go to the author of this Portugese page: http://bulmalug.net/body.phtml?nIdNoticia=1067&nIdPage=2
All I did was figure out what he was saying and put it into english :)
Note:
The author used Debian 2.2 (potato) for this.
I can't provide a literal translation, but here's the basic process, from
what I could make out:
* Create a RAID MAKEDEV script modified to make the devices in /target/dev/
* Create a 2.4 kernel with ATARAID stuff built in:
-CONFIG_BLK_DEV_HPT366 HPT366 chipset support
-CONFIG_BLK_DEV-PDC202X PROMISE PDC202 {46|62|65|67|68} support
-CONFIG_PDC202XX_FORCE Special FastTrack Feature
-CONFIG_BLK_DEV_ATARAID Support for IDE Raid Controllers
-CONFIG_BLK_DEV_ATARAID_PDC Support Promise software RAID (Fasttrak(tm))
-CONFIG_BLK_DEV_ATARAID_HPT Highpoint 370 software RAID
* Get the official Promise drivers
* Boot, and start the installer
* When it asks if you want to preload essential modules from a floppy,
choose "Yes" and load the Promise drivers. The RAID array will then
appear under /dev/sda.
* Do a normal installation, until it gets to the "Make a boot floppy" stage,
and then switch to tty2.
* (At this point, everything is installed under /target, which is really
/dev/sda)
* Copy your custom vmlinuz kernel from a floppy and make the devices:
- #> mount /dev/fd0 /floppy
- #> cd /target/boot
- #> cp /floppy/vmlinuz
- #> #> /floppy/makedev [Note that this is a MODIFIED script, which
makes its devices in /target]
* Edit /etc/lilo.conf as follows (using the ae editor that comes with the
installer):
- Change root=/dev/sdaX to root=/dev/ataraid/d0pX (where X is the root
partition)
- Change image=/vmlinuz to image=/boot/vmlinuz [Is this step
unnecessary? Seems like the symlink should be fine...]
- Do NOT touch the boot=/dev/sda line because "this line indicates on
which MBR to install LILO and at this moment our array is using SCSI
emulation"
- Write and Quit (^X, ^W, ^X, ^Q)
* Edit /target/etc/fstab and change all instances of /dev/sdaX to
/dev/ataraid/d0pX
* Re-run LILO
* Reboot
* After the first boot, edit lilo.conf and change the boot=/dev/sda line to
boot=/dev/ataraid/d0, and re-run LILO. If LILO complains that it doesn't
know how to handle "device 0x7201", apt-get a newer lilo and try again.
I think that that's the process he uses, and I can't find much wrong with
it. My only concerns are that the installer might not load the "essential
modules" (the last time I tried it, it didn't; however, I never got around to trying this with the drivers
I found later. I have a feeling they would work better, since they don't
seem to be distribution specific.)
Promise drivers: http://students.tjs.org/~brendandg/rel.tgz
Favorite quotes:
"Finalment, la instalació ens durà a la opció "Make boot floppy". Podeu
fer-lo si vos fa ilusió, però és una mica inútil, bàsicament perque _no_
arrancarà" (Finally, the installation offers the option "Make boot floppy."
You can do this if you want that illusion, however it's really useless,
basically because it doesn't work.)
Final notes:
I have another method of doing this, that uses woody and does not require you to use the official Promise drivers at any stage, but I haven't gotten around to writing it up yet.
Brendan Dolan-Gavitt, (c)2002
All I did was figure out what he was saying and put it into english :)
Note:
The author used Debian 2.2 (potato) for this.
I can't provide a literal translation, but here's the basic process, from
what I could make out:
* Create a RAID MAKEDEV script modified to make the devices in /target/dev/
* Create a 2.4 kernel with ATARAID stuff built in:
-CONFIG_BLK_DEV_HPT366 HPT366 chipset support
-CONFIG_BLK_DEV-PDC202X PROMISE PDC202 {46|62|65|67|68} support
-CONFIG_PDC202XX_FORCE Special FastTrack Feature
-CONFIG_BLK_DEV_ATARAID Support for IDE Raid Controllers
-CONFIG_BLK_DEV_ATARAID_PDC Support Promise software RAID (Fasttrak(tm))
-CONFIG_BLK_DEV_ATARAID_HPT Highpoint 370 software RAID
* Get the official Promise drivers
* Boot, and start the installer
* When it asks if you want to preload essential modules from a floppy,
choose "Yes" and load the Promise drivers. The RAID array will then
appear under /dev/sda.
* Do a normal installation, until it gets to the "Make a boot floppy" stage,
and then switch to tty2.
* (At this point, everything is installed under /target, which is really
/dev/sda)
* Copy your custom vmlinuz kernel from a floppy and make the devices:
- #> mount /dev/fd0 /floppy
- #> cd /target/boot
- #> cp /floppy/vmlinuz
- #> #> /floppy/makedev [Note that this is a MODIFIED script, which
makes its devices in /target]
* Edit /etc/lilo.conf as follows (using the ae editor that comes with the
installer):
- Change root=/dev/sdaX to root=/dev/ataraid/d0pX (where X is the root
partition)
- Change image=/vmlinuz to image=/boot/vmlinuz [Is this step
unnecessary? Seems like the symlink should be fine...]
- Do NOT touch the boot=/dev/sda line because "this line indicates on
which MBR to install LILO and at this moment our array is using SCSI
emulation"
- Write and Quit (^X, ^W, ^X, ^Q)
* Edit /target/etc/fstab and change all instances of /dev/sdaX to
/dev/ataraid/d0pX
* Re-run LILO
* Reboot
* After the first boot, edit lilo.conf and change the boot=/dev/sda line to
boot=/dev/ataraid/d0, and re-run LILO. If LILO complains that it doesn't
know how to handle "device 0x7201", apt-get a newer lilo and try again.
I think that that's the process he uses, and I can't find much wrong with
it. My only concerns are that the installer might not load the "essential
modules" (the last time I tried it, it didn't; however, I never got around to trying this with the drivers
I found later. I have a feeling they would work better, since they don't
seem to be distribution specific.)
Promise drivers: http://students.tjs.org/~brendandg/rel.tgz
Favorite quotes:
"Finalment, la instalació ens durà a la opció "Make boot floppy". Podeu
fer-lo si vos fa ilusió, però és una mica inútil, bàsicament perque _no_
arrancarà" (Finally, the installation offers the option "Make boot floppy."
You can do this if you want that illusion, however it's really useless,
basically because it doesn't work.)
Final notes:
I have another method of doing this, that uses woody and does not require you to use the official Promise drivers at any stage, but I haven't gotten around to writing it up yet.
Brendan Dolan-Gavitt, (c)2002