Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jan 1996 00:13:31 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        kuku@gilberto.physik.rwth-aachen.de (Christoph P. Kukulies)
Cc:        freebsd-hackers@freefall.freebsd.org
Subject:   Re: advice needed to recover a FS/disk
Message-ID:  <199601102313.AAA07733@uriah.heep.sax.de>
In-Reply-To: <199601100939.KAA01990@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at Jan 10, 96 10:39:08 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Christoph P. Kukulies wrote:
> 
> How do I get to the begin of the FS once knowing the
> offset of the disklabel resp. the partition offsets?

j@uriah 159% hd /dev/rsd0 | head -20
0000000  66 ea 08 00 00 00 c0 07   8c c8 8e d8 66 b8 00 10   fê....À..È.Øf¸..
0000010  00 00 8e d0 66 bc f0 ff   00 00 8e c0 80 fa 80 66   ...Ðf¼ðÿ...À.ú.f
0000020  73 11 b2 00 b4 00 cd 13   66 b9 01 00 00 00 b6 00   s.².´.Í.f¹....¶.
0000030  66 eb 4a 66 b8 01 02 00   00 31 db 66 b9 01 00 00   fëJf¸....1Ûf¹...
0000040  00 66 81 e2 ff 00 00 00   cd 13 66 72 43 66 bb be   .f.âÿ...Í.frCf»¾
0000050  01 00 00 66 b9 04 00 00   00 67 26 8a 43 04 3c a5   ...f¹....g&.C.<¥
0000060  66 74 10 66 83 c3 10 66   e2 ef 66 be ce 00 00 00   ft.f.Ã.fâïf¾Î...
0000070  66 eb 23 67 26 8a 73 01   67 26 8b 4b 02 b4 02 b0   fë#g&.s.g&.K.´.°
0000080  0f 31 db cd 13 66 72 08   66 ea 10 04 00 00 00 10   .1ÛÍ.fr.fê......
0000090  66 be c1 00 00 00 66 e8   03 00 00 00 66 eb 1e 66   f¾Á...fè....fë.f
00000a0  50 66 53 66 bb 01 00 00   00 fc ac 3c 00 66 74 07   PfSf»....ü¬<.ft.
00000b0  b4 0e cd 10 66 eb f3 66   5b 66 58 66 c3 f4 66 eb   ´.Í.fëóf[fXfÃôfë
00000c0  fc 52 65 61 64 20 65 72   72 6f 72 0d 0a 00 4e 6f   üRead error...No
00000d0  20 62 6f 6f 74 61 62 6c   65 20 70 61 72 74 69 74    bootable partit
00000e0  69 6f 6e 0d 0a 00 00 00   00 00 00 00 00 00 00 00   ion.............
00000f0  00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00   ................
*
00001e0  00 00 00 00 00 00 00 00   00 00 00 00 00 00 80 00   ................
00001f0  01 00 a5 ff ff ff 00 00   00 00 50 c3 00 00 55 aa   ..¥ÿÿÿ....PÃ..Uª
0000200  57 45 56 82 04 00 00 00   73 74 33 36 35 35 6e 00   WEV.....st3655n.
         ^^ ^^ ^^ ^^                                         ^^^^

The marked bytes are the ``disk magic''.  So it seems that it's 512
bytes behind the start of the disk/slice.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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