LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-02-2002, 07:31 PM   #1
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
Bad Cylinder Number


It's not the first time I post about it but the last time I get not reply the last time...

I have a problem with my hard drive. I found it when i opened Partition Magic few month ago... It says something about Bad cylinder number.
With fdisk, I can see exactly what's the problem ; my partition are suppose to end at cylinder 254 but end at 239 (bad translation error???)

Is there are any ways to fix it without losing data? I dont want to format my hd (again) but it's really bad to loose 1.2 gig.


Here is the print of fdisk :
Disk /dev/hda: 255 heads, 63 sectors, 2498 cylinders
Units = cylinders of 16065 * 512 bytes


Device Boot Start End Blocks Id System
/dev/hda1 1 957 7680928+ 83 Linux native
Partition 1 does not end on cylinder boundary:
phys=(1015, 239, 63) should be (1015, 254, 63)

Device Boot Start End Blocks Id System
/dev/hda2 957 1072 922320 82 Linux swap
Partition 2 does not end on cylinder boundary:
phys=(1023, 239, 63) should be (1023, 254, 63)

Device Boot Start End Blocks Id System
/dev/hda3 1072 2498 11460960 f Win95 Ext'd (LBA)
Partition 3 does not end on cylinder boundary:
phys=(1023, 239, 63) should be (1023, 254, 63)

Device Boot Start End Blocks Id System
/dev/hda5 1072 1710 5125648+ 83 Linux native

Device Boot Start End Blocks Id System
/dev/hda6 1710 2498 6335248+ 83 Linux native


Thanx
 
Old 05-03-2002, 03:49 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Try to use parted and resize the partition to the right size. I'm not sure about this method.. I've never seen something like this. Parted may just refuse to do this, but it's worth it to try.
 
  


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
Bootsplash and Bad Magic Number raid517 Linux - Software 3 10-21-2005 08:55 AM
bad magic number in superblock crazynachos Linux - Newbie 1 04-14-2004 02:09 AM
Bad Magic Number joseph Linux - Software 1 01-05-2004 03:22 AM
Bad Magic Number? Thewyzewun Linux - General 17 10-19-2003 05:59 PM
Bad Head/Cylinder/Sector? Half_Elf Linux - General 3 03-26-2002 08:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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