|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Compiling the kernel problems
I am currently doing this tutorial for install my ADSL USB modem under Linux:
http://www.geocities.com/potato.geo/alcatel.html But I am kinda stuck,how do I actually iinstall the new kernel? I executed these commands,but what now?: make dep make bzImage make modules make modules_install (bzImage is then located in /usr/src/arch/i386/boot/) I read somewhere that I have to edit lilo.conf,but what exactly should I do?Because LILO is written on a floppy,so when the floppy is in the drive it boots Linux and otherwise it boots Windows.And how do I check which kernel I am running?uname -a? |
|
#2
|
||||
|
||||
|
Copy the file to /boot by something like
cp /usr/src/arch/i386/boot/bzImage /boot/newkernel Then mount your floppy and edit lilo.conf and add something like image = /boot/newkernel label = new read-only and run /sbin/lilo And when you reboot, just choose the new kernel and see what happens... Use uname -a to see which kernel you're using. //NoXcuz
__________________
UN*X is sexy! who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep |
|
#3
|
|||
|
|||
|
You can also put your new kernel directly onto a floppy by navigating back to your source tree and typing:
make bzdisk make sure you have a brand-new floppy in the drive. If you want to use the new kernel than you can overwrite the old one as above. . .but make sure it works perfect before erasing your old one, in fact, you should probably move the old one elsewhere so you always have a copy.
__________________
Support the mob or mysteriously disappear!! |
|
#4
|
||||
|
||||
|
You won't always get your kernel onto a floppy - mine is currently 1036642 bytes, so would have been okay for make bzdisk.
Also, you could leave all your kernels in / should you what the option of booting one or the other.. just edit your lilo.conf as above, with a new image description for each kernel on offer. note that when you run /sbin/lilo, lilo will write the new partition table. you can set the level of verbosity of this command by adding -v up to 5 times, so /sbin/lilo -v -v won't be as verbose as /sbin/lilo -v -v -v or /sbin/lilo -v 5 (another way of specifying vebosity level) fun, huh! Christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Compiling the kernel problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|