Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 03-13-2011, 06:01 PM   #1
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Rep: Reputation: 17
Lost partition table, "does not end on cylinder boundary"

Hello all. While trying to get Grub working on my computer, I accidentially overwrote the partition table. Luckily I did a fdisk -l and copied the information before I did anything. The problem is that the first partition "does not end on cylinder boundary" so when I recreated the partition info using fdisk, partition 2 doesn't start in the right place and cannot be read. I have some pretty valuable data on there and I can't afford to lose it. Is there a way to create a partition that doesn't start on a cylinder boundary?
Old 03-13-2011, 06:11 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
You could try using testdisk. It is available in several rescue distributions of Linux such as the System Rescue CD. See my signature for the URL.
1 members found this post helpful.
Old 03-13-2011, 07:06 PM   #3
Senior Member
Registered: Sep 2004
Distribution: slackware
Posts: 1,973

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Originally Posted by kinetic View Post
Is there a way to create a partition that doesn't start on a cylinder boundary?
I'm sorry, I'm not sure how to recover from this problem without losing data, but I can tell you what causes it: Using different partitioning tools to manage your partitions.

The problem you're experiencing is caused by using Microsoft's partitioning tools and then modifying your partitions with something else.

Microsoft's method of setting partitions must be very different from everyone else's. For this reason, I always use GNU fdisk from a Slackware installation disc to partition my drives, or manage/modify them. It doesn't matter what OS I'm going to install, or which filesystems I'm going to use, this is always the first step whenever I install new drives.
Old 03-13-2011, 10:02 PM   #4
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,057

Rep: Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916Reputation: 1916
I hate to admit to this, but it ain't (only) M$ofts fault.
Various changes to Linux tools also exposes issues. Changes in defaults from cylinder to {mega|giga}-byte allocation for example. Allocations with one can make a mess if restored with a different version for example.

As suggested, testdisk is the answer generally.



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
Partition 1 does not end on cylinder boundary.,why is this? cola Linux - Newbie 3 01-29-2010 08:32 AM
Partition 1 does not end on cylinder boundary wood_morris Linux - Newbie 6 08-28-2009 05:57 AM
Partition 1 does not end on cylinder boundary. Galaxy_Stranger Fedora 22 08-24-2009 01:55 AM
Partition does not end on cylinder boundary. snisheeth Linux - Hardware 0 01-24-2004 05:49 PM
Partition does not end on cylinder boundary snisheeth Linux - General 0 01-22-2004 08:38 PM

All times are GMT -5. The time now is 07:12 PM.

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