LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-12-2010, 06:13 AM   #1
cha_indian
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
Grub error 18


i am experiencing another variation of the this problem. I have Win XP SP2 installed on my machine. I wanted to try Ubuntu and i created a CD an and wanted to install the OS. The CD booted and i selected the option of "using The OS together and selecting which one to boot" or something similar to that. Ubuntu and changed MBR and installed itself. However on restarting I am getting Error 18. Now i am unable to use my computer at all.

I need your help in recover my XP at the moment and how to install Linux so that it does not mess around with any other OS ??
 
Old 04-13-2010, 10:45 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Normally the ubuntu installer tries to detect your Windows installation.

You can probably still boot both linux and windows. You will have to pass some commands.
Can you get a grub prompt?
Then type this:
Code:
title Windows Vista
rootnoverify (hd0,0)
makeactive
chainloader +1
The hd0,0 says windows is on your first hdd and the first partition.
The title does not matter.

Otherwhise you will have to bootup your system again using the Ubuntu live cd.
If your harddrive is /dev/sda, then you need to do
[code]
grub-install /dev/sda
[/codde]

Please let us know from the moment you can get in an operating system. Be clear in what is happening.
To make these changes permanent you should first be able to boot into linux succesfully.
 
Old 04-14-2010, 12:27 AM   #3
cha_indian
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks deadeyes for your reply.

I want to update you about my machine: My machine is Pentium4 1.5GHz i bought in year 2000. The motherboard limit of HDD is 136GB but i have 160GB HDD installed. I read it somewhere that if the HDD is more than 6GB, Ubuntu cannot load itself ??

Regarding the current state of my machine, unfortunately while i was at work my brother tried to install Ubuntu again on another NTFS partition! Now the system is completely dead. Due to this, I fomatted the HDD completely and now i am ready to install Linux again. This time i dont want to make any mistakes!

Now i want Linux to keep to itself and not do anything to Windows XP. Currently there are four NTFS partition C, D, E, F of 40GB each. Windows XP SP2 is installed on C: drive and it is the OS that is there on my machine now. I want to use F: drive for Linux. Now guys, i just want to install Linux on this F: partition. While booting I just want to select which OS to boot. Can you help me in this ?

Last edited by cha_indian; 04-14-2010 at 12:36 AM. Reason: extra info
 
Old 04-14-2010, 12:38 AM   #4
mandars
LQ Newbie
 
Registered: Apr 2010
Posts: 8

Rep: Reputation: 0
Quote:
Originally Posted by cha_indian View Post
Thanks deadeyes for your reply.

Unfortunately while i was at work my brother tried to install Ubuntu again on another NTFS partition! Now the system is completely dead. Due to this, I fomatted the HDD completely and now i am ready to install Linux again. This time i dont want to make any mistakes!

Now i want Linux to keep to itself and not do anything to Windows XP. Currently there are four NTFS partition C, D, E, F of 40GB each. Windows XP SP2 is installed on C: drive and it is the OS that is there on my machine now. I want to use F: drive for Linux. Now guys, i just want to install Linux on this F: partition. While booting I just want to select which OS to boot. Can you help me in this ?
dont worry,
make u r f drive as linux ext3 formated.at time installing at one stage u ask for chosing partition for ubuntu. that time chose f drive and edit that partition. and now u can format thar partition by ext3 file system. and perform furthr instructions given on scren
 
Old 04-14-2010, 02:07 AM   #5
cha_indian
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
thanks mandars.

That is what i did when i installed Ubuntu for the first time. Everthing went fine during the installation but when the time came to boot, i got Error 18.

The LBA of my HDD in my BIOS is set to Auto.
 
Old 04-15-2010, 02:42 AM   #6
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
In case this problem is due to the issue you mention there is a stage1.5
However I would think this is not the case.
LBA can be set to on.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Grub can't find grub.cfg when booting - error: no such device Breagha Linux - Software 8 03-14-2010 12:40 PM
install kubuntu 8.10 with lilo rather than grub (because of grub error 18) dukeinlondon Ubuntu 7 12-27-2008 06:53 PM
Loading Grub 1.5 Please Wait...... Grub Failed Error 18 2words4uready Linux - Newbie 5 06-12-2008 05:37 PM
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:43 AM.

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