LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-30-2004, 12:09 AM   #16
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15

Depmod gives me this:
Quote:
Can't open /lib/modules/2.4.22/modules.dep for writing
Uname with the -a option (to list everything) gives this output:
Quote:
Linux localhost 2.4.22 #6 Tue Sep 2 17:43:01 PDT 2003 i686 unknown unknown GNU/Linux
No listing of either Drake or Slack there.

edit: I get the same output for uname from Slack (time stamp differs but thats all). Typing depmod from Slack gives no verbose result.

Last edited by OC_eobard; 08-30-2004 at 12:11 AM.
 
Old 08-30-2004, 10:30 AM   #17
Travers
Member
 
Registered: Jul 2004
Location: Des Moines
Distribution: Gentoo
Posts: 111

Rep: Reputation: 15
Okay, use chmod+w /lib/modules/2.4.22/modules.dep
I'm assuming that it exists and you do not have proper permissions. If it dosent' exist, just chmod /lib/modules/2.4.22/ for write access.
 
Old 08-30-2004, 11:45 AM   #18
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
/lib/modules/2.4.22/ does not exist in Mandrake. /lib/modules/2.4.22-10mdk does but I've already got write permissions for it. Here's the output for ls -l in that directory:
Quote:
total 632
drwxr-xr-x 10 root root 4096 Jul 29 21:36 kernel/
-rw-r--r-- 1 root root 199067 Aug 29 22:00 modules.dep
-rw-r--r-- 1 root root 41593 Sep 18 2003 modules.description
-rw-r--r-- 1 root root 53502 Aug 29 22:00 modules.generic_string
-rw-r--r-- 1 root root 443 Aug 29 22:00 modules.ieee1394map
-rw-r--r-- 1 root root 8330 Aug 29 22:00 modules.isapnpmap
-rw-r--r-- 1 root root 29 Aug 29 22:00 modules.parportmap
-rw-r--r-- 1 root root 96041 Aug 29 22:00 modules.pcimap
-rw-r--r-- 1 root root 24 Aug 29 22:00 modules.pnpbiosmap
-rw-r--r-- 1 root root 196837 Aug 29 22:00 modules.usbmap
The files I moved into the Slack boot directory from Mandrake (vmlinuz...mdk, initrd...mdk and system.map...mdk) also have write permissions within Slack if that's relavent.
 
Old 09-02-2004, 06:17 PM   #19
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Bump. Anyone else?
 
Old 09-17-2004, 07:59 PM   #20
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
My file system got corrupted in Slack and since Drake never got set up I decided to give it a shot reinstalling again with Drake first then Slack. I've got Mandrake running but now I can't get Slackware off the ground. I basically did the reverse of the steps tried above but I'm getting a different kind of problem. Instead of booting the secondly installed OS but not finding the dependencies I get a system halt with the error "Kernel panic: No init found. Try passing inint= option to kernel."

I'll post my lilo.conf from the other system in a moment....
 
Old 09-17-2004, 08:04 PM   #21
OC_eobard
Member
 
Registered: May 2004
Distribution: Slackware 10.2, Ubuntu 6.10
Posts: 94

Original Poster
Rep: Reputation: 15
Here's Lilo.conf:
Quote:
boot=/dev/hda
map=/boot/map
vga=788
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
label="linux"
root=/dev/hda6
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda7 splash=silent"
vga=788
read-only
image=/boot/vmlinuz
label="linux-nonfb"
root=/dev/hda6
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi acpi=ht resume=/dev/hda7"
read-only
image=/boot/vmlinuz
label="failsafe"
root=/dev/hda6
initrd=/boot/initrd.img
append="failsafe devfs=nomount hdc=ide-scsi acpi=ht resume=/dev/hda7"
read-only
other=/dev/hda1
label="windows"
table=/dev/hda
other=/dev/fd0
label="floppy"
unsafe
image=/boot/vmlinuz
label="Slackware"
root=/dev/hda9
image=/boot/vmlinuz.slack
initrd=/boot/initrd.slack.img
append="root=/dev/hda9"
read-only
I copied over System.map, initrd.img and vmlinuz from the Slack partition into the Mandrake boot directory. I inserted ".slack" into the file names in order to differentiate and to avoid writing over anything. I appended lilo appropriately to account for this, although I don't know what to do about System.map because lilo gives no reference to it. Any thoughts anyone?
 
  


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
Finding module dependencies PR0T0N Linux - General 1 02-12-2004 03:22 AM
Finding module dependencies???? aaronmcwilliams Linux - Software 4 01-07-2004 02:43 AM
finding dependencies Abe_the_Man Linux - Newbie 2 09-27-2003 11:36 PM
Finding Dependencies??? DiZASTiX Linux - Software 3 05-13-2003 09:44 PM
finding module dependencies jakublgz Linux - Newbie 9 07-28-2002 01:11 PM


All times are GMT -5. The time now is 01:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration