Announcement

Collapse
No announcement yet.

[SOLVED]How do I link Primary to logical Partitions

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

    #46
    Re: How do I link Primary to logical Partitions

    yes Kubuntu is still using the sda5 for your /home .................this is a good thing and I would leave it .

    do you want to leave it as is and just link the Ubuntu's /home/you DIR's you mentioned to the one's in your Kubuntu /home.

    you will have access to them from both and whatever gets DL'ed to one of the Ubuntu's /home/you DIR's will go to the linked DIR's on sda5....yes/no/different idea ?

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

    Comment


      #47
      Re: How do I link Primary to logical Partitions

      Originally posted by vinnywright
      yes Kubuntu is still using the sda5 for your /home .................this is a good thing and I would leave it .

      do you want to leave it as is and just link the Ubuntu's /home/you DIR's you mentioned to the one's in your Kubuntu /home.

      you will have access to them from both and whatever gets DL'ed to one of the Ubuntu's /home/you DIR's will go to the linked DIR's on sda5....yes/no/different idea ?

      VINNY
      The simple answer is yes, this is what I started the thread about but I got myself all mixed up along the way

      I want to link [if that is the correct term] sda3 /home/music /home/Documents and /home/Pictures to sda5
      Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

      Comment


        #48
        Re: How do I link Primary to logical Partitions

        OK go back to Ubuntu and play with your vid driver and get that right then when your done you will ....from in Ubuntu

        Code:
        sudo mkdir /mnt/sda5
        sda5 can be any name you want I used sda5 so you emediatly recogniz it and thats what it will be ......sda5 mounted in a directory named sda5.

        now open the /etc/fstab as root with gedit
        Code:
        gksudo gedit /etc/fstab
        and add this line
        UUID=2a065d80-b9f8-4e5b-9101-ee353f766466 /mnt/sda5 ext4 defaults 0 0
        so the file looks like this....

        # /etc/fstab: static file system information.
        #
        # Use 'blkid -o value -s UUID' 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/sda3 during installation
        UUID=17e0f0ca-e19a-4d64-a5bb-a1bc7d0798c6 / ext4 errors=remount-ro 0 1

        UUID=2a065d80-b9f8-4e5b-9101-ee353f766466 /etc/sda5 ext4 defaults 0 0

        # swap was on /dev/sda1 during installation
        UUID=4709b0a7-9d40-4558-a02a-4eae32d1f224 none swap sw 0 0
        save and close gedit .....go back to a terminall and
        Code:
        sudo mount -a
        now go to places>home folder nautilus will open in your /home folder .....press F3 and it will/should go split window.........now navagate one side(leave the other in /home/you) to file system /mnt/sda5 when your in the sda5 directory (folder) you should see your /home /you(whatever your name is in Kubuntu)folder open it and thare should be your ~/Documents,~/Music,and so forth........now wear ready to start............rite click the music folder in Ubuntu's /home you and delete it........... rite click the music folder in /mnt/sda5/you/ and then make link ....it will make a link THEIR and you drag it over to the other pane and drop it .....right click it and then properties and make shure it's pointing to(it seas points to....) /mnt/sda5/you/Music ..........if so repeat for the rest of the folders you want to link to if not or if any part of this goes south stop and report ware it messed up and what happened

        we shell return...................

        VINNY


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

        Comment


          #49
          Re: How do I link Primary to logical Partitions

          Vinny, I ran these in the order you said but while I was in gedit a 'failed' note came up in the terminal.
          Checking in with you before I continue.

          ~$ sudo mkdir /mnt/sda5

          ~$ gksudo gedit /etc/fstab

          This line six times while in gedit

          (gedit:1919): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

          $ sudo mount -a

          I did not continue with instructions at this time I wanted to report this terminal out-put while I was in gedit to be sure that I can continue.
          Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

          Comment


            #50
            Re: How do I link Primary to logical Partitions

            did gedit open and let you edit the file ?

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

            Comment


              #51
              Re: How do I link Primary to logical Partitions

              Originally posted by vinnywright
              did gedit open and let you edit the file ?

              VINNY
              Yes; here are the out-puts in Ubuntu Terminal>

              ~$ sudo fdisk -l

              Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
              255 heads, 63 sectors/track, 182401 cylinders
              Units = cylinders of 16065 * 512 = 8225280 bytes
              Sector size (logical/physical): 512 bytes / 512 bytes
              I/O size (minimum/optimal): 512 bytes / 512 bytes
              Disk identifier: 0x000008af

              Device Boot Start End Blocks Id System
              /dev/sda1 1 1459 11717632 82 Linux swap / Solaris
              /dev/sda2 1459 8754 58593280 83 Linux
              /dev/sda3 * 8754 16049 58593750 83 Linux
              /dev/sda4 16049 182402 1336231937 5 Extended
              /dev/sda5 16049 46443 244140032 83 Linux
              /dev/sda6 46443 52521 48827392 83 Linux
              /dev/sda7 52522 58600 48827392 83 Linux
              /dev/sda8 58600 70758 97654784 83 Linux
              /dev/sda9 70758 82915 97654784 83 Linux
              /dev/sda10 82916 182402 799122432 83 Linux

              ~$ sudo df -h
              Filesystem Size Used Avail Use% Mounted on
              /dev/sda3 56G 3.7G 49G 8% /
              none 7.9G 716K 7.9G 1% /dev
              none 7.9G 1.3M 7.9G 1% /dev/shm
              none 7.9G 96K 7.9G 1% /var/run
              none 7.9G 0 7.9G 0% /var/lock
              /dev/sda5 230G 687M 217G 1% /mnt/sda5

              # /etc/fstab: static file system information.
              #
              # Use 'blkid -o value -s UUID' 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/sda3 during installation
              UUID=495bdfa8-934d-47a0-bb7b-5aa481566548 / ext4 errors=remount-ro 0 1

              UUID=2a065d80-b9f8-4e5b-9101-ee353f766466 /mnt/sda5 ext4 defaults 0 0

              # swap was on /dev/sda1 during installation
              UUID=4709b0a7-9d40-4558-a02a-4eae32d1f224 none swap sw 0 0

              I included all three out-puts so you can have the information in upfront.


              Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

              Comment


                #52
                Re: How do I link Primary to logical Partitions

                Ok in your Ubuntu home directory, remove the empty folders that you want to link to, i.e. Documents, Music, Pictures, etc. Then in a terminal link to the other directories like this;

                ln -s /mnt/sda5/Documents ~/Documents

                repeat for each folder

                Please Read Me

                Comment


                  #53
                  Re: How do I link Primary to logical Partitions

                  I want to say that at this time in Ubuntu , Nautilus, I am not seeing the sda5 rive as before. I am going to proceed with Oshunlvr's command line entries for the three folders after removing, deleting them from the sda3 home folder.
                  -----------------------------------------------------------------------------------------------------------------------------------------------
                  df -h after above coompleted

                  ~$ sudo df -h
                  Filesystem Size Used Avail Use% Mounted on
                  /dev/sda3 56G 3.8G 49G 8% /
                  none 7.9G 716K 7.9G 1% /dev
                  none 7.9G 200K 7.9G 1% /dev/shm
                  none 7.9G 96K 7.9G 1% /var/run
                  none 7.9G 0 7.9G 0% /var/lock
                  /dev/sda5 230G 687M 217G 1% /mnt/sda5
                  /dev/sda2 56G 4.2G 49G 8% /media/a316ce82-60e6-4d3a-9881-53a76f3486e0

                  When in Nautilus I click on the Documents folder [it has some new icons on the folder icon] and I get this message; This Link cannot be used. because its target"/mnt/sda5/Documents" doesn't exist.

                  Q1] this was expected? Q2] do I need to go to Kubuntu to modify sda5? I no longer see it in Nautilus.
                  Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

                  Comment


                    #54
                    Re: How do I link Primary to logical Partitions

                    post
                    Code:
                    ls -l /mnt/sda5
                    from in Ubuntu (thats a lower case L in the command)

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

                    Comment


                      #55
                      Re: How do I link Primary to logical Partitions


                      oceansnperil@:~$ sudo ls -l /mnt/sda5
                      [sudo] password for oceansnperil:
                      total 20
                      drwx------ 2 root root 16384 2011-09-20 21:33 lost+found
                      drwxr-xr-x 38 oceansnperil oceansnperil 4096 2011-09-26 20:01 oceans-n-peril

                      o-n-p>>sda3

                      oceansnperil>>sda3/home

                      oceans-n-peril>>>sda2

                      Just listed the 'names' to help avoid confusion.
                      Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

                      Comment


                        #56
                        Re: How do I link Primary to logical Partitions

                        no Sir in the line
                        drwxr-xr-x 38 oceansnperil oceansnperil 4096 2011-09-26 20:01 oceans-n-peril
                        the "oceansnperil oceansnperil" is the user and group that the file oceans-n-peril belongs to .......the file oceans-n-peril IS sda5

                        your link line should be

                        Code:
                        ln -s /mnt/sda5/ oceans-n-peril/Documents ~/Documents
                        you half to include the actual path in any command like this you use (check that rutebook I had you DL)


                        if you ls -l /mnt/sda5/ oceans-n-peril you should see all the folders your trying to link to .


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

                        Comment


                          #57
                          Re: How do I link Primary to logical Partitions

                          In Ubuntu the name is oceansnperil with no dashes in Kubutnu it is oceans-n-peril with the dashes.

                          I will run the commands again for Music, Doc.'s and Pictures and post.

                          oceansnperil@o-n-p:~$ sudo ln -s /mnt/sda5/ oceans-n-peril/Documents ~/Documents[sudo] password for oceansnperil:
                          ln: target `/home/oceansnperil/Documents' is not a directory
                          oceansnperil@o-n-p:~$ sudo ln -s /mnt/sda5/ oceansinperil/documents ~/Documents
                          ln: target `/home/oceansnperil/Documents' is not a directory
                          oceansnperil@o-n-p:~$ sudo ln -s /mnt/sda5/ oceansnperil/Music ~/Music
                          ln: target `/home/oceansnperil/Music' is not a directory
                          oceansnperil@o-n-p:~$ sudo ln -s /mnt/sda5/ oceansnperil/Pictures ~/Pictures
                          ln: target `/home/oceansnperil/Pictures' is not a directory
                          oceansnperil@o-n-p:~$ sudo ln -s /mnt/sda5/ oceans-n-peril/Music ~/Music
                          ln: target `/home/oceansnperil/Music' is not a directory
                          oceansnperil@o-n-p:~$ sudo ln -s /mnt/sda5/ oceans-n-peril/Pictures ~/Pictures
                          ln: target `/home/oceansnperil/Pictures' is not a directory

                          This is what I just ran in the Terminal. I ran it both ways with and without the dashes.

                          oceansnperil@o-n-p:~$ ls -l /mnt/sda5/ oceans-n-peril
                          ls: cannot access oceans-n-peril: No such file or directory
                          /mnt/sda5/:
                          total 20
                          drwx------ 2 root root 16384 2011-09-20 21:33 lost+found
                          drwxr-xr-x 38 oceansnperil oceansnperil 4096 2011-09-26 20:01 oceans-n-peril


                          oceansnperil@o-n-p:~$ sudo ls -l /mnt/sda5/ oceansnperil
                          ls: cannot access oceansnperil: No such file or directory
                          /mnt/sda5/:
                          total 20
                          drwx------ 2 root root 16384 2011-09-20 21:33 lost+found
                          drwxr-xr-x 38 oceansnperil oceansnperil 4096 2011-09-26 20:01 oceans-n-peril

                          From Nautilus
                          /home/oceansnperil/Music
                          /home/oceansnperil/Pictures
                          /home/oceansnperil/Documents

                          All show as 'Link is Broken' is this where the problem is?
                          Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

                          Comment


                            #58
                            Re: How do I link Primary to logical Partitions

                            so what do you get when you run

                            Code:
                            ls -l /mnt/sda5/oceans-n-peril
                            VINNY
                            i7 4core HT 8MB L3 2.9GHz
                            16GB RAM
                            Nvidia GTX 860M 4GB RAM 1152 cuda cores

                            Comment


                              #59
                              Re: How do I link Primary to logical Partitions

                              oceansnperil@o-n-p:~$ sudo ls -l /mnt/sda5/oceans-n-peril
                              total 48
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-22 15:09 Audiobooks
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-20 21:47 Desktop
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-25 17:45 Documents
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-20 21:47 Downloads
                              drwxr-xr-x 4 oceansnperil oceansnperil 4096 2011-09-25 14:13 home
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-20 21:47 Music
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-20 21:47 Pictures
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-22 15:09 Podcasts
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-20 21:47 Public
                              -rw-r--r-- 1 root root 240 2011-09-22 08:08 rutebook.desktop
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-20 21:47 Templates
                              drwxr-xr-x 2 oceansnperil oceansnperil 4096 2011-09-20 21:47 Videos

                              ***Note*** I have noticed something strange in Nautilus but wait for you to ask.
                              Gigabyte GA-990XA-UD3: ATI Fire-Pro V4800; Phenom II X4 970 3.5 Ghz; G.Skill Sniper DDR3 1600 4 x 4GB; WD Caviar Black 1.5 TB;CM 690 case w/9 fans and 6-switch rheobus plus 2 optical drives [ROM & RW]

                              Comment


                                #60
                                Re: How do I link Primary to logical Partitions

                                sory my bad .......that link command shouldn't have had a space between sda5 and oceans-n-peril it should be

                                Code:
                                sudo ln -s /mnt/sda5/oceans-n-peril/Music ~/Music
                                for say the Music folder (directory)
                                you are doing

                                sory...........what is the thing you noticed in Nautilus ......I'm 2 sheet's to the wind right now don't keep me in suspense

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

                                Comment

                                Working...
                                X