Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-24-2004, 04:35 AM
|
#1
|
LQ Newbie
Registered: Sep 2004
Posts: 2
Rep:
|
Gentoo Error can't boot with Grub
Hey Guys I keep getting an error when trying to boot into grub. It says Error 15 File not found.
I found this information, but still need you help:
"Based on the information you've provided, it sounds like the filename of the kernel you've told grub to look for (kernel-KV) is completely different to what it's actually called (kernel-2.4.20-gentoo-r7) or vice versa. I'd boot of the LiveCD again, mount the partition that contains the /boot directory and check that you've told grub to look for the right kernel."
How do I mount my boot files system? I mounted: mount -t ext2 /dev/hda1 /mnt
and went into it, but I can't use (ls) command to list anything. I have no idea if the kernel file is in there.
BTW I had no errors in the installition process. So there wasn't anything that I recall skipping.

|
|
|
09-26-2004, 01:58 AM
|
#2
|
Member
Registered: Mar 2004
Location: New York
Distribution: Fedora
Posts: 92
Rep:
|
Ok, so I'm assuming you don't have a working distro and are booting from the gentoo live cd:
first mount your partitions:
home : mount /dev/hda? /mnt/gentoo
boot : mount /dev/hda? /mnt/gentoo/boot
proc : mount -t proc none /mnt/gentoo/proc
then do:
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
now I think it's:
nano -w /mnt/gentoo/boot/grub/grub.conf (its basically /boot/grub/grub.conf)
and check whether you named the kernel correctly. It has to be exactly how it appears in /usr/src/linux
if not, just post your grub.conf here.
hope it helps
Dswissmiss
|
|
|
09-26-2004, 06:22 AM
|
#3
|
LQ Newbie
Registered: Sep 2004
Posts: 2
Original Poster
Rep:
|
Thank You very much. It works. It was spelled wrong. kernel2.6. I had kernel-2.6.
|
|
|
02-14-2005, 10:08 AM
|
#4
|
LQ Newbie
Registered: Feb 2005
Posts: 1
Rep:
|
Howdy,
Sorry to revive such a long-dormant problem, but this one is exactly the problem I'm having, and I think it's the same issue, where I've mis-typed something wrong.
However, when I do the chroot /mnt/gentoo /bin/bash, I get "chroot: cannot run command '/bin/bash' : No such file or directory.
What have I done wrong? Can anyone help?
Thanks,
shadowbox
|
|
|
02-14-2005, 11:07 AM
|
#5
|
Member
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46
Rep:
|
If grub is installed and you just want to edit the config file then you needn't chroot in, just boot a livecd and mount the boot partition somewhere and edit the file. For example, my boot partition is hda1 so I make a directory to mount to, mount my boot device there (as read-writable) and edit the grub config file:
mkdir /mnt/hda1
mount -o rw /dev/hda1 /mnt/hda1
nano /mnt/hda1/grub/menu.lst
Look in your boot partition ("ls /mnt/hda1", say) to see what the correct filenames should be in your grub config file. The important filename is the one probably containing "vmlinuz", or so. Maybe an initrd file too.
If you've any problems, perhaps post your grub config file and a listing of your boot partition.
Chris.
PS. If you have a separate boot partition from your root partition, then you might check that the boot partition was mounted (at /boot on the root partition) and was writable at the time grub installed, otherwise perhaps the grub config files sit in /boot of your root partition, rather than on the boot partition itself, in which case grub will not find them at boot time.
|
|
|
All times are GMT -5. The time now is 03:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|