lost my proc file system

lost my proc file system

Post by Angus Marc » Fri, 17 May 2002 04:39:56



What are the issues for moving an entire system to another hdd? I
tried that, and copied all the files using... whatever it was they
recommended (something like "cp -dpR"?) , then fought with lilo for a
while, but now when I start up I get "mount point proc does not
exist", and it goes into a maintenance login prompt. The only
interesting thing in my fstab is:
none    /proc   proc    default 0 0
What could have happened to the proc file system? So far the only
answer I've gotten to that was a bunch of twaddle from some disturbed
Dutch dork.
--
        Angus March
          VE2 UFP
Concordia University Amateur Radio

http://www.ece.concordia.ca/~ac_march/addr.html (very frivolous)
 
 
 

lost my proc file system

Post by Lew Pitch » Fri, 17 May 2002 04:47:37


On Wed, 15 May 2002 15:39:56 -0400, Angus March


>What are the issues for moving an entire system to another hdd? I
>tried that, and copied all the files using... whatever it was they
>recommended (something like "cp -dpR"?) , then fought with lilo for a
>while, but now when I start up I get "mount point proc does not
>exist", and it goes into a maintenance login prompt. The only
>interesting thing in my fstab is:
>none        /proc   proc    default 0 0
>What could have happened to the proc file system? So far the only
>answer I've gotten to that was a bunch of twaddle from some disturbed
>Dutch dork.

Well, the files and directories under /proc don't really exist. They are
created on-the-fly by the kernel, in response to your I/O requests.

Of course, the /proc mount point has to exist, procfs support has to be
compiled into the kernel, and you need the proper /etc/fstab entry (yours,
btw, looks a bit bogus; the option should be "defaults", not "default").

Since you copied your filesystem from one device to another, I'd suspect
that the copy process fouled up your target directory structure (likely by
not copying the /proc mountpoint).

Take a look; do you _have_ a /proc? Is it empty (when the procfs isn't
mounted)? What permissions does it have? What user and group is it assigned
to?

Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank Financial Group

(Opinions expressed are my own, not my employer's.)

 
 
 

lost my proc file system

Post by ynotsso » Fri, 17 May 2002 05:02:47



Quote:

> What are the issues for moving an entire system to another hdd? I
> tried that, and copied all the files using... whatever it was they
> recommended (something like "cp -dpR"?) , then fought with lilo for a
> while, but now when I start up I get "mount point proc does not
> exist", and it goes into a maintenance login prompt. The only
> interesting thing in my fstab is:
> none /proc proc default 0 0
> What could have happened to the proc file system? So far the only
> answer I've gotten to that was a bunch of twaddle from some disturbed
> Dutch dork.

The /proc filesystem is only an illusion; the mount point was not created.

At the maintenance prompt:

# mkdir /proc; chown root:root /proc; chmod 0555 /proc; exit

and things should be OK.

              tony

 
 
 

lost my proc file system

Post by Angus Marc » Fri, 17 May 2002 10:07:41


It was a dark and stormy night when "ynotssor" <ynotssorAT hotmaildot

Quote:

>The /proc filesystem is only an illusion; the mount point was not created.

>At the maintenance prompt:

># mkdir /proc; chown root:root /proc; chmod 0555 /proc; exit

        Yep. That must have been it. I think when I was copying the
files, I took the /proc directory for granted, since it didn't contain
any files permanently stored anywhere, which I knew full well. Thanks.
--
        Angus March
          VE2 UFP
Concordia University Amateur Radio

http://www.ece.concordia.ca/~ac_march/addr.html (very frivolous)