Announcement

Collapse
No announcement yet.

migrating from ubuntu to kubuntu

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

    migrating from ubuntu to kubuntu

    Hi as many noobs out here im migrating from ubuntu... i used to have my laptop dualbooting win 7 and ubuntu ,withing ubuntu i had 2 partitions one for the sistem "/" and one for /home/.... the thing is that i downloaded kubuntu 11.10 64bit "live cd" and boot it then i proced to do the instalation and when i reach the part in wich i have to choose where to install it i pic custom or something like that. next i choosed to only install the "/" in the parttition where it used to be the old ubuntu "/". called sda5 or something like that.
    it all went great, but now i have like 2 home folders or something ...i realise that the new instalation never got the notice that i allready have an old /home/ partition.
    So the question cames here... how do i make my old /home/ became my new one? wich is in another partition.
    sorry for my english* i think its a bit understandable but if you need anymore info feel free to ask me.

    #2
    Re: migrating from ubuntu to kubuntu

    you would add a line to /etc/fstab pointing to the location of the old /home .

    BUT I don't think I would do that as the old home will contain Ubuntu/gnome/unity configs in it and may cause quirks.

    you can though link the old Music,Documents,ect,ect to the current /home .

    which way would you like to go?

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Re: migrating from ubuntu to kubuntu

      ohh i see..thanks but i also forgot to mention my previus so was ubuntu 10.10* XD does it changes something?

      Comment


        #4
        Re: migrating from ubuntu to kubuntu

        any noob in the same situtation?

        Comment


          #5
          Re: migrating from ubuntu to kubuntu

          I'm not sure what the problem is?

          Do

          Code:
          cat /etc/fstab
          and copy and paste the result here.

          .

          Comment


            #6
            Re: migrating from ubuntu to kubuntu

            the problem is that i want to use my old home directory.but its in a direferent partition



            # /etc/fstab: static file system information.
            #
            # Use 'blkid' to print the universally unique identifier for a
            # device; this may be used with UUID= as a more robust way to name devices
            # that works even if disks are added and removed. See fstab(5).
            #
            # <file system> <mount point> <type> <options> <dump> <pass>
            proc /proc proc nodev,noexec,nosuid 0 0
            # / was on /dev/sda5 during installation
            UUID=ade15ea4-ebc4-4b34-ad46-de4a9db7650b / ext4 errors=remount-ro 0 1
            # swap was on /dev/sda6 during installation
            UUID=e3ce1280-9b8e-4b97-bb19-8a835203c6e6 none swap sw 0 0

            Comment


              #7
              Re: migrating from ubuntu to kubuntu

              OK, looks like you forgot to do "Use this partition" for your /home during installation. So you will need to add an entry for it in /etc/fstab so that it's mounted correctly at boot.

              Also run

              Code:
              df -h
              and
              Code:
              sudo fdisk -l
              so that we can see your partition layout

              .

              Comment


                #8
                Re: migrating from ubuntu to kubuntu

                df -h

                Filesystem Size Used Avail Use% Mounted on
                /dev/sda5 12G 4,5G 6,9G 40% /
                udev 1,9G 4,0K 1,9G 1% /dev
                tmpfs 765M 840K 765M 1% /run
                none 5,0M 0 5,0M 0% /run/lock
                none 1,9G 2,1M 1,9G 1% /run/shm
                /dev/sda7 285G 166G 105G 62% /media/c1d67e6b-c235-48ba-aa35-779241795423



                sudo fdisk -l

                Disk /dev/sda: 500.1 GB, 500107862016 bytes
                255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
                Units = sectors of 1 * 512 = 512 bytes
                Sector size (logical/physical): 512 bytes / 512 bytes
                I/O size (minimum/optimal): 512 bytes / 512 bytes
                Disk identifier: 0xebf54992

                Device Boot Start End Blocks Id System
                /dev/sda1 63 208844 104391 de Dell Utility
                /dev/sda2 * 208896 30928895 15360000 7 HPFS/NTFS/exFAT
                /dev/sda3 30928896 256208895 112640000 7 HPFS/NTFS/exFAT
                /dev/sda4 256210942 976771071 360280065 5 Extended
                /dev/sda5 256210944 281618431 12703744 83 Linux
                /dev/sda6 281620480 297248767 7814144 82 Linux swap / Solaris
                /dev/sda7 297250816 902721535 302735360 83 Linux
                /dev/sda8 902723584 976771071 37023744 7 HPFS/NTFS/exFAT



                im dual booting with win7 and sda7 use to be my old home... it used to be mounted by Ubuntu 10.10 not kubuntu

                Comment


                  #9
                  Re: migrating from ubuntu to kubuntu

                  OK let's get the UUID for /dev/sda7

                  do

                  Code:
                  sudo blkid /dev/sda7
                  Once you get that, open up /etc/fstab for editing

                  kdesudo kate /etc/fstab

                  and add this line to the end of the file

                  Code:
                  UUID= /home      ext4  defaults    0    2
                  You just need to add the UUID and make sure you have the right file type - ext3 or ext4 or whatever (see your contents of /etc/fstab in your previous post if you're confused).

                  .

                  Comment

                  Working...
                  X