HD problem - Linux

Discussion in 'Windows Desktop Systems' started by luish, May 29, 2004.

  1. luish

    luish OSNN Senior Addict

    Messages:
    429
    Location:
    Israel
    I installed linux in an old HD with linux file system and then i formatted it but some parts on the hd were not good, broken or something...

    someone told that is because Linux changes the MBR...

    I tried to format and create new partitions via the XP disk managment but it still doesn't work...

    Is there another program or way to fix this?

    Thank you!
     
  2. Reg

    Reg eXperienced!

    Messages:
    639
    Location:
    Arlington, TX
    You will not be able to create new partitions using a Windows disk. The file systems are not the same. Why don't you try zeroing your drive. Most Linux disks include a rescue console mode. If your disk does, run

    Code:
    dd if=/dev/zero of=/dev/hdx count=1
    or

    Code:
    dd if=/dev/urandom of=/dev/hdx count=5
    The first code zeros the entire drive (replace hdx with your drive. If it's the first device, hda. If it's the second device, hdb, etc).

    The second code randomizes your parition tables. If you run that, your computer will think that the drive is bare, even though it may still have data. Thus, you will be able to rewrite on it without problems.
     
  3. luish

    luish OSNN Senior Addict

    Messages:
    429
    Location:
    Israel
    I don't have linux anymore..
    so what I did is with Partition Magic 8, convert it all to linux then back to fat32, so i solved the problem, ty!