[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: repairing a ntfs partition with fdisk?



On Sun, 2002-09-01 at 06:49, Jaye Inabnit ke6sls wrote:
> I am sorry to jump into this late since I didn't see your original post, 
> *but* I just did an install here on my laptop that had Win-xp on it.
> 
> I looked at Gnu/Parted and Randish(sp) for partition resize tools, but 
> neither looked promising for the NTFS type.  I decided on Partition Magic 7 
> which did the job.
> 
> Next, I did a base install and booted.  That is when the error occurred 
> locally, and the hard drive wouldn't boot *anything*.  After I booted off my 
> Woody-cd1 (in rescue mode), my brother found that when I used cfdisk, I had 
> made both win-xp & Linux partitions bootable.  He simply toggled the boot 
> switch on the Linux partition, wrote the data, and suddenly I was able to 
> boot into Lilo from the hard drive.
> 
> If you made the same mistake as me, then perhaps this might help you solve 
> your problem.

Thanks, but that would be too easy in my case I guess ;)

But I give it a shot ....:

--------------------------------------------------------

root@ringwraith:/ >fdisk -l /dev/hda

Disk /dev/hda: 240 heads, 63 sectors, 1559 cylinders
Units = cylinders of 15120 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      1355  10243768+   7  HPFS/NTFS
/dev/hda2          1356      1525   1285200    f  Win95 Ext'd (LBA)
/dev/hda3          1526      1553    211680   82  Linux swap
/dev/hda5          1356      1525   1285168+  83  Linux

--------------------------------------------------------

No, still in the same state it was before the accident. But thanks
anyway, it was worth checking.

The original post was referring to this problem, I guess I have to fix
this somehow:

--------------------------------------------------------

root@ringwraith:/ >fdisk -l /dev/hda1

Disk /dev/hda1: 240 heads, 63 sectors, 1354 cylinders
Units = cylinders of 15120 * 512 bytes

     Device Boot    Start       End    Blocks   Id  System
/dev/hda1p1   ?       505    112914 849806598+  72  Unknown
Partition 1 does not end on cylinder boundary:
     phys=(361, 105, 45) should be (361, 239, 63)
/dev/hda1p2   ?     92238    140400 364099898   72  Unknown
Partition 2 does not end on cylinder boundary:
     phys=(109, 116, 32) should be (109, 239, 63)
/dev/hda1p3   ?     11097     11097         0   45  Unknown
Partition 3 does not end on cylinder boundary:
     phys=(358, 110, 52) should be (358, 239, 63)
/dev/hda1p4        186982    186985     25947    0  Empty
Partition 4 does not end on cylinder boundary:
     phys=(0, 0, 0) should be (0, 239, 63)

Partition table entries are not in disk order

--------------------------------------------------------

W2k booting stops after a while. before the login screen. But since I
can still access the data after mounting hda1 under linux, it is not
that bad. What really annoys me that I can't play DiabloII or
WarcraftIII anymore ;)

Cheers all, have fun

Matt






Reply to: