bugGNU GRUB - Bugs: bug #19381, [grub2] only supports first 8 IDE...


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

bug #19381: [grub2] only supports first 8 IDE disks

Submitted by:  Colin Watson <cjwatson>
Submitted on:  Thu 22 Mar 2007 09:16:18 AM UTC  
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  0.97
Release:  None Reproducibility:  Every Time
Planned Release:  None

Sat 15 Dec 2007 11:09:08 PM UTC, comment #4: 

Fixed, thanks.

Robert Millan <robertmh>
Project Administrator
Thu 22 Mar 2007 11:08:13 AM UTC, comment #3: 

Firstly, 16 is still less than 20.

Secondly, you're talking about GRUB's own device name representation. I'm talking about the way in which it scans system devices when constructing device.map. In GRUB Legacy, see lib/device.c:init_device_map; in GRUB 2, see util/i386/pc/grub-mkdevicemap.c:make_device_map. Search for "IDE disks" and you'll find that the same restriction exists in both.

Colin Watson <cjwatson>
Project Member
Thu 22 Mar 2007 10:33:20 AM UTC, comment #2: 

This bug has been solved here:



I have seen the grub2 myself and it supports 16 disks, where do you see that it has the same problem?


adrian15 <adrian15>
Thu 22 Mar 2007 09:17:17 AM UTC, comment #1: 

By the way, code inspection indicates that GRUB 2 has the same problem.

Colin Watson <cjwatson>
Project Member
Thu 22 Mar 2007 09:16:18 AM UTC, original submission:  

GRUB only supports the first 8 IDE disks (hda to hdh on Linux). Linux supports up to hdt, i.e. 20 IDE disks. As the Ubuntu installer maintainer, I've had a report from an Ubuntu user (https://launchpad.net/bugs/94642) whose GRUB installation failed because the root filesystem is on /dev/hdl1. Is there any reason not to change "for (i = 0; i < 8; i++)" to "for (i = 0; i < 20; i++)" for IDE disks?

Colin Watson <cjwatson>
Project Member


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by robertmh (Updated the item)
  • -email is unavailable- added by adrian15 (Posted a comment)
  • -email is unavailable- added by cjwatson (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh StatusNone => Fixed
        Open/ClosedOpen => Closed
    2007-12-15 robertmh Summaryonly supports first 8 IDE disks => [grub2] only supports first 8 IDE disks

    Back to the top

    Powered by Savane 3.6