From owner-freebsd-questions@FreeBSD.ORG Sat Jul 12 17:55:17 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 404A737B40B for ; Sat, 12 Jul 2003 17:55:17 -0700 (PDT) Received: from imul.math.uni.lodz.pl (imul.math.uni.lodz.pl [212.191.65.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A35F43F3F for ; Sat, 12 Jul 2003 17:55:16 -0700 (PDT) (envelope-from mg@fork.pl) Received: from localhost (localhost.math.uni.lodz.pl [127.0.0.1]) 742D524E5 for ; Sun, 13 Jul 2003 02:56:26 +0200 (CEST) Received: from by localhost (amavisd-new, port ) id 8dqudiHZ for ; Sun, 13 Jul 2003 02:56:25 +0200 (CEST) Received: from fork.pl (imul.math.uni.lodz.pl [212.191.65.2]) 99D4423CF for ; Sun, 13 Jul 2003 02:56:25 +0200 (CEST) Message-ID: <3F10AE01.7010003@fork.pl> Date: Sun, 13 Jul 2003 02:55:29 +0200 From: Marcin Gryszkalis Organization: fork.pl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, pl MIME-Version: 1.0 To: Freebsd Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at math.uni.lodz.pl Subject: partition recovery 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: Sun, 13 Jul 2003 00:55:17 -0000 Hi I have a problem with UFS partition (I can't access it). I'll tell you the story: there was windows 2000 [ ntfs ] I made some place for FreeBSD [ ntfs ][ ufs=ad0s2 ] I created slices [ ntfs ][( s2a )( s2b )... ] after some time I removed win2000 - and just did newfs on first partition (no repartitioning, no slices - only newfs) [ ufs=ad0s1 ][( s2a )( s2b )... ] after some time I wanted to install debian GNU/Linux (this is test-box) [ ufs=ad0s1=hda1 ][swap=hda2][ext2=hda3] and here something bad happened during installation (few reboots/kernel panics and so on) Now I cannot mount ad01s/hda1 partition - - linux sees it as NTFS partition, more - it CAN mount it as NTFS (and I can even see some windows files!) - freebsd can see it as UFS but cannot mount ('bad magic number' or bad superblock), using backup superblock (-b 32) doesn't work. What can I do to recover data from the first partition??? regards -- Marcin Gryszkalis http://fork.pl <><