LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-19-2009, 07:45 PM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

Rep: Reputation: 16
Debian setup (partman?) shrinks extended partition eliminating free space ?


Hi,

I was installing debian 5.0 and noticed strange behaviour.
I had my partitions prealocated - and left a lot of free space inside extended partition for future data partitions.
So used 'manual' option to partition. After I asociated partitions with mount points and wrote changes to disk I opened another virtual console and checked what happened using fdisk:
The end cylinder of my extended partition was changed ! It was changed that way that it matched end cylinder of last logical partition inside extended partition. Now all my free space is gone - because all free cylinders are 'behind' extended partition.

Is this a bug ?
What should I do to fix my extended partition ?

thanks
Vilius
 
Old 03-19-2009, 08:51 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Quote:
Originally Posted by Vilius View Post
Is this a bug ?
Probably - check the Debian bugzilla (or whatever they use).
Quote:
What should I do to fix my extended partition ?
Any of the partitioning tools will allow you to delete and reallocate the extended - doesn't affect the underlying logicals so long as you get the start correct. The gparted liveCD will do it (most) easily for you.
 
Old 03-20-2009, 02:10 AM   #3
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

Original Poster
Rep: Reputation: 16
Possible to recreate extended partition not affecting logical partitions using fdisk ?
 
  


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
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 12:57 PM
can't partition free space from shrunken partition john_b Linux - Newbie 7 01-14-2006 04:43 AM
Partition Free Space - Move /home to the new partition gregkise Linux - General 5 12-16-2003 10:19 PM
is windows extended partion free space visible to linux fdisk purplesky Linux - General 1 11-12-2002 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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