LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 10-30-2010, 04:53 PM   #1
ewsmith
Member
 
Registered: Oct 2010
Location: Weesatche, Texas
Distribution: Slackware
Posts: 72

Rep: Reputation: 7
cfdisk fatal error - bad primary partition


I got me slackware dvd booted and was able to log in as root (before installation).

I typed in cfdisk to turn my free space (in the middle of the disk) into some logical partitions. When cfdisk ran it only said:
FATAL ERROR: Bad primary partition 2: Partition ends in the final partial cylind[it get cut off, but i assume it was supposed to be cylinder]
Press any key to exit.

Is there some way to fix/bypass this?
What does that message really mean (in human)?
 
Old 10-30-2010, 05:09 PM   #2
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
You might try downloading GParted, and using that to boot and partition your disk. It's a very nice GUI partition tool and may help you out. You can also resize existing partitions with it. Just make sure you know what you're doing and don't kill a partition.

Is the partition that gave the error in use? Be careful that you don't delete a partition that holds any data.
 
Old 10-30-2010, 05:11 PM   #3
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
I'm not at all sure of this, but it may mean no more than that cfdisk is only seeing your DVD, not the hard disk. Try typing fdisk -l . This should see at least something like /dev/sda. You could then try cfdisk /dev/sda

Edit: Crossed with the post above. Yes, Gparted is good and it's a bit easier to see what's going on.

Last edited by impert; 10-30-2010 at 05:13 PM.
 
Old 10-30-2010, 05:13 PM   #4
ewsmith
Member
 
Registered: Oct 2010
Location: Weesatche, Texas
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 7
@udaman: I have used GParted before. I have limited bandwidth, so I'll download it at the earliest convenience.

@impert: I will try that and post the info.
I ran the command. It showed some messages that said that the physical and logical starts and ends of the logical partitions (didn't know they were there o.o) of the first partition were different.

That mean anything to anyone? If so, please tell me.


EDIT: is there some way for me to turn off the emoticons in my post? (I can't find it)

Last edited by ewsmith; 10-30-2010 at 05:41 PM.
 
Old 10-31-2010, 11:21 AM   #5
trxdraxon
Member
 
Registered: Jan 2006
Location: Command Line
Distribution: Slackware, MacOS
Posts: 75
Blog Entries: 1

Rep: Reputation: Disabled
Do you have windows 7 installed on that hard drive? cfdisk has issues with the way 7 partitions drives. fdisk works just fine as well as gparted.
 
Old 10-31-2010, 01:01 PM   #6
ewsmith
Member
 
Registered: Oct 2010
Location: Weesatche, Texas
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 7
Yes. I have Windows 7.
Is there some tut on using fdisk (cli newbie here)?
Never mind. I found one.

Last edited by ewsmith; 10-31-2010 at 01:09 PM.
 
Old 10-31-2010, 01:31 PM   #7
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
You may be better to download Parted Magic and use that... on the live CD is Gparted but also a utility(testdisc) to check your partition table and rewrite it if necessary... and a media player so you can have music while you work + other very useful tools. !
 
Old 10-31-2010, 03:21 PM   #8
ewsmith
Member
 
Registered: Oct 2010
Location: Weesatche, Texas
Distribution: Slackware
Posts: 72

Original Poster
Rep: Reputation: 7
Thank you, everyone. I have just successfully installed Slackware(x32) 13.1

The only problem is it can't see my wireless card.
But this isn't the place to discuss that.


I will get the GParted live cd/usb and Parted Magic live cd and see which one I like more.
From the screen shots, it looks like Parted Magic might win.
 
Old 10-31-2010, 03:34 PM   #9
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 189

Rep: Reputation: 39
Quote:
Originally Posted by ewsmith View Post
Thank you, everyone. I have just successfully installed Slackware(x32) 13.1
Congrats on the success. You're on your way to becoming a Linux guru. Enjoy!
 
  


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
Bad primary partition cccc Debian 6 08-08-2009 09:38 PM
Partition Problems: Bad primary partition 1: logical partitions overlap rovitotv Slackware 6 01-08-2006 06:55 PM
Fatal error when cfdisk reads partition table on 160GB disk glasisch Linux - Newbie 1 05-22-2005 10:44 AM
CFDISK problem, FATAL ERROR Eradicator Linux - Newbie 9 10-28-2003 10:34 AM
cfdisk - Fatal Error IceGrill Linux - Newbie 3 11-03-2002 02:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 03:19 PM.

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