View previous topic :: View next topic |
Author |
Message |
eivinn Apprentice
Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Fri Nov 22, 2002 1:35 pm Post subject: /proc problem |
|
|
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 |
|
|
soulwarrior Guru
Joined: 21 Oct 2002 Posts: 331
|
Posted: Fri Nov 22, 2002 2:05 pm Post subject: |
|
|
Have you changed something to your system?
What does your /etc/fstab list? |
|
Back to top |
|
|
eivinn Apprentice
Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Fri Nov 22, 2002 3:43 pm Post subject: |
|
|
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
Is it possible to mirror with an NFS mount instead? |
|
Back to top |
|
|
soulwarrior Guru
Joined: 21 Oct 2002 Posts: 331
|
Posted: Fri Nov 22, 2002 3:53 pm Post subject: |
|
|
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 |
|
|
eivinn Apprentice
Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Fri Nov 22, 2002 4:49 pm Post subject: |
|
|
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 |
|
|
rtn Guru
Joined: 15 Nov 2002 Posts: 427
|
Posted: Fri Nov 22, 2002 4:58 pm Post subject: |
|
|
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 |
|
|
eivinn Apprentice
Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Fri Nov 22, 2002 5:31 pm Post subject: |
|
|
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 |
|
|
eivinn Apprentice
Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Sat Nov 23, 2002 10:06 am Post subject: |
|
|
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 |
|
|
|