LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-27-2001, 03:59 AM   #1
veeraganesh
LQ Newbie
 
Registered: May 2001
Posts: 5

Rep: Reputation: 0
Question


hi
i downloaded the latest version of kernel2.4.2.how i can install it.
i downloaded the version oss sound driver its size is 1.88mb
it is in the windows partion.how i can bring this in to linux partion.

i dont have a zip drive
 
Old 05-27-2001, 08:12 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
What version of the kernel you running at the moment? If you are changing from 2.2.x to 2.4.x you will probably want to update some of your user space tools that deal with loading modules, the mod-utils I believe (can't remember their proper name - DOH!). The next thing you will want to do is have a look at http://linuxdocs.org/HOWTOs/Kernel-HOWTO.html for some better instructions about how to do this - I think this version is still aimed at 2.2 but should be relevant for 2.4, its the same process, just with some different options.

To give you a brief overview - Go to /usr/src, you will probably find your have something like a dir called linux-2.4.2 and a symlink to this dir called linux, remove the symlink
Code:
rm linux
then uncompress your new kernel
Code:
tar xvfz linux-2.4.4.tar.gz
or
Code:
bzip2 -dc linux-2.4.4.tar.bz2 | tar xvf -
depending on wether is gzip'd or bzip2'd. This will create a folder called linux that holds the new kernel, you might want to rename this and symlink it, depends if you are ever going to have multiple kernel sources, if you do want to do this then issue a
Code:
mv linux linux-2.4.4 ; ln -s linux-2.4.4 linux
Now change to your new linux directory, run
Code:
make symlinks
then use either
Code:
make menuconfig
or
Code:
make xconfig
depending if you are in X or not. Choose the options you want (the most daunting bit if this is your first attempt), save the config then try a
Code:
make dep
then
Code:
make bzlilo
then
Code:
make modules
then
Code:
make modules_install
and that should be it. You'll need to reboot...

Note that the above assumes that 'make bzlilo' will install your kernel to the correct place, I don't think this is the case if you are using RH, as it will place the new kernel in / not /boot. It also doesn't give you the option to boot the old kernel, this is something you will probably want to be able to do unless you are confident that you havn't missed anything important from your kernel options. Follow the HOWTO if I were you.

As for getting stuff of your Windows partition - just mount it! Assuming that your Win partition in the first partition on the first hard disk try
Code:
mount -t vfat /dev/hda1 /someDir
the '-t vfat' option might not be necessary for you but it never hurts. Assuming that you have vfat support in your kernel then you should now be able to access all your files from /someDir (clearly this needs to exist in the first place!).

HTH

Jamie...
 
  


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
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 12:56 AM
upgrading to 10 from 9.1 Fascistchicken Slackware 1 10-08-2004 06:13 PM
upgrading? clericvash Mandriva 2 09-23-2004 08:42 AM
upgrading 8.1 to 9.0 cerberus Slackware 6 05-13-2003 04:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:15 AM.

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