LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-28-2004, 09:20 AM   #1
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Rep: Reputation: 15
Kernel 2.6.7 installation from Slackware 10 packages?


Hi there,

Well I was wondering how to install the 2.6.7 kernel from the testing directory on the CD. There are packages, but I donīt know how to proceed. Can anyone please explain me?
 
Old 06-28-2004, 09:28 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
cd to the kernel directory.

installpkg everything except the headers.

Edit lilo. Run lilo. Reboot. Enjoy.

(Don't forget to run the mkinitrd script linked in /boot if you use reiser and the generic kernel.)
 
Old 06-28-2004, 09:45 AM   #3
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
Thank you very much

I have a few questions, though, I donīt use lilo, i use loadlin, and as I read from the README.initrd there is a line that is added to lilo.conf, because initrd is required to run the 2.6.7 kernel, so my question is, would loadlin start the 2.6.7 kernel the usual way, or do I have to add some things. For example, I have a copied bzimage of the bare.i 2.4.26 on my windows partition, and when I want to run Slackware, I write īloadlin bzimage root=/dev/hda8 roī and now I may have to add something that loads initrd. And the other thing is, when I install the packages, can I copy the 2.6.7 kernel image from /boot to my windows partition?
 
Old 06-28-2004, 09:58 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I'm not sure if an initrd is required - virtually required for most anything, but I think it's possible to run an ext3 system (probably with stuff missing) without it.

I've only used loadlin to load zipslack, and I forget the details. Don't have a loadlin man page handy, either, but I suspect it would take an 'initrd' argument or something. As far as copying the kernel, I don't see why not. But why not use lilo?

Anyway, I suspect it would be okay but someone who was more familiar with loadlin could probably answer better. Like I say, check the man page and it should say what to do. Good luck.
 
Old 06-28-2004, 10:06 AM   #5
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
Well if it doesnīt work Iīll install lilo. Really thanks for the help very much
 
Old 06-28-2004, 11:08 AM   #6
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
Well, I got an error 'Kernel Panic: VFS Could not mount root filesystem', when I booted the 2.6.7 kernel image with loadlin. I ran the mkinitrd script with the command 'mkinitrd -c -k 2.6.7 -m reiserfs' like it's written in the readme file, but should I have a mkinitrd package in the kernel packages folder? Well, I installed everything except the headers and the root filesystem cannot be mounted..
Does anyone have an idea how to solve this?
 
Old 06-28-2004, 11:17 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Did the mkinitrd script produce an 'initrd.gz'? And can loadlin take the 'initrd' argument? For lilo, it's:
Code:
image = /boot/vmlinuz-generic-2.6.7
  label = slackwareB  
  root = /dev/hdb5
  initrd = /boot/initrd.gz
  read-only
I'd figure if you were booting off of a 'boot' on your windows drive, that's where the initrd needs to be, too. It could mean a lot of things, but probably means it didn't find the initrd, so couldn't load the module, so couldn't mount root.

This should work but other options are lilo or compiling a kernel with reiser built in.
 
Old 06-28-2004, 12:06 PM   #8
plm
Member
 
Registered: Sep 2003
Distribution: Slack 10!
Posts: 65

Original Poster
Rep: Reputation: 15
yes that's what I thought too I now have a working Slackware 10 with a 2.6.7 kernel! I read the manual of loadlin and there I found that it is possible to load a ramdisk with just adding 'initrd=image' and it worked! everything is okay now and works perfectly, I think! Thanks for the help!
 
Old 06-28-2004, 12:33 PM   #9
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Congrats! Glad you got it working.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 10.1 installation with custom build kernel zWaR Slackware 5 08-09-2005 02:29 AM
Post installation configuration for KDE 3.4.1 under slackware 10.1 with kernel 2.6.10 Basel Slackware 1 06-15-2005 03:06 AM
SMP Kernel Packages for Slackware ? Grunthos Slackware 15 04-02-2005 11:56 PM
Is it possible to start Slackware installation using own compiled kernel? kornerr Slackware 8 01-22-2005 09:30 AM
Install a different kernel during Slackware installation? linda Slackware - Installation 4 06-21-2004 06:36 PM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration