bugGNU GRUB - Bugs: bug #6373, "bad device number" == 8...

 
 

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

bug #6373: "bad device number" == 8 devices max

Submitter:  Invalid User ID <#25059>
Submitted:  Wed 05 Nov 2003 07:37:38 AM UTC
   
 
Category:  Disk & Partition Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  okuji Originator Name: 
Open/Closed:  Closed Release:  None
Release:  0.93 Reproducibility:  Every Time
Planned Release:  None

Sun 30 Nov 2003 05:21:17 PM UTC, comment #1: 

I fixed this bug in the CVS. So I close this.

Yoshinori K. Okuji <okuji>
Group administrator
Wed 05 Nov 2003 07:37:38 AM UTC, original submission:  

In lib/device.c around line 428 we see that the device number must be between 0 and 8.  This causes the "bad device number" error during "grub-install /dev/sda2" or similar, as well as complaints about stage1 being invalid.

I'm running on a JBOD system (no RAID) with 13 hard drives.  Since I'm booting from one of the first drives, I simply edited /boot/grub/device.map by hand and truncated after the 9th entry.  "grub-install" ran correctly.

If there is a subtle reason why only 9 device numbers are supported, it should probably be mentioned in the grub info pages among the list of other errors (i.e., a documentation fix).  On the other hand, if we were just waiting for someone to encounter this limit, here I am!

Thanks for great software!

Invalid User ID <#25059>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-11-30 okuji Item GroupNon-software Error Software Error
    StatusNone Fixed
    Assigned toNone okuji
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-0329.
Corresponding source code