LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-10-2009, 11:50 AM   #1
sharinganbob
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
The dreaded grub 18 error


Sorry I know there must be a lot of threads like this - I know have probably gone through them all, but I cant find a decent explanation how to solve this problem.

I recently decided to install ubuntu. I have XP installed as my primary OS and I wanted to dual boot. I gave ubuntu a 15 gig partition and XP the rest of the 160 gb drive. Install went smoothly but when I restarted I got the grub 18 error upon boot.

Now from what I have been researching this could be due to a number of reasons (I am really a noob on this stuff, so please excuse me if I say anything that sounds stupid).

A couple of the solutions I've read:

1. create a 32 mb /boot partition at the beginning of the drive (can someone please explain how to do this in simple terms? I found a tutorial how to do it but it doesnt tell you how to do it if you are dual booting)

2. enable LBA mode (once more I have no idea how to do this)

About my computer:
Really old dell (1999-2000)
160 gig hd
384 mb ram

from what ive read the error is probably due to the old bios not being able to recognize the size.

Any help would be greatly appreciated thanks
 
Old 02-10-2009, 12:06 PM   #2
agrestic
Member
 
Registered: Jan 2009
Location: atlanta, ga, usa
Distribution: sabayon 5, slack64, Lenny, LFS 6.4 user # 20665
Posts: 61

Rep: Reputation: 16
To create the /boot partition you load Ubuntu via the cd/dvd. Click Install and choose 'manual' partitioning. You'll see your windows partition, and the Linux one. Resize either windows or Linux 32mb smaller than it is; this creates 32mb of free space. Click that free space, choose to create a new partition there, name it /boot; check the box beside it so it will be formatted. Go through the install again, but make sure the checkbox beside your Linux partition (not /boot, the other one, /) is unchecked, so it won't be formatted this time around. This will make the install go faster.
HTH.
 
Old 02-10-2009, 12:11 PM   #3
sharinganbob
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot I will make sure to try that when I get home
 
Old 02-10-2009, 01:12 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,234

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Couple of comments:
- this is a BIOS problem, not a grub problem; see if a BIOS update is available. Should fix everything.
- 32 Meg won't be enough. The Ubuntu update mechanism is stupid - make /boot (at least) 100 Meg or you'll be doing this all over again.
- Anytime I tried this XP didn't like having the beginning (left on the graphic) of its partition moved.
 
Old 02-11-2009, 02:22 PM   #5
sharinganbob
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Ok I have followed the suggestions above, but I have another problem. When partitioning using the live cd this is what i see:

/dev/sda
/dev/sda3 ext 3 /boot 115 mb (this is my new /boot partition i have the box next to it checked for formatting)
/dev/sda1 ntfs 183407 mb (windows partition)
/dev/sda5 ext3 15784 mb (linux partition)
/dev/sda6 swap (i assume this is the live cd)

When i click next i get the following error:

"No root file system is defined please correct this from the partition menu"

Can someone please tell me how to correct this and which one of the drives to make the root file system? Thanks once more
 
Old 02-11-2009, 05:11 PM   #6
sharinganbob
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Ugh I'm getting close to giving up on this thing... I looked online for how to do this and tried what they said, now I have a grub 15 error.. Any idea on how to fix that one now?
 
Old 02-11-2009, 05:14 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,234

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
In the partitioner you should be able to highlight a partition, then hit a drop box to assign mountpoint. You'll need to do this for /boot, / and swap for their respective partition.
At least this is how it works on the "alternate" CD - I haven't used the standard desktop CD for several releases.
 
Old 02-11-2009, 05:20 PM   #8
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Avoid installing from a live CD
Make a swap of ~500+mb
It will be better to redo the partitions from scratch
 
Old 02-11-2009, 05:21 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,234

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Think of it as educational - follow these instructions so were can see what's what.
You can attach the file rather than post inline.
 
Old 02-11-2009, 05:21 PM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,234

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
--- Deleted; duplicate ---

Last edited by syg00; 02-11-2009 at 05:27 PM.
 
  


Reply

Tags
boot, defined, dual, error, file, grub, help, partition, root, system


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The dreaded status 404 error on Tomcat... rtoney5 Linux - Software 2 12-19-2008 02:23 PM
MPlayer and the dreaded alsa-control error scion Linux - Software 3 05-04-2006 07:19 PM
The Dreaded Samba kicken Linux - Software 1 05-24-2004 04:22 AM
Dreaded FX5600 InEeDhElPlInUx Linux - Newbie 4 10-10-2003 11:19 AM
gmplayer and the dreaded -vo error cyris Linux - Software 18 03-28-2003 09:58 AM


All times are GMT -5. The time now is 04:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration