LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2006, 05:33 PM   #1
spidna
Member
 
Registered: Aug 2004
Location: earth
Posts: 42

Rep: Reputation: 15
installing slackware 11


can someone be kind enough out there to tell me how to start slackware with kernel 2.6 instead of the default kernel 2.4. I'm in the process of installing one.
 
Old 08-25-2006, 05:41 PM   #2
raska
Member
 
Registered: Aug 2004
Location: Aguascalientes, AGS. Mexico.
Distribution: Slackware 13.0 kernel 2.6.29.6
Posts: 816

Rep: Reputation: 31
what are you installing?
a full Slackware 10.2 or a custom 2.6.x kernel?

what's with the thread title anyway?
 
Old 08-25-2006, 07:23 PM   #3
salmaklak
LQ Newbie
 
Registered: Jun 2005
Distribution: Slackware, Ubuntu on my PS3
Posts: 22

Rep: Reputation: 15
Changing to the 2.6.x kernel from 2.4.x on Slackware 11 (current)

# Install the 2.6 packages from /extra/linux-2.6.17.11
# Remove the 2.4 packages

cd /boot

# I'm using XFS on my test box here, so you will have to use different parameters for reiser etc. in the following line. Don't forget to change hda2 to your install partition

mkinitrd -c -k 2.6.17.11 -m exportfs:xfs -f xfs -r /dev/hda2

# Edit lilo.conf and make these changes. Note that I'm using hda2, you need to change that line to reflect your install partition

pico /etc/lilo.conf
-------
#Linux bootable partition config begins

image = /boot/vmlinuz-generic-2.6.17.11
initrd = /boot/initrd.gz
root = /dev/hda2
label = Linux-2.6.17.11
read-only
#Linux bootable config ends
-------
# Run lilo to make the changes take effect

lilo -v

# Providing lilo says it's added your new kernel...

reboot

Last edited by salmaklak; 08-25-2006 at 07:25 PM.
 
Old 08-25-2006, 07:37 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by spidna
can someone be kind enough out there to tell me how to start slackware with kernel 2.6 instead of the default kernel 2.4. I'm in the process of installing one.
At the isolinux start screen, press F3 to see the list of available kernels.
Select "huge26" as the kernel to boot. Afterwards, do not forget to install the kernel-modules package from /extra/linux-2.6.17.11/ directory!

Eric
 
Old 08-25-2006, 11:56 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Quote:
Originally Posted by salmaklak
# Install the 2.6 packages from /extra/linux-2.6.17.11
# Remove the 2.4 packages

cd /boot

# I'm using XFS on my test box here, so you will have to use different parameters for reiser etc. in the following line. Don't forget to change hda2 to your install partition

mkinitrd -c -k 2.6.17.11 -m exportfs:xfs -f xfs -r /dev/hda2

# Edit lilo.conf and make these changes. Note that I'm using hda2, you need to change that line to reflect your install partition

pico /etc/lilo.conf
-------
#Linux bootable partition config begins

image = /boot/vmlinuz-generic-2.6.17.11
initrd = /boot/initrd.gz
root = /dev/hda2
label = Linux-2.6.17.11
read-only
#Linux bootable config ends
-------
# Run lilo to make the changes take effect

lilo -v

# Providing lilo says it's added your new kernel...

reboot
Heh heh heh.. I just wanted to comment on your response style. I like it, it's like reading a decent README or INSTALL file I like the commented comments, excellent.

Cool
 
Old 08-26-2006, 12:23 AM   #6
justin_p
Member
 
Registered: Jan 2004
Location: Virginia, USA
Distribution: slack 13; I've used it all :)
Posts: 433

Rep: Reputation: 30
I was under the impression that you would be able to select the 2.6 kernel at the kernel selection screen. Is this not the case?

Last edited by justin_p; 08-26-2006 at 12:24 AM.
 
Old 08-26-2006, 12:50 AM   #7
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by justin_p
I was under the impression that you would be able to select the 2.6 kernel at the kernel selection screen. Is this not the case?
Yes you can - I believe that's what Alien Bob was referring to:
Quote:
Originally Posted by Alien Bob
At the isolinux start screen, press F3 to see the list of available kernels
 
  


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
Installing Slackware Clarence27 Linux - Newbie 10 07-02-2006 09:43 AM
Installing Slackware Trice Slackware 18 05-28-2004 07:43 PM
Some Help Installing Slackware 9.1 p3ngu!n Linux - Newbie 8 11-15-2003 03:17 AM
Slackware 9.0 not installing FedoraJ Slackware 13 08-07-2003 04:16 PM
Installing Slackware AMDPwred Linux - General 17 10-17-2002 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:23 PM.

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