Bug 156473 - Grub Error 18 after first reboot
Summary: Grub Error 18 after first reboot
Status: RESOLVED INVALID
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 7
Hardware: i586 Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Olaf Dabrunz
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 14:45 UTC by Klaas Freitag
Modified: 2006-04-03 14:21 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaas Freitag 2006-03-09 14:45:03 UTC
I installed beta7 new on the system and added a crypted home partition with Yast.
On first reboot, the system comes up with a grub error 18 and does of course not start.

/etc/grub.conf:
setup --stage2=/boot/grub/stage2 (hd0,2) (hd0,2)
quit
Comment 1 Michael Gross 2006-03-09 14:48:27 UTC
Please give more information. Do you suspect the problem to be YaST or GRUB itself? Attach the YaST logfiles in the first case, also attach `fdisk -l', and your resulting fstab. Check it for errors. What did you configure how exactly?
Comment 2 Klaas Freitag 2006-03-09 15:09:35 UTC
Well, I don't know if the problem comes from YaST or GRUB. And I am having trouble to attach the entire logfile because I can access the system only via booting a rescue system and do not have net.

fstab says:
/dev/hda3  /        reiserfs acl,user_xattr 1 1
/dev/hda2  /home    reiserfs acl,user_xattr 1 2
/dev/hda1   swap    swap     defaults       0 0

fdisk -l 
/dev/hda1          1       129     1036161     82      Linux swamp
/dev/hda2          130     2323    17623305    83      Linux
/dev/hda3  *       2324    3629    10490445    83      Linux

Machine is available live at my desk at 3.1.16

Configured nothing special beside the crypto partition for /dev/hda2 and I am not sure if the entry in fstab is correct for cryptopart.
Comment 4 Klaas Freitag 2006-03-09 16:25:48 UTC
It seems to be this problem:
18 : Selected cylinder exceeds maximum supported by BIOS. This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).

and since I used /dev/hda3 for booting it seems that the startcylinder is too high. I did a new installation.

Comment 5 Michael Gross 2006-03-13 16:32:30 UTC
This is not good - if this ancient problem still exists we have to either:
1) Warn the user explicitly about this condition or deny the configuration at all
2) Going back to the traditional scheme - using a seperate boot-partition

Klaas, what machine are you using, give more information about your hardware.
Comment 6 Klaas Freitag 2006-03-13 17:01:16 UTC
Well, it's an ordinary IBM Notebook. All I did was letting my boot partition start at a quite high cylinder. Don't know any more on what because I need the system.
Fixed that by putting the the boot partition into a logic partition and used a boot partition. 

But yes - an errormessage would be fine if that is doable.

What information do you need from my computer?
Comment 7 Michael Gross 2006-03-14 15:00:43 UTC
Reassigning to Olaf for a comment.
Comment 8 Torsten Duwe 2006-04-03 13:43:20 UTC
Yes, such machines still exist, not only notebooks suffer from a 2GB limit.
The BIOS cannot access beyond 2GB, you install parts of the boot loader above this limit => system won't boot, end of story.

Unfortunately there's no reliable method besides trial and error to detect this.

Klaas: in this very special case of yours: is your "ancient" IBM laptop one of those with a "rescue partition" at the end of the disk? That's a slightly different problem of some particular IBM laptops and can be solved.
Comment 9 Klaas Freitag 2006-04-03 14:21:01 UTC
Well, I am not really satisfied with that. My laptop runs after I installed the Grub properly. But for customers who have no glue about that at all, it is a bad picture: They install, everything seems to be fine, and finally, "end of story" ;-)

Why don't we come up with a popup that says 
"You are about to install grub in a partition that starts on a cylinder higher than 2GB. That might cause problems. Are you really sure?"