Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2002 14:43:55 -0800 (PST)
From:      Ovanes Manucharyan <ovanes_m@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Hard disk partition problem
Message-ID:  <20020309224355.4058.qmail@web14504.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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 <swap> 
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 fdisk

# 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       






__________________________________________________
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-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020309224355.4058.qmail>