View previous topic :: View next topic |
Author |
Message |
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Sun Aug 01, 2004 10:26 pm Post subject: After installing gentoo |
|
|
Goodnight all ,
I just have install my gentoo ! , now I have some problems
1. When linux is booting the screen looks black background with white lines , so its impossible to read anything on the screen.
2. One of the only things I see , after Linux has loaded , is the bash , so :
bash >
I try to use "startx" for run Gnome but it says "Command not found" or anything like that.
Thanks for all !
PD : Congrats to the gentoo team , the manual is really easy to read for installing gentoo , like mandrake with a graphical installer |
|
Back to top |
|
|
meital Tux's lil' helper
Joined: 17 Feb 2004 Posts: 93
|
Posted: Sun Aug 01, 2004 10:58 pm Post subject: |
|
|
did you configure your x server? if you don't have XF86Config or xorg.conf under /etc/X11/ then you really don't have the startx command.
if you are running xorg as your xserver would help you configure it (xfree has another command for that i'm not sure what it is..) |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 3:00 am Post subject: |
|
|
cocozz:
1. Can explain better what you mean by "black background with white lines"? Do you mean standard linux boot in text mode with boot messages flying by?
2. If bash cannot find the startx command, then you do not have X server installed. You should emerge xorg-x11 (or xfree). |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 9:38 am Post subject: |
|
|
Ok so I will install the X server.
But the other problem is my screen looks that :
www.cocozz.com/jpg/boot.jpg
So as u see , the sreen is unreadable !
PD : I know ... im not a proffessional painter |
|
Back to top |
|
|
CpuWhiz n00b
Joined: 22 Jul 2004 Posts: 13 Location: Land of the Tux
|
Posted: Mon Aug 02, 2004 11:06 am Post subject: That's odd... |
|
|
Usually you get a log-on prompt and after that you get a prompt like this:
user@host dir $
Are you using an initrd? If so, my guess is that it can't find your / and doesn't continue booting. Could you possibly post your dmesg or the information that is on the screen? |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 12:51 pm Post subject: |
|
|
No i can't , it's impossible to read anyting on the screen |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 1:02 pm Post subject: |
|
|
cocozz wrote: | Ok so I will install the X server.
But the other problem is my screen looks that :
www.cocozz.com/jpg/boot.jpg
So as u see , the sreen is unreadable !
PD : I know ... im not a proffessional painter |
Now I know what do you mean by white lines, but I have never seen such behavior.
Do you use framebuffer by any chance? If so, try plain 80x25 console.
Also, are you passing any arguments to kernel in your grub.conf?
Do you get white lines when booting LiveCD? If you do, then kernel config or grub is screwed up. If not, linux does not like your video card.
Finally, how do you know that startx gives you "command not found" message if the screen is unreadable? DOes it become readable after a while? |
|
Back to top |
|
|
br0mGreV Apprentice
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Mon Aug 02, 2004 1:17 pm Post subject: Re: After installing gentoo |
|
|
cocozz wrote: |
2. One of the only things I see , after Linux has loaded , is the bash , so :
bash >
|
I wonder, have you log into. Are you directly loged-on, without typing any login/passwd, or have you typed-it ? else you may be in some crashed root login ? |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 4:16 pm Post subject: |
|
|
LiveCD is perfect , no problem.
So its sure one thing is bad configured ...
First Grub , so how can I edit the grub configuration file with LiveCD ? I have try it but it says this file doesnt existe !_!.
And maybe I have forget something in Kernel.
In fact it may be some graphical bad config at Installation.
Do you know what can it be ? |
|
Back to top |
|
|
CpuWhiz n00b
Joined: 22 Jul 2004 Posts: 13 Location: Land of the Tux
|
Posted: Mon Aug 02, 2004 5:11 pm Post subject: |
|
|
cocozz wrote: | First Grub , so how can I edit the grub configuration file with LiveCD ? I have try it but it says this file doesnt existe !_!. |
Did you forget to mount your drive when you went back to the LiveCD? |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 6:13 pm Post subject: |
|
|
Yes so I mounted the boot partition and after I tried to edit the grub config file but ... grub folder didnt exist ! (??)
So after all I reinstalled Gentoo , and ... more problems ...
When linux is booting I get some "Can't open dependencies file" , it seems the linux kernel folder adress isnt correct. ( linux-2.4.25-gentoo-r1 instead of linux-2.4.25-gentoo ).
Thanks |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 8:21 pm Post subject: |
|
|
You did not have to reinstall.
Well, now that you did give us some more info:
1. Is grub running OK (i.e. do you get menu where you can chose which kernel to run when you boot your machine (without liveCD))
2. Is your boot process OK untill you get to that dependency problem?
3. Did you run make modules_install after kernel was compiled?
4. DO you still get those white lines? |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 8:48 pm Post subject: |
|
|
1. Is grub running OK (i.e. do you get menu where you can chose which kernel to run when you boot your machine (without liveCD))
I have changed to LILO this time ( only for try ) and yes , its OK
2. Is your boot process OK untill you get to that dependency problem?
Yes , no problem
3. Did you run make modules_install after kernel was compiled?
Good question , i remember that after linux has been compiled , it said me : dond recognize command "modules"
That's a bit stupid because it runned OK with 1rst installation.
4. DO you still get those white lines?
No , now its OK , i think it was a problem of framebuffer
Thanks , one more time , sorry for my bad english ... |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 9:10 pm Post subject: |
|
|
You need to carefully redo your kernel. If you get any error messages (especially with respect to modules) you will run into problems.
Do you compile your kernel manually or do you use genkernel?
ALso, which kernel (2.4 or 2.6)?
Follow the handbook closely:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
Donot forget to forget to run
Code: | make dep && make bzImage modules modules_install |
for 2.4 kernel and the following for 2.6 version Code: |
make && make modules_install |
Watch for any error messages. If you are going to recompile your kernel run "make clean". |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 9:40 pm Post subject: |
|
|
Do you compile your kernel manually or do you use genkernel?
I compile kernel manually , reading the Gentoo.org installation doc and use Kernel 2.4
I recompile my kernel on bash ( after booting linux ) or in LiveCD ? |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 9:47 pm Post subject: |
|
|
You need to compile it when you are in your system (not in livecd), i.e. boot form livecd (this is the only way to get into your system since it does not boot now), chroot into your system, go into /usr/src/linux and do whatever handbook says there. |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 9:53 pm Post subject: |
|
|
Ok , thanks ill try it now |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 10:41 pm Post subject: |
|
|
So i hace recompiled the kernel , its OK no problem.
No When Linux has booted i get into a command line, so now i think its time to install the X.
I printed a tutorial of this site for installing Xorg.
So the first step to do is : emerge xorg-x11
And it says :
There are no masked or unmasked ebuilds to satisfy "xorg" ; Error calculating depencies please correct.
Thanks |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 10:55 pm Post subject: |
|
|
Is networking in your install working?
If it is run
Code: | emerge sync
emerge -uaDv world |
to update.
After that try
again. |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 11:04 pm Post subject: |
|
|
Hmmm I dont know :S
"modprobe 8139too" dont work
ifconfig dont work too
Any idea ? |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 11:19 pm Post subject: |
|
|
cocozz wrote: | Hmmm I dont know :S
"modprobe 8139too" dont work
ifconfig dont work too
Any idea ? |
SO, the networking is not working or you are not sure?
If you are not sure try emerging links (text-based browser (if it is not installed already) and see if you can get to any website.
What error dod you get when you try "modprobe 8139too"? |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Mon Aug 02, 2004 11:29 pm Post subject: |
|
|
Can reach this module.
No , i dont have connection on ( it says it when booting )
How can i see the connection status ? Cause "ifconfig" dont work :S
PD : In Live CD i can get connection throught ethernet using this modprobe and "dhcpcd eth0" |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Mon Aug 02, 2004 11:37 pm Post subject: |
|
|
cocozz wrote: | Can reach this module.
No , i dont have connection on ( it says it when booting )
How can i see the connection status ? Cause "ifconfig" dont work :S
PD : In Live CD i can get connection throught ethernet using this modprobe and "dhcpcd eth0" |
Do you have ping command? if you do try something like
and see what you get.
Are you sure that 8139too modules is the right one?
Did you enable the module in kernel config? |
|
Back to top |
|
|
cocozz Apprentice
Joined: 31 Jul 2004 Posts: 160
|
Posted: Tue Aug 03, 2004 12:13 am Post subject: |
|
|
Hmmm no I dont think I active this module :/
Where can I find it on kernel menu ? |
|
Back to top |
|
|
mhodak Veteran
Joined: 15 Nov 2003 Posts: 1218
|
Posted: Tue Aug 03, 2004 12:18 am Post subject: |
|
|
You need to enable options in Network device support menu and in its Ethernet (10 or 100Mbit) ---> submenu. |
|
Back to top |
|
|
|