bugGNU GRUB - Bugs: bug #19501, grub-install fails to install GRUB...


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

bug #19501: grub-install fails to install GRUB in MBR on Compaq/HP SmartArray logical disks

Submitted by:  Raphaël Pinson <raphink>
Submitted on:  Tue 03 Apr 2007 03:18:41 PM UTC  
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Raphaël Pinson
Open/Closed:  Closed Release:  0.97
Release:  None Reproducibility:  Every Time
Planned Release:  None

Sat 15 Dec 2007 09:48:45 PM UTC, comment #1: 

We've moved to GRUB 2 as a development platform. Please can you check if this bug still applies there, and if it does, reopen it?


Robert Millan <robertmh>
Project Administrator
Tue 03 Apr 2007 03:18:41 PM UTC, original submission:  

When using grub-install to install GRUB in the MBR on Compaq/HP SmartArray logical disks, the installation fails.

This is due to an erratic detection of the partition number when none is given.

SmartArray logical disks are numbered /dev/c\dd\ (e.g. /dev/c0d0) and each of their partitions is numbered p\d (e.g. /dev/c0d0p1) and grub-install uses the following sed regexp to get the partition number : 's%.*c[0-7]d[0-9]*p\?%%'.

When GRUB is to be installed in the MBR, there is no "p" in the end of the device name though.

Attached is a patch to fix the issue. Thank you for including it.


Raphaël Pinson

Raphaël Pinson <raphink>


Attached Files
file #12386:  grub-install.diff added by raphink (445B - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by robertmh (Posted a comment)
  • -email is unavailable- added by raphink (Submitted the item)

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

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen => Closed
    2007-04-03 raphink Attached File- => Added grub-install.diff, #12386

    Back to the top

    Powered by Savane 3.6