bugGNU GRUB - Bugs: bug #42610, grub-install fails on DDF fake raid

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #42610: grub-install fails on DDF fake raid

Submitter:  Michael Chang <mchang>
Submitted:  Wed 25 Jun 2014 07:16:56 AM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  2.02~beta1
Release:  Reproducibility:  Every Time
Planned Release:  2.03+

Wed 02 Mar 2016 02:38:09 PM UTC, comment #3: 

We don't currently have DDF drivers, so assuming that DDF is fakeraid is the only way to install. But we can warn about the need of DDF fakeraid BIOS support.

Vladimir Serbinenko <phcoder>
Group administrator
Sun 07 Dec 2014 11:13:46 AM UTC, comment #2: 

My main concern is that by default mdadm allows IMSM only on hardware that supports it, so we are reasonably sure that it can be considered available at boot time. But DDF can be created as pure software array, which cannot be used as boot device in this case. So the actual question is not IMSM or DDF, but "is it hardware supported array or not".

Andrei Borzenkov <arvidjaar>
Group Member
Wed 25 Jun 2014 07:32:04 AM UTC, comment #1: 

I found the patch for treating mdadm's IMSM as simple device is also feasible for DDF format.

http://git.savannah.gnu.org/cgit/grub.git/commit/?id=ec31677170563c10994e297e96967988a6362dd0

The patch I was using for testing is attached. The installation and booting went successfully.

Dear developers, it would be great to know your opinions about this.

Thanks.

(file #31616)

Michael Chang <mchang>
Wed 25 Jun 2014 07:16:56 AM UTC, original submission:  

When trying to install grub on disks with DDF firmware RAID managed by mdadm, the installation fails with error message.

> grub-install --target=i386-pc /dev/md126

Installing for i386-pc platform.
/usr/sbin/grub2-install: error: disk
`mduuid/616d632f0757e222039a73788ad21157' not found.

Here is mdadm information

> /sbin/mdadm --detail '/dev/md126' --export"

MD_LEVEL=raid
MD_DEVICES=1
MD_CONTAINER=/dev/md/ddf0
MD_MEMBER=0
MD_UUID=616d632f:0757e222:039a7378:8ad21157
MD_DEVICE_sda_ROLE=0
MD_DEVICE_sda_DEV=/dev/sda

Michael Chang <mchang>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #31616:  mdadm-ddf.patch added by mchang (2KiB - text/x-patch - mdadm-ddf.patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by mchang (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-05 phcoder Planned Release2.02 2.03+
    2016-03-02 phcoder Planned ReleaseNone 2.02
    2014-06-25 mchang Attached File- Added mdadm-ddf.patch, #31616

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code