On Dienstag, 27. Februar 2007, Carlos E. R. wrote:
> If the partition table has been trashed, then /dev/hda1, hda2 etc are
> useless. What I'm interested in is the output of "fdisk -l /dev/hda".

ok, I gave it another try... I was not successful, but as you and some others 
seem to be interested I deliver the asked infos:

here's the output of fdisk -l /dev/hda:
-----
Disk /dev/hda: 8323 MB, 8323080192 bytes
255 heads, 63 sectors/track, 1011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1          66      529985+  82  Linux swap
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 0, 1) logical=(0, 1, 1)
Partition 1 has different physical/logical endings:
     phys=(64, 254, 63) logical=(65, 250, 59)
/dev/hda2   *          66        2432    19004767   83  Linux
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(66, 0, 1) logical=(65, 250, 60)
Partition 2 has different physical/logical endings:
     phys=(1022, 254, 63) logical=(2431, 246, 55)
-----
as you see, the disk seems really messed up...
>
> Does the bios shows the correct size?

I guess this laptop has really seen it's best times a while ago. Now I can't 
access the BIOS anymore, it asks me for a password to access it, but I never 
installed one and had no problems before. So I don't know...
>
> And you don't mention using gpart.

Yes, sorry, I thought you were talking about gparted and just didn't type 
the "ed" :-)

So here's the - disenchanting - output of gpart /dev/hda:
-----
Begin scan...
End scan.

Checking partitions...
Ok.

Guessed primary partition table:
Primary partition(1)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Primary partition(2)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Primary partition(3)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

Primary partition(4)
   type: 000(0x00)(unused)
   size: 0mb #s(0) s(0-0)
   chs:  (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r
----

I was also looking at the website of testdisk, but there it says that the size 
of the disk must be reported correctly to make the tool work successful - and 
that exactly seems to be the problem.

>
> > I was just hoping there was a tool which I can download, burn on a CD,
> > boot with it and save the data on a floppy without the need of
> > knowing/thinking so much :-)
>
> A floppy is way too small! There is dd, of course, it does that, in raw.

Yes, for a whole disk copy of course. As there is no other disk in the laptop 
(and I don't want to put that disk in my perfectly working desktop PC) I have 
no possibility to make such a copy. It would have been great if I could just 
save some files, but well...
>
regards

Daniel

-- 
Daniel Bauer photographer Basel Switzerland
professional photography: http://www.daniel-bauer.com
Madagascar special: http://www.sanic.ch
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to