From owner-freebsd-questions@FreeBSD.ORG Sat May 10 15:01:46 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEF0337B401 for ; Sat, 10 May 2003 15:01:46 -0700 (PDT) Received: from dns1.vizion2000.net (dns1.vizion2000.net [64.58.171.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF5843FBD for ; Sat, 10 May 2003 15:01:46 -0700 (PDT) (envelope-from vizion@ixpres.com) Received: from vizion (vizion.vizion2000.net [64.58.171.92]) by dns1.vizion2000.net (8.11.6/8.11.6) with SMTP id h4AMaHb37403 for ; Sat, 10 May 2003 15:36:18 -0700 (PDT) (envelope-from vizion@ixpres.com) Message-ID: <00bf01c3173b$ca0ced60$15b55042@vizion2000.net> From: "vizion communication" To: Date: Sat, 10 May 2003 14:33:02 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: How to ignore device on fstab on boot? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2003 22:01:47 -0000 Hi I have a raid system on a compaq which is arranged as three disks. idad1 idad2 idad3 idad3 has one slice /dev/idad3s1 which normally mounts /xyz. /xyz does not hold any data needed at boot time. /dev/idad3s1e is in the fstab file but due to missing superblocks will not mount at boot time - (I inadevertently trashed it so it lost all copies of the superblock). In consequence the system does not boot into multi-user to enable me to newfs /dev/idads1e! The boot fails with fsck naturally being unable to recover. What I need to do is persuade the system to boot without trying to mount /dev/idad3s1e. However when fsck fails in single user mode I am unable to edit the fstab file and remove the entry as the file system remains read only. If I try to newfs from single user /dev/idad3s1e I get report 'e' partition is unavailable.. If I try and use the disk label editor by booting from the freebsd 4.7 install disk to newfs from there the label editor refuses to newfs just that disk because a root partition has not been defined. I know there is a simple solution -- I know I have done it b4 -- but I cannot remember how!!! David