Help with fdisk please

Grant Morphett grant at
Thu Mar 28 12:07:57 EST 2002

Errr, last time I checked into this moving/resizing partitions was a risky
business.  PM worked - 90% of the time but if it failed then you lost everything.
 Not acceptable in my view.  There was a gnu tool to do it as well (its name
escapes me) but I believe it was still experimental.

Personally I would just create new file systems in the two "gaps" you have (Cyls
225-352, 634-789) and then either mount stuff there that will fit or move some
directories accross and then sym link.  I personally sym link my ~/docs directory
to my Win32 parition.  This way my documents are available in any OS I am

I agree with Kim and would suggest you use cfdisk to do it.  Its a little more
user friendly.


On Thu, 28 Mar 2002 09:08:26 +1100 Kim Holburn scribbled:

>Unless I've missed something you've got two free chunks.  Wouldn't it be better
>to use a program that can move your partitions around and add the extra chunks
>on to the partition you want?  There must be a linux program that can do that
>otherwise you could use Partition magic.
>At 10:51 PM +0900 02/3/27,
>=?ISO-2022-JP?B?GyRCJSIlcyVIJUshPBsoQiAbJEIlOSVGJSQlORsoQg==?= aka. Tony
>wrote:>I am running out of space on one of my machines,  I *think* I have
>more>room on this hard drive, but I havent used fdisk much and I don't want
>to>lose any data.  Can someone>please tell me if I have any room left that I can
>make another partition>with.  Do I have some space from Block 633(4?) to 789? 
>If indeed I have some>room left, how do I go about makingthis partition.
>>Thanks for the help
>>[root at localhost /root]# df -h
>>Filesystem            Size  Used Avail Use% Mounted on
>>/dev/hda7             1.2G  835M  286M  75% /
>>/dev/hda5              53M  4.9M   45M  10% /boot
>>/dev/hda6             988M  540M  398M  58% /home
>>/dev/hda1             1.6G  1.5G  157M  91% /mnt/win
>>[root at localhost /root]# fdisk /dev/hda
>>Command (m for help): p
>>Disk /dev/hda: 255 heads, 63 sectors, 789 cylinders
>>Units = cylinders of 16065 * 512 bytes
>>   Device Boot    Start       End    Blocks   Id  System
>>/dev/hda1   *         1       204   1638598+   b  Win95 FAT32
>>/dev/hda2           205       217    104422+  82  Linux swap
>>/dev/hda3           218       789   4594590    5  Extended
>>/dev/hda5   *       218       224     56196   83  Linux
>>/dev/hda6           353       480   1028128+  83  Linux
>>/dev/hda7           481       633   1228941   83  Linux
>>Command (m for help):
>Kim Holburn  Network Consultant  Ph: +61 2 61258620 M: +61 0417820641
>Email: kim.holburn at - PGP Public Key on request
>Life is complex - It has real and imaginary parts.
>     Andrea Leistra (rec.arts.sf.written.Robert-jordan)

Grant Morphett
GMORPH CONSULTANTS Pty Ltd - Solutions Outside the Square
tel : +61 (0) 421 325348
fax : +1 309 4164790

More information about the linux mailing list