GRUB error 18: Selected cylinder...
I occasionally have this problem, and I don't know if I should worry about it or not.
Sometimes, when I try to load either OS, I get this error 18 from GRUB, saying "Selected cylinder exceeds maximum supported by BIOS". Usually it dissapears after a reboot, but when it appears, I get the same error for every OS. I have both Suse 10 and Windows XP installed. I have a 10Gb hard-disk. My first partition is a 10Gb windows one (so this error really shouldn't appear, at least when I load windows), my second one is another 10Gb windows one with no OS, then the linux swap (aprox 1Gb), the root (10Gb), and a big 80Gb windows partition, also no OS on. What is weird is that this problem simply dissapears after a reboot, without me changing any setting. If nothing is changed, how can it sometimes exceed the maximum support, and after a seccond, not? Should I worry about this for now? And what would a good sollution be? Reinstalling GRUB? Repartitioning, putting the root partition right after the windows one? Any info would help. Thanks for reading this. |
I think you should create a boot partition. There is an entry in the wiki. just search for grub error 18 to find it.
|
|
thank you, I searched just in the forum, I forgot to search on the site as well.
A few additional questions: 1. What is VM Ware? It doesn't really explain much there. I have something at /boot, but it appears to be part of the linux partition that also contains the OS. 2. On Windows there is a program called Disk Defragmenter. Could it help in any way, and is there something like this for Linux? 3. If the first partition is a Linux one, will Windows XP run properly? With other windowses such as Me and 98, if it is on a second partition, it doesn't run (sometimes. that's why I liked Linux, for it's possibility to be installed anywhere, but with this error...) 4. Should I try to install an alternate bootloader? (When I had LILO with other Linux editions, I never had this problem, but I always reinstalled everyting in about a month, whereas now, the last time I reinstalled everything was almost a year ago). Sorry if I ask too many newbie questions. Any other info will be apreciated as well. |
Quote:
Quote:
Quote:
Quote:
Quote:
It sounds strange, though, that you don't see it every time. It's an error that you should see it either always or not at all. Are you maybe overclocking your CPU? I used to have some problems with grub and overclocking. |
Thank you very much. I think I got it now.
I am not overclocking, everything is running with it's normal parameters and values. It really is strange that it appears only sometimes, but it's not the first time my computer has unlogical behaviour, that nobody was able to explain. One more question, about the boot partition. My /boot folder has exactly 6.2Mb. What should be the size of the partition? And I just copy everything in /boot on that partition, delete what is in the /boot in the root partition, and mount the boot partition at /boot, right? Can I keep anything else on that partition, or will that produce other weird errors? Or should I just put the root partition first? Which is better? And a less important question, what are the diffrences between grub and lilo? (answer only if you have time, I shall search the Internet for this as well, I am sure I'll find something) |
Quote:
Firstly, you create a small partition at the begining of the disk. I think that you will need no more than 10 MB for that partition, however it is always better to leave some free space in there so that you can install another linux distro, or install kernel-xen, or build your own kernel (/boot contains the kernel, its initrd file, kernel configuration and grub configuration). So, let's say a 50 MB partition should be enough. Format this partition with ext2 (not with reiser. reiser is good only for large partitions) Secondly, mount that partition somewhere at /mnt (/mnt/boot maybe?) and copy everything from /boot to /mnt/boot (copy as root, because some of the files don't have read permissions for users) It's better to use cp -rp to copy the files ensuring that they preserve their permissions. Now, delete everything from /boot and remount the boot partition at /boot. Add a line in fstab for that partition too (you can use yast for that). Before you reboot, open a root terminal and type Code:
grub Code:
root (hd0,0) What you need to do is to open menu.lst (as root) and change all the (hdx,y) references. All those refering to linux should be (hd0,0) and the one refering to windows should be (hd0,1). Also, all the hdax (or sdax) references that refer to primary partitions should be incremented by one (so hda1 becomes hda2, hda2 becomes hda3 etc.. BUT hda5 remains hda5 and hda6 remains hda6) It should look somewhat like that (its only a guess of your configuration. change the hda6 and hda5 to match with your current menu.lst) Code:
# Modified by YaST2. Last modification on Παρ 07 Ιούλ 2006 01:29:58 μμ UTC Code:
bootcfg /add Quote:
Quote:
PS I hope I didn't make any mistakes and I didn't forget something EDIT: I forgot to answer these: Quote:
Putting the root partition first is not possible except if you intend to reinstall (format) either suse or windows. It's better to use a /boot partition. The other advantage of the boot partition is that it can also be used as the boot partition for as many other distros as you like. If you later for example install ubuntu and keep suse there, the boot partition could serve both ubuntu and suse at the same time. |
Thousands of thanks! I think that about covers everything here.
I'll do this as soon as I buy a DVD writer and some RW DVDs to clear my hard disk and experiment in peace, reformatting everything. A little off-topic question. Does Ubuntu have anything Suse doesn't have? I have an Ubuntu CD, but I didn't install it so far because I ran the "boot from CD" version, and it didn't impress me. Sorry for asking too many questions, I still have a lot to learn. |
Quote:
|
I prefer Suse's KDE too. The only problem is that I can't get mpegs working, and in edubuntu and stuff, which is somehow a version of ubuntu that comes with other programs, already has the necessary programs. But that's another story, in another topic.
Thank you very much again. |
Quote:
I have installed these: Code:
a52dec-0.7.4-3.pm.1.i586.rpm Ok, that's enough for now. We are completely off-topic. lol :p |
You can come back on-topic at http://www.linuxquestions.org/questi...32#post2346232
I have explained in detail my codec problem there. I have installed most of the stuff you suggested already. I will check for the other ones later. I have an idea that just might work... |
All times are GMT -5. The time now is 06:47 PM. |