LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2007, 06:20 PM   #1
Donkey_kong
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Rep: Reputation: 0
ubuntu 6.10 grub error 2 help!!!!


GRUB BOOTING ERROR

Grub Loading Stage 1.5

Grub Loading Please Wait...

Error 2

I just installed ubuntu 6.10 (pc version) of the cd they sent me in the post and i get this error after the install... (above)

I installed UBUNTU as the ONLY/primary operating system as i formated before installing and grub was installed to

hd0


-------------------------------------------------------------------------------------------------------------------------------------

HERE ARE THE PARTITIONS ON MY HDD ALL ARE FROM UBUNTU? AS I DONT HAVE ANY OTHER O/S..

scott@athlonxp-desktop:~$ sudo fdisk -l

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4810 38636293+ 83 Linux
/dev/hda2 4811 4998 1510110 5 Extended
/dev/hda5 4811 4998 1510078+ 82 Linux swap / Solaris

-------------------------------------------------------------------------------------------------------------------------------------

SYSTEM

AMD Athlon xp 2200+ CPU
Motherboard - PC Chips M825G v9.2a
Maxtor 40 GB Hard Drive
512 MB RAM
Pioneer DVD RE WRITER
Sony DVD ROM
Floppy Drive

ATI Radeon Graphics Card (PCI) - ASUS A9250
Network Card (PCI)

No Brand.. Previously running windows xp until formated..

-------------------------------------------------------------------------------------------------------------------------------------

eMail me @ scotty_mitchell2004@hotmail.com

Or post here.. please help.. I just want UBUNTU to boot normally as the only o/s without cd or any prompts or errors.. i had to boot into UBUNTU today using an opensuse internet installation cd which offers a ''boot installed system'' so i could boot/find ''hd1: ext3'' and get into installed ubuntu system and load it up..

Soo i am able to modify UBUNTU 6.10 from the inside just need guidance.. is it mbr / bios / system ??? any tips would be much apprecated - Or any info i can re-install it again if needed and have heard it could be a problem with the file system ext3 and am thinking i should re format it with some software but am stuck and dont know which to use.. and really need an explanation for my problems please please please help me lol i neeeeeed my computer back a.s.a.p thanks - please post...
 
Old 03-04-2007, 06:47 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,373

Rep: Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419Reputation: 3419
Let's see the output from "cat /boot/grub/menu.lst"

Edit: Do'oh. Wrong command initially - corrected.

Last edited by syg00; 03-04-2007 at 06:48 PM.
 
Old 03-04-2007, 07:37 PM   #3
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Rep: Reputation: 30
If you want to reinstall GRUB

Insert your ubuntu live cd and let it boot into GNOME desktop. Now open a terminal

Code:
$ sudo grub
the above will put you into grub shell. in grub shell enter these commands

Code:
grub> find /boot/grub/stage1
this will return a value in (hd?, ?) format where it will find /boot/grub. '?' will be replaced by actual numbers to find the specific partition of your disc. [Ex. (hd0,7)]

Code:
grub> root (hd?,?)
Use the value from the find command [Ex. (hd0,7)]. This will also tell you the filesystem type of the above partition.

Now, the following command will install the GRUB into the MBR.
Code:
grub> setup(hd0)
grub> quit
Hope this will help.
 
Old 03-05-2007, 11:30 PM   #4
Donkey_kong
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00
Let's see the output from "cat /boot/grub/menu.lst"

Edit: Do'oh. Wrong command initially - corrected.
i entered that comnmand but nothing happened i tried it on the live cd as root and in grub ???

any ideas??

OUTPUT in terminal live cd grub>

-------------------------------------

grub> cat /boot/grub/menu.lst

Error 12: Invalid device requested

grub> cat

Error 12: Invalid device requested

grub> cat: /boot/grub/menu.lst

Error 27: Unrecognized command

------------------------------------


OUTPUT in terminal live cd root>

------------------------------------

ubuntu@ubuntu:~$ cat /boot/grub/menu.lst
cat: /boot/grub/menu.lst: No such file or directory
ubuntu@ubuntu:~$ su
Password:
root@ubuntu:/home/ubuntu# cat /boot/grub/menu.lst
cat: /boot/grub/menu.lst: No such file or directory
root@ubuntu:/home/ubuntu#




i cannot get into the system anymore (with that internet installation cd i mentioned above^^) god knows why??

when i try to go boot it now it says its ntfs and cant boot it?

should i reinstall?

Last edited by Donkey_kong; 03-05-2007 at 11:40 PM.
 
Old 03-05-2007, 11:31 PM   #5
Donkey_kong
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by anindyanuri
If you want to reinstall GRUB

Insert your ubuntu live cd and let it boot into GNOME desktop. Now open a terminal

Code:
$ sudo grub
the above will put you into grub shell. in grub shell enter these commands

Code:
grub> find /boot/grub/stage1
this will return a value in (hd?, ?) format where it will find /boot/grub. '?' will be replaced by actual numbers to find the specific partition of your disc. [Ex. (hd0,7)]

Code:
grub> root (hd?,?)
Use the value from the find command [Ex. (hd0,7)]. This will also tell you the filesystem type of the above partition.

Now, the following command will install the GRUB into the MBR.
Code:
grub> setup(hd0)
grub> quit
Hope this will help.
didnt do the trick
 
Old 03-06-2007, 09:22 AM   #6
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Rep: Reputation: 30
Quote:
Originally Posted by Donkey_kong
didnt do the trick
As you wish :-)
 
Old 03-06-2007, 06:31 PM   #7
Donkey_kong
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
re installed the system same grub error 2?????? :(

ubuntu@ubuntu:~$ sudo fdisk -lu

Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 63 77272649 38636293+ 83 Linux
/dev/hda2 77272650 80292869 1510110 5 Extended
/dev/hda5 77272713 80292869 1510078+ 82 Linux swap / Solaris
ubuntu@ubuntu:~$
 
Old 03-06-2007, 06:36 PM   #8
Donkey_kong
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
2 : "Selected disk doesn't exist"

This error is returned if the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.


source : http://www.uruk.org/orig-grub/errors.html#stage1_5
 
Old 03-06-2007, 08:37 PM   #9
Donkey_kong
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00
Let's see the output from "cat /boot/grub/menu.lst"

Edit: Do'oh. Wrong command initially - corrected.
scott@scottsLx:~$ cat /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=fe131a44-11a7-4228-88b4-d25abc165ad3 ro
# kopt_2_6=root=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title Ubuntu, kernel 2.6.17-10-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro quiet splash
initrd /boot/initrd.img-2.6.17-10-generic
quiet
savedefault
boot

title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-10-generic root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.17-10-generic
boot

title Ubuntu, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet
boot

### END DEBIAN AUTOMAGIC KERNELS LIST


REINSTALLED AND WAS ABLE TO GET INTO SYSTEM WITH SUSE CD STILL HAS GRUB ERROR 2 THO HELP?
 
Old 05-07-2007, 04:18 PM   #10
Donkey_kong
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Cool Grub Error 2 Solved Resolved Read L@@k

The Way To Solve This Grub Error I Found Was To Set My Bios To Auto I Cant Remember Much Of What I Did Because Im Now Back On Windows Xp But This Problem Is Nothing To Do With Going Through Grub And Ruining Ur Loader It Is Simply Ooo I Remember Go To Standard Cmos Settings In Bios Set Your Hard Drive To Auto (thats If It Has An Auto Feature) And Go To Master Which Would Be Ur Hard Drive And Instead Of Having Some Numbers There Try And Set It To Auto Using +/- Keys Save And Reset And It Should Load Right Up! Thats If U Haven't Ruined It Already Lol Try Reinstalling If It Doesn't Work An Set To Auto Anyway Am Back With Xp Because I Couldnt Get Xgl To Work Because I Have Ati So Hope You Can And Hope This Post Has Helped Adios
 
Old 01-25-2008, 03:10 PM   #11
bpenna
LQ Newbie
 
Registered: Jan 2008
Location: São Paulo - Brazil
Distribution: Debian Squeeze, Ubuntu 10.04, Lubuntu 10.04, Ubuntu 10.04 server
Posts: 8

Rep: Reputation: 0
Thank you Donkey_kong

"The Way To Solve This Grub Error I Found Was To Set My Bios To Auto I Cant Remember Much Of What I Did Because Im Now Back On Windows Xp But This Problem Is Nothing To Do With Going Through Grub And Ruining Ur Loader It Is Simply Ooo I Remember Go To Standard Cmos Settings In Bios Set Your Hard Drive To Auto (thats If It Has An Auto Feature) And Go To Master Which Would Be Ur Hard Drive And Instead Of Having Some Numbers There Try And Set It To Auto Using +/- Keys Save And Reset And It Should Load Right Up! Thats If U Haven't Ruined It Already Lol Try Reinstalling If It Doesn't Work An Set To Auto Anyway Am Back With Xp Because I Couldnt Get Xgl To Work Because I Have Ati So Hope You Can And Hope This Post Has Helped Adios"
Thanks, your solution save my day and my mind :-)
 
Old 02-05-2008, 04:35 PM   #12
aewaew
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
Thanks bpenna - auto worked like a dream.
 
Old 04-21-2008, 10:37 AM   #13
jscheiderer
LQ Newbie
 
Registered: Apr 2008
Posts: 1

Rep: Reputation: 0
Question Ahhh!

Quote:
Originally Posted by aewaew View Post
Thanks bpenna - auto worked like a dream.
I am having the same problem - intermittently..

GRUB BOOTING ERROR

Grub Loading Stage 1.5

Grub Loading Please Wait...

Error 2

I am using Ubuntu 7.10 and probably know just enough about command lines to be dangerous - lol.

Anyway, I have noticed the last few days that m system will start processing very slowly while in various applications and I get the grub error mentioned above on occasion.
After several attempts and not being able to boot yesterday I used the live cd and an external usb to make a backup of my documents before reinstalling the OS and getting all the updates downloaded.

I have tinkered with the bios settings (using defauls, auto HD detect, etc) and so far it does not seem to make a difference.
The only thingk I have noticed is if I have several apps open at once the chance seems to increase of the grub erro happening OR of the OS freezing. I typicall run multiple copies of Office Writer and Firefox simul.

I also wondered if it might be something in my bios, perhaps needing flashed - but was unable to find an update for my bios string which is:
AMI v 1.21.13
MK40VS09 KM400-8235
62-1128-001131-00101111-040201-VIA_K7-KM400-8235-C-00

If you have any suggestions please EMAIL them to me at jscheiderer@hotmail.com as this pc may or may not be working (libraries are great).

Overall though - being that my system is 5+ years old.. I am thinking I probably have a HD failing and am going to (very likely) replace it today.
 
Old 06-14-2009, 08:31 PM   #14
Mr_Azrael
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Talking This was working 4 me

Hi all,

yay i know that treat is old as my granny...
but i was googleing 4 the "Grub Error 2" for a couple of dayz but didnt found a solution which was working 4 me...

so ill post my solution here...
-> BIOS -> standart CMOS features -> select ur root device -> acess mode -> Large

this was all..
hope this will prevent desperately searching google 4 a couple of dayz 4 the next poor nob


yay i know my english sux

Last edited by Mr_Azrael; 06-14-2009 at 08:33 PM.
 
  


Reply

Tags
bios, boot, booting, error, grub, help, ubuntu


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
GRUB Error 26: Disk Read Error (using grub4dos and ubuntu) Dark_Master Linux - Software 11 02-25-2007 08:42 AM
GRUB Error 26: Disk Read Error (using grub4dos and ubuntu) Dark_Master Linux - Newbie 2 11-07-2006 12:58 PM
Ubuntu 5.10:Grub 15 Error BuckVincent Ubuntu 1 06-13-2006 10:21 AM
Grub error 21 ubuntu devojo Linux - Newbie 5 03-17-2005 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 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