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 authentification level.

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

Submitted by:  Michael Chang <mchang>
Submitted on:  Wed 25 Jun 2014 07:16:56 AM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenRelease: 
Release: 2.02~beta1Reproducibility: Every Time
Planned Release: None

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>
Project 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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 Jun 2014 07:32:04 AM UTCmchangAttached File-=>Added mdadm-ddf.patch, #31616

    Back to the top


    Powered by Savane 3.1-cleanup