From owner-freebsd-questions Sun Oct 5 04:20:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA13512 for questions-outgoing; Sun, 5 Oct 1997 04:20:41 -0700 (PDT) Received: from mizar.netflow.es ([194.75.77.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA13505 for ; Sun, 5 Oct 1997 04:20:34 -0700 (PDT) Received: from jon ([194.75.77.201]) by mizar.netflow.es (Netscape Mail Server v2.02) with ESMTP id AAA201 for ; Sun, 5 Oct 1997 13:17:32 +0200 From: jsaenz@netflow.es (Jon Saenz) To: Subject: read-only root filesystem... = disaster? Date: Sun, 5 Oct 1997 11:21:38 +0200 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1157 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <19971005111731334.AAA201@jon> Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hello, there. My root filesystem filled up yesterday {or | and } I had some problems with permissions in /dev directory when trying to make my ZIP disk available to all users to mount and unmount it. I don't exactly know which is the cause of the problem, but my system (FreeBSD 2.2.2) doesn't boot now. After trying some solutions like mounting a minimal 2.2.1 distribution in a SCSI ZIP disc, removing the extra space in the root filesystem, making a Custom installation and Commiting the disklabels/distributions to the hard disk (extracting just a XF86 server which I don't need for my hardware) and some other actions, I have reached to the following status. a) My system refuses to boot. b) I only have the 2.2.1 CD-ROM distribution, because the 2.2.2 CD-ROM distribution was not mine :-(. The booting process shows the following output (#My comments inside hashes#): #The startup kernel is MY kernel, and it loads OK. My SCSI devices are correctly recognized and loaded at the LUNs I have assigned to them. It seems that all works OK up to this point.....# npx0: INT 16 interface swapon: adding /dev/wd0s2b as swap device #It's really my swap device!# Automatic reboot in progress... /dev/rwd0a: clean, 20990 free (62 frags, 2616 blocks, 0.2% fragmentation) # My root partition WAS /dev/wd0s2a # /dev/rwd0s2g: clean, 990073 free (433 frags, 123705 blocks, 0.0% fragm..)#/home # /dev/rwd0s2f: clean, 120069 free (4517 frags, 14444 blocks, 0.6% fragm..)#/usr# /dev/rwd0s2e: clean, 27989 free (117 frags, 3484 blocks, 0.9% fragm...) #/var# fstab: /etc/fstab:0: Permission denied. # Here start the problems... # mount can't find fstab entry for /. # /etc/fstab HAS a / entry! I can cat /etc/fstab and it is there!# Filesystem mount failed, startup aborted Enter pathname of shell or RETURN for sh: When typing RETURN, sh starts and when I type df, I get the following answer: Filesystem 512-blocks Used Avail Capacity Mounted on root_device 67742 25762 36562 41% / I am NOT allowed to: 1. edit files 2. sh MAKEDEV 3. mounting other disks 4. writing disklabel files to root filesystem nor .... writing any single bit to the disk, because the answer is always the same: read-only filesystem ==================== I am quite ashamed to explain this, but, of course, I have no fixit floppy, I didn't prepare a boot floppy, I have not the FreeBSD 2.2.2 CD-ROMs and, as usual, I have some files in the system that I want to recover. I do really know that you can flame me by this, but... I can accept to be flamed if I get a solution ;-) Is there any possibility to recover these files under the previously quoted constraints? Which? Thanks in advance! *************************************************************** * Jon Saenz |jsaenz@netflow.es * * Barrio de la Cruz 5, 3D |jsaenz@lcpxbi.wm.lc.ehu.es * * 48006 - Bilbao |wdpsaagj@lg.ehu.es * ***************************************************************