#569133 GRUB should support Windows LDM or "Dynamic Disk" partition layout

Package:
grub-pc
Source:
grub2
Description:
GRand Unified Bootloader, version 2 (PC/BIOS version)
Submitter:
Josip Rodin
Date:
2023-07-25 17:51:04 UTC
Severity:
wishlist
#569133#5
Date:
2010-02-10 09:15:54 UTC
From:
To:
Hi,

It seems that GRUB can't read disk partitions that have been converted into
"Dynamic" or LDM format by Windows. This format is a prerequisite for
software RAID on Windows, so it would definitely be useful to have.
(With modern Windows versions, unlike XP, it all became actually possible.)
But at the same time that would mean sacrificing dual-boot via GRUB, so
instead I am forced to sacrifice RAID1 data protection "over there" in
order to get "over here".

Linux kernel source Documentation/ldm.txt says:

  If you enable LDM support, then lilo is capable of booting from any of the
  discovered partitions.  However, grub does not understand the LDM partitioning
  and cannot boot from a Dynamic Disk.

I skimmed the modern GRUB sources and couldn't find much trace of LDM.
Google finds http://grub-ldm.sourceforge.net/, but it's dated 2005 and
the patch is based on the old branch:

% diffstat < grub-ldm.diff
 ChangeLog          |    3
 stage2/Makefile.am |   26 -
 stage2/builtins.c  |    7
 stage2/char_io.c   |    8
 stage2/disk_io.c   |   47 ++
 stage2/ldm.c       | 1079 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 stage2/ldm.h       |  234 +++++++++++
 stage2/list.h      |  154 +++++++
 stage2/pc_slice.h  |    6
 9 files changed, 1543 insertions(+), 21 deletions(-)

I also found the request from 2002 at the bug-grub mailing list
http://www.mail-archive.com/bug-grub@gnu.org/msg05156.html
apparently from the person who first wrote linux/fs/partitions/ldm.[ch]
So I'm just echoing it, eight years later :)

Please implement this. TIA.

#569133#12
Date:
2010-02-10 13:38:14 UTC
From:
To:
Josip Rodin wrote:
I added it to mainstream tasktracker but I doubt anyone will step in
anytime soon. I guess if you want it to be done, you'll have to use one
of proven methods (do it yourself, hire someone to do it or forbid your
children to do it)

#569133#17
Date:
2010-02-10 15:01:30 UTC
From:
To:
FWIW that's at http://savannah.gnu.org/task/?10165