LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-24-2004, 07:52 AM   #1
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Rep: Reputation: 30
Partition Table Problem


I have recently modified the partition table with parted, but now every time i launch cfdisk i obtain something like the following message ( i have translated it in english ):

UNRECOVERABLE ERROR: Logical Partition 6 damaged: superimposition of growed logical partitions.

Press any key to exit

I report also the original italian message.

ERRORE IRREVERSIBILE: Partizione logica danneggiata 6: sovrapposizione delle partizioni logiche ampliate
Premere qualsiasi tasto per uscire da cfdisk

With parted i obtain the following datas:

GNU Parted 1.6.6
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.

Using /dev/hda
Information: The operating system thinks the geometry on /dev/hda is 7299/255/63. Therefore, cylinder 1024
ends at 8032,499M.
(parted) print
Disk geometry for /dev/hda: 0.000-57259,125 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0,031 24999,587 primary ntfs boot
3 24999,587 27046,933 primary
4 27046,934 43002,114 primary ext3
2 43002,114 57255,095 extended lba
6 43002,176 54454,702 logical ext3
5 54454,733 57129,587 logical reiserfs
7 57129,618 57255,095 logical linux-swap
(parted)

And i don't know what's wrong and how can fix it.

Thanx in advance.
 
Old 01-24-2004, 08:22 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Quote:
Disk geometry for /dev/hda: 0.000-57259,125 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0,031 24999,587 primary ntfs boot
3 24999,587 27046,933 primary
4 27046,934 43002,114 primary ext3
2 43002,114 57255,095 extended lba
6 43002,176 54454,702 logical ext3
5 54454,733 57129,587 logical reiserfs
7 57129,618 57255,095 logical linux-swap
(parted)

And i don't know what's wrong and how can fix it.
logical paritition 6 starts before 5.
6 43002 - 54454
5 54454 - 57129

Are you able to mount both 5 and 6 partitions?
Does linux boot at all?
What were you trying to accomplish?

Besides deleting the partitions and reinstalling linux the only other method
would be to use a disk editor and modify the partition information in the extended partition.
 
Old 01-24-2004, 08:29 AM   #3
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Could you post the results of fdisk -l /dev/hda ? ( that's a lower case L )

I'm not sure what I see from what you posted and hope it makes more sense from the fdisk command.
 
Old 01-28-2004, 11:38 AM   #4
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by homey
Could you post the results of fdisk -l /dev/hda ? ( that's a lower case L )

I'm not sure what I see from what you posted and hope it makes more sense from the fdisk command.
Here it is:

Disk /dev/hda: 60.0 GB, 60040544256 bytes
255 heads, 63 sectors/track, 7299 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes

Dispositivo Avvio Inizio Fine Blocchi Id Sistema
/dev/hda1 * 1 3187 25599546 7 HPFS/NTFS
/dev/hda2 5483 7299 14595052+ f Win95 Ext'd (LBA)
/dev/hda3 3188 3448 2096482+ b Win95 FAT32
/dev/hda4 3449 5482 16338105 83 Linux
/dev/hda5 6943 7283 2739051 83 Linux
/dev/hda6 5483 6942 11727387 83 Linux
/dev/hda7 7284 7299 128488+ 82 Linux swap

Partition table entries are not in disk order
 
Old 01-28-2004, 03:56 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
fdisk ouputs the same info as parted which is what I expected.

But you have not answered my questions.
What were you trying to accomplish?
Does linux still boot and does hda5 and hda6 mount correctly?
 
Old 01-30-2004, 04:53 AM   #6
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by michaelk
fdisk ouputs the same info as parted which is what I expected.

But you have not answered my questions.
What were you trying to accomplish?
Does linux still boot and does hda5 and hda6 mount correctly?
Linux still works fine and everything else works fine, but i can't use cfdisk to modify the partition table. That's the problem.
 
Old 01-31-2004, 03:40 AM   #7
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
Quote:
Originally posted by mtb
Here it is:
...
Partition table entries are not in disk order
(occurs when u create the partition placed last on the disk before or in the middle of creating other partitions i.e. not after them all)

if u want to get rid of this, then type
fdisk /dev/hda
press 'x' to go the the expert menu
press m (for help) :P
there's a command for "re-ordering partitions" (or "re-label"). it's either 'f', 'v' or 'r' (sorry, i forgot) but it's clreary described like that so it shouldn't be hard to find. then exit expert mode.
 
Old 01-31-2004, 12:21 PM   #8
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
verified it, the f was right. here are the exact steps:
  • fdisk /dev/hda
    press p to view the partition table. this one will give u the "Partition table entries are not in disk order" message.
    press x to go to expert menu
    press f to fix partition order
    press r to return to the normal menu
    press p to view the new/changed partition table, this time the message shouldn't come.
    press w to write to partition table and exit (or q if u made a mistake and want to discard any changes u made)
(it's better to view the table in the normal menu coz in the expert mode, it gives other details)

Last edited by abs; 01-31-2004 at 12:23 PM.
 
Old 02-03-2004, 11:50 AM   #9
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by abs
verified it, the f was right. here are the exact steps:
  • fdisk /dev/hda
    press p to view the partition table. this one will give u the "Partition table entries are not in disk order" message.
    press x to go to expert menu
    press f to fix partition order
    press r to return to the normal menu
    press p to view the new/changed partition table, this time the message shouldn't come.
    press w to write to partition table and exit (or q if u made a mistake and want to discard any changes u made)
(it's better to view the table in the normal menu coz in the expert mode, it gives other details)
Thank you. I have fixed it, but cfdisk still doesn't work. Here is the fdisk -l /dev/hda output


Disk /dev/hda: 60.0 GB, 60040544256 bytes
255 heads, 63 sectors/track, 7299 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes

Dispositivo Avvio Inizio Fine Blocchi Id Sistema
/dev/hda1 * 1 3187 25599546 7 HPFS/NTFS
/dev/hda2 3188 3232 361462+ e Win95 FAT16 (LBA)
/dev/hda3 3449 4972 12241530 83 Linux
/dev/hda4 5483 7299 14595052+ f Win95 Ext'd (LBA)
/dev/hda5 5483 6942 11727387 83 Linux
/dev/hda6 6943 7283 2739051 83 Linux
/dev/hda7 7284 7299 128488+ 82 Linux swap

[ meanwhile i have changed something ]

The error when i launch cfdisk is the same.

Last edited by mtb; 02-03-2004 at 11:56 AM.
 
Old 02-14-2004, 04:15 AM   #10
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
perhaps parted wrote to the partition table badly due to the ordering. try running it again. if it doesn't give u any messages in the beginning then increase and decrease a partition (maybe the hda5 or 6) just so that it writes the partition table again (and maybe this time it'll do it right).
 
Old 02-23-2004, 01:26 PM   #11
mtb
Member
 
Registered: Nov 2002
Location: Italy
Distribution: Linux Mint 17 Xfce
Posts: 295

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by abs
perhaps parted wrote to the partition table badly due to the ordering. try running it again. if it doesn't give u any messages in the beginning then increase and decrease a partition (maybe the hda5 or 6) just so that it writes the partition table again (and maybe this time it'll do it right).
Thank you A LOT!!!

This time the solutions is the right one .
 
Old 02-25-2004, 12:08 AM   #12
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
Quote:
Originally posted by mtb
Thank you A LOT!!!

This time the solutions is the right one .
lol "this time"? those were steps to the final solution :P

hehe. glad it worked

Last edited by abs; 02-25-2004 at 12:31 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"No partition table or unknown signature on partition table" 10.1 install madcow007 Slackware 4 02-09-2009 11:04 AM
installer says partition table has a problem adamherb Mandriva 10 08-09-2005 10:15 AM
Slack 10: S-ATA = "No partition table or unknown signature on partition table"? dissolved soul Slackware - Installation 11 08-05-2004 02:12 PM
bootloader problem with partition table JDW Linux - General 3 07-19-2004 12:43 PM
Partition table problem with Mandrake 9.2 and Win XP brisemec Linux - Newbie 2 02-09-2004 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration