Originally Posted by ajd344
Hello! I'm having a hard time getting ubuntu to work. After I install it, it says "Grub starting" then "Error 18". A friend told me to try to install GAG, which I did. I got "sector boot not found or invaild" (i'm sure i selected the right parition).
What should I do? I dont plan on booting Windows, just Linux. Thanks!
where did you install it ?
One of the old favourites for the new user, is to install the bootloader to the linux partition and not the MBR on the first part of the first hard drive (thereby overwriting the windows MBR), but having just googled for "grub error 18" which says this
Error 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 on others.). In more practical terms this means the BIOS is unable to start executing the kernel because the kernel is not located within the block it can access at boot up time.
This can be circumvented by creating a boot partition at the beginning of the disk that is completely within the first 1023 cylinders of the harddrive. This partition will contain the kernel.
The kernel it self does not suffer from the same limitations as the BIOS so after the BIOS has loaded the kernel the kernel will have no problem accessing the whole harddrive. Newer BIOSes will automatically translate the harddrives size in a way that it can be completely contained within the first 1023 cylinders and hence modern computers do not suffer from this problem.
The same error can happen when the BIOS detects a disk in a different way as Linux does. This can happen when changing motherboards or when moving a GRUB-bootable disk from one computer to another. If this happens, just boot with a GRUB floppy, read the C/H/S numbers from the existing partition table and manually edit the BIOS numbers to match. If using a SUSE linux and installing on VM Ware this problem is solved by creating a small partition at the very beginning of the harddisc, and mounting it as /boot.
I'm wondering where you might have installed the bootloader?
How you solve this ? well I'm guessing that if your system has windows on it and the windows partition is bigger than the 8GB mentioned, then the BIOS doesn't like where you've put the bootloader.
If it was my system, I would just try a re-install and then tell it to put the bootloader at the front of the first hard drive (if multi HDD system) or first part of MBR wherever it says it is (presuming that it's a single hard drive, it might be called hda).
In my case, I'm guessing, but the quote is from the grub wiki
p.s. erm yes, there are ways of re-installing grub to a different location, but if you haven't played with linux much, I'd suggest that the re-install might be the easiest option.