LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-19-2004, 08:09 PM   #1
Superme
Member
 
Registered: Jul 2004
Location: Smiths Falls Ontario (near ottawa [our capital])
Distribution: slackware 9.1, redhat 9.0, PHLAK, SuSE 9.0Pro windows XP (HEAVILY MODIFIED)
Posts: 111

Rep: Reputation: 15
Exclamation CFDISK error


My hard drive recently was "eaten" by a program in windows but lets not go there

i need to reinstall windows and linux but when i put in the slackware9.1 cd and enter cfdisk it says "bad primary partition, partition begins after end-of-disk" can anyone help?

ive tried reformatting the drive under ntfs and fat32 but it still comes up as the same error even the dos version of fdisk gives me an error and i cant make a new partition or anything HELP ME THIS IS URGENT
 
Old 10-20-2004, 12:17 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You just have a corrupted partition table or there is no existing partition table. You can try to use gpart to figure out where the partitions are and use parted to write the partition table. You can change partitions as many times you want. It should not screw up the data because it is just soft data store at a certain location on the hard drive. If you do not care about your data, as su or root type "dd if=/dev/zero of=/dev/hda bs=512 count=1". cfdisk will complain. Just hit the key that it says to continue. You can then make partitions.
 
Old 10-20-2004, 03:00 PM   #3
Superme
Member
 
Registered: Jul 2004
Location: Smiths Falls Ontario (near ottawa [our capital])
Distribution: slackware 9.1, redhat 9.0, PHLAK, SuSE 9.0Pro windows XP (HEAVILY MODIFIED)
Posts: 111

Original Poster
Rep: Reputation: 15
thanx a lot il try that and i hope it works cuz i really need a computer
no i dont care about whats on the drive cuz ive formated it multiple times now and all i want is to partition it
thanks alot
 
Old 10-20-2004, 03:09 PM   #4
Superme
Member
 
Registered: Jul 2004
Location: Smiths Falls Ontario (near ottawa [our capital])
Distribution: slackware 9.1, redhat 9.0, PHLAK, SuSE 9.0Pro windows XP (HEAVILY MODIFIED)
Posts: 111

Original Poster
Rep: Reputation: 15
OMG thanks so much it worked and i was almost gonna take it to a proffesionall thanks so much you saved me like 200$
 
  


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
cfdisk error athanatos Linux - Newbie 5 02-11-2005 10:35 PM
Error in cfdisk? Cant partition! bobthebear Linux - General 6 07-05-2004 09:14 AM
While trying to use cfdisk I get this error.... EThitop Linux - Newbie 3 05-08-2004 08:46 PM
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 - Hardware

All times are GMT -5. The time now is 01:58 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