LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 11-04-2006, 10:58 AM   #1
Sevo
LQ Newbie
 
Registered: Nov 2006
Location: Norway
Posts: 6

Rep: Reputation: 0
Trouble installing Slackware 11/huge26/modules


I have been through a few Linuxdistros, but new to Slackware.I installed ver.11 with the 2.4 kernel, and everything worked fine. Now I reinstalled and used the 2.6.17.13 kernel.
I find the "extra" on the DVD. Trying to install, as root with installpkg<filename>.tgz, I always get: Cannot install <filename>.tgz -package does not end in .tgz.
I then tried to install the package with Kpackage and it looks to me that they are installed. They are among the other installed progs in Kpackages list. My NIC and soundcard is not found. What is wrong? I've looked around on several foorums. Anybody has a link or could give the solution to me, using a teaspoon?!
 
Old 11-04-2006, 12:28 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
A quite simple way to solve your problem:

- look in /etc/rc.d: make sure that rc.modules is a symlink to modules-2.6.17.13. If you intend to run 2.6.x soley, delete rc.modules-2.4.33

- make sure /etc/rc.d/rc.udev is executable (chmod 755 /etc/rc.d/rc.udev)

- compile your own 2.6.x kernel. compile all IDE/SATA controllers and file systems (reiserfs? ext3? xfs?) in that you need to start your machine. If you are not sure, start with the config file for the huge26.s kernel (you find it in /kernels/huge26.s on the Slackware CD). This way you don't need any additional initrd image.
 
Old 11-07-2006, 09:23 AM   #3
Sevo
LQ Newbie
 
Registered: Nov 2006
Location: Norway
Posts: 6

Original Poster
Rep: Reputation: 0
Thank You titopoquito! It all works now and I'm happy.

I still do not understand why I get the "cannot install<packagename>.tgz : package does not end in .tgz"
 
Old 11-07-2006, 09:30 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Quote:
Originally Posted by Sevo
Thank You titopoquito! It all works now and I'm happy.
You're welcome

Quote:
I still do not understand why I get the "cannot install<packagename>.tgz : package does not end in .tgz"
Are you sure there is no typo and no space in the name? What happens if you don't type the name completely but just type the first characters and use <tab> for auto-completion?
 
Old 11-08-2006, 04:02 PM   #5
Sevo
LQ Newbie
 
Registered: Nov 2006
Location: Norway
Posts: 6

Original Poster
Rep: Reputation: 0
Well, how long was Adam in Paradise?
I had a fully functional Slackware going, until I rebooted. Lilo stopped an nothing more happened. I have reinstalled and everything works just fine now. (I am using Slackware to visit here now) However I don't dare to turn off again! What have I missed this time?
This is my /etc/lilo.conf if that could tell You anything.
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda1
  label = Slackware 
  read-only
# Linux bootable partition config ends
 
Old 11-08-2006, 04:20 PM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Did you run /sbin/lilo if you compiled your own kernel? Is your lilo.conf complete? I always had at least two lilo parts to boot different Linux/Win installs, but I think there was some other stuff at the top of my lilo.conf -- How did you create it? I would backup the file and call "liloconfig" as root. Start with the first menu choice (new lilo header I think) and then add your linux partition. Last "Install LILO".
 
Old 11-08-2006, 05:24 PM   #7
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
Quote:
Originally Posted by titopoquito
You're welcome


Are you sure there is no typo and no space in the name? What happens if you don't type the name completely but just type the first characters and use <tab> for auto-completion?
Funny you mention the autocompletion thing. I was using autocompletion when installing the kernel, but it would not add 'gz' at the end. The reason for it is that there are 'txt' files in the same directory. Also files that end in '.tgz.asc'.
 
Old 11-09-2006, 05:40 PM   #8
Sevo
LQ Newbie
 
Registered: Nov 2006
Location: Norway
Posts: 6

Original Poster
Rep: Reputation: 0
When I tried to put in : image = /boot/vmlinuz-generic 2.6.17.13 in my lilo.config I got the message:"No filesystem could mount root, tried ext 2. Kernel panic-not syncing:VFS:unable to mount root fs on unknown-block (8.1)

I have just installed the 2.6.17.13 kernel (huge26.s) and the kernel-modules from "extra"(no changes)

Could it be something with initrd? Reading the "readme initrd" it says:
Change into the /boot directory:

cd /boot

Now you'll want to run "mkinitrd". I'm using reiserfs for my root
filesystem, and since it's an IDE system the reiserfs module will be
the only one I need to load:

mkinitrd -c -k 2.6.13 -m reiserfs

What if it is a SATA system?
 
Old 11-10-2006, 03:56 AM   #9
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
Then you should make sure that SATA support and your controller is build in (or again, included with initrd).
I had some minor problems in the past too, although the kernel should have included all things like reiserfs support. I would start with the huge26.s kernel's config file and compile my own kernel with reiserfs, SATA support ... compiled in. After that you could try to strip down the included stuff to the stuff you really need for your hardware/setup.
Compiling the kernel myself blew my problems right away I compiled it, linked /etc/rc.d/rc.modules to /etc/rc.d/rc.modules-2.6.17.13 and deleted all files concerning 2.4.33 (for example the modules, /lib/modules/2.4.33) that I didn't need anyway.
 
Old 11-10-2006, 04:36 PM   #10
Sevo
LQ Newbie
 
Registered: Nov 2006
Location: Norway
Posts: 6

Original Poster
Rep: Reputation: 0
I made a:
Code:
cd /boot
mkinitrd -c -k 2.6.17.13 -m reiserfs
edited my /etc/lilo.conf:
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-2.6.17.13
  root = /dev/sda1
  initrd = /boot/initrd.gz
  label = Linux
  read-only
# Linux bootable partition config ends
And it all works fine,- thanks for help so far (I will probably be back with new questions)
 
  


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
Cannot boot Slack 11.0 with huge26.s modules paulwhalley Slackware 7 12-07-2006 08:20 PM
Slack 11, huge26.s, no modules :( Sn!per[SWE] Slackware 6 10-05-2006 01:38 PM
huge26 and modules crontab Slackware 2 10-05-2006 12:02 AM
Installing ATI drivers to Slackware 10 - kernel modules? wezzer Slackware 9 08-31-2004 05:12 PM
trouble installing modules (hostap) jza Debian 3 06-27-2004 01:48 PM


All times are GMT -5. The time now is 03:57 AM.

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