LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   need partition to end on cylinder boundary (http://www.linuxquestions.org/questions/linux-general-1/need-partition-to-end-on-cylinder-boundary-411323/)

Master of Reality 02-03-2006 03:08 PM

need partition to end on cylinder boundary
 
My fifth partition does not end on a cylinder boundary. This is causing me some problems with partitioners other than fdisk and sfdisk. Is there some way to make the partition end on a cylinder boundary. It is a fat logical partition inside an extended partition.

amosf 02-03-2006 04:25 PM

Yeah. Partition magic might not like that. But I wouldn't think it would worry any linux partition tools? What does qtpart or gpart think about it? Maybe do a resize to fix...

pixellany 02-03-2006 04:26 PM

I think fdisk will do this, but I have not personally tried it.

Open fdisk /dev/yourdriveid
type "x" and then "p"

You will now see the partitions in the full CHS format. I believe this can all be changed.

Obviously--proceed with caution and backup first.

amosf 02-03-2006 04:37 PM

I think that would be 'risky' with fdisk IMO...

pixellany 02-03-2006 04:50 PM

Quote:

Originally Posted by amosf
I think that would be 'risky' with fdisk IMO...

I think it will be risky with ANY utility--n'est-ce pas??

BACKUP!!

amosf 02-03-2006 10:51 PM

Yeah, but gpart/qtpart is designed to resize (and move some types of) partitions without losing data. fdisk is designed to create and delete partitions with no regard to the data (and tends to lose it)...


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