-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2007-02-28 at 09:55 +0100, Daniel Bauer wrote:
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:
Thanks :-)
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
Ah?
Partition 1 has different physical/logical beginnings (non-Linux?): phys=(0, 0, 1) logical=(0, 1, 1)
Ough!
as you see, the disk seems really messed up...
Yes... My guess here would be the compatibility jumper in the drive, it limits the size to 8GB, I think. But reading the rest, I changed my mind.
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...
Ajá! Then my guess is definitely the bios is hosed. You have to reset it, somehow, then autodetect the drive, and see if things changes. I think the bios is informing the kernel of the wrong disk geometry and size. If you haven't written anything to the disk, repairing the bios settings should solve it all, with luck.
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:
Yes, too bad. But doesn't matter, if it is the bios. Another thing could be the cable.
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...
I don't think the drive is the problem, though. You could boot with a rescue CD, then dd through the network. But first, try resetting the bios. I don't know how to do that in laptops, other people here might know. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFF5WfptTMYHG2NR9URAv/6AJ96MTEohMZ3bkOCTJE+ihYTjHOUTACfcgZ3 DwBRlZOVdqksDERwTgLIRo4= =4jI+ -----END PGP SIGNATURE-----