abit kt7 - booting from raid

abit kt7 - booting from raid

Post by Matthias Papesc » Wed, 29 May 2002 16:36:35



Hi,

Yesterday I added a nice 2x60GB-raid0 setup and I woul like to boot
from it.

First I set up the raid-array in the bios. After that, I booted into
the existing sysytem, which is still present on /dev/hd{a,b,c}.

- Compiled a new kernel 2.4.18 with module support for the hpt370
- created the /dev/ataraid/* devices
- rebooted with the new kernel
- partitioned /dev/ataraid/d0p{1,5}
- reboot from CD and duplicate rootfs on /dev/ataraid/d0p1
- reboot
- mount /dev/ataraid/d0p1 /mnt && chroot /mnt && mount /proc
- modify lilo.conf:
  boot=/dev/ataraid/d0
  disk=/dev/ataraid/d0
  bios=0x80
  image=/boot/vmlinuz

  default=test
  image=/boot/vmlinuz
    append="root=/dev/ram0 rw init=/linuxrc"
    initrd=/boot/initrd.img
    ramdisk="6144"
    label=test

- modify mkinitrd-setup to include the hpt370-module,
  the devices /dev/atraid/d0,/dev/ataraid/d0{p1,p5}, /dev/hd{a-h}
  and to  finally adapt linuxrc for the initrd-image

  /bin/mount -n -o rw -t reiserfs /dev/ataraid/d0p1 /mnt
  #                               ^^^^^^^^^^^^^^^^^
  #                              worked for /dev/hda1
  cd /mnt
  /sbin/pivot_root . initrd
  exec /usr/sbin/chroot . /sbin/init <dev/console >dev/console 2>&1

- create the image and run lilo

- Reboot and change the primary boot device in the bios to ATA100

==> What happens:

- the bios tells me about the raid with 2 disks

- lilo boots the kernel and loads the initrd-image
  (definitively the one from the raid)

- linuxrc starts executing

- the hpt370 module cannot be loaded: No array found!
  However, all disks are shown /dev/hd{a,b,c,e,g}

- consequently, /dev/ataraid/d0p1 cannot be mounted: wrong fs,
  superblock or too many fs mounted.

I retried the same steps with the hpt370 compiled into the kernel but
get the same results: no array found.

The installed system is a debian woody. Sorry, that this turned out a
little long, but I just can't figure out what went wrong.

Any hints appreciated.

TIA,
Matthias

 
 
 

1. Abit kt7-RAID HPT370/370A RAID chipset

I'm piecing together a dual HD system in hopes of using RAID level 1
(mirroring) for redudancy in case of a drive failure. I would like to
use my KT7-RAID motherboard, but I have not been able to find drivers
besides the Linux open source drivers which can be found here:
http://www.highpoint-tech.com/370drivers_down.htm. IDE mirroring is
all that I need for this server since speed isn't as much of a concern
as the abilty to recover data. What drivers should I use to enable
RAID with this chipset?

Thanks,

jC

2. ppp configuration redhat 5.1

3. Abit KT7-RAID & Linux Software RAID

4. Disconnect it if it doesn't work.

5. Linux and Raid 0 on a ABit KT7-RAID?

6. ** IDEAS: Cross-platform development using C++

7. LILO problems with RH7.1 and ABit KT7-Raid

8. DNS problem??

9. RedHat 7 and ABIT KT7-RAID

10. Abit KT7 Raid, Promise FastTrak100 and Suse 7.2

11. FreeBSD on a Abit KT7-RAID

12. ABIT KT7-RAID supported by FreeBSD 4.1.1?

13. Drive corruption with VIA VT82C686A (ABIT KT7-RAID) - Still -