LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-22-2004, 10:07 PM   #16
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35

Well this is what I got when I typed: "urpmi kernel kernel-source"


[root@localhost stan]# urpmi kernel kernel-source
One of the following packages is needed:
1- kernel-multimedia-2.4.22.21mm.2mdk-1-1mdk.i586 : A preemptible Linux kernel, which reduces the latency of the kernel. (to install)
2- kernel-multimedia-smp-2.4.22.21mm.2mdk-1-1mdk.i586 : A multiprocessor version of a preemptive, low-latency kernel (to install)
3- kernel-tmb-2.6.7-2.tmb.3mdk-1-1mdk.i586 : The Linux kernel (the core of the Linux operating system). (to install)
4- kernel-tmb-enterprise-2.6.7-2.tmb.3mdk-1-1mdk.i586 : The Linux Kernel compiled with options for Enterprise server usage. (to install)
5- kernel-tmb-i686-up-4GB-2.6.7-2.tmb.3mdk-1-1mdk.i586 : The Linux Kernel compiled for smp with 4GB. (to install)
6- kernel24-tmb-2.4.26-1.tmb.2mdk-1-1mdk.i586 : The Linux kernel (the core of the Linux operating system). (to install)
7- kernel24-tmb-enterprise-2.4.26-1.tmb.2mdk-1-1mdk.i586 : The Linux Kernel compiled with options for Enterprise server usage. (to install)
8- kernel24-tmb-i686-up-4GB-2.4.26-1.tmb.2mdk-1-1mdk.i586 : The Linux Kernel compiled for smp with 4GB. (to install)
9- kernel-enterprise-2.4.25.9mdk-1-1mdk.i586 : The Linux Kernel compiled with options for Enterprise server usage. (to install)
10- kernel-i686-up-4GB-2.4.25.9mdk-1-1mdk.i586 : The Linux Kernel compiled for smp with 4GB. (to install)
11- kernel-2.4.25.9mdk-1-1mdk.i586 : The Linux kernel (the core of the Linux operating system). (to install)
12- kernel-2.6.3.19mdk-1-1mdk.i586 : The Linux kernel (the core of the Linux operating system). (to install)
13- kernel-enterprise-2.6.3.19mdk-1-1mdk.i586 : The Linux Kernel compiled with options for Enterprise server usage. (to install)
14- kernel-i686-up-4GB-2.6.3.19mdk-1-1mdk.i586 : The Linux Kernel compiled for smp with 4GB. (to install)
15- kernel-p3-smp-64GB-2.4.25.9mdk-1-1mdk.i586 : The Linux Kernel compiled with options for pentium III, smp and 64GB memory. (to install)
16- kernel-secure-2.6.3.19mdk-1-1mdk.i586 : The Linux Kernel compiled for SECURE machines. (to install)
17- kernel-smp-2.6.3.19mdk-1-1mdk.i586 : The Linux Kernel compiled for SMP machines. (to install)
18- kernel-p3-smp-64GB-2.6.3.19mdk-1-1mdk.i586 : The Linux Kernel compiled with options for pentium III, smp and 64GB memory. (to install)
19- kernel-smp-2.4.25.9mdk-1-1mdk.i586 : The Linux Kernel compiled for SMP machines. (to install)
What is your choice? (1-19)


Nothing that says 2.6.8.1-10mdk

d-1




Quote:
Originally posted by opjose
You've probably updated the kernel somehow, or the cooker release you obtained was not all consistent (as is often the case for a DEVELOPEMENT release).

A problem with cooker releases is that sometimes the RPM's you need may be superceeded.

I'd really start over either with 10 (my preference until 10.1 Official is actually released) or with 10.1 CE.

Your other recourse is to find a newer kernel and kernel source and install both together.

E.G.

urpmi kernel kernel-source

and see if this gets you the same version for both from cooker.
 
Old 10-22-2004, 10:27 PM   #17
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Part of the trouble you are having is that you are using kernel-2.6-2.6.8.1-10mdk, and the Community branch on the Mandrake mirror has been updated to kernel-2.6-2.6.8.1-12mdk. If you Installed Mandrakelinux 10.1 (Community) from CD_ROM, the easy way will be to install the kernel source package from the CD as follows:

Put the first installation CD in your CD-ROM drive

If you use KDE, an icon for your CD-ROM drive should pop-up on your desktop. Open it. If no icon pops-up, open the konqueror file manager (there should be a house icon on your desktop). In the Location text field near the top of the window replace what is there with /mnt then press the Enter key. Click the directory for your CD-ROM (usually cdrom), then continue to the next step.

Navigate to the directory which contains all the .rpm files. On the Mandrake mirrors it is in /media/main - I do not know how the CDs are organized.

Scroll down to the kernel-source-2.6-2.6.8.1-10mdk.rpm file, Right-click (use the alternate mouse button) the file.

A context menu will pop-up. put the mouse cursor on Open With ..., then in the sub-menu which appears click Software Installer

You will be asked for your root password. Enter it. Then you will see an option to save the file or install it. Click on Install it

That should do it

If you installed Mandrakelinux 10.1 (Community) using the ftp install method, you will have to install the kernel-2.6-2.6.8.1-12mdk.rpm package, then the kernel-source-2.6-2.6.8.1-12mdk.rpm package. Finally, you will have to restart your computer and boot with the new kernel.

HTH,
 
Old 10-22-2004, 10:42 PM   #18
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
He is using cooker not community... however

dolphans1:

The URPMI repositories are merely FTP sites.

You can go to the FTP site using either a client or the web browser and grab the RPM's he mentioned for a more recent kernel.

Then try to see if you can install them as I've indicated, specifying the full rpm path and name to the two files you have downloaded.

e.g.

urpmi /tmp/kernel-2.8.x.x.x.i586.rpm /tmp/kernel-source-2.8.x.x.x.i586.rpm

And see if it runs.
 
Old 10-22-2004, 10:46 PM   #19
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
The only kernel packages I see are; kernel-2.4.25.2mdk- 1-.i586
kernel-2/6/3/7mdk-1-1mdk.i586, kernel-enterprise-2.4.25.2mdk-1-1mdk.i586.rpm, kernel-enterprise-2.6.3.7mdk-1-1mdk.i586.rpm,
kernel-p3-smp-64GB-2.6.3.7mdk-1-1mdk.i586.rpm
kernel-secure-2.6.3.7mdk-1-1mdk.i586.rpm,
kernel-smp-2.4.25.2mdk-1-1mdk.i586.rpm,
kernel-smp-2.6.3.7mdk-1-1mdk.i586.rpm

There was no "kernel 2.6.8.1-10mdk" or "kernel-source 2.6.8.1-10mdk" on CD 1, 2, or 3.

d-1





Quote:
Originally posted by ernie
Part of the trouble you are having is that you are using kernel-2.6-2.6.8.1-10mdk, and the Community branch on the Mandrake mirror has been updated to kernel-2.6-2.6.8.1-12mdk. If you Installed Mandrakelinux 10.1 (Community) from CD_ROM, the easy way will be to install the kernel source package from the CD as follows:

Put the first installation CD in your CD-ROM drive

If you use KDE, an icon for your CD-ROM drive should pop-up on your desktop. Open it. If no icon pops-up, open the konqueror file manager (there should be a house icon on your desktop). In the Location text field near the top of the window replace what is there with /mnt then press the Enter key. Click the directory for your CD-ROM (usually cdrom), then continue to the next step.

Navigate to the directory which contains all the .rpm files. On the Mandrake mirrors it is in /media/main - I do not know how the CDs are organized.

Scroll down to the kernel-source-2.6-2.6.8.1-10mdk.rpm file, Right-click (use the alternate mouse button) the file.

A context menu will pop-up. put the mouse cursor on Open With ..., then in the sub-menu which appears click Software Installer

You will be asked for your root password. Enter it. Then you will see an option to save the file or install it. Click on Install it

That should do it

If you installed Mandrakelinux 10.1 (Community) using the ftp install method, you will have to install the kernel-2.6-2.6.8.1-12mdk.rpm package, then the kernel-source-2.6-2.6.8.1-12mdk.rpm package. Finally, you will have to restart your computer and boot with the new kernel.

HTH,
 
Old 10-22-2004, 10:49 PM   #20
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
I have gone to a couple of sites where I thought I could download the kernel-source-2.6.8.1-10mdk, but when I clicked on them to download nothing could be found. I tried about 5 different sites. I feel like I have been defeated.

d-1


Quote:
Originally posted by opjose
He is using cooker not community... however

dolphans1:

The URPMI repositories are merely FTP sites.

You can go to the FTP site using either a client or the web browser and grab the RPM's he mentioned for a more recent kernel.

Then try to see if you can install them as I've indicated, specifying the full rpm path and name to the two files you have downloaded.

e.g.

urpmi /tmp/kernel-2.8.x.x.x.i586.rpm /tmp/kernel-source-2.8.x.x.x.i586.rpm

And see if it runs.
 
Old 10-22-2004, 11:37 PM   #21
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
I don't think there is a kernel-source-2.6.8.1-10mdk, I have searched several boards and even found a board with the exact same facts and circumstances of my current situation and no one appeared to know how to get and install the kernel-source-2.6.8.1-10mdk. I can only conclude from these observations that there is no such kernel source with those numbers. Also I noticed my kernel version is 2.6.8.1-10mdk i686.

I appreciate your help and suggestions anyway....

d-1



Quote:
Originally posted by dolphans1
I have gone to a couple of sites where I thought I could download the kernel-source-2.6.8.1-10mdk, but when I clicked on them to download nothing could be found. I tried about 5 different sites. I feel like I have been defeated.

d-1
 
Old 10-23-2004, 07:55 AM   #22
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
I don't understand why you are so fixated on this particular kernel version.

Just look for another kernel rev for which there are both kernel and kernel source files and install these instead.

This will solve the problem.
 
Old 10-23-2004, 10:55 AM   #23
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
I was able to locate that 2.6.8.1-10mdk kernel-source, the only problem is it would not install because it said something about ncurses-devel was missing and I tried for hours trying to locate and install this package but could not find it.

d-1




Quote:
Originally posted by opjose
I don't understand why you are so fixated on this particular kernel version.

Just look for another kernel rev for which there are both kernel and kernel source files and install these instead.

This will solve the problem.
 
Old 10-23-2004, 08:18 PM   #24
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
That's right, you are using a kernel which was not meant for the distribution that you are using.

That is why I've been saying that you may want to go back to one of the prior kernels and kernel-sources which match your distro.
 
Old 10-23-2004, 08:39 PM   #25
dinoraj
LQ Newbie
 
Registered: Jan 2004
Location: New Jersey
Distribution: Mandrake Linux
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by dolphans1
This is the kernel source on the CD # 3

[stan@localhost cdrom]$ find . -iname kernel-source*.*
./Mandrake/RPMS3/kernel-source-2.6.3-7mdk.i586.rpm
[stan@localhost cdrom]$

And, I have the kernel source 2.6.8.1-10mdk. so apparently cooker worked, but why it won't install the same kernel source is beyond me.

Is there any way to download the kernel source 2.6.8.1 on it's own?



d-1
Hi,
Instead of going through all those old methods you could have simply seeked the file from CD# 3 and double clicked on it to install.

You can also download the file here

http://rpm.pbone.net/index.php3/stat....i586.rpm.html

bye,
Dino.
 
Old 10-23-2004, 08:42 PM   #26
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Except that this doesn't help him with the kernel version he currently has.

He is using an "unusual" kernel version which was not part of his distro, hence the problems he is having.

It would behoove him to go back to the stock kernel or kernel versions specific to his distribution.
 
Old 10-23-2004, 10:32 PM   #27
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
I was able to resolve the problem with my kernel-source, but I had to do l it the hard and the long way. The kernel-source- 2.6.2.6.8.1-10mdk was always inside CD# 2 as an RPM file. The reason it would not install was because of a dependency issue with a file by the name of ncurses-devel. That's the error message it would give any time I tried to install it.

I tried to reinstall 10.1 without reformating and it screwed up my tripple boot system with my mandrake 10.0.

I had windowsXP/mandrake10.1 & madrake10.0.

Well when I did that, I could never boot-up to desktop with Mandrake because it messed up my NVIDIA drivers and I could not understand why. I couldn't even use startx. Well apparently when I reinstalled 10.1 I did it by reinstalling over 10.0 which was sitting over on the hdb partician.

So I had to go back and reinstall 10.1 with only reformating my hda6 partician and keeping my hda8 (/home) partician free and clear from reformating it. I was trying to save as many files as I could and was able to do just that.

Now I have my hdb partician sitting there with I don't know whats on it, it use to be 10.0 mandrake, but now I am not sure, since I did not reformat on either partician. Long story short, I can no longer boot into whatever is sitting inside my hdb partician because I lost the bootloader sequence order and I do not know how to build it back up.

I went through all that trouble just to get my vmware program installed, as you recall, I could not get it to properly install because the kernel source did not install the first time I set the operating system up.

So in short I was finally able to get the kernel-source installed, it was actually kernel-source-2.6.2.6.8.1-10mdk inside CD # 2, but created another problem with screwing up my boot loader to Mandrake 10.0.

So I do not know what to do with my old beat-up Mandrake 10.0 sitting in my hdb partician. How can I get it to boot back into it if I did not already cripple it? Can I do a reinstall back on that partician the same way I did it with Mandrake 10.1 and if I do, will Mandrake automatically build the bootloader for windows XP and my 2 different Mandrake operating systems?

I did it once before, but I can't remember how I did it.

d-1




Quote:
Originally posted by opjose
Except that this doesn't help him with the kernel version he currently has.

He is using an "unusual" kernel version which was not part of his distro, hence the problems he is having.

It would behoove him to go back to the stock kernel or kernel versions specific to his distribution.
 
Old 10-24-2004, 07:34 AM   #28
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Why don't you try mounting that partition under 10.1 so you can see if the /boot directory exists there.

If it does adding the entry in /etc/lilo.conf is almost trivial.
 
Old 10-25-2004, 01:53 AM   #29
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
I was able to mount onto hdb and see my oldhome that used to be 10.0.

I disconnected my hda drive and did a reinstall of hdb hard-drive partician. I noticed 10.1 had installed over 10.0. I ended up reinstalling 10.1 on hdb and I am going to do away with the 10.0 version.

Here's the question: Can I have 2 versions of mandrake 10.1 running as a tripple boot configuration on the same pc in a tripple boot configuration?

Linux -10.1
linuz
floopy
failsafe
Windows XP
Linux - 10.1

I am going to connect hda harddrive back and I want to be able to boot into 10.1 sitting inside hdb. Is that even possible, if so, how do I do I make Lilo do that?

d-1





Quote:
Originally posted by opjose
Why don't you try mounting that partition under 10.1 so you can see if the /boot directory exists there.

If it does adding the entry in /etc/lilo.conf is almost trivial.
 
Old 10-25-2004, 10:05 AM   #30
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
I've never done a tripple boot where there is more than one Linux partition.

However you could even have only one /boot partition (Primary) holding the different kernels.

What is important is how each distro see's it's root and /etc directories.

These may have to be explicityly specified as kernel paramaters so as not to confuse Linux.

As is, when the kernel loads it looks for the first /etc/fstab it can find and uses this to start init.

In effect ONE kernel can boot up different versions of Linux if the basic root parition is specified for each instance.
 
  


Reply



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
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
installing kernel source newellrp1 Debian 7 05-18-2004 03:30 PM
installing kernel-source-2.4.20-20.9 wraith106 Linux - Software 11 10-11-2003 09:35 AM
Installing Kernel Source GeoffC Mandriva 3 08-27-2003 07:01 PM
Installing the kernel source PlatinumRik Linux - General 2 02-19-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration