Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Sep 2006 01:12:19 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        RW <list-freebsd-2004@morbius.sent.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting Linux Procfs at Boot
Message-ID:  <14480764@srv.sem.ipt.ru>
In-Reply-To: <200608312131.34848.list-freebsd-2004@morbius.sent.com> (RW's message of "Thu, 31 Aug 2006 21:31:33 %2B0100")
References:  <200608302124.21833.list-freebsd-2004@morbius.sent.com> <200608311544.40586.list-freebsd-2004@morbius.sent.com> <37691525@srv.sem.ipt.ru> <200608312131.34848.list-freebsd-2004@morbius.sent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 31 Aug 2006 21:31:33 +0100 RW wrote:
> On Thursday 31 August 2006 16:26, Boris Samorodov wrote:
> > On Thu, 31 Aug 2006 15:44:39 +0100 RW wrote:
> > > On Thursday 31 August 2006 10:09, Boris Samorodov wrote:
> > > > On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote:

> > > but it's complaining that /compat/linux
> >
> > Who? Can you provide us with some more info? Any logs?

> I don't know how to get the logs written to disk,  the startup process aborts 
> before /var is mounted.

> I see the output from "fsck -p -F" , it then says:

>    mount: /usr/compat: no such file or directory
>    mounting /etc/fstab filesytems failed, startup aborted

> I'm then given the prompt to pick a shell.

Oh, you should say it at the very first letter!

> Avoiding the symlink by using /usr/compat/linux/proc still causes a failure. 
> However, if I use a mountpoint on the root partition it mounts correctly. 

> > And show us your /etc/fstab, please.

> fstab is below, 

> -------------------------------------------------------------------------------------
> $ cat /etc/fstab.f
> # Device                Mountpoint      FStype  Options         Dump    Pass#
> /dev/ad4s1b.bde         none            swap    sw              0       0
> /dev/ad6s1b.bde         none            swap    sw              0       0

> proc                    /proc           procfs  rw              0       0

> linprocfs     /compat/linux/proc      linprocfs  rw        0       0

Move this line down and place it after mounting of /usr.

> /dev/ad4s1a             /               ufs     rw              1       1
> /dev/ad4s1g             /home           ufs     rw              2       2
> /dev/ad4s1e             /tmp            ufs     rw              2       2
> /dev/ad4s1f             /usr            ufs     rw              2       2
> /dev/ad4s1d             /var            ufs     rw              2       2
> /dev/acd0               /dvdrw          cd9660  ro,noauto       0       0
> /dev/acd1               /dvd            cd9660  ro,noauto       0       0

> /dev/ad6s1d             /data          ufs     rw              2       2

> /dev/ad0s2a             /old            ufs     rw              2       2
> /dev/ad0s2g             /old/home       ufs     rw              2       2
> /dev/ad0s2d             /old/var        ufs     rw              2       2
> /dev/ad0s2f             /old/usr        ufs     rw              2       2


> /dev/ad0s1              /dos/c          msdos   rw              0       0
> /dev/da0s1              /mnt/cam        msdos   rw,noauto       0       0


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14480764>