On Saturday 25 November 2006 05:03, Basil Chupin wrote:
> Carlos E. R. wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > The Saturday 2006-11-25 at 20:47 +1100, Basil Chupin wrote:
> >> Suddenly I cannot boot into 10.1 with GRUB coming up with, "Error 18" as
> >> soon as it starts to execute on bootup.
> >>
> >> Does anyone know what this error means and how to get grub working
> >> correctly again?
> >
> > info grub, Troubleshooting, Stage2 errors:
> > | 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).
> >
> > Create a separate /boot partition somewhere near the begingining of your
> > hard disk.
>
> Thanks for the response but, eh, I have been dual-booting for years now
> and therefore already have a 300MB boot partition at the start of the
> HD, and have been running 10.1 without any problems since it came out
> until this morning when the error message suddenly came up. (Just
> checked with cfdisk and all the partitions are there as they are
> supposed to be.)
>
> Checked in the BIOS and all drives are correctly recognised.
>
> Any other suggestions, please?
>
Can you view the menu.lst file at the grub prompt(grub>) and do the entries 
match your current  partitioning setup? 

grub> cat (hd0,0)/boot/grub/menu.lst

where (hd0,0) represents (drive#,partition#) with numbering starting at zero 
and pointing to the partition holding menu.lst which should be your separate 
boot partition assuming grub was installed there originally and not to the 
root partition. (hd0,0) would point to the 1st partition on the 1st drive. 
(hd1,3) would point to the 4th partition on the second drive, etc...

grub> geometry (hdx)

will show existing partitions(x=0,1,2 etc.) .

Can you boot from the grub prompt manually?

ie.
grub> root (hdx,x)
grub> kernel /vmlinuz root=/dev/hdx <other options>
grub> initrd /initrd
grub> boot

with appropriate modifications if you altered the default installation image 
names.  

where x points to appropriate partition.  Note that unlike (hdx,x)mentioned 
above, root=/dev/hdx, numbering starts at 1 and points to root partition, not 
the boot partition.   
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to