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 |
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.
|
|
10-17-2004, 04:09 PM
|
#1
|
Member
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83
Rep:
|
not finding gentoo
grub doesnt find my gentoo
error 15:file not found
kernel /kernel-2.6.8-gentoo-r10 root=/dev/hda4
my linux setup is
title=gentoo
root (hd0,1)-(is this supposed to b the root partition or the boot)
kernel /kernel-2.6.8-gentoo-r10 root=/dev/hda4
|
|
|
10-17-2004, 04:19 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
hda4? are you sure that's right? you'll only ever get an hda4 if you have only 4 primary partitions on your system and nothing else. In grub you can use tab completion to search for filenames like in bash if the file name is wrong, also always place the partition name on the kernel line too, e.g. "kernel (hd0,3)/kernel-2.6.8"
you also define two different roots... hd0,0 = hda1..... what's with that?
|
|
|
10-17-2004, 04:19 PM
|
#3
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
root (hd0,1) should be your boot partition and root= should be your / partition.
Can you post the output of this if you are still unsure:
ls -l /boot
mount
|
|
|
10-17-2004, 04:21 PM
|
#4
|
Member
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83
Original Poster
Rep:
|
yes its hda4
windows-hda1
boot-hda2'
swap-hda3
root-hda4
ill try this once i reboot real quick
kernel(hd0,3)/kernel-2.6.8-gentoo-r10
yes ill boot real quick lemme go get it
|
|
|
10-17-2004, 04:22 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
wha? no you have /boot?? obviosuly if the kernel image IS in hda2, then you want (hd0,1), which isn't mentioned anywhere yet!
OH.. duuhh sorry, yes it is there. retard.
Last edited by acid_kewpie; 10-17-2004 at 04:33 PM.
|
|
|
10-17-2004, 04:30 PM
|
#6
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
Quote:
root (hd0,1)-(is this supposed to b the root partition or the boot)
|
that need to be the partition with the kernel file on it whatever that might be
is there a seperate /boot partition for the gentoo install or just a /boot
directory on the root (/) partition ???
if it's just a boot directory on hda4
then you go:
title=gentoo
root (hd0,3)
kernel /boot/kernel-2.6.8-gentoo-r10 root=/dev/hda4
if it's a /boot partition on hda2 then you go
title=gentoo
root (hd0,1)
kernel /kernel-2.6.8-gentoo-r10 root=LABEL=/
|
|
|
10-17-2004, 04:33 PM
|
#7
|
Member
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83
Original Poster
Rep:
|
sorry for all the errors lol
title=gentoo
root (hd0,1)
kernel(hd0,3)/kernel2.6.8-gentoo-r10 root=/dev/hda4
boot partition=hda2
root partiton=hda4
|
|
|
10-17-2004, 04:44 PM
|
#8
|
Member
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83
Original Poster
Rep:
|
to edit my grub im going to
nano -w /mnt/gentoo/grub/grub.conf
in there i have linux listed but when i boot linux doesnt even show up as an option in grub
all that shows up is windows xp
Last edited by rj686; 10-17-2004 at 04:46 PM.
|
|
|
10-17-2004, 05:09 PM
|
#9
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
try this in stead of the last line --
kernel /kernel2.6.8-gentoo-r10 root=/dev/hda4
|
|
|
10-17-2004, 05:17 PM
|
#10
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
ok well try going down the shell path.... get a grub shell and try "kernel (hd0,1)/" and hit tab, just like in bash. you'll be able to see there and then if the file is there. there's no need to keep rebooting to edit the config. obviosuly if you do find the file, make a note of it and edit grub.conf
|
|
|
10-17-2004, 10:30 PM
|
#11
|
Member
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83
Original Poster
Rep:
|
aright thanks...........ill try that
|
|
|
10-17-2004, 10:46 PM
|
#12
|
Member
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83
Original Poster
Rep:
|
im just going to redo the whole thing...............
when im setting up my grub config im not sure what to do? seems like everything i try is wrong
windows-hda1
boot-hda2
swap-hda3
root-hda4
title=gentoo
root (hd0.1)
kernel (hd0,?)/kernel-<kernel version>
i dont know what to put in root nor do i know where my kernel is located is it in root or boot?
|
|
|
10-17-2004, 11:49 PM
|
#13
|
Member
Registered: Aug 2004
Location: New York
Distribution: --------- Gentoo-2004.2 [2.6.8] Redhat-9 [2.6.6]
Posts: 545
Rep:
|
did you make ur boot partition active ???????
post the output of #fdisk -l
Last edited by UsualTuxpect; 10-17-2004 at 11:52 PM.
|
|
|
10-18-2004, 09:11 PM
|
#14
|
Member
Registered: Sep 2004
Distribution: Ubuntu, Mepis
Posts: 83
Original Poster
Rep:
|
how should i set up my fstab
hda1-windows
hda2-boot(ext2)
hda3-swap
hda4root(reiserfs)
i've read the manual many times but for some reason i always screw up fstab and or grub
|
|
|
10-18-2004, 11:55 PM
|
#15
|
LQ Newbie
Registered: Feb 2004
Distribution: Gentoo
Posts: 10
Rep:
|
Make sure when you make a new kernel or edit the grub config that /boot is mounted. Otherwise you'll edit a file that isn't used.
|
|
|
All times are GMT -5. The time now is 11:53 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
|
|