|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
5 shrooms for grub help
#3195803 - 09/29/04 01:36 PM (19 years, 5 months ago) |
|
|
i am trying to chroot to the new installation environment and get an error message when i do env-update, it all looks like this root# chroot /mnt/gentoo /bin/bash /# env-update Invalid token (not"="N) parseError: invalid token (not'='):/etc/make.conf:line7 Incorect multiline literals can cause this do not use them the N in the (not"="N) has a squiggle above it, like the key above tab. i forget what its called i'll post line 7 of the make.conf in just a minute The error is telling me that there is something wrong with line 7 correct? I just have no idea what to change
Edited by sherm (10/04/04 05:56 PM)
|
nife
I'm Dead
Registered: 12/26/03
Posts: 225
Last seen: 1 year, 2 months
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3195891 - 09/29/04 01:59 PM (19 years, 5 months ago) |
|
|
Yeah sounds like your make.conf is messed up. Here is mine There is a lot of stuff you don't need but still it should work for ya.: Code:
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ [url=http://gentoo.mirrors.pair.com/]http://gentoo.mirrors.pair.com/[/url] [url=http://mirror.datapipe.net/gentoo"]http://mirror.datapipe.net/gentoo"[/url]
USE="nptl gtk gtk2 cjk -qt -kde -gnome dvd cdr alsa 3dnow sse mmx"
ALSA_CARDS="via82xx"
PORTDIR_OVERLAY="/usr/local/portage"
Edited by nife (09/29/04 02:00 PM)
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: nife]
#3196021 - 09/29/04 02:26 PM (19 years, 5 months ago) |
|
|
is that all the text from the make.conf file mine has a long string of crap at the end
line 7 looks like this
GN/% there is a little square after the %
line 8 looks like this S^Go^A0........... and so on for the rest of the line
are these lines suposed to be there?
-------------------- shroomery. not even once.
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3197039 - 09/29/04 07:01 PM (19 years, 5 months ago) |
|
|
id give you 5 shrooms for helping out but i just discovered that this browser won't let me, i even have to reply to my self. im still using links2 and stuck about 3/4 of the way through installation
AHhhhhhhh..........
on the bright side i just learned ALOT about how linux works and i only did a stage3
-------------------- shroomery. not even once.
|
nife
I'm Dead
Registered: 12/26/03
Posts: 225
Last seen: 1 year, 2 months
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3197657 - 09/29/04 09:24 PM (19 years, 5 months ago) |
|
|
Hehe thats why gentoo rocks. So much control that you have to learn. Gotta love it
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: nife]
#3198097 - 09/29/04 11:00 PM (19 years, 5 months ago) |
|
|
AHHHHHH.....
i'm stuck again. i'm going crazy I think I might be in over my head here. i'll ask some more questions tomorrow. Maybe someone will be around
-------------------- shroomery. not even once.
|
Suffer
puter dork
Registered: 03/05/99
Posts: 1,090
Loc: MA
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3200417 - 09/30/04 02:49 PM (19 years, 5 months ago) |
|
|
it sounds like your make.conf file is corrupt. I had this problem with a 2004.2 iso i downloaded. rm /etc/make.conf cp /etc/make.conf.example /etc/make.conf edit it to your needs, but im guessing you already did that
--------------------
|
FlusH
Random person on Internet
Registered: 10/23/01
Posts: 2,911
Loc: Bizzaro World
Last seen: 18 days, 15 hours
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3203800 - 10/01/04 11:44 AM (19 years, 5 months ago) |
|
|
Do what Suffer said. I have noticed that Mirrorselect does the same thing to my make.conf The way I got around it was create a new /etc/make.conf, but Suffer's method is easier.
--------------------
|
yewhew
Dead in Eternity
Registered: 01/13/04
Posts: 153
Loc: Ontario, Canada
Last seen: 1 year, 10 months
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3207203 - 10/02/04 04:02 PM (19 years, 5 months ago) |
|
|
--------------------
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: yewhew]
#3207616 - 10/02/04 05:59 PM (19 years, 5 months ago) |
|
|
thanks for all the help everyone much good karma for you guys
i have a new question now though. I got through the installation and when i reboot the system, right after the grub screen i get an error that looks like this
(hd0,0) kernal /kernel-2.4.26-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda Error 15: file not found
does this meant that grub can't find the kernel or initrd?
grub is set to load the boot partition I used genkernel and wrote up my grub.conf just like the handbook said.
i'm lost, linux is like a giant puzzle its alot of fun when the pieces go together and frustrating as all hell when they don't
thanks again everyone you guys are what makes the shroomery such a geat place i'll pass out them 5 shrooms when i get a browser that will let me
-------------------- shroomery. not even once.
|
Suffer
puter dork
Registered: 03/05/99
Posts: 1,090
Loc: MA
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3207773 - 10/02/04 07:07 PM (19 years, 5 months ago) |
|
|
Code:
default 0
timeout 5
title=Gentoo Linux 2.4.26-r9
root (hd0,0)
kernel /kernel-2.4.26-gentoo-r9 root=/dev/ram0 real_root=/dev/hda3 init=/linuxrc ramdisk=8192 vga=794
initrd /initrd-2.4.26-gentoo-r9
Thats basicly what my grub.conf looks like. Oh, but looking at it again (after another bongload) i think you just forgot to put the partition number. you have "real_root=/dev/hda" and im pretty sure it should be "real_root=/dev/hda3" or whatever you set it up as during insntall. use the boot disk to chroot in and change the file.
--------------------
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: Suffer]
#3207961 - 10/02/04 07:50 PM (19 years, 5 months ago) |
|
|
i gave that a try and it still didn't boot any other suggestions? thanks!
-------------------- shroomery. not even once.
|
Suffer
puter dork
Registered: 03/05/99
Posts: 1,090
Loc: MA
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3208566 - 10/02/04 10:49 PM (19 years, 5 months ago) |
|
|
well the only thing i can recomend is paste EXACTLY what you have in your grub.conf and lets see. maybe you installed the os on a different partition... i really dunno. Blah, keep messing with it dude, its bound to be a typo or something. Whats the error message it gives you now?
--------------------
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3211433 - 10/03/04 09:18 PM (19 years, 5 months ago) |
|
|
suffer- my grub.conf looks just like yours i've checked it too many times for typos i even have the guys over at the gentoo forums confused! oh well, i'll mess with it for a while longer. if i can't get anywhere i'll just start at the begining again. thanks for all the help "it will be mine, oh yes, it will be mine" -wayne
-------------------- shroomery. not even once.
|
Phluck
Carpal Tunnel
Registered: 04/10/99
Posts: 11,394
Loc: Canada
Last seen: 5 months, 4 days
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3214269 - 10/04/04 02:30 PM (19 years, 5 months ago) |
|
|
What does your partition table look like?
-------------------- "I have no valid complaint against hustlers. No rational bitch. But the act of selling is repulsive to me. I harbor a secret urge to whack a salesman in the face, crack his teeth and put red bumps around his eyes." -Hunter S Thompson http://phluck.is-after.us
|
Phluck
Carpal Tunnel
Registered: 04/10/99
Posts: 11,394
Loc: Canada
Last seen: 5 months, 4 days
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3214281 - 10/04/04 02:32 PM (19 years, 5 months ago) |
|
|
I just looked at what you posted: /kernal /kernel-2.4.26-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda You spelled "kernel" wrong. If that's exactly how you have it in your grub.conf, there's your problem PS. If I were you, I would have gone for the gentoo-dev sources, they're at 2.6.8, no need to still be using the 2.4.x kernel at this point. Once you've got everything up and running, you might want to try upgrading. Configuring some things is quite a bit easier with the new kernels.
-------------------- "I have no valid complaint against hustlers. No rational bitch. But the act of selling is repulsive to me. I harbor a secret urge to whack a salesman in the face, crack his teeth and put red bumps around his eyes." -Hunter S Thompson http://phluck.is-after.us
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3215123 - 10/04/04 05:53 PM (19 years, 5 months ago) |
|
|
i fixed the problem, it was -r9, not -r6. I feel extra stupid. Now when I reboot the system i get this error when it tries to load the kernel error2: bad file or directory type is /boot/kernel the actual kernel or is it just a directory? When i do this /# cd /boot/kernel-2.4.26-gentoo-r9 and then list the contents of that directory it is blank. and i do have it mounted. Is there suposed to be something in here? thanks again
-------------------- shroomery. not even once.
|
Phluck
Carpal Tunnel
Registered: 04/10/99
Posts: 11,394
Loc: Canada
Last seen: 5 months, 4 days
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3215957 - 10/04/04 09:22 PM (19 years, 5 months ago) |
|
|
/boot/kernel-2.4.26-gentoo-r9
I think that should be the actual kernel, and not a directory... try changing your kernel to that in the grub.conf.
-------------------- "I have no valid complaint against hustlers. No rational bitch. But the act of selling is repulsive to me. I harbor a secret urge to whack a salesman in the face, crack his teeth and put red bumps around his eyes." -Hunter S Thompson http://phluck.is-after.us
|
sherm
sherman
Registered: 10/02/03
Posts: 20,498
Loc: Euthanasia
|
Re: 5 shrooms for gentoo install help [Re: sherm]
#3219824 - 10/05/04 07:36 PM (19 years, 5 months ago) |
|
|
i figured it out thanks for everyones help!
-------------------- shroomery. not even once.
|
|