Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I have installed linux on my pc... which has two separate hard disks. Here is what i get when i do df -h. Filesystem Mounted on /dev/sda8 20% ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    1

    Linux Installation


    Hi all,
    I have installed linux on my pc... which has two separate hard disks.

    Here is what i get when i do df -h.

    Filesystem Mounted on
    /dev/sda8 20% /
    /dev/sda1 5% /boot
    /dev/sda6 13% /home
    /dev/sda7 2% /tmp
    /dev/sda3 25% /usr
    /dev/sda2 16% /usr/local
    /dev/sda9 62 % /var
    none 1.5G 0 1.5G 0% /dev/shm

    Now what i am wondering is while i was partitioning, there was an extra 1.5 G that was not used at all. I was wondering if there was any way for me to put that to use (say into /usr/local)

    Thanks in advance
    Dorje

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,882
    What does 'fdisk -l /dev/sda' show? If you're using (as I suspect) 3 primary partitions for data and one to encapsulate an extended partition, and the free space is outside the extended partition, then you cant use it without some kind of partition manager (e.g. qtparted) to change your extended partition to include it.

    If, on the other hand, the space is inside your extended partition, then you have no problems, you can easily go ahead and create a new partition with the space. You may still want to use a partition manger to include the space on a different partition, though.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •