LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-11-2007, 07:34 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
what does Error 18 in grub mean?


I installed MEPIS, and something went wrong with the GRUB installation; it was saying Error 18. I tried reinstalling GRUB from the MEPIS liveCD, but the problem kept recurring. And what does Error 18 mean?

Last edited by newbiesforever; 11-11-2007 at 09:32 PM.
 
Old 11-12-2007, 08:35 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
This LQ wiki article explains Error 18 and how to solve it. (Remember, Google is your friend! )
 
Old 11-12-2007, 09:02 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The maximum size issue should not be an issue with newer computers.

One of the most common issues in installing GRUB is getting it pointed at the /boot partition where it will find the config file (menu.lst), stage files, etc.. This gets "hard-coded" into the code that goes in the MBR.

When installing GRUB (from anywhere), the "root (hdX,Y)" command must point to the location where /boot will be when the machine is booted normally. This may be different than the configuration seen when running from a LiveCD.
 
Old 11-12-2007, 11:58 AM   #4
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I concur with pixellany's view and suggest the OP to try the terminal method as follow

1. Boot up Mepis Live CD but instead of choosing a system to boot press "Esc" immdiately. You will be warned that you are leaving the graphic screen. Select Ok and now you are in text mode of Grub. You then press the "c" key to talk to Grub directly. No middleman involved everything from the horse's mouth now.

2. You ask Grub to tell you which partition has its menu.lst by command
Code:
find /boot/grub/menu.lst
Grub should reply with something like "(hd0,0)"

3. You restore Grub by terminal command
Code:
root (hd0,0)
setup (hd0)
Adjust the red bit to suit your own circunstance.

4. You now boot up Mepis by commands
Code:
chainload (hd0)+1
boot
Report any error message if the above fails.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Are other distro's adding repositories so I can use yum for all my distro's? t3gah Linux - Software 4 03-21-2005 04:57 AM
Reinstalling the bootloader evilmonkey Linux - Software 2 12-10-2004 12:13 PM
reinstalling lilo bootloader free kevin Linux - Newbie 5 08-02-2004 03:14 PM
booting multiple distro's with a mini-distro SVN Linux - General 1 04-08-2004 02:42 PM
SuSE 9.0 Pro: Reinstalling the bootloader on MBR ihsus Linux - Newbie 10 03-25-2004 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration