Loadlin zimage/X config - where ?


I have just installed Red Hat 5.1 to a linux dedicated second drive on my win 95 system.

I installed all the packages, created a BOOT disk and managed to run X with no problems.

1. I want to load linux via loadlin through a batch file, the loadlin command line requires zimage and I can't find it on the CD, any idea where it is?

2. I changed the window manager in X and can now not start the X server, it just bombs out and gives me a load of graphics frequency settings. I would like to configure my 4mb grafixstar 560 to run in 1024x768 but it's not supported in the list of graphics cards. where is the configuration file for the X server and how do  I stipulate the settings I want the card to run in ?

many thanks

Who is Participating?
marcelofrConnect With a Mentor Commented:
1 y 2) I'll try to do what you've done and see what I get. Can you try with kernel 2.0.34 or 2.0.35? They are available at redhat ftp site... remember -0.6 means beta! If you try them, remember you have to rpm -i and not rpm -U new kernels...

3) No. Run xf86config and answer EVERY question...
1) zimage is the name of the compiled compressed kernel, which is supposed to be copied on /boot as vmlinuz. You can use this file and preferably whatever your /etc/lilo.conf points to as the FIRST image entry

2) The configuration file is /etc/X11/XF86Config and the xserver is pointed by the link named /usr/X11R6/bin/X
sxhAuthor Commented:
hi marcelofr

I have not rejected your answers because they are wrong, but because i now have more problems:

the vmlinuz file in /boot is named vmlinuz-2.0.34-0.6
and it's the same on the boot floppy i made. I have tried to mimic this in my batch file which is;
rem  Sample DOS batch file to boot Linux.

rem  First, ensure any unwritten disk buffers are flushed:
smartdrv /C

rem  Start the LOADLIN process:
c:\loadlin\loadlin c:\loadlin\vmlinuz-2.0.34-0.6 root=/dev/hdb2  ro  vga=3

when i then boot into linux i see a line pass by which says something like 'no image found in "vmlinuz"', i then login as root and get this message printed on the console every couple of seconds;
'writing x/x buffers' where x is a set of numbers.

I have tried to rename the file in dos to vmlinuz and reflect this in the batch file, with no luck. I even cp'ed the /boot/vmlinuz-2.0.34-0.6 to vmlinuz, still no luck.

1. Is the message 'no image found in "vmlinuz" something I can ignore?

2. what are the messages being thrown on screen every couple of seconds ?

I booted off the floppy and tried to run X again and still no luck, i ran Xconfigurator again and still no luck. I noticed that in the file XF86Config my video card was down as having 256k ram ?, i ran the probeonly bit on the setup, so how can it not detect how much ram is on the card.

Bearing in mind that X was working fine until i changed the wm within X, this points to something else in my mind.

I asked "how do  I stipulate the settings I want the card to run in".. your answer did not portray this.

3. do i need to reinstall the X config files and start again, if so how do i do this ?, or is there some other way of getting my card information in simply without hacking configuration files with sets of frequency settings.

Sorry if this is a bit long winded.

many thanks

sxhAuthor Commented:
hi marcelofr

I have managed to sort out my problems by reinstalling and using the VideoLogic GrafixStar 550 driver, which I overlooked !, also i ran Xconfigurator and selected 'custom' for the monitor.

I am now running the AfterStep wm in 1024x768 with 1280x1024 virtual with no problems, (apart from netscape crashing!!).

I have reduced the points because i felt i answered some of my own questions but your input was valuable, thanks again.


All Courses

From novice to tech pro — start learning today.