Red Hat Bugzilla – Bug 80980
Grub doesn't work 1.9TB disk
Last modified: 2008-01-17 12:49:42 EST
When I installed beta3 on a 12port 3ware card with a 1.9TB
RAID 5 array, the machine wouldn't boot. The first partition
is the 200MB /boot, followed by a 10GB /. LILO works fine.
Donations of 1.9TB 3Ware arrays for testing would be appreciated. :)
Can you give me any more information on what sort of problem you see? I don't
have the kind of hardware to reproduce here, so I'm mostly going to have to
grasp at straws based on whatever information you can give.
This is on RedHat 7.3.
# grub-install /dev/sda
GRUB version 0.91 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup --stage2=/boot/grub/stage2 --prefix=/grub (hd0)
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 22 sectors are embedded.
Running "install --stage2=/boot/grub/stage2 /grub/stage1 d (hd0) (hd0)1+22 p (
hd0,0)/grub/stage2 /grub/grub.conf"... failed
Error 24: Attempt to access block outside partition
Looking at the code:
devread (int sector, int byte_offset, int byte_len, char *buf)
* Check partition boundaries
if (sector < 0
|| ((sector + ((byte_offset + byte_len - 1) >> SECTOR_BITS))
errnum = ERR_OUTSIDE_PART;
I don't see how it can work with 1.9TB drive. Also anaconda didn't
catch the grub error so that installation failed silently.
Created attachment 89106 [details]
Change long to unsigned long
This is the patch for grub in RedHat 7.3. I will
test it next Monday.
My patch works for RedHat 7.3. It may also work for beta3.
I've submitted your patch upstream and will add it to the next build of our package
hjl, will you confirm this is working as expected once you get access to the
updated files? Thanks!
I will try if I still have the 1.9TB disk.
Beta4 has the same problem.
I didn't build the change until after beta4
Closing out some bugs that have been in MODIFIED state. Please reopen if they