Messed up my partition
Anish Mistry
mistry.7 at osu.edu
Sat Oct 23 07:50:14 PDT 2004
On Saturday 23 October 2004 03:14 am, you wrote:
> Anish Mistry wrote:
> >On Friday 22 October 2004 02:55 pm, Erik Udo wrote:
> >>My boot loader wansn't working properly and i didn't find my 5.2.1
> >>install cd, so i grabbed 4.4(or is that 4.6) install cd, and chose fdisk,
> >>marked the freebsd partition bootable(S), and wrote changes.
> >
> >You should be able to use gpart on a bootable cd (Freesbie or knoppix) to
> >recover the partition table.
>
> I had gpart running all night, it didn't find my slices.
>
> I made my partition exactly the way it was, and mounted /dev/ad0s3,
> it worked! i got my data back. But the slice was missing.
> So do you have any idea how to recover a lost slice?
> I tried scan_ffs but it gave me input/output error :(
> Scan_ffs seemed to work fine first, and i was thinking about sending big
> thanks to
> the one who wrote that, but no...
Well scan_ffs would have been my suggestion. When I used it last to recover a
completely hosed FreeBSD partition table it worked like a dream. Just want
to check your terminology since scan_ffs only recovers FreeBSD partition
info:
DISK
SLICE1 (FreeBSD)
Partition a
Partition b
etc...
SLICE2 (Windows)
NTFS
SLICE3 (Linux)
ext3
SLICE4
So are you saying scan_ffs can't rebuild your FreeBSD partitions or that gpart
wasn't able to recover a slice?
--
Anish Mistry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041023/ecd9d22a/attachment.bin
More information about the freebsd-hackers
mailing list