Find the answer to your Linux question:
Results 1 to 3 of 3
When I installed *nix, I created the following partitions: / swap /home /windows (dual boot box) I apparently gave '/' wayyyy to much space /home not enough. With my music ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2006
    Posts
    8

    Question Managing diskspace - folder on another h.d.?


    When I installed *nix, I created the following partitions:

    /
    swap
    /home
    /windows (dual boot box)

    I apparently gave '/' wayyyy to much space /home not enough. With my music collection, am now running out of space on /home and need help. I would like to put a folder in /home, that actually resides on the / partition. Is this possible? if so, how ?

    Thanks in advance.

  2. #2
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,043
    Try creating required folder on the root partition, set permissions/ownership using chown and chmod, then use ln to link from your home folder ...
    Code:
    man chown chmod ln
    for details

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    If you have an spare partition, all you need to to is to mount it wherever you want.

    First, locate your partition using fdisk -l, or gparted or whatever tool you prefer. Triple check that it's the right partition if you need to format it or you might regret it later.

    Once you have it formated you can add a line for it in /etc/fstab and mount it at, let's say, /home/new2nix/music/ (the directory must exist).

Posting Permissions

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