Results 1 to 2 of 2

Thread: Installing and booting from an aacraid root drive

  1. #1
    Junior Member
    Join Date
    Jan 2004
    Posts
    3

    Installing and booting from an aacraid root drive

    I want to install Knoppix to a Dell machine with an aacraid RAID 5 disk array (and no other hard drive). Knoppix works fine from the CD, so it has the proper driver. But when I do a hard drive install using knx-hdinstall, the drive is not being recognized on reboot. I'm guessing that is because the driver is a loadable module and needs to be put into the initrd image.

    My question is, how do I go about doing this? Has someone hacked knx-hdinstall so that it can load arbitrary modules into initrd? Do I need to do it myself, manually? If so, what else do I need to do to get a working system?

    Enquiring minds would be grateful to know. Thanks.

  2. #2
    Junior Member
    Join Date
    Jan 2004
    Posts
    3

    Now booting off a RAID drive

    I got this working, so I thought I would post an FYI for anyone else who might want SCSI drivers other than the ones the script installs by default.

    The knx-hdinstall script is smart about only loading those SCSI drivers that are necessary for your particular machine into the initrd file. The trouble is that the SCSI devices it works with are not the full range that Knoppix supports, but just those that are included in the miniroot. So my solution was to create my own modified miniroot with the device driver I needed, and change the knx-hdinstall script to use my miniroot. There may be easier fixes, but this worked for me.

    Here is what I did from a root prompt:

    1) cp /usr/local/bin/knx-hdinstall /tmp
    2) mkdir /mnt/work
    3) mount -t vfat -o loop,ro /cdrom/KNOPPIX/boot.img /mnt/work
    4) gzip -cd /mnt/work/miniroot.gz > /tmp/miniroot
    5) umount /mnt/work
    6) mount -t ext2 -o loop /tmp/miniroot /mnt/work
    7) cp /lib/modules/2.4.22-xfs/kernel/drivers/scsi/aacraid/aacraid.o /mnt/work/modules/scsi
    (you'll want to substitute your own device driver here)
    8) umount /mnt/work
    9) Edit knx-hdinstall and change:
    Code:
          mount -t vfat -o loop,ro /cdrom/KNOPPIX/boot.img $TL1
          gzip -cd $TL1/miniroot.gz > $TR/miniroot
          umount $TL1
    to:
    Code:
          cp /tmp/miniroot $TR
    10) rmdir /mnt/work
    11) /tmp/knx-hdinstall

    That should do it. When working with your own driver, make sure you get any dependencies it may have. I'm no module guru but I think the simplest way is using lsmod. If you don't want to trust that you can use depmod -n > /tmp/modlist.txt and check over the file for your driver.

    Hope that helps anyone in a similar situation.

Similar Threads

  1. Booting from a usb 2.0 cd-rw drive?
    By Islington in forum Hardware & Booting
    Replies: 4
    Last Post: 06-10-2005, 08:36 PM
  2. Installing on a second HDD drive
    By Khufu in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-19-2005, 05:37 PM
  3. 2 questions, pen drive and root pass(yes i looked first)
    By Whiskers in forum General Support
    Replies: 3
    Last Post: 12-29-2003, 09:50 PM
  4. Replies: 10
    Last Post: 11-26-2003, 09:02 AM
  5. Booting from the CD-ROM drive
    By apu222 in forum General Support
    Replies: 2
    Last Post: 12-27-2002, 05:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK picture

SK Hynix 32GB 2RX4 PC4-2666V DDR4 RDIMM Server Memory RAM, HMA84GR7AFR4N-VK

$169.95



Hynix & Samsun (Lot Of 36) 4GB 2Rx8 PC3L-10600R DDR3 Server Memory 144GB Total picture

Hynix & Samsun (Lot Of 36) 4GB 2Rx8 PC3L-10600R DDR3 Server Memory 144GB Total

$120.00



SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory picture

SMART(Micron)SafeStor 32GB(1X32GB) 1RX4 NN4-3200AA(DDR4) HPE Server Memory

$159.98



Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G) picture

Dell 16GB PC4-21300 (DDR4-2666) Memory (SNPPWR5TC16G)

$89.99



MTA36ASF4G72PZ-2G9E2 MICRON 32GB (1X32GB) 2RX4 PC4-2933Y MEMORY picture

MTA36ASF4G72PZ-2G9E2 MICRON 32GB (1X32GB) 2RX4 PC4-2933Y MEMORY

$229.00



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



lot of 5 SK Hynix 32GB (160GB) PC4-2666V ECC Server RAM HMA84GR7CJR4N-VK Tested picture

lot of 5 SK Hynix 32GB (160GB) PC4-2666V ECC Server RAM HMA84GR7CJR4N-VK Tested

$1000.00



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW picture

Micro SD Adapter To SD HC SDHC Memory Card Adapter Reader NEW

$1.39



x4 Intel 128GB NMB1XXD128GPS Optane Memory 200 Series PMEM Module 3200 DDR4 RAM picture

x4 Intel 128GB NMB1XXD128GPS Optane Memory 200 Series PMEM Module 3200 DDR4 RAM

$329.99