LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 10-10-2002, 06:59 PM   #1
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Rep: Reputation: 15
Question proc won't mount


When I booted, I had 3 error messages saying that I was'nt suppose to see and that I should look into the LFS book to correct this error. I did look, but sadly enough, I did'nt find what I was looking for.

The error was when loading :

/etc/rc.d/rcsysinit.d/S20mountproc

with an error code 32, if it means something to you

the same thing again for
/etc/rc.d/rcsysinit.d/S40mountfs

error code 96

and the last one

/etc/rc.d/rc3.d/S20network

error code 7


I hope you can help me
thanks
ccool
 
Old 10-10-2002, 07:15 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
error codes don't mean much, we need the error message too. You'll find them above the "You shouldn't be reading this message..."
 
Old 10-10-2002, 07:42 PM   #3
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
Exclamation

ok, I just rebooted to have the complete message.

The first one is:

Mounting proc file system
modprobe: modprobe: can't locate module default
mount: proc has wrong device number or fs type default not supported

the second one is:

Mounting remaining file system
warning: can't open /etc/mtab : No such file or device
modprobe: modprobe: can't locate module default
mount: proc has wrong device number or fs type default not supported

the last one is:

Setting default gateway
SIOCADDRT: Network is unreachable


That's pretty much it...
 
Old 10-10-2002, 09:34 PM   #4
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
Those look like kernel problems to me. compile the kernel again but make sure that it has proc filesystem support, as well as support for your network card (that's where the SIOCADDRT is comming from.
 
Old 10-11-2002, 02:12 PM   #5
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
Question

I just re-compile my kernel... Everything is suppose to be in there, my network card is, I'm using the tulip driver, and the proc was there...

Maybe it's another thing ??? or there is something specific I need to put in the kernel compilation ??
 
Old 10-11-2002, 02:50 PM   #6
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
I guess it's over my head then.... Is your driver and proc stuff enabled as modules?... if so, try compiling them in instead.

Are you copying your new kernel to boot along with System.map and running lilo again?
 
Old 10-11-2002, 03:56 PM   #7
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
I already have linux mandrake installed on my pc. I just copied the lfskernel on /boot/ and I configured mandrake's lilo... Do I have to copy System.map too, and if so, how do I do it without removing mandrake System.map ???
 
Old 10-11-2002, 10:24 PM   #8
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
I could be wrong, but I think that you copy System.map to the system that is going to use it, but you need to copy the kernel to /boot of both the system using it and the system with lilo.

try that out... compile your kernel in lfs, copy lfskernel and System.map to /boot. Then boot up mandrake, mount the lfs partition and copy $LFS/boot/lfskernel to /boot. Then run /sbin/lilo -v . I hope that helps....
 
Old 10-11-2002, 10:46 PM   #9
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
Hi, I already did copy my lkskernel to my /boot in mandrake... I just did'nt copy the System.map, because I did'nt want to overwrite the mandrake's System.map...

when on mandrake...

/lfs/boot/System.map (from lfskernel compilation)
/lfs/boot/lfskernel (from compilation too..)
/boot/System.map (from original mandrake kernel)
/boot/lfskernel (a copy from the other one)
/boot/allotherstuff (originally there in mandrake 8.2)

this is how I put everything.

this is my lilo.conf in mandrake (I did run "lilo" after I made this configuration)

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
default=linux
keytable=/boot/qc-latin1.klt
lba32
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw

image=/boot/vmlinuz
label=linux
root=/dev/hda1
initrd=/boot/initrd.img
append="devfs=mount hdc=ide-scsi quiet"
vga=788
read-only

image=/boot/lfskernel
label=LFS
root=/dev/hda7
read-only

Last edited by ccool; 10-11-2002 at 10:50 PM.
 
Old 10-11-2002, 11:10 PM   #10
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
I don't know buddy..... The only thing else that I can think of is maybe your /etc/fstab is wrong and that you need a different driver for your network card. If that is way off, you might have missed a crutial step when building the lfs??? what DOES your /etc/fstab look like?
 
Old 10-12-2002, 01:59 AM   #11
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
Unhappy

exactly like this :

# Begin /etc/fstab
# filesystem mount-point fs-type options dump fsck-order

/dev/hda7 / reiserfs defaults 0 0
/dev/hda5 swap swap pri=1 0 0
proc /proc defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0


!!!

by the way, thanks for all your help
 
Old 10-12-2002, 02:00 AM   #12
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
ah yes, I forgot... my network card seems to work... !?!?

Ccool
 
Old 10-12-2002, 04:08 PM   #13
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
do you have "reiserfs" and "devpts" support in your kernel? I don't know if this would do anything to your proc mounting problem, but it might.
 
Old 10-20-2002, 02:36 PM   #14
ccool
Member
 
Registered: Oct 2002
Location: Canada
Distribution: Slackware 10.1
Posts: 71

Original Poster
Rep: Reputation: 15
thanks, I found the problem... my fstab was not ok... now it is
 
  


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
Correlation between /proc/devices and /proc/modules ColinLadyka Linux - General 1 02-13-2006 05:25 PM
Firewire Maxtor drive showing up in /proc but not /dev, can't mount darkbluedrew Linux - Newbie 1 09-17-2005 06:33 PM
Unable to mount proc on boot - RH8 mikca Linux - Software 3 06-05-2005 10:17 PM
mount proc crashes davemar Linux From Scratch 4 03-24-2004 09:49 AM
My linux can't mount /proc, it won't start grimbys Linux - General 4 10-15-2003 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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