Results 1 to 8 of 8

Thread: dual boot ubuntu

  1. #1
    Join Date
    Nov 2012
    Location
    GMT+1
    Beans
    60
    Distro
    Ubuntu

    dual boot ubuntu

    Dear friends I've question,

    I've dual boot (windows and ubuntu), but I would like to try additionally a new Ubuntu.
    An additionaly OS should not be a problem. But how is it if I've /home in one separated
    partition. Can I use one /home for two Ubuntu installations or every installation needs one.
    In /home are (hidden) directories assigned with the names of programs that are already
    installed and that may be a problem.

    Maybe you know some links where I can find an answer.
    Last edited by doja; March 16th, 2013 at 09:49 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: dual boot ubuntu

    Some say a shared /home works. But they usually use two different user names so nothing is shared except the partition. A few have used same name but then eventually run into conflicts.

    I leave /home inside my / (root) but relocate all data in Documents, Videos, Music etc that is just data into a data partition. That is easily shared. I have two data partitions, one NTFS from when I still booted XP, and all my new data goes into a Linux formatted shared data partition.

    I prefer a separate /mnt/data partition. Then you can easily share your data without having the conflict of the user settings in hidden files & folders. Works best if all installed systems are Debian based, see UID issues below.

    The actual user settings are small. My /home is 2GB with most of that as .wine with Picasa which I have not yet moved to my /data. Because /home is small I now keep it as part of / (root).
    Then I can have a fully functioning system on one drive but have data linked in from other partitions on other drives.

    Data can be shared without the possible conflicts of user settings being different in different versions. I only copy some settings from one install to the next, normally. But I have to separately back up /home and the /data partition. Also saves the error of reformating a /home partition accidentally. I never reformat my /data and just configure / for install.

    Splitting home directory discussion and details:
    http://ubuntuforums.org/showthread.php?t=1811198
    http://ubuntuforums.org/showthread.php?t=1901437
    http://ubuntuforums.org/showthread.p...hlight=%2Fdata
    Link is on move home but see post by bodhi.zazen on data partition #6
    http://ubuntuforums.org/showthread.php?t=325048
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Nov 2012
    Location
    GMT+1
    Beans
    60
    Distro
    Ubuntu

    Re: dual boot ubuntu

    Thanks oldfred,
    you didn't only answered my question with your first sentence, you also understood what I want to do and proposed a quit good solution.

    For my dual booting with windows I have also a separated partition for data (which is NTFS so I can reach it from both OS).
    The /home or My Documents (in windows) are not good solutions for saving data, because you are not the only one who manage the directory. Many programs create some crap in your /home and mess the data. So I use /home only for temporarily working before a I decide to shift the data to data partition.

    The extra /mnt/data partition and leaving /home in OS partition seems to be a good solution, especially if you have multiple booting.
    Last edited by doja; March 16th, 2013 at 08:09 AM.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: dual boot ubuntu

    Glad I could help.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Nov 2012
    Location
    GMT+1
    Beans
    60
    Distro
    Ubuntu

    Re: dual boot ubuntu

    oldfred or anyone else,

    maybe you can help me once more. I mess up my system little bit.

    As I wrote my /home is in a separated partition.
    I was trying to move my /home in the OS partition, but I did it in wrong order.
    I commented out the link for my /home in fstab, without moving it before in the OS partition.
    After restart I can't log in and change the fstab back because now my PC has no /home
    and therefor don't know my passwort which is actually in /home that is not linked.


    And without login I can't make any sudo action.
    Maybe there is some trick to create a new /home and then replace it with the old one.
    I tried the recovery modus with mkdir /home but I have only reading rights that I can't change.
    I could login also as a guest.

    I've already a second Ubuntu installed and can see my old /home, but I would like to recover
    my old system because of all the settings and istallations of programs.

    Thanks
    Last edited by doja; March 16th, 2013 at 04:28 PM.

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: dual boot ubuntu

    I do not know details of password, userID issues. I always use the same for every install so I do not get confused.

    But you should be able to mount your old fstab and restore the old entry from any other install or liveCD. If you may need sudo, and from liveCD there is no password.
    And it normally just creates a new empty /home if you comment out a separate /home in fstab. It will have same user & login as that is in system, not /home. But all user data is in /home.

    To move /home uses rsync- Be sure to use parameters to preserve ownership & permissions
    https://help.ubuntu.com/community/Pa...ng/Home/Moving
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Nov 2012
    Location
    GMT+1
    Beans
    60
    Distro
    Ubuntu

    Re: dual boot ubuntu

    Dear oldfred, I restored my /home again. Thanks.

    The point was that I didn't know how to reach my old_ubuntu when I couldn't login into the system.
    I opened in the new_ubuntu nautilus but couldn't copy the /home from the partition where it was
    in my old_ubuntu OS partition.

    So I used the link you sent me
    https://help.ubuntu.com/community/Pa...ng/Home/Moving

    I operated from new_ubuntu where at first I went in terminal
    into /root of my old_ubuntu. Then used the command

    sudo rsync -aXS --exclude='/*/.gvfs' /hdd_partition_with_home/. /root_old_ubuntu/home/.

    which copied my lost /home in the OS partition and after restart everything worked.

    Now I'm curious to try the new OS without overwriting my 12.04 lts.
    ________________________
    But before I couldn't start the old system with any password I usually use (for user or system),
    even withouth password it didn't worked. Even if I saw in the nautilus that my old_ubuntu created
    one empty directory /home.
    Last edited by doja; April 1st, 2013 at 02:24 PM.

  8. #8
    Join Date
    Nov 2012
    Location
    GMT+1
    Beans
    60
    Distro
    Ubuntu

    Re: dual boot ubuntu

    In addition I copied the /home also in my new_ubuntu installation and have it all configured. This is really good.
    Last edited by doja; March 17th, 2013 at 11:49 AM.

Bookmarks

Posting Permissions

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