Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page grub problem please help
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 01-30-2008   #1 (permalink)
sosoy77
Just Joined!
 
Join Date: Dec 2007
Posts: 36
grub problem please help

hi people,i am trying to install gentoo for the 5-th time but the same error is the grub, i did like the manual sees and i got this error:"GNU GRUB version 0.97 (636K lower / 3667840K upper memory)

[Minimal BASH-like line editing is suported. For the first word TAB lists possible command completions.Anywhere else TAB lists the possible completions of a device/filename.]

grub>"

please help,where i did wrong thanks aticipate
sosoy77 is offline   Reply With Quote
Old 01-30-2008   #2 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,095
Have you created grub.conf file correctly?
Post the contents of /boot/grub/grub.conf file and output of fdisk -l command here.
Try this too: Download SuperGRUB CD and boot up from it. Select 'Fix Linux Boot Loader (GRUB)' option from list. It will re-install GRUB.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 01-30-2008   #3 (permalink)
sosoy77
Just Joined!
 
Join Date: Dec 2007
Posts: 36
thanks but still want to know where i did wrong.



this is my fstab:
/dev/sda1 /boot ext2 defaults,noatime 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext3 noatime 0 1

none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0

/dev/cdroms/cdrom0 /mnt/cdrom auto user 0 0
/dev/fd0 /media/floppy auto rw,noauto,user,sync 0 0



and this is my /grub.conf:
# Which listing to boot as default. 0 is the first, 1 the second etc.
default 0
# How many seconds to wait before the default listing is booted.
timeout 30
# Nice, fat splash-image to spice things up
# Comment out if you don't have a graphics card installed
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
title=Gentoo Linux 2.6.23-r6
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3

title=Gentoo Linux 2.6.23-r6 (rescue)
# Partition where the kernel image (or operating system) is located
root (hd0,0)
kernel /boot/kernel-genkernel-X86_64-2.6.23-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
video=vesafb:mtrr:3,ywrap
initrd /boot/initramfs-genkernel-X86_64-2.6.23-gentoo-r6
sosoy77 is offline   Reply With Quote
Old 01-30-2008   #4 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,095
Quote:
root (hd0,0)
kernel /boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3
It should be
Code:
title Gentoo Linux 2.6.23-r6
root (hd0,0)
kernel (hd0,0)/boot/kernel-2.6.23-gentoo-r6  root=/dev/sda3 ro
Remove = sign from title line add (hd0,0) and ro in kernel line.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 01-30-2008   #5 (permalink)
sosoy77
Just Joined!
 
Join Date: Dec 2007
Posts: 36
ok i did this,my bootloader open i hit enter and this what i got:
"Booting 'Gentoo Linux 2.6.23-r6
root(hd0,0)
Filesystem type is ext2fs,partition type 0x83
Kernel (hd0,0)/boot/kernel-X86_64-2.6.23-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 ro
Error 15:File not found
press any key to continue..."
please help
sosoy77 is offline   Reply With Quote
Old 01-30-2008   #6 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,095
Isn't GRUB Menu giving two options? Have you removed = sign from both title lines?
It looks like you are selecting rescue option.
Try removing (hd0,0) from kernel line.

Your grub.conf file should look like this
Code:
default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 2.6.23-r6
root (hd0,0)
kernel /boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3 ro
initrd /boot/initramfs-genkernel-X86_64-2.6.23-gentoo-r6

title Gentoo Linux 2.6.23-r6 (rescue)
root (hd0,0)
kernel /boot/kernel-genkernel-X86_64-2.6.23-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
video=vesafb:mtrr:3,ywrap
initrd /boot/initramfs-genkernel-X86_64-2.6.23-gentoo-r6
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 01-30-2008   #7 (permalink)
sosoy77
Just Joined!
 
Join Date: Dec 2007
Posts: 36
the same problem :
Booting 'Gentoo Linux 2.6.23-r6
root (hd0,0)
Filesystem type is ext2fs,partition type 0x83
Kernel (hd0,0)/boot/kernel-X86_64-2.6.23-gentoo-r6 root=/dev/sda3 ro
Error 15:File not found.


but let's see if i am not doing mistakes :
Boot the LiveCD.
mount /dev/hdb4 /mnt/gentoo
mount /dev/hdb2 /mnt/gentoo/boot
mount --bind /dev/ /mnt/gentoo/dev
mount none -t proc /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash
env-update && source /etc/profile
after that:
nano /boot/grub/grub.conf
and editing.
where i do wrong?
please help
sosoy77 is offline   Reply With Quote
Old 01-30-2008   #8 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,095
Post the file listing of /boot folder.
Code:
ls /boot
and try appending kernel line with (hd0,0) again.
Code:
kernel (hd0,0)/boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3 ro
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 01-30-2008   #9 (permalink)
sosoy77
Just Joined!
 
Join Date: Dec 2007
Posts: 36
i try it but the same problem.and how to send u the picture whit my
Quote:
ls /boot
i guess i will install again gentoo.thanks so much.
sosoy77 is offline   Reply With Quote
Old 01-30-2008   #10 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,095
Just copy the output of ls /boot command or redirect its output to text file.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub, LVM and multi-boot problem cbope Redhat / Fedora Linux Help 4 12-14-2007 02:35 AM
GRUB Loader Problem rupeshpillay Redhat / Fedora Linux Help 1 06-27-2006 08:45 AM
grub error15, not a typical kernel or initrd problem farkus888 Redhat / Fedora Linux Help 6 06-27-2006 06:33 AM
strange grub problem electronico Redhat / Fedora Linux Help 4 07-25-2005 11:33 PM
Solving Boot Problems with Grub - 2nd Edition Nerderello Linux Tutorials, HOWTO's & Reference Material 4 02-06-2005 11:44 AM




All times are GMT. The time now is 10:43 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0