Re: Success!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ben,
the problem is not to boot or to run linux from an ataraid-array, the problem is to install it on such a configuration.


Making the system boot Linux off of the drives was a bit trickier,
however.


As I mentioned before, use grub as boot-manager (you also can make nice-looking menus...). It works like a charm for me!

5) Now the tricky(ish) part. Get the modified version of lilo, from
  http://www.rug-rats.org/~wilfried/ (follow the V 0.1 link on the left,
  then there a link to lilo-hacked.tar.gz on the page). This lilo almost
  works, except it seems to have been writted for an earlier version of
  the patch, where the ataraid devices had different devices numbers.
  Here's my patch to geometry.c to make it work:

=====  cut here  =========================================================
diff -ur lilo-21.7.3/geometry.c /home/ben/lilo-21.7.3/geometry.c
--- lilo-21.7.3/geometry.c      Fri Apr 27 09:31:32 2001
+++ /home/ben/lilo-21.7.3/geometry.c    Sun Aug 19 15:15:22 2001
@@ -331,7 +331,7 @@
       case MAJOR_I2O+5:
       case MAJOR_I2O+6:
       case MAJOR_I2O+7:
-        case 60:       /* fix for raid partitions */
+        case 114:      /* fix for raid partitions */
           geo->device = 0x80+(MINOR(device) >> 6)+(MAJOR(device) ==
MAJOR_HD ?
             0 : last_dev(MAJOR_HD,64));
           if (ioctl(fd,HDIO_GETGEO,&hdprm) < 0)
=====  cut here  =========================================================

Unfortunately I know nothing about driver programming but if there would be a way to map the /dev/ataraid/dXpY to a /dev/sdX or /dev/hdX this would be cool! Then I could install linux to a remapped /dev/sdX and change with a new kernel after installation to /dev/ataraid/dXpY permanently. If you have any idea about this, lets give it a try!

Greetings Helge.






[Index of Archives]     [Linux RAID]     [Linux Device Mapper]     [Linux IDE]     [Linux SCSI]     [Kernel]     [Linux Books]     [Linux Admin]     [GFS]     [RPM]     [Yosemite Campgrounds]     [AMD 64]

  Powered by Linux