Z S B (crucified_ego) wrote in linux,
Z S B
crucified_ego
linux

On my desktop, I have a HD w/ two partitions - /dev/hda1 & /dev/hda5. Apparently, I fscked something up whilst installing / configuring Gentoo, but I can't figure out what. I could boot to /dev/hda1 after the install. I recompiled the kernel (All I did was change SCSI settings; /dev/hda1 would boot before that; I'm pretty sure I didn't do anything else that would mess it up) and can't access the partition at all anymore. I can still get to /dev/hda5 without a problem, so I didn't trash the whole disk. Anyone know of a way I can fix this without losing what was on /dev/hda1?



desktop / # fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 5005 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 650 5221093+ 7 HPFS/NTFS
/dev/hda2 651 5004 34973505 f Win95 Ext'd (LBA)
/dev/hda5 651 5004 34973473+ b Win95 FAT32

desktop / # fdisk -l /dev/hda1

Disk /dev/hda1: 255 heads, 63 sectors, 649 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1p1 ? 13578 119522 850995205 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(368, 111, 45) logical=(13577, 238, 11)
Partition 1 has different physical/logical endings:
phys=(371, 101, 51) logical=(119521, 238, 60)
Partition 1 does not end on cylinder boundary:
phys=(371, 101, 51) should be (371, 254, 63)
/dev/hda1p2 ? 45382 79243 271987362 74 Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(67, 115, 32) logical=(45381, 70, 3)
Partition 2 has different physical/logical endings:
phys=(299, 114, 44) logical=(79242, 34, 29)
Partition 2 does not end on cylinder boundary:
phys=(299, 114, 44) should be (299, 254, 63)
/dev/hda1p3 ? 10499 10499 0 65 Novell Netware 386
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(114, 111, 32) logical=(10498, 56, 41)
Partition 3 has different physical/logical endings:
phys=(353, 115, 52) logical=(10498, 56, 40)
Partition 3 does not end on cylinder boundary:
phys=(353, 115, 52) should be (353, 254, 63)
/dev/hda1p4 167628 167631 25817+ 0 Empty
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(0, 0, 0) logical=(167627, 190, 52)
Partition 4 has different physical/logical endings:
phys=(0, 0, 0) logical=(167630, 245, 26)
Partition 4 does not end on cylinder boundary:
phys=(0, 0, 0) should be (0, 254, 63)

Partition table entries are not in disk order

desktop / # mount /dev/hda1
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems
desktop / #


TIA
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 9 comments