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

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

    Is Ubuntu booting again?

    If not, there's no need to link. Edit the fstab in Ubuntu like I suggested several posts above. Get Ubuntu booting, then vinny will show you how to link - I'm gone for the evening.

    Please Read Me

    Comment


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

      No joy on booting Ubuntu; went to the kitchen for a few and when I came back the screen saver in Kubuntu was frozen. That has never happened before.

      I think sharing the entire home directories is causing the trouble.

      The question now is should I un-mount sda5 from both Os's so they are independent of each other?

      If so please walk me through that.

      I do not know the command line for un-mounting the /home from Ubuntu via Kate. Would it be:

      sudo mkdir /mnt/Ubuntu
      sudo unmount /dev/sda3/unmnt/Ubuntu

      then kdesudo kate /unmnt/Ubuntu/etc/fstab ?

      I will check in tomorrow for answers. East cost time here.

      I know I want to un-mount sda5 from both OS's and change it's mount point to something other than /home like /data or /media but I need a walk through please.
      Promise not to do anything until instructed. :-X
      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


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

        first things first....lets get Ubuntu's /home/you out of sda5 and see if that helps it any .
        remember this one


        Originally posted by vinnywright
        O ya ....I would for now remove the line
        UUID=2a065d80-b9f8-4e5b-9101-ee353f766466 /home ext4 defaults 0 2
        from Ubuntu's fstab as a test to see if that cures the Ubuntu login probs......IF that UUID is sda5
        you can check with the comand
        Code:
        sudo blkid
        VINNY
        to be able to edit this file you will knead root privilege so open a root dolphen with
        Code:
        kdesudo dolphin
        typed in ether a terminal or even better the alt>F2 run box ...........NOW BE CAREFUL you will be able to mess with(edit) all the files you couldn't as a user and can wreck your system real quick......................

        so navagate back to Ubuntu's drive and the /etc/fstab file and open it with kate and remove the line ubuve from the file .................it should look like this one you posted earlier

        Originally posted by wanderingarcticfox
        # /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 /home ext4 defaults 0 2
        # swap was on /dev/sda1 during installation
        UUID=4709b0a7-9d40-4558-a02a-4eae32d1f224 none swap sw 0 0
        then save and exit kate close dolphin before it gets used wrong by mistake restart the box and test Ubuntu and see if the login is any better ........if not their may be more wrong than just that.

        then we will go from their.

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

        Comment


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

          I first wanted to report this mornings events; I booted into Ubuntu OK, then tried to restart Ubuntu it failed. Then I went to Kubuntu to check in and this is the out-puts after following Vinny's latest instructions:

          ~$ sudo blkid
          /dev/sda1: UUID="4709b0a7-9d40-4558-a02a-4eae32d1f224" TYPE="swap"
          /dev/sda2: UUID="a316ce82-60e6-4d3a-9881-53a76f3486e0" TYPE="ext4"
          /dev/sda3: UUID="17e0f0ca-e19a-4d64-a5bb-a1bc7d0798c6" TYPE="ext4"
          /dev/sda5: UUID="2a065d80-b9f8-4e5b-9101-ee353f766466" TYPE="ext4"

          after removing the link to sda5 in Ubuntu

          # /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

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

          I have as yet to try to restart and get back to Ubuntu after being in Kubuntu. I will do that now; then I will come back and report and see what is next to do.

          >>>>Ubuntu is now booting stable, it still sees the sda5 partition I have as yet to enter something in Kubuntu Documents which is new to test the possibility of U reading K and vice-a-versa. I will do that now to see if the sda5 is still "shared".

          #######After creating and saving a simple document in L-Office Ubuntu failed to launch, no sign-in screen. I think I need to change sda5 /home/name to something else. I think that sharing the entire home folder might be where the conflict exist. I really only want to share Documents, Music and Pictures. How do I go about that type of change? That is the sda5 /home/name needs to be changed to ?
          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


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

            Do I need to use the K-partition manager or is it better to use G-Parted Live CD to unmount and remount sda5 from /Home/name

            What would be a recommended mount point instead of /home for setting up linkage to Ubuntu and Kubuntu Documents, Music and Pictures?

            Would it work to create a new folder in both OS's of /home/data and then remount sda5 as /home/data and then 'link' the 3 items/folders to that?
            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


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

              Originally posted by wanderingarcticfox
              Do I need to use the K-partition manager or is it better to use G-Parted Live CD to unmount and remount sda5 from /Home/name
              Gparted is a partitioning and formatting tool. It does not, can not, will not, control the mounting process of another OS.

              When you reboot any OS, all mounts are unmounted. When you boot an OS, it determines through it's setup (in the case of linux - /etc/fstab) what to mount and where.

              I don't want to sound snippy, but this is the third or fourth time I've tried to explain this. You really need to slow down, read all the replies, and digest the information we're trying to give you before you move on to the next thing.

              Originally posted by wanderingarcticfox
              After creating and saving a simple document in L-Office Ubuntu failed to launch, no sign-in screen.
              There is no way that just opening and editing a document would cause Ubuntu to fail to start properly. You've either done something else along with this action that you didn't state, or something else is causing the failure.

              Originally posted by wanderingarcticfox
              What would be a recommended mount point instead of /home for setting up linkage to Ubuntu and Kubuntu Documents, Music and Pictures?
              It really doesn't matter. The default place to mount something is /mnt/WHATEVER.

              I would use a meaningful name like "otherhome" so the mount would be /mnt/otherhome.

              Then 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/otherhome/Documents ~/Documents

              repeat for each folder

              Please Read Me

              Comment


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

                Originally posted by oshunluvr

                I don't want to sound snippy, but this is the third or fourth time I've tried to explain this. You really need to slow down, read all the replies, and digest the information we're trying to give you before you move on to the next thing.

                I appreciate your patience and I am not trying to be difficult. I just cannot always get a grip on things real fast and I have very limited computer knowledge and almost zero knowledge of command line structure and command 'argument' building. That is why I am trying to get this 'fixed' so I can get back to studying rutebook.
                {There is no way that just opening and editing a document would cause Ubuntu to fail to start properly. You've either done something else along with this action that you didn't state, or something else is causing the failure.}

                I did nothing else so it must be something else causing the problem. I do know that the last time I was in Ubuntu it was still 'seeing' the sda5 drive. I wonder if when loading it is confused between the two actual /home folders; but I am not sure.

                Thank you for your continued patience, I will reread the entire thread now and try to understand what needs to be done. If you have any further suggestions before I try the last recommended I would be grateful.
                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


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

                  It might be simpler for you to just re-install Ubuntu as you asked earlier and then start over from there.

                  Please Read Me

                  Comment


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

                    Originally posted by oshunluvr
                    It might be simpler for you to just re-install Ubuntu as you asked earlier and then start over from there.
                    If I do I am trying to think of what I might do different during the manual partitioning. I know that for this current installation I set sda3 as/ and instructed the software to "do not use" all other partitions. I assumed that the OS would just latch onto the sda5 /home/o-n-p but I now realize that it did not. If I set the sda5 as logical and use but do not formate do you think it will leave the Kubuntu installation to that in place or should I try something in dolphin like I recently posted?
                    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


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

                      somehow I lost this entry
                      I will be using o-n-p as short hand for a Folder name that represents both the /home/o-n-p of the sda5 mount and the home>o-n-p.documents, etc. .

                      I have be studying Dolphin a little and I have noticed a few things that might help you help me:
                      I was able to boot Ubuntu after remembering to remove the "folders" from when we added sda5 to Ubuntu fstab; not sure if that helped but it did not hurt.

                      In Dolphin when I choose the sda3 of 'U' I can go Home>o-n-p>Doc. and see the one document I created there in Libre-Office.
                      In the 'K' partition [sda2] I choose <home> and it goes to sda5 and from there the Folder o-n-p>standard home listing>Doc. and I see the 5 documents I have there

                      In Dolphin 'Split-screen' sda3 on left and sda5 on right there is an o-n-p folder in both just by opening the 'Home' folder

                      Is there a way to 'link' or 'merge' these folders in Dolphin? I know I have been told that comes later but I think we tried the mounting of sda5 into sda3 and it did not work; I do not know if this will but I think maybe it is worth a try.

                      ***An additional thought>>> What if I open the o-n-p folder in the split screen and just link the Music. Documents and Pictures instead of the entire /home folder?
                      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


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

                        do like @oshunluvr suggested and reinstall Ubuntu to it's current location and only use the option to use this partition as / and no other!!

                        then see if it's running better and we will start working on your other desires

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

                        Comment


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

                          Originally posted by vinnywright
                          do like @oshunluvr suggested and reinstall Ubuntu to it's current location and only use the option to use this partition as / and no other!!

                          then see if it's running better and we will start working on your other desires

                          VINNY
                          OK, off to reinstall.

                          >>>>>>OK re-installation of Ubuntu is complete, I set up and synced Firefox and ran the update manager
                          and switched to Gnome Desktop. I have to run Gnome to use ATI Drivers; if ATI wrote them for Kubuntu I would not have to use both systems.
                          I simply want to link the Music, Documents and Photo's folders from Ubuntu to the sda5 partition and in there 'merge' them with Kubuntu folders of the same type.
                          I am aware that I will need to run the same app's and keep updates current in both OS's.
                          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


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

                            I have just run apt-get update and apt-get dist-upgrade in both OS's as sudo as per the pm instructions.
                            Both OS's are booting fine.

                            The only issue at this time is the screen saver in Kubuntu which I have disabled.

                            I have not updated the ATI Drivers in Gnome as of yet.

                            When in K, Dolphin; if I am 'looking' at the sda2 partition and I click 'Home' it shifts to the sda5 partition I think that means that sda2 [Kubuntu] and sda5 /home/user name are in fact linked.

                            When in K, Dolphin; if I am 'looking' at the sda3 partition and click home it stays with that partition.

                            I am currently in Ubuntu at this time. Switching over is easy and quick with a restart.

                            I have one question, is it OK to update the ATI Proprietary Drivers in Gnome at this time?

                            The issue is still how to 'link' sda3 home/music, /home/pictures and /home/documents to sda5 logical partition.
                            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


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

                              Originally posted by wanderingarcticfox
                              I have just run apt-get update and apt-get dist-upgrade in both OS's as sudo as per the pm instructions.
                              Both OS's are booting fine.
                              sweet .

                              Originally posted by wanderingarcticfox
                              The only issue at this time is the screen saver in Kubuntu which I have disabled.
                              of little concern leave it for later


                              Originally posted by wanderingarcticfox
                              When in K, Dolphin; if I am 'looking' at the sda2 partition and I click 'Home' it shifts to the sda5 partition I think that means that sda2 [Kubuntu] and sda5 /home/user name are in fact linked.
                              I beleave Kubuntu still has your acct. on that partition so that would be correct and desirable.....wile in Kubuntu do that
                              Code:
                              df -h
                              agin and we will see ....post it.

                              Originally posted by wanderingarcticfox
                              When in K, Dolphin; if I am 'looking' at the sda3 partition and click home it stays with that partition.
                              correct you left /home in the install this time.

                              Originally posted by wanderingarcticfox
                              I am currently in Ubuntu at this time. Switching over is easy and quick with a restart.

                              I have one question, is it OK to update the ATI Proprietary Drivers in Gnome at this time?
                              exactly how did you update them last time(their are several ways) ?

                              Originally posted by wanderingarcticfox
                              The issue is still how to 'link' sda3 home/music, /home/pictures and /home/documents to sda5 logical partition.
                              post that "df" and we will see if Kubuntu still has your /home on that partition ......that is ok and you can link Ubuntu's /home/you/music to these folders without the previous problems(that would have been becose thay were sharing the hole /home if that was the problem at all)................OR .........you can pick one of your other partitions and we will use it for the directory's you want both systems to share .

                              VINNY




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

                              Comment


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

                                I used the update drivers in Ubuntu menu; I had tried them in Kubuntu but found out from the ATI Linux development team that they only write the drivers for the Gnome GUI. It worked flawlessly in Ubuntu.

                                ~$ sudo df -h
                                Filesystem Size Used Avail Use% Mounted on
                                /dev/sda2 56G 4.2G 49G 8% /
                                none 7.9G 712K 7.9G 1% /dev
                                none 7.9G 2.7M 7.9G 1% /dev/shm
                                none 7.9G 92K 7.9G 1% /var/run
                                none 7.9G 0 7.9G 0% /var/lock
                                /dev/sda5 230G 683M 217G 1% /home
                                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

                                Working...
                                X