Announcement

Collapse
No announcement yet.

root and home directory in different folder or partition [SOLVED]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    root and home directory in different folder or partition [SOLVED]

    First post so sorry if covered b4

    I just saw this subject mentioned briefly in
    http://kubuntuforums.net/forums/inde...opic=3084519.0

    how do I do this??

    which is the better way? separate folders or separate partitions?

    my home directory is currently under root or / (i checked already)

    thanks

    #2
    Re: root and home directory in different folder or partition

    Here's a good tutorial:

    http://www.psychocats.net/ubuntu/partitioning

    If your system is already set up ... ummmmm, what would you think about re-installing, after partitioning the drive again?

    :P

    Comment


      #3
      Re: root and home directory in different folder or partition

      # Moving "Home"
      # Moving "Root"

      Comment


        #4
        Re: root and home directory in different folder or partition

        hi dibl

        thanks for the info. I followed the link and understand all the info

        got no problem with a re-install as i'm still looking at this OS but haven't done everything yet and have no data on here (everything else is backed up already!!)

        if i re-install how does the new install find the home on the other partition and use it?
        do i need to do anything during or after the new install?

        i also heard windows stuff like partition magic can make problems so i guess i need to use gparted?


        update:
        UnicornRider: got your reply and looked at it too. I've got nothing to lose so i think a re-install maybe easier as I still have to create/change partition sizes but i still need to move it anyway right?

        --------

        anymore advice before i go for it?

        thanks davidjmayo

        Comment


          #5
          Re: root and home directory in different folder or partition

          Originally posted by davidjmayo
          if i re-install how does the new install find the home on the other partition and use it?
          eh? Perhaps I wasn't clear -- I proposed the "nuclear option" -- download and burn a GParted Live CD from here: http://sourceforge.net/project/showf...kage_id=173828

          Then follow the guidance in the Psychocats site to make 3 partitions on your hard drive:

          "/" = 10GB (set the "bootable" flag on this one)
          "/{swap}" = 1GB
          "/home" = all the rest of it

          Then use your Kubuntu Feisty Alternate Install CD (my favorite) to install your system on the partitioned drive. Use the "guided partitioning" to select the mount points and format the partitions, either ext3 or reiserfs, except swap which is it's own unique format.

          anymore advice before i go for it?
          UnicornRider provided a more elegant, and non-destructive approach to get to your goal of separating the "system" (i.e. / and its system directories) from "home" (i.e. /home/david, where your data will reside).

          HTH

          Comment


            #6
            Re: root and home directory in different folder or partition

            I still have to re-partition anyway so going for the "nuclear" approach

            ..and yes UnicornRider's instructions are very clear (I'm not worried about using CLI) but it says I need root access which i haven't messed with yet and I think I have to setup a password so by the time i figure everything out it's better to nuke
            out of interest would
            sudo command
            work before those commands?

            Comment


              #7
              Re: root and home directory in different folder or partition

              Yes, in (K)(X)Ubuntu, the user known in unix as "root" is known as "Super User" and operates by using "sudo" before a command, and in the case of KDE applications, you use "kdesu". For example
              Code:
              kdesu kate
              runs the nice little GUI text editor in Super User mode, and
              Code:
              kdesu konqueror
              runs the browser/file manager in Super User mode.

              Comment


                #8
                Re: root and home directory in different folder or partition [SOLVED]

                I didn't move home in the end - just created a data partition which is probably all I need

                thanks for the help

                Comment

                Working...
                X