Bug#659460: grub-pc: grub-install can't install on raid0 device (grub-probe can't find /boot)
Quoted 8 lines · John Hughes
Quoted 7 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 6 lines · John Hughes
Package: grub-pc
Version: 1.99-14
Severity: important
Tags: d-i
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
/usr/sbin/grub-probe: error: no such disk/dev/md126p5This looks like fakeraid rather than a honest software raid. You need to manually add it to device.map.
The difference is rather blurred now that it's mdadm that's handling it rather than the old dm-raid.
This is exactly the problem. GRUB can't distinguish between the both. Do you know an ioctl, or at very least a command to distinguish them? Also honest raid doesn't try to scam you into believing that it's a hardware raid.
Quoted 5 lines
I'll try adding it to the map by hand.
Which seems to work.
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 6 lines · John Hughes
Quoted 5 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 4 lines · John Hughes
The difference is rather blurred now that it's mdadm that's handling it rather than the old dm-raid.
Quoted 8 lines
Quoted 4 lines
This is exactly the problem. GRUB can't distinguish between the both. Do you know an ioctl, or at very least a command to distinguish them? Also honest raid doesn't try to scam you into believing that it's a hardware raid.
What scam? As far as I can tell it's just a mdadm raid with an intel container format rather than a mdadm container format.
Adding BIOS driver for this screws things up.
And the scam is adding this to mobo features as a "RAID" and an attempt to make this pass as if it was a hardware RAID.
GRUB currently considers mdX as a non-available through BIOS unless user overrides it in device.map, we need to add a logic to handle the fakeraid as a BIOS disk.
It's possible to add support for intel RAID but it will be useless since the member disks aren't available through BIOS to begin with.
Quoted 2 lines
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 9 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 4 lines · John Hughes
The difference is rather blurred now that it's mdadm that's handling it rather than the old dm-raid.
This is exactly the problem. GRUB can't distinguish between the both. Do you know an ioctl, or at very least a command to distinguish them? Also honest raid doesn't try to scam you into believing that it's a hardware raid.
What scam? As far as I can tell it's just a mdadm raid with an intel container format rather than a mdadm container format.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Adding BIOS driver for this screws things up. And the scam is adding this to mobo features as a "RAID" and an attempt to make this pass as if it was a hardware RAID. GRUB currently considers mdX as a non-available through BIOS unless user overrides it in device.map, we need to add a logic to handle the fakeraid as a BIOS disk. It's possible to add support for intel RAID but it will be useless since the member disks aren't available through BIOS to begin with.
I started a cross mailing list discussion of this last year, and I think the conclusion was that grub needs to ask mdadm what the metadata format is, and if it is the intel format, assume the raid is bios accessible the way it currently does for dmraid.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJPOTfxAAoJEJrBOlT6nu75giwIAIepAzVB43PV2Ix4i02cQie6 sy3MK9uqjHkLX75XPCDB68Tyfejb9KenBxEjJqZmVt3m9flK5dIbcLRe8baMvVuZ pu2uMZ9dLc+WVVrQ3Jwd5eJfy13wRgo5bKiBvgnUVta+6DKtFCR5en9DWzmgBjWg qF88ClnG7iNjZ4wpqMkcubcBA5/lGPP69Z7ohCtQ2a4vcmBWpmyPmu4dcnyaM8OY CviSULB/nCyMs9cCCYx8IPiOdsEiB1jGaxL8Dab7oJzNTN3PDb+7Z7rUJCKK5nxS L3SCQYPGe8zSun6GCCObMkZ0O9AFMRpXFnMSVLcFVoklXnEP4MUzPuAWH/oQBlY= =mFNd
-----END PGP SIGNATURE-----