Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-27-2001, 12:59 PM   #1
LQ Newbie
Registered: Dec 2001
Location: San Francisco
Distribution: Redhat 7.1
Posts: 1

Rep: Reputation: 0
Talking SUCCESS! Installed dual book Win2k / RH 7.1 on SMP ABIT-VP6 with HPT370 in RAID-0

After countless hours of trial-and-error, I've finally managed to set up my machine to dual boot and take advatage of the SMP and RAID features of the Abit VP6 motherboard. Judging by the many posts on this and other forums, many other people have also had problems installing on this motherboard. If it weren't for the help of the Linux community, I never would have figured this out, so I hope I can return the favor by helping out some other linux newbies:

My system:

Abit VP6 motherboard
Dual PIII 1-Ghz processors
On-board HPT370 IDE RAID
2 Seagate Cheetah 40mb HD, RAID-0
Windows 2000
Redhat 7.1

The short of it:

Set up the motherboard.
Install Windows 2000.
Flash the latest VP6 and HPT bios.
Download Linux driver from Highpoint.
Install Linux using the custom driver.
Build kernel 2.4.17 w/ HPT370 RAID support and ntfs support.
Set up /dev/ataraid entries
Tweak lilo.conf and fstab
Install lilo 22.1
Setup boot.ini in Win2k.

The long of it:

Set up the mother board: If you have 2 (and only 2) disks like me, its best to put them on separate channels. Jumper them to both be masters and put them on the HPT370 (you may need to buy another cable). Next, set your bios boot sequence to floppy; cdrom; ataraid. Then enter the HPT370 bios, and stripe the two disks together as RAID-0, with block size = 64kb (for speed). Finally, set the first disk in the array as the boot disk.

Install Windows 2000: I installed using the usual four boot disks. Just make sure you press F6 at the beginning when prompted for SCSI driver disks, then insert the HotRod driver disk that came with your Abit. When partitioning for Win2k, you should see one drive with 2x the size of your smallest drive in the array. I allocated about 75% of the array to Win2k, since it is my primary OS.

Flash The Latest Bios: To run the Highpoint drivers, you'll need to have the newer Highpoint bios. But, since the HPT370 is on-board with the mobo, it has to be flashed WITH the mobo bios. Of course, the latest bios from Abit does not contain the new HPT370 bios :-< The solution is to get this pirated bios from Go to 'Downloads' and look for the "hacked" bios with newer HPT v1.2.x bios. Follow their instructions for installation.

Download Highpoint Drivers: Using your (hopefully still) working Windows installation, download the Linux drivers from Following their instructions, you will create 2 disks: one with an installer image disk that contains a kernel that can handle the HPT RAID, and one driver disk that also contains a kernel, some device drivers, and an installer script.

Install Redhat 7.1: Boot the machine to the installer image and enter "expert text" at the first prompt. Then insert the other driver disk when prompted and proceed with installation. Use fdisk to partition your drives. Your RAID will live on /dev/sda. Windows will be on the first partition at sda1. I chose to create 3 additional logical partitions: / at /dev/sda2; /home at /dev/sda3; swap at /dev/sda3. In hindsight, it probably would have bee a good idea to put /usr in a separate partition, but then I'd have to create a primary and extended partition , since you can only have 4 logical partitions per volume. In any case, I allocated 512 mb to swap and split the rest 25%/75% between / and /home, respectively. Do NOT install lilo to the MBR. Instead, install it to the root partition (/dev/sda2 in my case). If you do overwrite the MBR, Win2k will not boot unless you do a rescue (which really sucks). DO create a bootdisk for Linux (but don't overwrite your HPT driver disk)! Per the Highpoint instructions, run the postinstall script before completing the RH installation. Finally, go back to Windows and copy the vmlinuz kernel from the Highpoint driver disk over the one on your Linux bootdisk. This is because you'll need to boot from disk (for now) and the bootdisk creation you previously ran did not contain the kernel needed to access the HPT370. Reboot from your new bootdisk. At this point you should have stable system that can read your RAID, but is only running one processor. This was a huge improvement over my previous arrangement (e.g. nothing) but I bought a dual CPU system and damit, I want to use both CPUs. Read on.

Download kernel 2.4.17: Get the source for kernel 2.4.17 from and drop it in /usr/src/linux-2.4.17. Supposedly, kernels as early as 2.4.10 supported the HPT370 RAID, but I went with the latest. For instructions on kernel building see
I used the kernel-2.4.2-2-i686-smp.config as my basis for configuration and then added IDE RAID and HPT 370 support (under the ATA/IDE stuff). Make sure you have experimental code maturity enabled or the IDE RAID option will be disabled. I also added support for ntfs so I could read the windows partition. Build as directed. Also run mkinitrd, especially if you built your IDE RAID support as a module.

Setup /dev/ataraid: Unlike the Highpoint drivers, this new kernel will treat your RAID as a special ataraid device, not a SCSI device. There is all kinds of debate as to which is better, and whether its hardware or software, and so on. But I really didn't care. All I wanted was an SMP machine that will read the RAID with reasonable performance. But, I digress. To set up the device entries use the handy MAKEDEV script that comes from
This benign script makes several entries under /dev/ataraid and was written by the fine fellow who authored the actual HPT370 module.

At this point, its probably a good idea to try out your kernel. run mkbootdisk 2.4.17 to create a bootdisk with your new kernel. Reboot from this new disk. If you get a kernel panic, don't panic. Reboot again but pass "linux root=7202" at the boot prompt. This tells the kernel where things are. I'm not exactly sure what the numbers mean, but you should change the last digit to match the number of the partition where the root directory lives. In my case / = /dev/ataraid/d0p2, hence 7202. Don't forget the zero! You may get a few errors about missing filesystems, but if you get through the boot sequence, give yourself a major pat on the back (or a cold beer).

Install Lilo 22.1: As luck would have it, the lilo that ships with RH 7.1 does not support booting from an ataraid device. So go get lilo 22.1 from and install as directed.

Edit fstab: In /etc/fstab, you'll need to move the swap space from /dev/sda to its new home on /dev/ataraid. This will correct those missing filesystem errors we got earlier. So if swap was on sda4 then it would now be at ataraid/d0p4 (that's disk 0, partition 4) Move any other filesystem you put on sda in the same manner. While your at it, why not add the windows partition. Here is my entry: /dev/ataraid/d0p1 /mnt/win ntfs umask=022,noexec,ro 0 0.

Edit lilo.conf: Point /etc/lilo.conf to your new kernel on the new /dev/ataraid like so:

Now just run lilo and viola!

Set Up The Dual Boot: I'm sure your tired of booting from a floppy by now, so here is your relief. Drop a FAT formatted floppy disk in the drive an mount it. Then copy the boot sector created by lilo into a file on the disk like this:

dd if=/dev/ataraid/d0p2 bs=512 count=1 of=/mnt/floppy/linux.bin.

You may need to adjust the 'if' parameter to whichever partition has the /, which should also be the same as the 'boot' parameter in lilo.conf. Now, take the floppy and go back to Windows (by taking the Linux bootdisk out too) and copy a:/linux.bin to c:/. Finally add this line to c:/boot.ini:

c:/linux.bin=Redhat Linux 7.1

boot.ini is one of those fragile system files that Windows desperately tries to hide from idiot users so you may have to fool with your settings to find it.

Reboot and enjoy! You should now have a RAID and SMP system.

I've read of other solutions by first installing to an additional non-RAID drive, building the kernel, and then moving the installation back to the RAID drive, but it seems even more clugy than my method and it takes an extra HD.

Just the same, I hope this helps some of you, and hope I can answer any questions that arise.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing dual boot on HP372 raid controller (ABIT-KX7333R) m0ridin Fedora - Installation 0 10-23-2004 11:56 AM
HPT370/Abit & RedHat 7.2 Install dillera Linux - Software 0 01-28-2002 12:49 AM
Suse 7.0, 2.2.19 kernel and Abit VP6 compatibility? grobertsiii Linux - Software 0 01-21-2002 09:51 AM
ABIT VP6 Dual Processor and RAID jonfa Linux - General 0 12-11-2001 03:07 PM
Abit VP6 and test_for_bad_drives: can't even read (input/output error) writeson Linux - Software 0 10-12-2001 11:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration