bugGNU GRUB - Bugs: bug #17882, grub accepts hd0 to hd7 only

 
 

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

bug #17882: grub accepts hd0 to hd7 only

Submitted by:  Helmut Schellong <maglite>
Submitted on:  Fri 29 Sep 2006 01:10:42 AM UTC  
Votes:  101  
 
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Helmut Schellong
Open/Closed:  Closed Release:  0.97
Release:  None Reproducibility:  Every Time
Planned Release:  None

( Jump to the original submission)

Sat 15 Dec 2007 11:19:52 AM UTC, comment #6: 

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?

Thanks

Robert Millan <robertmh>
Project Administrator
Mon 05 Mar 2007 11:26:27 PM UTC, comment #5: 

Ariel, on which BIOS have you tested the patch? I was trying booting using grub on the Asus0614/jmicron1.06.22 from the sata drive (should be in first 8 - so without patch), but no luck.

Then I've found on the JMicron site a note that only "JMB bios 1.06.53 or above" supports grub. I was not using that, so I upgraded the P5B DLX's bios to 1004 (which contains the jmicron bios v.1.06.59) - http://support.asus.com/download/download.aspx?SLanguage=en-us&model=P5B%20Deluxe

This solved the booting from SATA ports of the JMicron controller. Maybe it will help for the others who use the PATA part of it and the 16-drive patch. Please test that somebody, I have no PATA disk.

Daniel Rozsnyo <rozsnyo>
Wed 31 Jan 2007 03:20:34 AM UTC, comment #4: 

I've tested Robin's patch on an Asus P5B Deluxe WiFi/AP, with a pair of SATA drives on ICH8R containing Windows XP as RAID-1, and one PATA drive on the Jmicron onboard controller with CentOS 4.4 x86_64 installed in it.

The patch does indeed extend GRUB support for 16 drives: units up to hd15 are valid though they may result in Error 21 (drive not found). Units hd16 and beyond are invalid.

Nevertheless this patch doesn't seem to help GRUB find the ATA drive. It just freezes with Error 21 after loading stage 2, or simply ends on a GRUB shell where the ATA drive is nowhere to be found (but the ICH8R RAID volumes are!). I guess there must be some other problem in this case, besides the 8-drive limit. I haven't succeeded with LILO yet either, but at least it loads the kernel and only gets stuck upon trying to mount the root filesystem.

Name Withheld <karmapolis>
Thu 09 Nov 2006 08:21:24 AM UTC, comment #3: 

I've attached a patch that allows grub to support up to 16 drives.

Thanks to Adrian15 on #grub for his help (he told me which lines to change, I created the patch).

NB. The patch was created against the FC6 SRPM after all the patches in the SRPM had been applied, but it's only 3 lines so it should apply against the plain tarball.

Robin Bowes <robinbowes>
Thu 09 Nov 2006 05:11:01 AM UTC, comment #2: 

I can also confirm this phenomenon. It appears to be how the ASUS P5B lays out the drives on its controllers (note the plural).

There is two controllers in the board: an Intel ICH8 and a JMicron JMB363. I also have a RAID card in the system as well. The Intel SATA controllers probably come first, then the JMicron SATA controllers, and finally the JMicron PATA controllers (where I have my drive connected). Note that Linux didn't support this JMicron controller for a while.

I also use the FreeBSD boot manager to boot my FreeBSD system. Whenever I install grub on this disk, I get the "GRUB Error 21" problem (cannot find the disk).

FreeBSD addresses this driver as ad8 for me, and the drives on my RAID card as ad10.

Perhaps grub does not like this controller? Strangely, it will boot off the RAID controller I have installed.

Chris Armstrong <carmstrong>
Tue 07 Nov 2006 02:50:40 PM UTC, comment #1: 

I see the same issue on FC6

I have 10 SATA drives - 2 x 250GB on the MB controller and 8 x 500GB on a SATA controller card.

I want to use the 8 x 500GB as data drives, and have the OS installed on the 2 x 250GB drives.

Unfortunately, the 8 x 500GB drives appear as devices /dev/sd[a-h] and the 2 x 250GB drives appear as /dev/sd[ij].

I am unable too boot from the 250GB drives.

Robin Bowes <robinbowes>
Fri 29 Sep 2006 01:10:42 AM UTC, original submission:  

Mainboard Asus P5B deluxe, ICH8, Jmicron363.
Harddisk: IDE-Connector.

FreeBSD uses /dev/ad8, the 9th!

grub cannot do:

root (hd8,1,a)

I have to use the FreeBSD BootMgr.

Helmut Schellong <maglite>

 

Attached Files
file #11206:  grub-0.97-16-disks.patch added by robinbowes (2KiB - text/x-patch - Patch for 0.97 to support upto 16 disks)

 

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 rozsnyo (Posted a comment)
  • -email is unavailable- added by karmapolis (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-12-15 robertmh Open/ClosedOpen => Closed
    2006-11-09 robinbowes Attached File- => Added grub-0.97-16-disks.patch, #11206
    2006-11-09 carmstrong Carbon-Copy- => Added carmstrong
    2006-11-07 robinbowes Carbon-Copy- => Added robinbowes

    Back to the top


    Powered by Savane 3.6