Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old June 27th, 2002, 04:33 AM
Tuxie Tuxie is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Inside the GNU/Hurd kernel
Posts: 492 Tuxie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 1 m
Reputation Power: 7
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?

Reply With Quote
  #2  
Old June 27th, 2002, 06:50 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 49 m 27 sec
Reputation Power: 11
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

Reply With Quote
  #3  
Old July 10th, 2002, 08:48 PM
bulliver bulliver is offline
slacker
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Penticton BC Canada
Posts: 35 bulliver User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via AIM to bulliver
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!!

Reply With Quote
  #4  
Old July 16th, 2002, 05:24 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Compiling the kernel problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway