Find the answer to your Linux question:
Results 1 to 9 of 9
Hi all, I am a newbie to the world of Linux. I have installed Suse 10.2 (64 bit) version on my computer. But I am running out of disk space ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5

    Running out of disk space in Root partition


    Hi all,
    I am a newbie to the world of Linux. I have installed Suse 10.2 (64 bit) version on my computer. But I am running out of disk space in root partition. I have lot of space in the partition where my home directory in present. These 2 partitions are adjacent to each other. Is there any way i can transfer some disk space form my home directory's partition to my root partition?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    df -h
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    /dev/sda9 5.0G 4.7G 56M 99% /
    udev 235M 92K 234M 1% /dev
    /dev/sda10 3.2G 2.1G 895M 71% /home
    /dev/sda1 9.4G 9.3G 90M 100% /windows/C
    /dev/sda5 14G 14G 770M 95% /windows/D
    /dev/sda6 19G 19G 0 100% /windows/E
    /dev/sda7 9.8G 9.8G 4.8M 100% /windows/F

  4. #4
    Linux Guru bigtomrodney's Avatar
    Join Date
    Nov 2004
    Location
    Ireland
    Posts
    6,133
    Check your /tmp directory, you may be able to delete some unneeded or old files from there.

  5. #5
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    Not of much use.
    Could free only some 20 MB of disk space by deleting tmp files.
    Anyway Thanks for the suggestion.

    regards,
    Bharath.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    What is in /dev/sda8 partition? Execute fdisk -l command and post output here.
    You can shrink /dev/sda8 and/or /dev/sda10 and assign free space to /dev/sda9. Download Gparted or PartedMagic LiveCDs.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    Thanks for replying all of you.
    @ devil_casper: When I tried to execute "fdisk -l" I got "bash: fdisk: command not found" error. I don't know why.
    Anyway I solved this problem by freeing up some space in my windows partitions. Added this space to my Linux partitions. And then reinstalled Suse Linux, mounting my / (root) as well as /home (home) directories on same drive of 10GB size. Now i have lot of free space in this drive.
    There might be better ways of doing this, as "devils_casper" was suggesting, using qtparted, or partedmagic or Gparted, As a rookie I found the above step easier.

    Thanking you all once again,
    arbk

  8. #8
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,104
    You need to be root to run fdisk

    type
    su
    then you root password (note the password will not echo to the screen)
    press enter then you are running as root.

    As long as you did not have important stuff on those partitions how you did it was fine.

  9. #9
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Bit of an odd place to post

    ... why don't you use the Partedmagic live CD to resize partitions ? ... links given by devils casper in post #6.

Posting Permissions

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