Results 1 to 8 of 8

Thread: Repairing of corrupt partition table

Hybrid View

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    Upper Bavaria
    Posts
    3

    Repairing of corrupt partition table

    Hi there,

    I used cfdisk to make the parttitions for Knoppix-Installation. I have one 40GB HD, 20 GB for existing XP, 19,5 for Knoppix and 500 MB for Swap.

    The problem came up when I wrote the table with cfdisk. It used another geometry (cylinders, heads, sectors). I realized it when I tried to modify Lilo and it told me about the different data in BIOS and partition table.

    I then started again cfdisk and it shows me wrong infos. I also tried to remove the two linux partition and make new ones with qtparted, but the table seems to be still incorrect.

    What can I do to repair my partition table?

    Norman

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Try this utility which comes with knoppix:
    1)
    Open konsole
    su
    testdisk

    Make sure you make some reading first : http://www.cgsecurity.org/index.html?testdisk.html

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    cfdisk is not supposed to be affected, but there's a known problem when using (qt)parted under linux2.6: http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html

  4. #4
    Junior Member
    Join Date
    Aug 2004
    Location
    Upper Bavaria
    Posts
    3
    Thanks,

    I tried Testdisk. After changing the geometry to the real values, Testdisk told me a diskspace of 8 GB instead of 40 GB. Therefore I refused to write the new partition table.

    Meanwhile I tried to change geometry with linux fdisk. But the error message was, that fdisk can not change the geometry till it is in use. The problem is, I have in this notebook only one harddisk and one CD-ROM. If I boot Knoppix from CD harddisk is in use too.

    XP and Knoppix from HD are running at the moment without error messages related to this issue.

    I hope this wouldn't change.

    Norman

  5. #5
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    There are a couple of other utilities worth looking into. gpart and sfdisk, see the manual pages for details.

    You might try booting your knoppix cd to a non graphic environment:
    Code:
    knoppix2 noswap
    the 2 will bring uo a simple command line interface and the noswap should prevent the mounting of the hard drive.

    HTH

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Portland, OR USA
    Posts
    568
    Quote Originally Posted by NormanBates
    Meanwhile I tried to change geometry with linux fdisk. But the error message was, that fdisk can not change the geometry till it is in use. The problem is, I have in this notebook only one harddisk and one CD-ROM. If I boot Knoppix from CD harddisk is in use too.
    Probably because it's autodetecting and using your swap file. You can tell it not to by using the "noswap" cheatcode.

  7. #7
    Senior Member registered user
    Join Date
    Oct 2003
    Location
    N42.41 W73 and change
    Posts
    401
    oops, in the knoppix 2 code note, that a space should be between knoppix and 2 .

  8. #8
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    My comment:

    Don't panic. Nothing to worry about, since you can boot Xp and knoppix flawlessly.

    It is normal for cfdisk and and qtparted reported your harddisk geometry is wrong or what ever. Linux read geometry differently compared to your bios.

    Lucky for you, you didn't run that test utility and try to fix it, or else you willl lost all your data.

Similar Threads

  1. Mandrake rescue partition table
    By adamherb in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 08-06-2005, 03:24 PM
  2. What is wrong with my partition table?
    By yonatan in forum Hardware & Booting
    Replies: 9
    Last Post: 02-17-2005, 02:00 AM
  3. partition table recovery software
    By baldyeti in forum General Support
    Replies: 1
    Last Post: 11-21-2004, 05:06 PM
  4. Repairing hard-drive partition with knoppix
    By egancs in forum General Support
    Replies: 5
    Last Post: 11-19-2003, 01:18 AM
  5. Partition table change in linboot.img
    By Canis in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 11-13-2003, 07:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


E5-2699V4 Intel Xeon Processor  55M Cache, 2.20 GHz SR2JS CM8066002022506 picture

E5-2699V4 Intel Xeon Processor 55M Cache, 2.20 GHz SR2JS CM8066002022506

$155.00



DELL PRECISION 7520 15.6” Xeon E3-3.0GHz 64GB RAM 512GB SSD +1TB HDD picture

DELL PRECISION 7520 15.6” Xeon E3-3.0GHz 64GB RAM 512GB SSD +1TB HDD

$375.00



HP Z440 Workstation Xeon E5-1603 v4 QC 2.80GHz CPU 32GB RAM Quadro K2200 picture

HP Z440 Workstation Xeon E5-1603 v4 QC 2.80GHz CPU 32GB RAM Quadro K2200

$79.99



Dell T7810 Workstation 1x E5-2603 v3 16GB RAM Nvidia QUADRO +cables picture

Dell T7810 Workstation 1x E5-2603 v3 16GB RAM Nvidia QUADRO +cables

$120.00



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor

$3.38



Intel Xeon Gold 6148 SR3B6 2.40Ghz LGA 3647 20-Core Server CPU Processor. picture

Intel Xeon Gold 6148 SR3B6 2.40Ghz LGA 3647 20-Core Server CPU Processor.

$79.99



Intel Xeon E5-2640v4 2.4GHz 10-Core 25MB 90W SR2NZ picture

Intel Xeon E5-2640v4 2.4GHz 10-Core 25MB 90W SR2NZ

$5.45



Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor picture

Intel Xeon E5-2667 V2 LGA 2011 3.3GHz 8 Core 130W 25MB 8GT/s CPU Processor

$14.99



Matched pair Intel Xeon E5-2667v4 SR2P5 3.20GHz, 8 core, 25MB Processors LGA2011 picture

Matched pair Intel Xeon E5-2667v4 SR2P5 3.20GHz, 8 core, 25MB Processors LGA2011

$62.95



Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU picture

Intel Xeon E5-2667 V4 SR2P5 (3.2GHZ/8-CORE/25MB/135W) PROCESSOR CPU

$29.89