Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sun, 2 Nov 2003 02:24 pm, many eyes noted that flacycads wrote: > > > To make sure you never overwrite your original kernel (or any kernel > > > that you have working.) make sure you edit the makefile and edit the > > > EXTRAVERSION line. This way each new kernel you build + it's modules > > > are built totally separate from the last. > > > > > > James > > > > Thanks James, > >I usually place the source into /home/charlie/kernel, then > > unzip it and it creates a directory of its own :- linux-2.4.xx-xxmdk or > > something similar. Then symlink to that directory from lilo. But putting > > the image itself in /boot sounds like a good way to go. I usually symlink > > into the other distributions also. But maybe just copying the image to > > /boot might be better. > > > > Charlie > > Charlie, > I can't recall ever reading any kernel how to or article saying one should > symlink in /boot to a kernel in a home dsirectory, or anywhere else. > Everything I've ever seen always instructed me to copy the kernel image > itself to /boot. My method is that I always go with the distro's kernel > first when I install a new version or distro, which is usually done with > the source and a symlink in /usr/src. Then I add all other kernels in my > /home/wrc/ kernel directory, and copy the images to /boot, as I mentioned. > As I play with many kernels, for me this is much quicker and safer than > having to mess with symlinking everytime. I just leave the original distro > kernel & source in /usr/src alone, and always have an out if I mess > something up. However, I must say I can't recall the last time I messed up > a kernel doing it in /home/ wrc/kernel. Not that I'm any great Linux guru- > it's just that this way is very straight-forward and consistent, and > virtually foolproof. In Gentoo, you need to remember to mount /boot, but > not in Mandrake, as they do it for you at boot time. > > Robert Apologies Robert, You're quite right. I usually make a symlink to the kernel itself within the kernel directory, calling it linux-1 or sometimes, if it is a different distribution, linux-slack, but as a rule stick to numbers. I remember in one of my early kernel build attempts when I first started with linux just over 18 months ago. I named a kernel something like linux-2.2.xx_xx-redhat or some such thing, and produced an error message that I can't recall, but telling me that the name was too long or some such thing. So I kept the symlink simple as possible. I do usually copy the bzImage to /boot along with the System.map. I must have been writing that post while looking through the bottom of a glass. I am also not that au fait with Linux. But enjoy fooling about with kernels, like Ratty said; in the wind in the willows, "there is nothing half so much worth doing as messing about with kernels." Or did he say that in relation to boats? Charlie. -- A steady wind scours the autumn moon >From a stagnant pool, >From the crystal spring every place pure now Just as it is. Why, then, does karma yet coil and bind? - Miao Yin (376-380) This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sunday 02 November 2003 1:51 am, Charlie wrote: > On Sun, 2 Nov 2003 05:13 am, many eyes noted that James Sparenberg wrote: > > > I usually compile any new kernels in the /home/charlie directory where > > > > > > > I can access and boot from them even after a newer version install, > > > > as I don't ever upgrade. In this way the Mandrake kernel that comes > > > > with the new version install is in the system and by manually adding > > > > the new kernel to /etc/lilo.conf > > > > To make sure you never overwrite your original kernel (or any kernel > > that you have working.) make sure you edit the makefile and edit the > > EXTRAVERSION line. This way each new kernel you build + it's modules > > are built totally separate from the last. > > > > James > > Thanks James, >I usually place the source into /home/charlie/kernel, then unzip it > and it creates a directory of its own :- linux-2.4.xx-xxmdk or something > similar. Then symlink to that directory from lilo. But putting the image > itself in /boot sounds like a good way to go. I usually symlink into the > other distributions also. But maybe just copying the image to /boot might > be better. > > Charlie Charlie, I can't recall ever reading any kernel how to or article saying one should symlink in /boot to a kernel in a home dsirectory, or anywhere else. Everything I've ever seen always instructed me to copy the kernel image itself to /boot. My method is that I always go with the distro's kernel first when I install a new version or distro, which is usually done with the source and a symlink in /usr/src. Then I add all other kernels in my /home/wrc/ kernel directory, and copy the images to /boot, as I mentioned. As I play with many kernels, for me this is much quicker and safer than having to mess with symlinking everytime. I just leave the original distro kernel & source in /usr/src alone, and always have an out if I mess something up. However, I must say I can't recall the last time I messed up a kernel doing it in /home/ wrc/kernel. Not that I'm any great Linux guru- it's just that this way is very straight-forward and consistent, and virtually foolproof. In Gentoo, you need to remember to mount /boot, but not in Mandrake, as they do it for you at boot time. Robert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sun, 2 Nov 2003 05:20 am, many eyes noted that James Sparenberg wrote: > > This was really my original question, though. I don't have a /boot > > partition, so where do the custom kernels reside, where are they > > installed to, I would assume the same location as the existing/default > > kernel(s)? Is it enough that I have a /boot dir but not a /boot > > partition? This is where my confusion is coming from, I guess... > > I think it's mostly an age thing. As in how long you've been around > Linux not how long you've been alive. At one point in time it was very > necessary to have a /boot partition. (the old 1024 problem.) So the > end result is that a lot of users say boot partition by habit. It > really doesn't make a diff whether it is a separate partition or not. > Anymore. > > James Recently I installed a machine that I kept for myself and put a /boot partition in for the first time. Have never had one previously, and recall with Red Hat there was always the warning that the partition I was booting would be too large to allow it to work. But said that the system appeared to be modern or good enough or something of that nature to manage it. It always did. But then I don't use Red Hat much anymore personally, though I still have 9 on one system. Charlie. -- A steady wind scours the autumn moon >From a stagnant pool, >From the crystal spring every place pure now Just as it is. Why, then, does karma yet coil and bind? - Miao Yin (376-380) This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sun, 2 Nov 2003 05:13 am, many eyes noted that James Sparenberg wrote: > > I usually compile any new kernels in the /home/charlie directory where > > > > > I can access and boot from them even after a newer version install, as > > > I don't ever upgrade. In this way the Mandrake kernel that comes with > > > the new version install is in the system and by manually adding the > > > new kernel to /etc/lilo.conf > > To make sure you never overwrite your original kernel (or any kernel > that you have working.) make sure you edit the makefile and edit the > EXTRAVERSION line. This way each new kernel you build + it's modules > are built totally separate from the last. > > James Thanks James, I usually place the source into /home/charlie/kernel, then unzip it and it creates a directory of its own :- linux-2.4.xx-xxmdk or something similar. Then symlink to that directory from lilo. But putting the image itself in /boot sounds like a good way to go. I usually symlink into the other distributions also. But maybe just copying the image to /boot might be better. Charlie -- A steady wind scours the autumn moon >From a stagnant pool, >From the crystal spring every place pure now Just as it is. Why, then, does karma yet coil and bind? - Miao Yin (376-380) This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sun, 2 Nov 2003 12:44 am, many eyes noted that HaywireMac wrote: > On Sat, 01 Nov 2003 17:41:49 +1100 > > Charlie <[EMAIL PROTECTED]> uttered: > > I usually compile any new kernels in the /home/charlie directory where > > I can access and boot from them even after a newer version install, as > > I don't ever upgrade. In this way the Mandrake kernel that comes with > > the new version install is in the system and by manually adding the > > new kernel to /etc/lilo.conf > > So even if I compile the custom kernel in /home, I can add an entry to > /etc/lilo.conf pointing to it there? That is way cool. In fact you make a symlink in /boot ( correction- sorry just noticed ? where / should be, don't wish to confuse.) to point to it and add it to /etc/lilo.conf Like this:- image=/boot/vmlinuz label="linux" root=/dev/hda5 initrd=/boot/initrd.img append="devfs=mount hdb=ide-scsi acpi=off" read-only image=/boot/vmlinuz-1 label=Linux-2 root=/dev/hda6 read-only image=/boot/bzImage-1 label="linux-1" root=/dev/hda5 initrd=/boot/initrd.img append="devfs=mount hdb=ide-scsi acpi=off" read-only Or you could as Robert suggested, instead of making a symlink to the kernel image in the /home/haywire directory, just copy the actual kernel image into /boot. I have never done it this way, but it sounds good. Charlie -- A steady wind scours the autumn moon >From a stagnant pool, >From the crystal spring every place pure now Just as it is. Why, then, does karma yet coil and bind? - Miao Yin (376-380) This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 1 Nov 2003 08:21 pm, many eyes noted that flacycads wrote: > > So even if I compile the custom kernel in /home, I can add an entry to > > /etc/lilo.conf pointing to it there? That is way cool. > > I do it like this too. The kernel is actually in /boot, as the kernel image > you create when you compile. It doesn't matter where the source is- it just > serves as the source for compiling the actual kernel image, and the > modules, which you install into /boot and /lib, respectively, after you SU > to root after the "make modules" stage. I'll have to try this Robert. I have always gone the symlink way, but what you suggest does sound sensible. Thanks, Charlie -- A steady wind scours the autumn moon >From a stagnant pool, >From the crystal spring every place pure now Just as it is. Why, then, does karma yet coil and bind? - Miao Yin (376-380) This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 01 Nov 2003 10:13:52 -0800 James Sparenberg <[EMAIL PROTECTED]> uttered: > To make sure you never overwrite your original kernel (or any kernel > that you have working.) make sure you edit the makefile and edit the > EXTRAVERSION line. This way each new kernel you build + it's modules > are built totally separate from the last. Gotcha, thanks! I also copied and pasted the two Tom's instructions, and bookmarked the kernel compile howto. I should be well covered now, and hey, if not, those 9.2 ISO's will be up soon enough to save my ass ;-) -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++ I have often regretted my speech, never my silence. -- Publilius Syrus Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 1 Nov 2003 12:37:52 + flacycads <[EMAIL PROTECTED]> uttered: > > I'm in Gentoo right now, and have forgotten how a standard Mandrake > install sets up the partitions- IIRC, I don't think it makes a /boot > or /home partition. Next time you install Mandrake, opt for the expert > install, and make separate /boot and /home partitions. Makes things > much easier for upgrades and reinstalls, as your /home can always be > saved by not formatting it if you upgrade to a new version, or even a > different distro. Oh, yeah, I always have a /home partition, I always assumed that was standard. What the heck would one do without a /home? I would feel, well, homeless ;-) Next time I might add a /boot partition, then I can even try different distros and such if I wish... Thanks! -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++ Don't kid yourself. Little is relevant, and nothing lasts forever. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 2003-11-01 at 06:37, HaywireMac wrote: > On Sat, 1 Nov 2003 09:21:06 + > flacycads <[EMAIL PROTECTED]> uttered: > > > > > I do it like this too. The kernel is actually in /boot, as the kernel > > image you create when you compile. It doesn't matter where the source > > is- it just serves as the source for compiling the actual kernel > > image, and the modules, which you install into /boot and /lib, > > This was really my original question, though. I don't have a /boot > partition, so where do the custom kernels reside, where are they > installed to, I would assume the same location as the existing/default > kernel(s)? Is it enough that I have a /boot dir but not a /boot > partition? This is where my confusion is coming from, I guess... I think it's mostly an age thing. As in how long you've been around Linux not how long you've been alive. At one point in time it was very necessary to have a /boot partition. (the old 1024 problem.) So the end result is that a lot of users say boot partition by habit. It really doesn't make a diff whether it is a separate partition or not. Anymore. James Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 2003-11-01 at 05:44, HaywireMac wrote: > On Sat, 01 Nov 2003 17:41:49 +1100 > Charlie <[EMAIL PROTECTED]> uttered: > > > I usually compile any new kernels in the /home/charlie directory where > > I can access and boot from them even after a newer version install, as > > I don't ever upgrade. In this way the Mandrake kernel that comes with > > the new version install is in the system and by manually adding the > > new kernel to /etc/lilo.conf To make sure you never overwrite your original kernel (or any kernel that you have working.) make sure you edit the makefile and edit the EXTRAVERSION line. This way each new kernel you build + it's modules are built totally separate from the last. James > > So even if I compile the custom kernel in /home, I can add an entry to > /etc/lilo.conf pointing to it there? That is way cool. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 1 Nov 2003 10:22:20 -0500, HaywireMac <[EMAIL PROTECTED]> wrote about Re: [expert] Where can I get mandrake precompiled kernels .config files?: I understood a separate /boot partition is particularly helpful if you want to boot into several versions of Mandrake, so you can share the /boot directory (on the stand alone partition), without mounting the remainder of / belonging to another version. (I haven`t tried it myself, but I saw this descibed recently). Regards, =Dick Gevers= -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Encryption is an envelope - the contents are private. iD8DBQE/o/GRwC/zk+cxEdMRAllSAKDrxwdhlURHuR3QF2JbTOsMTRuHwwCgnihh KdF3C1Swg+8Dj6b8hauUGWQ= =KuCj -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Saturday 01 November 2003 2:37 pm, HaywireMac wrote: > On Sat, 1 Nov 2003 09:21:06 + > > flacycads <[EMAIL PROTECTED]> uttered: > > I do it like this too. The kernel is actually in /boot, as the kernel > > image you create when you compile. It doesn't matter where the source > > is- it just serves as the source for compiling the actual kernel > > image, and the modules, which you install into /boot and /lib, > > This was really my original question, though. I don't have a /boot > partition, so where do the custom kernels reside, where are they > installed to, I would assume the same location as the existing/default > kernel(s)? Is it enough that I have a /boot dir but not a /boot > partition? This is where my confusion is coming from, I guess... Look in your boot directory, and see if you a kernel image there. You will copy (after you SU to root) any kernels to that, and "make modules_install" automatically installs the modules to /lib/modules/new kernel name. Then you edit your bootloader with a stanza to match your new kernels name. With LILO, you have to run lilo as root before rebooting. I'm in Gentoo right now, and have forgotten how a standard Mandrake install sets up the partitions- IIRC, I don't think it makes a /boot or /home partition. Next time you install Mandrake, opt for the expert install, and make separate /boot and /home partitions. Makes things much easier for upgrades and reinstalls, as your /home can always be saved by not formatting it if you upgrade to a new version, or even a different distro. Robert Crawford Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 1 Nov 2003 10:03:06 -0500 (EST) Bill Mullen <[EMAIL PROTECTED]> uttered: > HTH! Yup, thanks! -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++ Reality is just a crutch for people who can't handle science fiction. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 1 Nov 2003, HaywireMac wrote: > Is it enough that I have a /boot dir but not a /boot partition? This is > where my confusion is coming from, I guess... Certainly, a /boot dir is fine. While there are valid reasons one might want /boot to be on a separate partition (perhaps you use a RAID array for the remainder of your storage, in which case keeping your /boot on a more "vanilla" fstype such as ext2 can simplify your life a bit ... or, you may feel that unmounting /boot after startup gives you an additional layer of security for a WAN-exposed server box), it is by no means mandatory, and a separate /boot is not the default arrangement on Mandrake distros, as most users have no particular need of one. HTH! -- Bill Mullen [EMAIL PROTECTED] MA, USA RLU #270075 MDK 8.1 & 9.0 "Microsoft has a new version out, Windows XP, which according to every- body is the 'most reliable Windows ever.' To me, this is like saying that asparagus is 'the most articulate vegetable ever.'" -- Dave Barry Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 1 Nov 2003 09:21:06 + flacycads <[EMAIL PROTECTED]> uttered: > > I do it like this too. The kernel is actually in /boot, as the kernel > image you create when you compile. It doesn't matter where the source > is- it just serves as the source for compiling the actual kernel > image, and the modules, which you install into /boot and /lib, This was really my original question, though. I don't have a /boot partition, so where do the custom kernels reside, where are they installed to, I would assume the same location as the existing/default kernel(s)? Is it enough that I have a /boot dir but not a /boot partition? This is where my confusion is coming from, I guess... -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++ Death is only a state of mind. Only it doesn't leave you much time to think about anything else. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Saturday 01 November 2003 1:44 pm, HaywireMac wrote: > On Sat, 01 Nov 2003 17:41:49 +1100 > > Charlie <[EMAIL PROTECTED]> uttered: > > I usually compile any new kernels in the /home/charlie directory where > > I can access and boot from them even after a newer version install, as > > I don't ever upgrade. In this way the Mandrake kernel that comes with > > the new version install is in the system and by manually adding the > > new kernel to /etc/lilo.conf > > So even if I compile the custom kernel in /home, I can add an entry to > /etc/lilo.conf pointing to it there? That is way cool. I do it like this too. The kernel is actually in /boot, as the kernel image you create when you compile. It doesn't matter where the source is- it just serves as the source for compiling the actual kernel image, and the modules, which you install into /boot and /lib, respectively, after you SU to root after the "make modules" stage. Then you do make modules_install, and copy over the kernel image to /boot (naming it whatever), and edit lilo or grub accordingly. This way, there is no messing with a symlink, and everything is complete isolated from your original stock kernel. In other words, once you compile the actual kernel and modules, the huge source directory is of no importance. Only if you need to recompile for some reason, does it come back into play. I still don't understand why some find a need to compile kernels in /usr/src, as root. If there is an advantage to doing so, I'd like to know about it. For me, the other method is far simpler, and serves all my needs with multiple kernels. Robert Crawford Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 01 Nov 2003 17:41:49 +1100 Charlie <[EMAIL PROTECTED]> uttered: > I usually compile any new kernels in the /home/charlie directory where > I can access and boot from them even after a newer version install, as > I don't ever upgrade. In this way the Mandrake kernel that comes with > the new version install is in the system and by manually adding the > new kernel to /etc/lilo.conf So even if I compile the custom kernel in /home, I can add an entry to /etc/lilo.conf pointing to it there? That is way cool. -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++ For your penance, say five Hail Marys and one loud BLAH! Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
Btw, for those who are interested in getting the leanest kernel possible, may wish to investigate compiling your own kernel; it's not hard. I was surprised how "loaded" the precompiled kernels are. Of course it makes sense, it needs to work with all possible hardware configurations. Most of the stuff is loaded as modules (loaded as needed); but some stuff cannot be made as modules; so those get built into the kernel. -turgut -- Turgut Kalfaoglu http://www.kalfaoglu.com EgeNet Internet Services http://www.egenet.com.tr Linux: There is worse, but it costs more. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Sat, 1 Nov 2003 03:02 am, many eyes noted that HaywireMac wrote: > Yes it is. If you've already installed Mandrake's precompiled > > > version of the kernel, then /boot/config-2.4.22-21mdk can also be > > used, ie, cp /boot/config-2.4.22-21mdk /usr/src/linux/.config > > Do you have to have a /boot partition to compile and use an alternate > kernel? I've read that installing a pre-compiled kernel, say, the > multimedia kernel, will automatically add a LILO entry so that you can > choose which kernel to boot into. What about manually compiled kernels? > Logic would dictate I would need to add an entry to LILO myself, but > would that work? and, where would I install a manually-compiled kernel > to? I usually compile any new kernels in the /home/charlie directory where I can access and boot from them even after a newer version install, as I don't ever upgrade. In this way the Mandrake kernel that comes with the new version install is in the system and by manually adding the new kernel to /etc/lilo.conf and recently, trying to see if grub is really as good as I have heard, in /boot/grub/grub.conf, can also use to custom kernels which are located in /home/charlie/kernels. In fact I have never compiled a custom kernel in /usr/src Not a good idea to use /usr/src anyway, especially according to Linus Thorvald's, so I take his advice. Charlie. -- A steady wind scours the autumn moon >From a stagnant pool, >From the crystal spring every place pure now Just as it is. Why, then, does karma yet coil and bind? - Miao Yin (376-380) This email is guaranteed to be wholly Linux Mandrake 9.1, Kmail v1.5 and OpenOffice.org1.1.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Fri, 31 Oct 2003 09:52:21 -0600 Tom Brinkman <[EMAIL PROTECTED]> uttered: > > rpm -Uvh kernel-source-2.4.22-21mdk.i586.rpm > > cd /usr/src/linux > >..edit Makefile and change the EXTRAVERSION to you liking, > further down in this file uncomment #export INSTALL_PATH=/boot > > cp .config conf-save > > make mrproper (this step is _mandatory_) > > cp conf-save .config > > At this point you can apply your patch, and then go on compiling > the new kernel. A last step of make install will install the > kernel in /boot and make the needed links, and add the kernel to > lilo for you if you uncommented #export INSTALL_PATH=/boot > > > So, I was not sure if the .config file the kernel-source rpm > > includes is the oficial configuration mandrake uses > > Yes it is. If you've already installed Mandrake's precompiled > version of the kernel, then /boot/config-2.4.22-21mdk can also be > used, ie, cp /boot/config-2.4.22-21mdk /usr/src/linux/.config Do you have to have a /boot partition to compile and use an alternate kernel? I've read that installing a pre-compiled kernel, say, the multimedia kernel, will automatically add a LILO entry so that you can choose which kernel to boot into. What about manually compiled kernels? Logic would dictate I would need to add an entry to LILO myself, but would that work? and, where would I install a manually-compiled kernel to? -- HaywireMac ++ ICQ # 279518458 Registered Linux user #282046 Homepage: www.orderinchaos.org ++ Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org ++ At the end of your life there'll be a good rest, and no further activities are scheduled. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
Thomas Backlund wrote: if you have installed the mdk kernel-source, the configs for all mdk kernels is at /usr/src/linux/arch/i386/ Perfect! Thanks. FYI, the patch I want to apply is for adding the MPPE/MPPC kernel module. This is needed if you want to set up a VPN, using Poptop, and you want to use "Microsoft Point-to-Point" Encryption (MPPE) and Compression (MPPC): http://www.polbox.com/h/hs001/ --> well, as far as I know! I haven't yet set up my VPN ;-) - Oscar Retana. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Friday 31 October 2003 08:25 am, Oscar Retana wrote: > Hi. Thank you Robert for your answer. > > I need to apply a patch to the kernel. I don't want to use my own > configuration. Instead, I want to use the mandrake kernel > configuraion (as it is shipped in the CDs), apply the patch, and > compile it. rpm -Uvh kernel-source-2.4.22-21mdk.i586.rpm cd /usr/src/linux ..edit Makefile and change the EXTRAVERSION to you liking, further down in this file uncomment #export INSTALL_PATH=/boot cp .config conf-save make mrproper (this step is _mandatory_) cp conf-save .config At this point you can apply your patch, and then go on compiling the new kernel. A last step of make install will install the kernel in /boot and make the needed links, and add the kernel to lilo for you if you uncommented #export INSTALL_PATH=/boot > So, I was not sure if the .config file the kernel-source rpm > includes is the oficial configuration mandrake uses Yes it is. If you've already installed Mandrake's precompiled version of the kernel, then /boot/config-2.4.22-21mdk can also be used, ie, cp /boot/config-2.4.22-21mdk /usr/src/linux/.config -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
From: "Oscar Retana" <[EMAIL PROTECTED]> > Hi. Thank you Robert for your answer. > > I need to apply a patch to the kernel. I don't want to use my own > configuration. Instead, I want to use the mandrake kernel configuraion > (as it is shipped in the CDs), apply the patch, and compile it. > > Of course, I want to use this configuration with the mandrake kernel it > self, and not with other kernel sources. > > I did as I said, compiled and installed the kernel, but got some > problems with scsi drivers (totally not related to the patch, with is > about mppe). So, I thought the problem was the patch I applied. But > then, and tried to compile it without a single modification from my > part, and the compilation failed. > > So, I was not sure if the .config file the kernel-source rpm includes is > the oficial configuration mandrake uses, or just something else. > > Thank you! > > - Oscar Retana. > > > p.s.: By the way, in trying to do this with kernel-source-2.4.22-21mdk > if you have installed the mdk kernel-source, the configs for all mdk kernels is at /usr/src/linux/arch/i386/ where defconfig is for up kernel, defconfig-smp is for the smp kernel and so on... of course you shouldn't build the kernels as root, so I suggest you make a local copy in your home directory for example: 1. copy the contents of /usr/src/linux/ to /home/oscar/kernel/ 2. cd to /home/oscar/kernel/ 3. do a 'make mrproper' 4. apply your patches 5. copy the config you need: cp arch/i386/defconfig .config 6. do a 'make oldconfig dep clean bzImage modules' 7. su to root 8. do a 'make modules_install install' this will build and install a kernel named 2.4.22-21mdkcustom btw, the patch you need, is it something anyone else would benefit from? If so, would you mind sending me the patch (or a link to it) and I'll add it to my kernel-tmb in contribs... Regards Thomas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
Hi. Thank you Robert for your answer. I need to apply a patch to the kernel. I don't want to use my own configuration. Instead, I want to use the mandrake kernel configuraion (as it is shipped in the CDs), apply the patch, and compile it. Of course, I want to use this configuration with the mandrake kernel it self, and not with other kernel sources. I did as I said, compiled and installed the kernel, but got some problems with scsi drivers (totally not related to the patch, with is about mppe). So, I thought the problem was the patch I applied. But then, and tried to compile it without a single modification from my part, and the compilation failed. So, I was not sure if the .config file the kernel-source rpm includes is the oficial configuration mandrake uses, or just something else. Thank you! - Oscar Retana. p.s.: By the way, in trying to do this with kernel-source-2.4.22-21mdk flacycads wrote: On Friday 31 October 2003 12:30 am, Oscar Retana wrote: Hi everybody! I'm new to _this_ distribution of Linux. I would like to know where can I get the .config files used to compile the precompiled kernels Mandrake includes. I got one kernel-source-.rpm, and tried to compile it, but I got some problems. I don't know if this kernel was actually configurated like the compiled kernels Mandrake includes, or it was just something else. Thanks, - Oscar Retana. Oscar, If you have a standard MDK install with sources, the kernel .config file is found in /usr/src/linux-. MDK kernels are heavily patched. You can't just take that file, and apply it to other kernels. You would have to decipher the source directory, and find all the patches Mandrake includes in the kernels they issue. But you don't have to do that- you can compile other kernels from source as user in a home directory with Mandrake, using your own config file, and your own patches, if desired. Mandrake includes all the patches in it's source when it releases a new kernel, so it's not really practical to try and copy that. You would have to find all the patch If you wish to experiment with other kernels, just do it in completely separate directories in a created /home/user/kernels/, from raw non-rpm source, where it never interacts with the stock Mandrake installed kernel, and system. That way, you never have to worry about not being able to boot if you mess up. I'm not really clear on what you are asking. Please tell us what your objective is, and people will certainly offer many helpful options, and clarify the process. Robert Crawford Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Where can I get mandrake precompiled kernels .config files?
On Friday 31 October 2003 12:30 am, Oscar Retana wrote: > Hi everybody! > > I'm new to _this_ distribution of Linux. I would like to know where can > I get the .config files used to compile the precompiled kernels Mandrake > includes. > > I got one kernel-source-.rpm, and tried to compile it, but I got > some problems. I don't know if this kernel was actually configurated > like the compiled kernels Mandrake includes, or it was just something else. > > Thanks, > > - Oscar Retana. Oscar, If you have a standard MDK install with sources, the kernel .config file is found in /usr/src/linux-. MDK kernels are heavily patched. You can't just take that file, and apply it to other kernels. You would have to decipher the source directory, and find all the patches Mandrake includes in the kernels they issue. But you don't have to do that- you can compile other kernels from source as user in a home directory with Mandrake, using your own config file, and your own patches, if desired. Mandrake includes all the patches in it's source when it releases a new kernel, so it's not really practical to try and copy that. You would have to find all the patch If you wish to experiment with other kernels, just do it in completely separate directories in a created /home/user/kernels/, from raw non-rpm source, where it never interacts with the stock Mandrake installed kernel, and system. That way, you never have to worry about not being able to boot if you mess up. I'm not really clear on what you are asking. Please tell us what your objective is, and people will certainly offer many helpful options, and clarify the process. Robert Crawford Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Where can I get mandrake precompiled kernels .config files?
Hi everybody! I'm new to _this_ distribution of Linux. I would like to know where can I get the .config files used to compile the precompiled kernels Mandrake includes. I got one kernel-source-.rpm, and tried to compile it, but I got some problems. I don't know if this kernel was actually configurated like the compiled kernels Mandrake includes, or it was just something else. Thanks, - Oscar Retana. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com