Bug 55168
Summary: | Grub misreads my disk in lba32 mode | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Thomas Dodd <ted> | ||||
Component: | grub | Assignee: | Peter Jones <pjones> | ||||
Status: | CLOSED CANTFIX | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.2 | CC: | flip, nicku | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-18 18:17:56 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Thomas Dodd
2001-10-26 15:21:58 UTC
*** Bug 53677 has been marked as a duplicate of this bug. *** Doesn't have a way to turn off LBA32, but it would be interesting to know if the pcakage at http://people.redhat.com/~katzj/grub/ fixes the problem. Install the package and then run `/sbin/grub-install /location/to/install`. May not do any better than before, but some bugs in the LBA detection code have been fixed. It looked a little better, but still won't boot. I gathered more info though. I get: ------------------------ Grub loading stage 1.5 Grub loading, please wait... Error 17 ------------------------ I have 2 WDC disks: /dev/hda (hd0) AC14300R C/H/S=557/240/63 = 8421840 total /dev/hdb (hd1) AC24300L C/H/S=8912/15/63 = 8421840 total /proc/ide and geometry in the grub shell show the same info. Is there a debug mode I can install/build grub with that might give some more info? Interesting... error 17 is an inability to recognize the partition in question. What sort of filesystem are you using for /boot? ext3, created by Anaconda. Was adding the second disk to this box, and did a full install, instead of upgrading from Seawolf. I tarred /home and /root to a fat32 partition so every filesystem is new, ext3 from the start. Interestingly enough, someone came to the LUG@NCSU installfest today and had the same problem... it turns out that the logical geometry on the disk was completely wrong. Reinstalling and doing 'dd if=/dev/zero of=/dev/hda bs=512 count=1' before the installer partitioned the disk fixed the problem. Then again, may not be the best solution for your case, but as a data point. Somehow I missed you last message. I had gone back to lilo and forgot to check this bug. Am I on the CC list? I just installed limbo, and the bug is still there. I'll try clearing the MBR and reinstall grub. Anyway to get a version of grub that doesn't try LBA access at all? Created attachment 65190 [details]
Config files and diagnostics output
I have the same problem as reported in bug 55168: boot fails with GRUB alone on the screen; the system is unresponsive and must be hard reset. This is a fresh LIMBO installation to a machine that previously had Windows XP only. I am using LIMBO on a WD 30GB harddrive in LBA mode. Kernel is 2.4.18-5.58. The primary/master harddrive has a 5G NTFS partition and an extended partition containing a 25G fat32 partition and a 1G linux swap. The primary/slave (hdc) has a 5G ext3 partition followed by a 10 G extended part with a 10G fat32. The secondary/master has a single 30G fat32 partition. (The output of fdisk -l is attached). The hard drive parameters, as reported by the manufaturer's diagnostic tool (Western Digital DataLifeguard), are '59598 cyl, 16 heads, 63 sectors, 30760 MB, 60074784 LBA sectors' -- this differs from that determined by fdisk. I have tried asking the BIOS to boot to the primary/master and to the primary/slave -- same results. I tried using lilo, which hung at LI_. This happened with a 'linear' line in my /etc/lilo.conf, and also with 'lba32' in my /etc/lilo.conf (reran lilo each time). Lilo complains that Warning: BIOS drive 0x82 may not be accessible This is my swap drive, /dev/hda, located at the end of the primary/master. Please see attached files listing all the config info I thought looked useful. Thanks, flip kromer I too have this problem: LARGE setting for hda with lilo, using linear works When use a grub installation boot disk, made with: grub-install --root-directory=/mnt/floppy '(fd0)' grub stage2 can read the hard disk only when switch disk to LBA mode Need turn off LBA mode in grub. I too have this problem: LARGE setting for hda with lilo, using linear works When use a grub installation boot disk, made with: grub-install --root-directory=/mnt/floppy '(fd0)' grub stage2 can read the hard disk only when switch disk to LBA mode Need turn off LBA mode in grub. Is this still a problem with current Fedora Core releases? I haven't gotten Fedora installed on that machine. I've got FC3 CDs to do it, but no time:( I'll try in a day or two... OK, just post the results when you know. Red Hat Linux is no longer supported by Red Hat, Inc. If you are still running Red Hat Linux, you are strongly advised to upgrade to a current Fedora Core release or Red Hat Enterprise Linux or comparable. Some information on which option may be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/. Red Hat apologizes that these issues have not been resolved yet. We do want to make sure that no important bugs slip through the cracks. If this issue is still present in a current Fedora Core release, please open a new bug with the relevant information. Closing as CANTFIX. |