Re: [expert] kernels updates !!??
On Thu, 2003-06-19 at 23:19, Vincent Danen wrote: Well, trust me, I was not very pleased with the results of my queries. Of course, I don't have the time or skills to fix the installkernel script myself. If someone out there is feeling bored... =) You're right though Vincent - it's been doing it over a number of releases. You'll find a few posts from me in the archives on it. Yup. And it's always been a nuisance. In my mind, the revisioned entry should be in there from the first install... do the symlink bit, but throw in a 2421-13 entry as well (or whatever). But, when I mentioned that, I was told it looked too ugly. Can't win for losing. Hey, don't worry. After all, you've still got me to kick around. ;D --LX -- Kernel 2.4.21-0.13mdk Linux Mandrake 9.1 Enlightenment-0.16.5-12mdk Evolution 1.2.4-1.1mdk Linux User #268899 http://counter.li.org/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Tue Jun 17, 2003 at 10:39:48PM -0700, Larry Sword wrote: [...] Yep this is the way it's done.. but it sure is questionable why in the Mandrake notice on the kernel, *MandrakeSoft Security Advisory MDKSA-2003:066 : kernel the have the following: * To upgrade automatically, use *MandrakeUpdate*. If you want to upgrade manually, download the updated package(s) from one of our FTP server mirrors http://www.mandrakesecure.net/en/ftp.php and upgrade with rpm -Fvh *.rpm. :-P That's because it's a template/form message... I just fill in certain values in a template and the email is automagically constructed. That template is due for a bit of a rewrite, but it still stands that on a kernel update it will show up since it's part of the message. On the other hand, using MandrakeUpdate is safe. It will upgrade kernel-sources and that's it. =) -- MandrakeSoft Security; http://www.mandrakesecure.net/ Online Security Resource Book; http://linsec.ca/ lynx -source http://linsec.ca/vdanen.asc | gpg --import {FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} pgp0.pgp Description: PGP signature
Re: [expert] kernels updates !!??
On Wednesday 18 June 2003 11:32 pm, Vincent Danen wrote: On the other hand, using MandrakeUpdate is safe. It will upgrade kernel-sources and that's it. =) Speaking of the kernel update, it looks like there may be abug in the post install scripts. My understanding is that the update is supposed to update the links in the boot directory, and then set up a lilo entry to boot the old kernel. The links are correctly updated to point at the new kernel files, but the new lilo entry that is set up does not point to the old kernel, it points tot he new kernel too. This is bad, because if the install gets hosed for whatever reason, I can't boot into the old kernel. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Thu Jun 19, 2003 at 08:14:23AM -0400, Greg Meyer wrote: On the other hand, using MandrakeUpdate is safe. It will upgrade kernel-sources and that's it. =) Speaking of the kernel update, it looks like there may be abug in the post install scripts. My understanding is that the update is supposed to update the links in the boot directory, and then set up a lilo entry to boot the old kernel. The links are correctly updated to point at the new kernel files, but the new lilo entry that is set up does not point to the old kernel, it points tot he new kernel too. This is bad, because if the install gets hosed for whatever reason, I can't boot into the old kernel. That's not a bug, that's a feature according to the kernel team. =( It has always done this... this is nothing new. It's been doing this since the 8.x days if not earlier. I tried to get them to fix it but their feelings were it was doing things properly and didn't need to be fixed. IOW, make that old entry yourself. Please. http://www.mandrakesecure.net/en/docs/magic.php That explains all about it. -- MandrakeSoft Security; http://www.mandrakesecure.net/ Online Security Resource Book; http://linsec.ca/ lynx -source http://linsec.ca/vdanen.asc | gpg --import {FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} pgp0.pgp Description: PGP signature
Re: [expert] kernels updates !!??
On Fri, 2003-06-20 at 06:59, Vincent Danen wrote: On Thu Jun 19, 2003 at 08:14:23AM -0400, Greg Meyer wrote: On the other hand, using MandrakeUpdate is safe. It will upgrade kernel-sources and that's it. =) Speaking of the kernel update, it looks like there may be abug in the post install scripts. My understanding is that the update is supposed to update the links in the boot directory, and then set up a lilo entry to boot the old kernel. The links are correctly updated to point at the new kernel files, but the new lilo entry that is set up does not point to the old kernel, it points tot he new kernel too. This is bad, because if the install gets hosed for whatever reason, I can't boot into the old kernel. That's not a bug, that's a feature according to the kernel team. =( It has always done this... this is nothing new. It's been doing this since the 8.x days if not earlier. I tried to get them to fix it but their feelings were it was doing things properly and didn't need to be fixed. IOW, make that old entry yourself. Please. http://www.mandrakesecure.net/en/docs/magic.php That explains all about it. That's an interesting way of responding to a bug! Look at the obviously incorrect behavior and just call it correct. Are you sure these guys don't work at the Whitehouse? ;-) You're right though Vincent - it's been doing it over a number of releases. You'll find a few posts from me in the archives on it. cheers Brian Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On 20 Jun 2003 09:35:57 +1000 Brian Parish [EMAIL PROTECTED] wrote: You're right though Vincent - it's been doing it over a number of releases. You'll find a few posts from me in the archives on it. Another point that can be irritating is that the naming scheme for the mdk kernel is from time to time changed rather than remaining a constant. A case in point is that I rebuilt and installed from the src.rpm kernel-2.4.21-0.rc1.1mdk-1-1mdk(the current cooker kernel) on my 9.1 system but because the naming scheme has been changed urpmi thinks that kernel-2.4.21.0.18mdk is'newer' and wishes to install it as well as 'upgrading' the kernel- -- Wait a minute, Marge. I saw Mrs. Doubtfire. This is a man in drag! -- Homer Simpson Simpsoncalifragilisticexpiala(annoyed grunt)cious - Mandrake Linux 9.2 on PurpleDragon Kernel- 2.4.21-0.1mdk - source rpm. Charles pgp0.pgp Description: PGP signature
Re: [expert] kernels updates !!??
On Thu, 2003-06-19 at 16:35, Brian Parish wrote: On Fri, 2003-06-20 at 06:59, Vincent Danen wrote: On Thu Jun 19, 2003 at 08:14:23AM -0400, Greg Meyer wrote: On the other hand, using MandrakeUpdate is safe. It will upgrade kernel-sources and that's it. =) Speaking of the kernel update, it looks like there may be abug in the post install scripts. My understanding is that the update is supposed to update the links in the boot directory, and then set up a lilo entry to boot the old kernel. The links are correctly updated to point at the new kernel files, but the new lilo entry that is set up does not point to the old kernel, it points tot he new kernel too. This is bad, because if the install gets hosed for whatever reason, I can't boot into the old kernel. That's not a bug, that's a feature according to the kernel team. =( It has always done this... this is nothing new. It's been doing this since the 8.x days if not earlier. I tried to get them to fix it but their feelings were it was doing things properly and didn't need to be fixed. IOW, make that old entry yourself. Please. http://www.mandrakesecure.net/en/docs/magic.php That explains all about it. That's an interesting way of responding to a bug! Look at the obviously incorrect behavior and just call it correct. Are you sure these guys don't work at the Whitehouse? ;-) So this is Gate's plan for Linux *grin* You're right though Vincent - it's been doing it over a number of releases. You'll find a few posts from me in the archives on it. cheers Brian __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
bOn Thu, 2003-06-19 at 17:12, Charles A Edwards wrote: On 20 Jun 2003 09:35:57 +1000 Brian Parish [EMAIL PROTECTED] wrote: You're right though Vincent - it's been doing it over a number of releases. You'll find a few posts from me in the archives on it. Another point that can be irritating is that the naming scheme for the mdk kernel is from time to time changed rather than remaining a constant. A case in point is that I rebuilt and installed from the src.rpm kernel-2.4.21-0.rc1.1mdk-1-1mdk(the current cooker kernel) on my 9.1 system but because the naming scheme has been changed urpmi thinks that kernel-2.4.21.0.18mdk is'newer' and wishes to install it as well as 'upgrading' the kernel- Quick stop for that put kernel in the /etc/urpmi/skiplist James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Thu, 2003-06-19 at 05:14, Greg Meyer wrote: On Wednesday 18 June 2003 11:32 pm, Vincent Danen wrote: On the other hand, using MandrakeUpdate is safe. It will upgrade kernel-sources and that's it. =) Speaking of the kernel update, it looks like there may be abug in the post install scripts. My understanding is that the update is supposed to update the links in the boot directory, and then set up a lilo entry to boot the old kernel. The links are correctly updated to point at the new kernel files, but the new lilo entry that is set up does not point to the old kernel, it points tot he new kernel too. This is bad, because if the install gets hosed for whatever reason, I can't boot into the old kernel. It's been around for a while... question is.. who do you tell? James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Fri Jun 20, 2003 at 09:35:57AM +1000, Brian Parish wrote: That's not a bug, that's a feature according to the kernel team. =( It has always done this... this is nothing new. It's been doing this since the 8.x days if not earlier. I tried to get them to fix it but their feelings were it was doing things properly and didn't need to be fixed. IOW, make that old entry yourself. Please. http://www.mandrakesecure.net/en/docs/magic.php That explains all about it. That's an interesting way of responding to a bug! Look at the obviously incorrect behavior and just call it correct. Are you sure these guys don't work at the Whitehouse? ;-) Well, trust me, I was not very pleased with the results of my queries. Of course, I don't have the time or skills to fix the installkernel script myself. If someone out there is feeling bored... =) You're right though Vincent - it's been doing it over a number of releases. You'll find a few posts from me in the archives on it. Yup. And it's always been a nuisance. In my mind, the revisioned entry should be in there from the first install... do the symlink bit, but throw in a 2421-13 entry as well (or whatever). But, when I mentioned that, I was told it looked too ugly. Can't win for losing. -- MandrakeSoft Security; http://www.mandrakesecure.net/ Online Security Resource Book; http://linsec.ca/ lynx -source http://linsec.ca/vdanen.asc | gpg --import {FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} pgp0.pgp Description: PGP signature
Re: [expert] kernels updates !!??
On Thu Jun 19, 2003 at 08:12:05PM -0400, Charles A Edwards wrote: You're right though Vincent - it's been doing it over a number of releases. You'll find a few posts from me in the archives on it. Another point that can be irritating is that the naming scheme for the mdk kernel is from time to time changed rather than remaining a constant. A case in point is that I rebuilt and installed from the src.rpm kernel-2.4.21-0.rc1.1mdk-1-1mdk(the current cooker kernel) on my 9.1 system but because the naming scheme has been changed urpmi thinks that kernel-2.4.21.0.18mdk is'newer' and wishes to install it as well as 'upgrading' the kernel- Well, kernel-2.4.21-0.rc1.1mdk should never have been used. The 2.4.21.0.18mdk is a pre-release 2.4.21, thus using 0.18mdk instead of 18mdk. This rc1 should have been 2.4.21.0.19mdk or something else equally appropriate. 2.4.21 final would be 2.4.21.1mdk. I don't know why that changed but it's only a big deal if you track cooker (if you're tracking cooker, why are you doing updates?). 2.4.21 or 2.4.22 will most likely be in 9.2 so the upgrade path is clear. Remember all the warnings about cooker? They're all true. =) -- MandrakeSoft Security; http://www.mandrakesecure.net/ Online Security Resource Book; http://linsec.ca/ lynx -source http://linsec.ca/vdanen.asc | gpg --import {FE6F2AFD : 88D8 0D23 8D4B 3407 5BD7 66F9 2043 D0E5 FE6F 2AFD} pgp0.pgp Description: PGP signature
Re: [expert] kernels updates !!??
On Thu, 19 Jun 2003 21:22:37 -0600 Vincent Danen [EMAIL PROTECTED] wrote: (if you're tracking cooker, why are you doing updates?). I wanted the fixes included in that kernel for my 9.1 system so in this case I am speaking of MandrakeUpdate and 9.1. Even on full cooker systems the naming change required that the rc1 kernel be installed using -ivh --force. Charles -- Pick another fortune cookie. - Mandrake Linux 9.2 on PurpleDragon Kernel- 2.4.21-0.1mdk - pgp0.pgp Description: PGP signature
Re: [expert] kernels updates !!??
On Tue, 2003-06-17 at 19:57, eric huff wrote: Is this still true (the article is a few years old)? It says you can't update a kernel with software manager. I did last week (since i didn;t know any better), and it worked fine. I can't actually check what they said about lilo because i have since reinstalled. (no, not cuz of the kernel :) eric Eric, Now that Urpmi is IMHO perfected not so true. The installer is now intelligent enough to know to install kernels. But it must be done seperate from all other updates. The reason is strictly due to a requirement put in by MDK so that there is minimal chance of oops. I actually do kernel upgrades this way. urpmi --update kernel (the update switch can be skipped but it makes sure I get the MDK kernel not one from club etc.) So far on about 6 boxes (9.0 and 9.1) with 5 of them done remotely not one has burped on me. James On Tuesday 17 June 2003 06:05 pm, Craig wrote: Have a look here, http://www.mandrakesecure.net/en/docs/magic.php This will outline how to update your kernel, it is not difficult. On Wed, 18 Jun 2003 12:49, Rodrigo wrote: Hi All ... I have downloaded the kernel updates for mdk91, but the rpm -Fvh kernel etc doesn't work ... Does exist a special way to update the kernel ? rodrigo dgfuch __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Wednesday 18 June 2003 01:39, Larry Sword wrote: Robert Crawford wrote: Here's a concise sure-fire manual way to upgrade the Mandrake kernels with the new rpm versions Mandrake issues. Upgrading with vanilla kernel.org sources with any extra patches differs, and is a little more complicated, but for Mandrake rpms, the steps below are all that's needed. 1. Download the new kernel and kernel source rpms to their own directory you create in /home (two rpms). 2.Open a console, su to root, and cd to that directory. 3. Type: rpm -ivh *.rpm 4. After they install, check the following locations: 1. /etc/lilo.conf. You should now see the new stanza for the new kernel at the bottom. 2. /boot. You should now see items for the new kernel there. 3. /usr/src. There should be a new directory there for the new kernel. 4. /lib/modules. There should be a new kernel modules directory there. If all that checks out, you have done it, and can reboot, and choose the new kernel in the lilo boot screen. The old kernel will still be listed, and available. That's all there is to it with the Mandrake rpm kernel updates, as all copying and editing is done automatically. Robert Crawford Yep this is the way it's done.. but it sure is questionable why in the Mandrake notice on the kernel, *MandrakeSoft Security Advisory MDKSA-2003:066 : kernel the have the following: To upgrade automatically, use *MandrakeUpdate*. If you want to upgrade manually, download the updated package(s) from one of our FTP server mirrors http://www.mandrakesecure.net/en/ftp.php and upgrade with rpm -Fvh *.rpm. :-P Larry I saw that too- surely they don't really mean -Fvh. I must be a typo and/or an oversight. I know I'm really careful, but still have a lot of typos that I miss, so I can't really fault anyone else. Still, on something as important as a kernel upgrade procedure for newbies, it's imperative to give correct instructions. I know I was confused at first by a lot of the outdated and contradictory kernel how-tos posted on the internet, but once I did it myself a few times and messed up, and discovered where the newbie pitfalls were, it became simple. Now that I understand what the goals are, and why, I'm fearlessly recompiling and patching experimental kernels like an expert, even on my main non-testing box. Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
Citerar Larry Sword [EMAIL PROTECTED]: Yep this is the way it's done.. but it sure is questionable why in the Mandrake notice on the kernel, *MandrakeSoft Security Advisory MDKSA-2003:066 : kernel the have the following: * To upgrade automatically, use *MandrakeUpdate*. Since rpmdrake/urpmi knows that kernels have to be installed, not upgraded, it works as it should... -- Thomas Backlund [EMAIL PROTECTED] www.iki.fi/tmb Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
The way, as shown on the site, still works ... I did the latest kernel update in this manner the other day. It is the way I was initially shown and have stuck by this method since, I have had no problems with kernel updates as a result of doing it this way. On Wed, 18 Jun 2003 10:57, eric huff wrote: Is this still true (the article is a few years old)? It says you can't update a kernel with software manager. I did last week (since i didn;t know any better), and it worked fine. I can't actually check what they said about lilo because i have since reinstalled. (no, not cuz of the kernel :) eric On Tuesday 17 June 2003 06:05 pm, Craig wrote: Have a look here, http://www.mandrakesecure.net/en/docs/magic.php This will outline how to update your kernel, it is not difficult. On Wed, 18 Jun 2003 12:49, Rodrigo wrote: Hi All ... I have downloaded the kernel updates for mdk91, but the rpm -Fvh kernel etc doesn't work ... Does exist a special way to update the kernel ? rodrigo dgfuch -- Cheers, Craig. Mandrake Linux 9.1 Kernel version: 2.4.21-0.18mdk Current Linux Uptime: 2 days 23 hours 50 minutes. Registered Linux User: 228534 Avoid the Gates of Hell. Use Linux. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] kernels updates !!??
Hi All ... I have downloaded the kernel updates for mdk91, but the rpm -Fvh kernel etc doesn't work ... Does exist a special way to update the kernel ? rodrigo dgfuch Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
Have a look here, http://www.mandrakesecure.net/en/docs/magic.php This will outline how to update your kernel, it is not difficult. On Wed, 18 Jun 2003 12:49, Rodrigo wrote: Hi All ... I have downloaded the kernel updates for mdk91, but the rpm -Fvh kernel etc doesn't work ... Does exist a special way to update the kernel ? rodrigo dgfuch -- Cheers, Craig. Mandrake Linux 9.1 Kernel version: 2.4.21-0.18mdk Current Linux Uptime: 2 days 15 hours 34 minutes. Registered Linux User: 228534 Avoid the Gates of Hell. Use Linux. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Wednesday 18 June 2003 12:49 am, Rodrigo wrote: Hi All ... I have downloaded the kernel updates for mdk91, but the rpm -Fvh kernel etc doesn't work ... Does exist a special way to update the kernel ? You can not upgrade the kernel that way, you have to install it in parallel with -ivh. Once you have successfully booted to the new kernel, you can safely rpm -e the old kernel package. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
Is this still true (the article is a few years old)? It says you can't update a kernel with software manager. I did last week (since i didn;t know any better), and it worked fine. I can't actually check what they said about lilo because i have since reinstalled. (no, not cuz of the kernel :) eric On Tuesday 17 June 2003 06:05 pm, Craig wrote: Have a look here, http://www.mandrakesecure.net/en/docs/magic.php This will outline how to update your kernel, it is not difficult. On Wed, 18 Jun 2003 12:49, Rodrigo wrote: Hi All ... I have downloaded the kernel updates for mdk91, but the rpm -Fvh kernel etc doesn't work ... Does exist a special way to update the kernel ? rodrigo dgfuch Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
eric huff wrote: Is this still true (the article is a few years old)? It says you can't update a kernel with software manager. I did last week (since i didn;t know any better), and it worked fine. I can't actually check what they said about lilo because i have since reinstalled. (no, not cuz of the kernel :) eric On Tuesday 17 June 2003 06:05 pm, Craig wrote: Have a look here, http://www.mandrakesecure.net/en/docs/magic.php This will outline how to update your kernel, it is not difficult. Rpmdrake has been modified since to only install kernels: $ cat /etc/urpmi/inst.list # Here you can specify packages that need to be installed instead # of being upgraded (typically kernel packages). kernel kernel-smp kernel-secure kernel-enterprise kernel-linus2.2 kernel-linus2.4 kernel22 kernel22-secure kernel22-smp hackkernel Rolf Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Tuesday 17 June 2003 10:57 pm, eric huff wrote: Is this still true (the article is a few years old)? It says you can't update a kernel with software manager. I did last week (since i didn;t know any better), and it worked fine. I can't actually check what they said about lilo because i have since reinstalled. (no, not cuz of the kernel :) It is true. The software installer (rpmdrake) has been modified to install the new kernel in parallel to the old rather than update. See the /etc/urpmi/inst.list file. -- Greg Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
[Re-directed to the list, after replying to Rodrigo...] IIRC, you should *always* use rpm -i (install) for kernel rpms, not -F (freshen, i.e. update.) Doing so could (will?) result in a non-bootable system (because update will try to delete your current kernel and--even if it succeeds--the new one might not work.) I believe that the package naming is deliberately 'broken', so you can't do this accidentally... Once you've installed the new kernel, you should check /etc/lilo.conf (man lilo.conf to learn more) and make sure it's right. Then run lilo--this can't hurt, and it will warn you if anything is missing, etc. Finally, I'll assume that this is your first kernel install, in which case: keep a rescue disk handy. HTH, -Jason On Wednesday 18 June 2003 12:49 am, Rodrigo wrote: Hi All ... I have downloaded the kernel updates for mdk91, but the rpm -Fvh kernel etc doesn't work ... Does exist a special way to update the kernel ? rodrigo dgfuch -- = If it wasn't for the fun and money, I really don't know why I'd bother. (alt.fan.pratchett) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
On Wednesday 18 June 2003 00:13, PlugHead wrote: [Re-directed to the list, after replying to Rodrigo...] IIRC, you should *always* use rpm -i (install) for kernel rpms, not -F (freshen, i.e. update.) Doing so could (will?) result in a non-bootable system (because update will try to delete your current kernel and--even if it succeeds--the new one might not work.) Here's a concise sure-fire manual way to upgrade the Mandrake kernels with the new rpm versions Mandrake issues. Upgrading with vanilla kernel.org sources with any extra patches differs, and is a little more complicated, but for Mandrake rpms, the steps below are all that's needed. 1. Download the new kernel and kernel source rpms to their own directory you create in /home (two rpms). 2.Open a console, su to root, and cd to that directory. 3. Type: rpm -ivh *.rpm 4. After they install, check the following locations: 1. /etc/lilo.conf. You should now see the new stanza for the new kernel at the bottom. 2. /boot. You should now see items for the new kernel there. 3. /usr/src. There should be a new directory there for the new kernel. 4. /lib/modules. There should be a new kernel modules directory there. If all that checks out, you have done it, and can reboot, and choose the new kernel in the lilo boot screen. The old kernel will still be listed, and available. That's all there is to it with the Mandrake rpm kernel updates, as all copying and editing is done automatically. Robert Crawford Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] kernels updates !!??
Robert Crawford wrote: On Wednesday 18 June 2003 00:13, PlugHead wrote: [Re-directed to the list, after replying to Rodrigo...] IIRC, you should *always* use rpm -i (install) for kernel rpms, not -F (freshen, i.e. update.) Doing so could (will?) result in a non-bootable system (because update will try to delete your current kernel and--even if it succeeds--the new one might not work.) Here's a concise sure-fire manual way to upgrade the Mandrake kernels with the new rpm versions Mandrake issues. Upgrading with vanilla kernel.org sources with any extra patches differs, and is a little more complicated, but for Mandrake rpms, the steps below are all that's needed. 1. Download the new kernel and kernel source rpms to their own directory you create in /home (two rpms). 2.Open a console, su to root, and cd to that directory. 3. Type: rpm -ivh *.rpm 4. After they install, check the following locations: 1. /etc/lilo.conf. You should now see the new stanza for the new kernel at the bottom. 2. /boot. You should now see items for the new kernel there. 3. /usr/src. There should be a new directory there for the new kernel. 4. /lib/modules. There should be a new kernel modules directory there. If all that checks out, you have done it, and can reboot, and choose the new kernel in the lilo boot screen. The old kernel will still be listed, and available. That's all there is to it with the Mandrake rpm kernel updates, as all copying and editing is done automatically. Robert Crawford Yep this is the way it's done.. but it sure is questionable why in the Mandrake notice on the kernel, *MandrakeSoft Security Advisory MDKSA-2003:066 : kernel the have the following: * To upgrade automatically, use *MandrakeUpdate*. If you want to upgrade manually, download the updated package(s) from one of our FTP server mirrors http://www.mandrakesecure.net/en/ftp.php and upgrade with rpm -Fvh *.rpm. :-P Larry * * Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com