From owner-freebsd-questions Wed Mar 6 23:16:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web14504.mail.yahoo.com (web14504.mail.yahoo.com [216.136.224.67]) by hub.freebsd.org (Postfix) with SMTP id D464F37B404 for ; Wed, 6 Mar 2002 23:16:26 -0800 (PST) Message-ID: <20020307071626.89838.qmail@web14504.mail.yahoo.com> Received: from [66.27.44.129] by web14504.mail.yahoo.com via HTTP; Wed, 06 Mar 2002 23:16:26 PST Date: Wed, 6 Mar 2002 23:16:26 -0800 (PST) From: Ovanes Manucharyan Subject: Hard Disk partition problem To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a major hard disk problem. I let MaxBlast software install its partition manager on my Freebsd drive. I recognized my folly, however, too late. I un-installed MaxBlast. My disk wasn't bootable afterwards. before I used to have ad0s1b ad0s1a / ad0s1e /tmp ad0s1f /usr ad0s1g /var I know I had another partition, perhaps ad0s0 or ad0s2 that had about 8 gigs which I mounted as /usr/local When I boot into the install CD & ran the "live filesystem", this is what the fdisk program (part of /stand/sysinstall) showed me: Offset Size End Name Ptype Desc Subtype F 0 63 62 - 6 unused 0 63 10244407 10149469 ad0s1 1 ext2fs 131 10249470 10450560 26700029 ad0s2 2 extended 5 > 26700030 11970 26711999 - 6 unused 0 > When I went into the slice editor (of /stand/sysinstall), I did not see any slices. here's what the disk looks like on linux with freebsd # start end size fstype a 1 26 25 4.2BSD b 26 58 31 swap c 1 1662 1661 unused e 58 121 63 4.2BSD f 121 376 254 4.2BSD g 376 440 63 4.2BSD SO first, I'm trying to figure out the linux command to mount my freebsd partitions. More importantly, is there anything I can do to turn my disk back into what it was before. I've installed FreeBSD on another disk and i'm thinking of doing this: dd if=/dev/new_disk of=/dev/dead_disk bs=512 count=63 Will this work? If not, what will? How can I make my new FreeBSD system see the disks as slices instead of 2 non-related partitions? 63 10244407 10149469 ad0s1 1 ext2fs 131 10249470 10450560 26700029 ad0s2 2 extended 5 > Ovanes __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message