In the very beginning, I'd warn people not just to copy the code below, but to be careful with the partition numbers. E.g., /boot is not on hda1 for everybody, some even don't have a special partition for it. Maybe mentioning that booting from live cd and running 'fdisk -l' shows all the partitions is a good idea, too.
- Grub error 15 section:
I'd add some suggestions on how to find out the real name. (Boot from live-cd, mount partitions and ls /boot, or tab completion within the grub shell).
- Grub error 17 section:
This is confusing because the solution belongs to error 12 (typo in the thread you mentioned)
However, error 17 occurs quite often, too, so add some lines asking to check the "root (hdx,y)" entry in grub.conf. Also mention that for booting windows "rootnoverify ..." is the better choice over "root ..." because it works for both fat32 and ntfs.
[edit]last is not correct, see below[/edit]
- Where is my grub.conf
Add a warning that it's not always hda1 and the mount is only needed if people have a separate /boot partition.
- After hitting enter at the grub menu the system reboots
Another possibility is a wrong set cpu type in kernel config, include a link to the faq
- Cannnot open root device "hdaX"
I feel problem and solution don't belong together. The solution should be to check the kernel config containing filesystem-support (reiserfs or similar) _compiled in_, not as module. A wrong or missing root=... can be the case, too. "fdisk -l" to check which one to take.
- Unable to boot into Windows
Your code won't work with NTFS. cyrillic's trick was to omit the "root ..." line and specifying the chainloader line absolute (with leading hd0,1). If you want to include the root line, you have to write it as rootnoverify (and can omit the (hd0,1) in the chainloader line). So it's either
Code: Select all
title=%$@@#$*
rootnoverify (hd0,0)
chainloader +1
Code: Select all
title=%$@@#$*
chainloader (hd0,0)+1
I was wrong with the differences between root and rootnoverify. the manual says
Code: Select all
- Command: rootnoverify device [hdbias]
Similar to `root' (*note root::), but don't attempt to mount the
partition. This is useful for when an OS is outside of the area of
the disk that GRUB can read, but setting the correct root device
is still desired. Note that the items mentioned in `root' above
which derived from attempting the mount will _not_ work correctly.
A last thing, you should mention your thread here if you have not done yet. Maybe people like to add it to the faq.





