View previous topic :: View next topic |
Author |
Message |
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Sun Oct 17, 2004 7:41 pm Post subject: not finding gentoo..... |
|
|
grub doesnt find my gentoo
error 15:file not found
kernel /kernel-2.6.8-gentoo-r10 root=/dev/hda4
and when i try to load my windows partition it just goes back to grub
title=windows xp
rootnoverify (hd0,0)-its on hda1
makeactive
chainloader +1 |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Sun Oct 17, 2004 7:50 pm Post subject: |
|
|
edit: my windows partition works now i just cant get my gentoo to work
boot=/dev/hda2
swap= /dev/hda3
gentoo root=/dev/hda4 |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Sun Oct 17, 2004 8:03 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sun Oct 17, 2004 9:31 pm Post subject: |
|
|
The root(...) line is supposed to be where grub can find your kernel. Do you still get an error 15 error? If so, that means that grub can't find your kernel file - make sure that the filename is exactly the same as what you've got in your grub.conf _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
Triptol Tux's lil' helper
Joined: 21 Feb 2004 Posts: 107
|
Posted: Sun Oct 17, 2004 9:44 pm Post subject: Seems okay |
|
|
As long as you don't have any SCSI drives that might be taking the first position for Grub, hda comes down to your first harddrive which means a root (0, 1) would point to the second partition on the first harddrive.
You could try to get to the console of grub and type the commands there and use the tab function (just like bash) to get the name of the kernel file. You might notice a typo there... Dunno.
If you are going for the console way, make sure to append the root=/dev/... (I forgot it like a thousand times) |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Mon Oct 18, 2004 2:42 am Post subject: |
|
|
im just going to redo the whole thing my computer is pretty fast |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Mon Oct 18, 2004 2:48 am Post subject: |
|
|
If you have the same error again, it would be a good idea to post the ouput of
and also post your grub.conf file. |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Mon Oct 18, 2004 2:55 am Post subject: |
|
|
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 b |
|
Back to top |
|
|
L.U. Tux's lil' helper
Joined: 28 Jun 2004 Posts: 119 Location: North Carolina, U.S.
|
Posted: Mon Oct 18, 2004 3:08 am Post subject: |
|
|
Well, first we need to determine if your kernel is the right place (should be in /boot) and what it is named. To figure this out, try listing the contents of your /boot dir ala,
You should see something like kernel-2.6.8-gentoo, or something along those lines (If you didn't rename your kernel, you may see something like bzImage). If you see your kernel, then your kernel is in your /boot directory and you should tell grub to look for it there. If not, post what you get and we can go from there. _________________ In linux, getting your computer to do what you want is a science. In windows, it's an art form... |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Mon Oct 18, 2004 3:12 am Post subject: |
|
|
aright ill post it when i get there
im redoing it right now.... |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Mon Oct 18, 2004 3:18 am Post subject: |
|
|
in the actual installation is it required that i configure the "use" variable and etc..... |
|
Back to top |
|
|
L.U. Tux's lil' helper
Joined: 28 Jun 2004 Posts: 119 Location: North Carolina, U.S.
|
Posted: Mon Oct 18, 2004 3:19 am Post subject: |
|
|
Just as a heads up, I'm off for the night in just a little bit... If you continue to have problems, and no one else answers first, I'll take a look tomorrow when I get up. Good luck... _________________ In linux, getting your computer to do what you want is a science. In windows, it's an art form... |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Mon Oct 18, 2004 7:14 am Post subject: |
|
|
rj686 wrote: | in the actual installation is it required that i configure the "use" variable and etc..... |
No. USE is set so that you can control how portage installs stuff.
Like lets say you're never going to be using kde and therefore probably won't need stuff built with optional qt gui interfaces. So then if you have USE="-qt -kde" there optional kde and qt interfaces will not be built. But if you tried to emerge some program that is written in qt or depends on a program written in qt the thing written in qt will be emerged.
Like if you set USE="-qt" and did:
qt would still be installed because qtparted is written in qt.
And you can also have the USE flag make portage use extra options you want. Like as the opposite of the above, if you're using kde having USE="kde qt" would be a good idea. |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Mon Oct 18, 2004 11:07 am Post subject: |
|
|
im going to use gnome........(thats what someone suggested)
iim not THAT new to linux but im new to all this freedom .......with SuSE and Mandrake there was nowhere near this much freedom |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Tue Oct 19, 2004 1:06 am Post subject: |
|
|
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 |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Tue Oct 19, 2004 1:56 am Post subject: |
|
|
rj686 wrote: | 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 |
Code: |
/dev/hda2 /boot ext2 noauto,noatime 1 1
/dev/hda4 / reiserfs noatime 0 0
/dev/hda3 none swap sw 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
Note this is the minimum to get your computer booted; you'll have to add entries later for your cdrom or floppy drives. |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Tue Oct 19, 2004 2:23 am Post subject: |
|
|
how should i set up grub with that partition setup?
my kernel is 2.6.8-gentoo-r10 |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Tue Oct 19, 2004 7:17 am Post subject: |
|
|
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10
Also, I'd reccommend when you use that guide skip the part that says "Default: Setting up GRUB using grub-install" and do the stuff in the section marked "Alternative: Setting up GRUB using manual instructions."
I've had more success with the latter.
edit: If you want specific questions just ask but I can't tell you exactly what to do as I don't know the details. Like your grub.conf file should be set up differently depending on if you built the kernel yourself or if you used genkernel for instance. |
|
Back to top |
|
|
rj686 Apprentice
Joined: 12 Oct 2004 Posts: 199 Location: In my room playing my guitar or Sitting at my damn computer trying to get my fuckin gentoo to work:)
|
Posted: Tue Oct 19, 2004 10:33 am Post subject: |
|
|
i built the kernel myself and ive used the manual but everytime i dont get the right results.....(a flash of the screen and back to grub again) or error 15: file not found
i read another topic last night about people have problems deleteing after they tried installing and it didnt work.....like the fact that the 1st time i tried to install gentoo i used 2.6.7-gentoo-r11 and its STILL listed when i got to ls /boot. but i have deleted teh partitions many times so i dont know if i should just format or what? i dont want to lose my windows portioni but id like to completely blank the rest of the disk seeing as how it doesnt seem to work when i just delete the partitions. |
|
Back to top |
|
|
|