Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
OK - this is from the lindows support FAQs:
Solution: nVidia offers a kernel patch to make NForce-2 supported, which plops right into your LindowsOS kernel
1. Download the kernel package
2. Login as root, go to the console:
dpkg -i kernel-image-lindows-2.4.20_2.4.20-51_i386.deb
OK - all well and good - but I STILL want to find out how to do it the correct way.
There is, which is why I asked about the output of 'uname' . That should tell us the kernel version, so you can get the correct headers. Use 'uname -r' to get the kernel revision. You want the three numbers (like 2.4.25), ignore anything after that. Then run the following, substituting the kernel version into <kernel version>
apt-cache search kernel-headers <kernel version>
You'll see a list of packages available, apt-get install the one ending in -386. Then try compiling again.
Sorry about the delay. I downloaded the kernel from the lindows site (they burried it well). I ran (as per their 'advanced' instructions) the following:
This process took a while and produced some output.
The end result is that I ran a updatedb and locate module.h and now there are lots of them!
So I then tried to run the audio make file and it came back as "cannot find module.h" and about 15 other files still. So I got the bright idea to edit the .c and .h files in the nvaudio directory to replace the default path of where it was looking for the module.h etc (linux/module.h). - HOLY MOLEY! of the 15 files needed for the install, they were all over the place.
OK - so I find out that giving explicit paths to these files is a bad idea, because just as soon as I say "/root/kernel/linux-2.4.20/........" then that file is not referencing another file with a missing path etc etc!
So, we come to finding a way to edit the system path (i.e. if you need this file, look here...) But my modification of the .bash_profile file didn't do anything (i didn't restart the pc, just the shell).
so back to your questions:
uname -r ---> 2.4.24
ran apt-cache search kernel-headers 2.4.24 and got nothing
nothing to apt-get install
I did have a file from the way above operation that appeared in root as
is this an installed file? is this a necessary file? Can I 'run' this file? it is about 3.9mb
I am afraid I am getting further off track so I won't go any further without more information.
btw - thanks for all the help thus far - it's been a blast!
Hmmm.... You need to adjust your sources perhaps! This is what I have when I search...
liam@loki:~$ apt-cache search kernel-headers 2.4.24
kernel-headers-2.4.24-1 - Header files related to Linux kernel version 2.4.24
kernel-headers-2.4.24-1-386 - Linux kernel headers 2.4.24 on 386
kernel-headers-2.4.24-1-586tsc - Linux kernel headers 2.4.24 on Pentium-Classic
kernel-headers-2.4.24-1-686 - Linux kernel headers 2.4.24 on PPro/Celeron/PII/PIII/PIV
kernel-headers-2.4.24-1-686-smp - Linux kernel headers 2.4.24 on PPro/Celeron/PII/PIII/PIV SMP
kernel-headers-2.4.24-1-k6 - Linux kernel headers 2.4.24 on AMD K6/K6-II/K6-III
kernel-headers-2.4.24-1-k7 - Linux kernel headers 2.4.24 on AMD K7
kernel-headers-2.4.24-1-k7-smp - Linux kernel headers 2.4.24 on AMD K7 SMP
kernel-headers-2.4.24-speakup - Header files related to Linux kernel version 2.4.24-speakup
My /etc/apt/sources.list is below, it may work, but you will probably want a local location rather than sources in new zealand...
make a copy of your /etc/apt/sources.list file and then run the apt-setup tool, it'll help you find a local site. If you do install the sources, then you'll want to _undo_ all the changes that you've made to your nvidia source code.
I started following this thread because I am doing much the same that mgevans is. Your thread has been the single most instructive thread I have found so far. I am also new to Linux and thought Lindows would work nicely because it worked alot like Windows and would allow me a gradual transition. So far it has worked.
I have managed to download the apt-get per the instructions earlier in the thread and the downloaded and installed the gcc and man programs, which has been a great help.
and came up with nothing. If you leave the version number off:
apt-cache search kernel-headers
then this comes up:
kernel-headers-2.2.20 - Header files related to Linux kernel version 2.2.20
kernel-headers-2.2.20-compact - Header files related to Linux kernel version 2.2.20-compact
kernel-headers-2.2.20-idepci - Header files related to Linux kernel version 2.2.20-idepci
kernel-headers-2.2.20-reiserfs - Header files related to Linux kernel version 2.2.20
kernel-headers-2.2.20-sparc - Kernel header files for all sparc sub architectures
kernel-headers-2.4.16 - Header files related to Linux kernel version 2.4.16
kernel-headers-2.4.16-386 - Headers for Linux kernel version 2.4.16 on 386
kernel-headers-2.4.16-586 - Headers for Linux kernel version 2.4.16 on 586/K5/5x86/6x86/6x86MX
kernel-headers-2.4.16-586tsc - Headers for Linux kernel version 2.4.16 on Pentium-Classic
kernel-headers-2.4.16-686 - Headers for Linux kernel version 2.4.16 on PPro/Celeron/PII/PIII
kernel-headers-2.4.16-686-smp - Linux kernel headers 2.4.16 on PPro/Celeron/PII/PIII SMP
kernel-headers-2.4.16-k6 - Headers for Linux kernel version 2.4.16 on AMD K6/K6-II/K6-III
kernel-headers-2.4.16-k7 - Headers for Linux kernel version 2.4.16 on AMD K7
kernel-headers-2.4.18 - Header files related to Linux kernel version 2.4.18
kernel-headers-2.4.18-386 - Headers for Linux kernel version 2.4.18 on 386
kernel-headers-2.4.18-586tsc - Headers for Linux kernel version 2.4.18 on Pentium-Classic
kernel-headers-2.4.18-686 - Linux kernel headers 2.4.18 on PPro/Celeron/PII/PIII/PIV
kernel-headers-2.4.18-686-smp - Linux kernel headers 2.4.18 on PPro/Celeron/PII/PIII/PIV SMP
kernel-headers-2.4.18-bf2.4 - Headers for Linux kernel version 2.4.18 (bf variant) on 386
kernel-headers-2.4.18-k6 - Headers for Linux kernel version 2.4.18 on AMD K6/K6-II/K6-III
kernel-headers-2.4.18-k7 - Headers for Linux kernel version 2.4.18 on AMD K7
kernel-headers-2.4.18-sparc - Kernel header files for all sparc sub architectures
kernel-headers-2.4.19-sparc - Kernel header files for all sparc sub architectures
kernel-package - Debian Linux kernel package build scripts.
Just to let you know. I dont think I am trying to do what he is trying to do. I am trying to turn my machine into a multimedia machine able to watch .avi and mpegs through my svideo port onto my TV. The MPlayer program doesn't get the picture very large (unlike Windows Media Player) and was hoping that the apt-get could help me. Unforunately, after I install from the apt-cache I cant seem to find where they put the program and have no clue how to run it. Any ideas?
As at this point in time, MPlayer is not available in the debian archives, so apt get won't help you too much here. If you've already managed to download and compile it, then congrats; there are a heap of threads in here already with people having problems there...
Assuming that you have, then you have a couple of options.
a) if you've compiled the GUI with it, then run gmplayer, rather than mplayer, and you will get the GUI. You can right click and select fullscreen to make the picture bigger. Depending on the video out driver you use, you can also drag the window frame to resize it as you like.
b) from the command line you can add the parameters -zoom -fs to make it automatically play in full screen.
MPlayer actually comes with Lindows. Its their "default" mpeg player. There isn't a GMPlayer though. Downloaded and installed a few others through apt-get, but dont know how to access them. Cant find any icons and dont know where they are loaded (like Windows Program Files) to start them a runnin?
MPlayer does indeed go full screen. The problem is is that while the black border around the movie goes full screen, the movie itself stays the same size, making watching it on a 42 inch TV kinda crappy.
I dont feel comfortable doing much loading from source. I went to the website but am totally outmanned by the site, unsure of what to do and what to get. I am VERY new to Linux, having only played around with it for a couple weeks and that inconsisently.