LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-24-2006, 03:55 AM   #1
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
X Server Doesn't Start


My Slackware 11 install was running just fine.
I rebooted into WinXP and then back to Slackware. Now suddenly it has stopped working. when I do startx.. It shows fatal error 0 compatible screens found. That a screen was found but it is not supported. I tried to copy the log file to my VFAt partition but it is unable to mount it saying "error unknown file system NTFS"

Any suggestions?
 
Old 10-24-2006, 04:12 AM   #2
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Cool strange...

Can You please provide the /var/log/Xorg.0.log
and the /etc/X11/xorg.conf
files, and the output of the (run as root) command
lspci
that could shed some more light to your issue...:-)

Didn't You get the X running by default (the vga or vesa driver)?

And of course You can allways run
xorgconfig
from a console and try Your luck...
 
Old 10-24-2006, 04:39 AM   #3
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
I tried doing xorgconfig twice.

The thing is it just refuses to start. I wanted to give a copy of /var/../Xorg.0.log but the problem is I can't use my win Partitions in Linux thats why I can't copy it. I will try doing lspci.
 
Old 10-24-2006, 04:54 AM   #4
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Could You manage somehow to download Slax and run it on Your PC?
It's about 192MB a live-linux and it won't write either to NTFS but could to a flash-disk or floppy, so you would't have to re-type...
 
Old 10-24-2006, 05:01 AM   #5
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Oh My God I am the Biggest ASS in the World.

I wanted to install a newer kernel so I had done :
%installpkg kernel-generic-2.6.18-i486-1.tgz

And then I forgot all about it. Now I restart and its going to the 2.6.18 kernel but it doesn't have anyother files as I haven't done any config.

Any Ideas on how I can fix this? How can I go back to older kernel?Maybe I can boot with the DVD and specify kernel.
Or do setup and just do the configuration all over again.


Maybe I
 
Old 10-24-2006, 05:44 AM   #6
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Well on Slack there are allway easyer ways to walk foot by foot :-/
So:
mount the source of your distro (the DVD) and go type:
mc
(mc *is* your friend)
navigate to the mountpoint (usually /mnt/cdrom)
navigate to slackware/testing (or elsewhere) where the modules of 2.6.18.1 reside...
point to the *.tgz package containing the modules...
press [F2] for user menu
press @ (do something...)
type 'installpkg' and hit [enter]
(that whas it)
soon you will have the modules installed...
of course there are other ways... :-)
 
Old 10-24-2006, 05:55 AM   #7
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
but don't I need to install anything else. I mean how could Installing a new kernel be so easy?
just kernel-modules....tgz
what abt kernel-headers kernel-source etc.?

And what is mc

Thanks
Duryodhan
ashamed at how the first line of the post sounds so like a advert.
 
Old 10-24-2006, 07:12 AM   #8
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
well in the packages there are:
kernel-<somewhat>-<some_nr>.tgz
kernel-modules-<smoe_nr>.tgz
kernel-headers-<some_nr>.tgz
kernel-source-<some_nr>.tgz
kernel-source-<whatever>.tar.{gz|bz2}
but to get the modules onboard you need the module-package only.
Once the kernel is loaded, modules depmod-ed you do everything left...

mc

is the 'midnight-commander' a northon-commander clone for POSIX-systems.
It's my best friend in shell. Try it: just type 'mc' and hit [enter]:-)
 
Old 10-24-2006, 07:18 AM   #9
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Cool

Quote:
Originally Posted by duryodhan
Duryodhan
ashamed at how the first line of the post sounds so like a advert.
Don't bother, what should then I say 'bout my sign below?
 
Old 10-24-2006, 07:55 AM   #10
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
ok I will try out what you said but I still dont understand how only by installing the kernel and modules a new kernel will be loaded whereas there is a looong guide on how to do it in Shilo's Guide.
 
Old 10-24-2006, 08:03 AM   #11
pkn
LQ Newbie
 
Registered: Oct 2006
Location: Netherlands
Distribution: Slackware, CentOS and FC
Posts: 12

Rep: Reputation: 0
Well... that is what packages are all about... someone allready having the knowledge about what has to be done, has done it allready for you.

In Slackware packages are a bunch of files placed in the right place... and a install script to do some configuration.
 
Old 10-24-2006, 08:12 AM   #12
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
ok
anyways...
I did what you said (pkgtool and all) and then I rebooted.
Now LILO is giving error.
"ENDA is too Big Kernel overlaps LILO"

What I did now was to boot with Slackware DVD and then do "sata.i root=/dev/hdb2 noinitrd ro"
So its all working fine. But what do I do abt LILO?

Will liloconfig work?
And how do I find out which is my present kernel version?

Last edited by duryodhan; 10-24-2006 at 08:16 AM.
 
Old 10-24-2006, 08:22 AM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
After booting from the CD using "sata.i root=/dev/hdb2 noinitrd ro", try running "lilo" and then reboot to see if that helped.

Eric
 
Old 10-24-2006, 08:37 AM   #14
SCerovec
Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware and Porteus
Posts: 648

Rep: Reputation: 45
Yap, when faring with LILO you have to lilo many times (just can't overdo)
But me faring with GRUB, had to grub once, later only fare, one grub is more than 'nough.

I like grub better, since I allways fiddle and tamper and then break stuff.
Grub's MBR alone supports a shell and all sorts of spicy stuff, grub's boot stages support filesystems and the grub itself has a built in shell also, so once i make someting foolish i just re-edit the kernel's commandline in grub's menu and off I go.
Lilo has better graphics, better support for troublesome BIOS-es and so on, but Grub is by far more flexible and powerful for emergency cases. With grub you could even boot a kernel form say: /usr/src/linux/arch/i386/piggy/bzImage [from the boot-prompt] if You can't find any better one
'nough said.

Last edited by SCerovec; 10-24-2006 at 08:49 AM.
 
Old 10-24-2006, 08:54 AM   #15
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 46
Hey,
Alien_bob it worked!
Thanks a lot SCerovec.
Could you tell me how do I find out my present kernel version?
 
  


Reply

Tags
install, mc, slackware, slax, troubleshooting, xorgconf, xorgconfig


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot start X Server ynt Linux - Software 3 12-20-2007 08:33 PM
Cannot start X-server Clementine Linux - Newbie 15 05-12-2005 12:19 PM
X Server Won't start waknauss Linux - Hardware 2 11-12-2004 01:31 PM
I cannot start the x server frozen_kismet Debian 5 04-26-2004 06:20 PM
can't start x server petez5 Linux - General 1 09-12-2003 06:16 PM


All times are GMT -5. The time now is 12:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration