LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-07-2006, 09:56 PM   #1
rovitotv
Member
 
Registered: Jan 2003
Location: Dayton, Ohio
Distribution: Slackware 10.2
Posts: 116

Rep: Reputation: 15
Partition Problems: Bad primary partition 1: logical partitions overlap


I am not sure how I screwed up my partitions but I did somehow. It all started when I wanted to expand some of my partitions so I put in my Partition Magic 8.0 CD in the drive and rebooted my machine. When Partition Magic started it had some error and asked me if I wanted to repair it, I said yes. That was the start of my problem. Partition Magic reports the second hard drive /dev/hdb as "Bad". When I run cfdisk /dev/hdb it gives me the following error "FATAL ERROR: Bad primary partition 1: logical partitions overlap". The system works it boots linux just fine and everything works but I can't change my partitions. Any ideas on how to fix it? I could reinstall. Thanks.
 
Old 01-07-2006, 10:47 PM   #2
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
PM8 will give that message often when u use anything but ext2,ext3,or swap for linux partions. If u allow an O.S. to use,for example, RFS, Linux will see the partion as ok but PM8 and XP or W2X/W98 will show your errors. PM8 cant fix RFS partitions. If u want to erase the error, use Mepis or Kanotix live cd's or your Linux's qtparted or gparted to format the RFS partn. as ext3 or to delete the partn then let PM8 create the linux partions.
I use PM8 to create my Linux partions and now get no more similar errors. Good luck. A live-cd can be a good friend.
 
Old 01-07-2006, 10:58 PM   #3
rovitotv
Member
 
Registered: Jan 2003
Location: Dayton, Ohio
Distribution: Slackware 10.2
Posts: 116

Original Poster
Rep: Reputation: 15
I forgot to mention

I forgot to mention I am using ext2.
 
Old 01-07-2006, 11:46 PM   #4
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
since we know you have an error or 2 with your logical partitions I concur with lestoil that as you have nothing to lose....use a linux live cd such as kanotix.....(I use it all the time) and open a terminal then it is command
su (no need to root password) then run command qtparted then deliberately go to your logical you changed and reduce them then resize them and let it write to the MBR.

2) a completely unasked solution if you have quota or partition full problems is re-install with a fresh 3 primary partition consisting of

a /boot
b / includes your home and usr
c swap file

and you will never have a partition full error but if you have greedy people in your house you will need to enable quota to stop their /home folders getting fat
 
Old 01-08-2006, 03:54 PM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
From what I have seen about 50% of the partition table screw-ups are caused by listening to Partition Magic, believing our disks have errors and then asking PM to screw them for us. The disks never had any problem before!

PM is a Windows product. Just because it can partition a Ext2 or Ext3 partitions and we put our trust in it. If that is the case we clearly ask for it, didn't we?

I had my finger burn by PM too and no thank you I wouldn't let it anywhere near any of my disks.

The partition table can be rebuilt from scratch by first deleting everything entry. You need to have a record of the partition scheme first though.

fdisk program is pretty good because it wouldn't pack in even after cfdisk has refused to have anything to do with the corrupted disk.

I have rebuilt my 60 and 54 partitions hda and hdc about half a dozen times without the loss of any data.
 
Old 01-08-2006, 05:10 PM   #6
lestoil
Member
 
Registered: Apr 2004
Location: new york
Distribution: win2k,ubuntu,sw13,arch,centos5.3
Posts: 815

Rep: Reputation: 31
Pm8

saikee we need to remember that original poster uses,as I,PM8.
(Live-cd/Rescue-cds can help.)
But I remember allowing sarge and mepis to format and setup partions with ext3 and mandrake,xandros with RSF and the above error messages arose. That is why I setup linux partitions with PM8 with aid of their extensive manual. No more errors in yrs.
And haven't had to use fdisk or cfdisk. Guess I'm chicken to use them after losing 2 expensive HDs in past. Thanx.
 
Old 01-08-2006, 06:55 PM   #7
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Every hard disk I have in the 4 PCs is condemned by Partition Magic, regardless if it is an IDE or a Sata, Ext3, Ext2 or Reiserfs filing systems I use.

I have a total of 4 disks in my main box with a total of 144 partitions gradually filling up with all type of systems. Every time I run PM it wants to fix the errors in my disks. It took me a good few months to build up over 100 systems and publish my findings in a couple of threads. The disks are always reported perfect in any Linux program Qtparted, cfdisk, fdisk, sfdisk, Diskdruid , Yast and even Grub. There were no errors reported by Solaris and the 6 BSDs I installed either.

Somehow I don't believe PM, as a Windows-based software is qualified to comment on a LInux disk. For a start we can have 63 partitions in an IDE disk and I don't think PM has an alphabet system to cope with it.

It is a well established fact the PM's advices can corrupt Linux hard disks. I have picked up this tips from various forums as well as being a victim before.

Last edited by saikee; 01-08-2006 at 06:58 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
logical partition to a primary one britcoms9 Linux - Newbie 4 01-20-2008 06:46 PM
Primary, Logical or Extended partition? mrpc_cambodia Linux - General 3 09-12-2004 11:10 PM
make logical partition primary SharpyWarpy Linux - General 2 06-01-2003 08:15 AM
Primary or Logical partition ? infernal Linux - Software 3 10-16-2001 05:16 PM
logical or primary partition Socrates Linux - Software 1 02-25-2001 03:50 AM


All times are GMT -5. The time now is 09:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration