From owner-freebsd-questions@freebsd.org Wed Mar 30 03:53:19 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF1D6AE2A5D for ; Wed, 30 Mar 2016 03:53:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7A8311E3 for ; Wed, 30 Mar 2016 03:53:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-32-102.dynamic.qsc.de [92.195.32.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 7F0A93CEAA; Wed, 30 Mar 2016 05:53:17 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u2U3rFoh002159; Wed, 30 Mar 2016 05:53:16 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 30 Mar 2016 05:53:15 +0200 From: Polytropon To: danilo.walterino@yahoo.fr Cc: walter via freebsd-questions Subject: Re: partition boot problem Message-Id: <20160330055315.ef7d0497.freebsd@edvax.de> In-Reply-To: <1143004580.3392284.1459280838230.JavaMail.yahoo@mail.yahoo.com> References: <1143004580.3392284.1459280838230.JavaMail.yahoo.ref@mail.yahoo.com> <1143004580.3392284.1459280838230.JavaMail.yahoo@mail.yahoo.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 03:53:20 -0000 On Tue, 29 Mar 2016 19:47:18 +0000 (UTC), walter via freebsd-questions wrote: > Hello ! > Here is the problem I encounter: I recently mounted a freebsd partition > in rw mode by mistake under openbsd and since I can no longer boot freebsd. > I can only mount partition and list files UNDER OpenBSD and that's all. > I tried fsck_ufs without any options (from freebsd livecd) without success > and I can't mount the partition anymore(from freebsd). May be someone meet > the same problem and has solved it.Thanks for any help ! > > message of fsck: > "invalid disklabel, segmentation fault" > > when I try to mount (from freebsd livecd): > "Failed to read ROOTINO directory block 13280 > cannot read blk: 320 > unexpected soft update inconsistency" <=== Strangely I cannot find the error message text you presented. Is this a check from the FreeBSD live system? Which OS version? How has the disk been initialized (MBR or GPT or ZFS)? What exactly did you do (example of commands)? But it looks like this (given the few informations above): There are two steps to do: First is to re-initalize the boot block of the disk (boot0cfg, maybe fdisk -BI), and the partition has to be successfully (!) fsck'd and marked clean (fsck -f). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...