I finally have some more data to post about this issue. (I had a terrible time trying to capture any data or messages from the initramfs shell prompt. It wouldn't let me mount a USB flash drive so I could save anything. I tried multiple flash drives. Same thing. When I entered:
It responded with "invalid parameter". If I entered:
Code: Select all
mount -t vfat /dev/sdc1 /mnt
or
mount -t fat32 /dev/sdc1 /mnt
it responded with "no such device" (or some such message).
After lots of web searching for an answer I found a comment from somebody that the grub/debian initramfs shell only supports mounting ntfs formatted drives. Strange, but that is a fact! Most flash drives come formatted FAT32. I tried formatting one NTFS with Windows and then tried mounting it with
and that worked! I was finally able to capture some messages.
When booting with UEFI+Legacy,
returns this:
Code: Select all
ARRAY metadata=imsm UUID=f46ce314:c874c458:5630027e:d4375317
devices=/dev/sda,/dev/sdb,/dev/md/imsm0
ARRAY /dev/md/WD1TBRAID0 container=f46ce314:c874c458:5630027e:d4375317 member=0 UUID=58b9905f:2a773399:518dbd70:7b52bdc0
When booting in pure UEFI mode,
returns this:
Code: Select all
ARRAY metadata=imsm UUID=f46ce314:c874c458:5630027e:d4375317
devices=/dev/sdb,/dev/sda
ARRAY /dev/md/WD1TBRAID0 container=f46ce314:c874c458:5630027e:d4375317 member=0 UUID=58b9905f:2a773399:518dbd70:7b52bdc0
The results are very similar. They both report "metadata=imsm" and "ARRAY /dev/md/WD1TBRAID0". WD1TBRAID is the name I gave to the array in the BIOS setup. What's missing in the pure UEFI case is "devices=/dev/md/imsm0".
I compared the dmesg logs and noticed something different near the end where it is reporting information about the SATA drives. In UEFI+Legacy mode I get this:
Code: Select all
[ 2.685605] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 2.685690] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 2.687120] sd 1:0:0:0: [sdb] Write Protect is off
[ 2.688523] sd 0:0:0:0: [sda] Write Protect is off
[ 2.689999] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 2.690019] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.691408] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.692847] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.719055] sr 2:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 2.720473] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 2.733918] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 2.770225] sr 2:0:0:0: Attached scsi CD-ROM sr0
[ 2.783090] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.865325] md126: detected capacity change from 0 to 1000210432000
[ 2.878622] md126: p1 p2 p3 p4 p5 p6 p7 p8 p9
In pure UEFI mode I get this:
Code: Select all
[ 2.727044] sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 2.727045] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 2.727056] sd 0:0:0:0: [sda] Write Protect is off
[ 2.728531] sd 1:0:0:0: [sdb] Write Protect is off
[ 2.729982] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.731385] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 2.732605] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.732838] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.765745] sr 2:0:0:0: [sr0] scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
[ 2.767160] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 2.770708] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 2.807971] sd 0:0:0:0: [sda] Attached SCSI disk
[ 2.816706] sr 2:0:0:0: Attached scsi CD-ROM sr0
They are basically the same except the lines
Code: Select all
[ 2.865325] md126: detected capacity change from 0 to 1000210432000
[ 2.878622] md126: p1 p2 p3 p4 p5 p6 p7 p8 p9
are missing in the pure UEFI case. /dev/md126p9 is the partition where Debian is installed.
So, it appears that in both cases the RAID array is being discovered. What's missing in the pure UEFI case is that the RAID is not being assembled. If I try to assemble it manually with:
I get an empty response.