[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grub 0.96 bug
From: |
Molle Bestefich |
Subject: |
grub 0.96 bug |
Date: |
Mon, 21 Mar 2005 13:05:04 +0100 |
I'm delving into GRUB bughunting now.
GRUB 0.96 is apparently sensitive to the order in which "device xxx"
commands are entered. Sounds horrid, aye...
Ie. typing:
grub> device (hd0) /dev/xxx
grub> device (hd0,5) /dev/yyy
Is a completely different thing to typing:
grub> device (hd0,5) /dev/yyy
grub> device (hd0) /dev/xxx
Reproducible: Always.
Here's an example. (I added "grub_printf" to rawread to try and find
out why the OUTSIDE error happens, never mind the "raw reading"
messages. Also added # comments.)
========================
GNU GRUB version 0.96 (640K lower / 3072K upper memory)
# Tell GRUB about devices
grub> device (hd0) /dev/mapper/hpt37x_ehgjaggaf
grub> device (hd0,5) /dev/mapper/hpt37x_ehgjaggaf6
# Tell GRUB where to find it's files
grub> root (hd0,5)/boot
Attempt to open drive 0x80 (/dev/mapper/hpt37x_ehgjaggaf6)
- Raw reading from offset 0
Error 5: Partition table invalid or corrupt
# Refresh GRUB's memory on where device hd0 is.
# _Same_ command as first command entered (above).
grub> device (hd0) /dev/mapper/hpt37x_ehgjaggaf
# Notice the different error message!
grub> root (hd0,5)/boot
Attempt to open drive 0x80 (/dev/mapper/hpt37x_ehgjaggaf)
- Raw reading from offset 0
- Raw reading from offset 0
- Raw reading from offset 0
- Raw reading from offset 0
- Raw reading from offset 0
- Raw reading from offset 41961780
Error 18: Selected cylinder exceeds maximum supported by BIOS
grub>
========================
- Re: Installation on RAID-only system, Molle Bestefich, 2005/03/21
- grub 0.96 bug,
Molle Bestefich <=
- Re: [dm-devel] Re: grub 0.96 bug, Wilfried Weissmann, 2005/03/21
- Re: [dm-devel] Re: grub 0.96 bug, Molle Bestefich, 2005/03/22
- Re: [dm-devel] Re: grub 0.96 bug, Wilfried Weissmann, 2005/03/22
- Re: [dm-devel] Re: grub 0.96 bug, Molle Bestefich, 2005/03/22
- Re: [dm-devel] Re: grub 0.96 bug, Wilfried Weissmann, 2005/03/22
Re: Installation on RAID-only system, Jonathan Goldblatt, 2005/03/21