re: HELP!! Slice info disappeared

1999-07-15 Thread Kazukiyo UEDA

Hello Niall and Josef,

Thanks for your great help.  

Finally I get all data on the disk back after the struggle on the
weekend :) I run the program you sent me, but I got nothing from it.
I guess the reason as follows:

(1) The program fetches each chunks of 16 blocks from the disk and
check if they are superblocks.

(2) My disk is sliced into 3 parts.  The fist one is for MS-DOS (FAT
format), and the rest of them are FFS.  It's highly possible that the
offset block of the beginning of FFS slice is not a multiple of 16.

(3) So I did:

# for i in 0 1 2 3 ... 15; do
# ./findsb /dev/wd2 $[ (estimated end of block for FAT slice)*512 + $i*512 ]
# done

After I got the info from the superblocks, getting back data was easy.
Again, thanks much for your great help.  You saved a lot of my time to
reconstruct the data from scratch.

Sincerely yours,

--
Kazukiyo Ueda

From: Josef Karthauser [EMAIL PROTECTED]
Subject: re: HELP!! Slice info disappeared
Date: Fri, 9 Jul 1999 10:01:16 +0100

 Hi Kazukiyo,
 
 This is certainly possible.  I've enclosed a hack from Niall Smart that should
 generated enough information to for you to reconstruct it.   I'm working on a
 general solution to this for inclusion FreeBSD as shipped, but it's at home
 and I'm at work, that said it's Niall's basic code saved my harddisk a few weeks
 ago :)
 
 Joe
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



re: HELP!! Slice info disappeared

1999-07-15 Thread Kazukiyo UEDA
Hello Niall and Josef,

Thanks for your great help.  

Finally I get all data on the disk back after the struggle on the
weekend :) I run the program you sent me, but I got nothing from it.
I guess the reason as follows:

(1) The program fetches each chunks of 16 blocks from the disk and
check if they are superblocks.

(2) My disk is sliced into 3 parts.  The fist one is for MS-DOS (FAT
format), and the rest of them are FFS.  It's highly possible that the
offset block of the beginning of FFS slice is not a multiple of 16.

(3) So I did:

# for i in 0 1 2 3 ... 15; do
# ./findsb /dev/wd2 $[ (estimated end of block for FAT slice)*512 + $i*512 ]
# done

After I got the info from the superblocks, getting back data was easy.
Again, thanks much for your great help.  You saved a lot of my time to
reconstruct the data from scratch.

Sincerely yours,

--
Kazukiyo Ueda

From: Josef Karthauser j...@pavilion.net
Subject: re: HELP!! Slice info disappeared
Date: Fri, 9 Jul 1999 10:01:16 +0100

 Hi Kazukiyo,
 
 This is certainly possible.  I've enclosed a hack from Niall Smart that should
 generated enough information to for you to reconstruct it.   I'm working on a
 general solution to this for inclusion FreeBSD as shipped, but it's at home
 and I'm at work, that said it's Niall's basic code saved my harddisk a few 
 weeks
 ago :)
 
 Joe
 


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message



HELP!! Slice info disappeared

1999-07-08 Thread Kazukiyo UEDA
Hi hackers,

I need your helps, please.  I have two IDE drives.  They have two
slices for FreeBSD and Windows on each.  Last night I tried to install
Windows 95 on the first IDE drive where FreeBSD 3.1.0-Stable has
installed.  I executed fdisk program on MS-DOS and created an active
slice to make it C: on the first drive.  I successfully installed
windows, and then rebooted FreeBSD.  It's the beginning of my
nightmare.  On the boot time, kernel said there were no disklabel on
the second IDE drive or something like that (sorry, I was so in panic
that I didn't write them down on paper), and the system fall into
single user mode.  I checked the information for slices written on the
second IDE, but it was almost the same as the first one.  That is,
each slices on second IDE have the same size on the first one.  I
didn't know what happened but I guess fdisk program changed the slice
info not only for first IDE, but also the second one.  I suppose (or
wish) that the only slice information on the second IDE was
overwritten, and the data on the second IDE are still there without
any changes.  Is there any way to retrieve the slice info?  Any help
is much appreciated.

Thanks in advance,

--
Kazukiyo UEDA


To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-hackers in the body of the message