LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-03-2006, 03:37 PM   #16
oneagainstall
LQ Newbie
 
Registered: Feb 2006
Location: Bulgaria, the small and peaceful town of Razlog
Distribution: slackware-11.0
Posts: 9

Rep: Reputation: 0

uname -r gives 2.4.31... then i ran lilo and rebooted my system. there was an error on startup: kernel panic, can't mount root..
and again from the begining i'll try that some more times. Who knows..
thnx
 
Old 08-03-2006, 03:55 PM   #17
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
It look slike your kernel config is no good. Restore back to the 2.4 kernel, then try recompiling the 2.6. If you give some more detailed explenation of the "exact" error message you get, then maybe we could point out some things you need to look out for when compiling. From the basic info you gave however, it sounds like you compiled support for you root partition as modular ..which is a nono unless your are using an initrd.

regards,
...drkstr
 
Old 08-08-2006, 11:47 AM   #18
oneagainstall
LQ Newbie
 
Registered: Feb 2006
Location: Bulgaria, the small and peaceful town of Razlog
Distribution: slackware-11.0
Posts: 9

Rep: Reputation: 0
hey guys
i found the problem with that kernel panic error message: i've installed my slackware on a logical partition. i've just deleted my windoze xpee cause it was on the primary partition and installed slackware on it. i have some more free time now so i will explain what happened now (not in a short posts as before).

i tried to compile my kernel again following the steps pointed in slackbook-2.0:
1. i've upgraded all the kernel packages and the alsa driver package.
2. and..

Code:
su
# cd /usr/src/linux
# make mrproper
# make menuconfig
blah blah
# make bzImage
# make modules
# mv /boot/vmlinuz /boot/vmlinuz.old
# cat arch/i386/boot/bzImage > /boot/vmlinuz
# mv /boot/System.map /boot/System.map.old
# make modules_install
# /sbin/lilo
everything went fine untill i ran /sbin/lilo. another error message was on my screen:

Quote:
Fatal: Can't find partition entry
i took a look at the man pages, but i found nothing. then i rebooted the system and again

Quote:
modprobe: Can't open dependencies file: /lib/modules/2.4.31/modules.dep ( No such file or directory )
in the changelog at slackwre mirror there was something about pointing the kernel version using depmod.
what else can i say.. Help please

Last edited by oneagainstall; 08-08-2006 at 12:52 PM.
 
Old 08-08-2006, 01:14 PM   #19
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
everything went fine untill i ran /sbin/lilo. another error message was on my screen:


Quote:
Fatal: Can't find partition entry
Did you reboot after changing the partition table? If you did, what does your lilo.conf look like?

Quote:
took a look at the man pages, but i found nothing. then i rebooted the system and again


Quote:
modprobe: Can't open dependencies file: /lib/modules/2.4.31/modules.dep ( No such file or directory )
You need to either hardcode support oor your root partition into the kernel, or use an initrd to load up modular support for it.

regards,
...drkstr
 
Old 08-09-2006, 11:58 AM   #20
oneagainstall
LQ Newbie
 
Registered: Feb 2006
Location: Bulgaria, the small and peaceful town of Razlog
Distribution: slackware-11.0
Posts: 9

Rep: Reputation: 0
hey drkstr

Quote:
Originally Posted by drkstr
Did you reboot after changing the partition table? If you did, what does your lilo.conf look like?
i used fdisk to format my win partiotion and to create new linux one. i did this during the installation process when i booted my system from the slackware cd. after the installation was finished, i've rebooted.

and my lilo.conf:

Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
append=
boot = /dev/hda
message = /boot/boot_message.txt
prompt
timeout = 1200
change-rules
reset
# VESA framebuffer console @ 1024x768x64k
vga = 791
......
# End LILO global section
# Windows bootable partition config begins
other = /dev/hda5
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Linux bootable partition config ends
am i missing something
 
Old 08-09-2006, 12:33 PM   #21
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
You have an entry for /dev/hda5 in /etc/lilo.conf -- do you actually have a bootable Windows partition there?

BTW, you really shouldn't run anything up to "make modules_install" as root. You also added extra steps that are really no longer necessary.

Try the following:
Code:
$ make menuconfig
$ make
$ su
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz
# make install
Simple, easy, works (as long as lilo.conf is set properly)
 
Old 08-09-2006, 01:23 PM   #22
oneagainstall
LQ Newbie
 
Registered: Feb 2006
Location: Bulgaria, the small and peaceful town of Razlog
Distribution: slackware-11.0
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by coitog
You have an entry for /dev/hda5 in /etc/lilo.conf -- do you actually have a bootable Windows partition there?
That's not a bootable partition. i store my docs on it. should i remove it ?
thnx for the hint about that unnecessary stuff. i'll try that next time :P
 
  


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
updating posts problem not fixed getting buried quick cjae Linux - General 2 04-02-2005 10:34 AM
Quick Slackware question Cyb3rKnyght Linux - General 2 07-09-2004 05:25 AM
A quick question about USB Mouse in Slackware Wiggy Linux - Hardware 2 05-21-2004 05:59 PM
Slackware peeps: Quick wireless question Wiggy Linux - Wireless Networking 4 04-14-2004 04:54 AM
Quick NewB Ques on Kernel Updating dot hog Linux - Newbie 2 10-18-2003 03:50 PM

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

All times are GMT -5. The time now is 03:31 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