Searching an Invisble Partition?

Searching an Invisble Partition?

Post by W. Watso » Wed, 12 Nov 2003 21:35:49


I had a parition in W2000 at the end of my second HD about 2G in size I used for Linux.
For a much too long history of how it got changed to unallocated, but that's what it is
now, unallocated, according to PM 8.0. W2000 shows it as free space. If I use fdisk in
Linux, fdisk doesn't see the partition at all. I would like to somehow designate it as a
linux partition by changing the contents as little as possible, so that I can mount it in
hopes of seeing what's there. Short of that, and maybe better, I would like to scan the
former partition for the occurence of text like "somepgrm.c" and see if any of the old
source files out there still exist. Even better would be to find the "somepgrm.c" as an
entry pointing to the actual source, so that I could retrieve it. Comments?

I found a program called hexdump on a bootable linux cd, but it puts out so much output,
it's useless for the above. Perhaps there is a utility in linux of the sort I mention
above for retrieving the source data.
--
Wayne T. Watson (121.015 Deg. W, 39.262 Deg. N, 2,701 feet, Nevada City, CA)
-- GMT-8 hr std. time, RJ Rcvr 398' 0" N, 1211' 0" W

"Why do you do it? ... You can't win. Why do you persist?", Mr. Smith (The virus)
"Because I choose to.", Neo (Mr. Anderson. The anomaly)
-- The Matrix (movie) Revolution

Web Page<
sierra_mtnview -at- earthlink -dot- net
Imaginarium Museum<
 
 
 

Searching an Invisble Partition?

Post by mjt » Wed, 12 Nov 2003 22:37:46


cant pm 8.0 mark it as a Linux type partition? you might
also use 'parted' from gnu.org

another Linux 'fdisk' hack to see those partitions to to
execute it as in the following:
# fdisk -l /dev/hd*
.
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
Children seldom misquote you. In fact, they usually repeat
word for word what you shouldn't have said.

 
 
 

Searching an Invisble Partition?

Post by W. Watso » Thu, 13 Nov 2003 00:01:20

Thanks. Unfortunately, PM 8.0 doesn't seem capable of marking the partition without doing
a create. I have no real idea of what create does, but it sounds more than just setting a
flag. I think older versions of PM did a simple mark. I'll check out parted, and fdisk -1.





--
Wayne T. Watson (121.015 Deg. W, 39.262 Deg. N, 2,701 feet, Nevada City, CA)
-- GMT-8 hr std. time, RJ Rcvr 39?8' 0" N, 121?1' 0" W

"Why do you do it? ... You can't win. Why do you persist?", Mr. Smith (The virus)
"Because I choose to.", Neo (Mr. Anderson. The anomaly)
-- The Matrix (movie) Revolution

Web Page: <home.earthlink.net/~mtnviews>
sierra_mtnview -at- earthlink -dot- net
Imaginarium Museum: <home.earthlink.net/~mtnviews/imaginarium.html>
 
 
 

Searching an Invisble Partition?

Post by Eric Moor » Thu, 13 Nov 2003 01:05:36

> I had a parition in W2000 at the end of my second HD about 2G in size I

show `fdisk -l`


creat a partition in its place. linux fdisk changes as little as
possible. If you use sfdisk, you can even make a backup of the sectors
that are changed, so you can restore afterwards. sfdisk takes some
getting used to though.


dd the content of the last two Gig into a file, and use strings on it?
or use mc to peek around in it.


creating a partition in the place, with linux. At least then you are sure
it isn't formatted in the background for your convenience.


besides that I suspect it makes a hexadecimal dump, ie converting the
actual hexadecimal values into their string representations. (A guess, I
don't know hexdump) so 0x41 becomes "41" instead of "A". Not very usefull
for searching text I'd say. Use the strings command for that.


mc is easier, but working on the entire HDD is probably slow. That is why
I advise to copy the data you want to search into a file, and search that.

Eric