Dont have your character set, so cant reply to you

>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
>
>Tony
>
>
>[root@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@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
>
Space here between 225 and 352

>
>/dev/hda6           353       480   1028128+  83  Linux
>/dev/hda7           481       633   1228941   83  Linux
>
Space here as well between 634 and 789

>
>
>Command (m for help): 
>
To do this:
    a) Start fdisk
    b) Select 'n' for new partition
    c) Select logical partition
    d) Enter start & end cylinders as requested
    e) Select 'p' to display (as you did above) and take note of the new 
partition numbers
    f) Select 'w' for write.

(You may have to reboot after this)

then type mkfs /dev/hdaX, where X is the new partition number (make sure 
you get this right)

Create your new mount point  (eg mkdir /newdisk
then you can mount the partition:  mount /dev/hda/   /newdisk

Regards,

Andy E.

>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to