Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/proc problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Fri Nov 22, 2002 1:35 pm    Post subject: /proc problem Reply with quote

When booting it says something like
Error mounting proc, read only filesystem.
bla bla bla cannot continue.

Then I can log into "rescue mode" and ls /proc is empty.

What is this?


Last edited by eivinn on Fri Nov 22, 2002 3:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
soulwarrior
Guru
Guru


Joined: 21 Oct 2002
Posts: 331

PostPosted: Fri Nov 22, 2002 2:05 pm    Post subject: Reply with quote

Have you changed something to your system?

What does your /etc/fstab list?
Back to top
View user's profile Send private message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Fri Nov 22, 2002 3:43 pm    Post subject: Reply with quote

What I did was mirroring my / to another disk. I did this while both target and sources was mounted under root of the rescue disk... I suppose this means that /proc was not copied...

I will most likely try to mirror it again -> with mount -o bind /proc /mnt/mountpoint/proc. Just to anoying to take out the disk every time I have to do something :cry:

Is it possible to mirror with an NFS mount instead?
Back to top
View user's profile Send private message
soulwarrior
Guru
Guru


Joined: 21 Oct 2002
Posts: 331

PostPosted: Fri Nov 22, 2002 3:53 pm    Post subject: Reply with quote

I am no expert, but I think that the entires in /proc are created by the kernel at the startup.

So maybe you forget to adapt the entries in /etc/fstab to reflect the changes you made to the position of your new root?
Back to top
View user's profile Send private message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Fri Nov 22, 2002 4:49 pm    Post subject: Reply with quote

I am not really sure, but it seams like I forgot to enable devfs in kernel. Could this bring up this kind of error with /proc ??
Back to top
View user's profile Send private message
rtn
Guru
Guru


Joined: 15 Nov 2002
Posts: 427

PostPosted: Fri Nov 22, 2002 4:58 pm    Post subject: Reply with quote

No, devfs and procfs are not the same. Is the proc file system compiled
into your kernel? You might want to post your /etc/fstab too...

--rtn
Back to top
View user's profile Send private message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Fri Nov 22, 2002 5:31 pm    Post subject: Reply with quote

yes, proc fs is compiled into kernel

fstab is as follows:

/dev/hda2 /boot ext2 noauto,noatime 1 1
/dev/hda3 / ext3 noatime 0 0
/dev/hda1 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
proc /proc proc defaults 0 0


This is how it has allways been....
Back to top
View user's profile Send private message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Sat Nov 23, 2002 10:06 am    Post subject: Reply with quote

I now compiled a gentoo-sources kernel and booted from floppy. This worked. May be a problem with openmosix-sources then with my old computer here..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum