Re: Messed up my partition

2004-10-22 Thread Erik Udo
Seems like that test i pasted from sysinstall's fdisk is messy,
here is the output of fdisk:
koti# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=395136 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=395136 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 63, size 41929587 (20473 Meg), flag 80 (active)
   beg: cyl 0/ head 1/ sector 1;
   end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
   start 41929650, size 20964825 (10236 Meg), flag 0
   beg: cyl 1023/ head 255/ sector 63;
   end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 62894475, size 205540980 (100361 Meg), flag 0
   beg: cyl 1023/ head 255/ sector 63;
   end: cyl 1023/ head 85/ sector 15
The data for partition 4 is:

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Messed up my partition

2004-10-22 Thread Erik Udo
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.
I didn't notice that it had made my about 150GB partition as
100GB(ad0s3) and 60GB(unused) partitions.
After that i haven't touched the partitions.
I had one slice on that partition and i think it is dirty, i accidently
pressed the reset instead of the power button.
So i heard in  [EMAIL PROTECTED] that i could retrieve the data on that
partition by modifying the partition table(like the beginning and the 
end of the partition).
I dont know any probrams that could do this, or how to use them.

Here is some information about my HD:
-200GB maxtor
Offset   Size(MB)End Name  PType   Desc  Subtype
Flags  

0  0 62- 12 unused0
   63  20473   41929649ad0s1  8freebsd  
165 
 4192965010236   62894474ad0s2  7fat   12
 62894475 100361  268435454ad0s3  8freebsd  165
268435455  63409  398297087-12 unused0

And please, answer me. this is rather important. I'll answer any 
questions as soon as i can.
Any help is greatly appreciated.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"