Can install triple boot system and Fedora 26 and Ubuntu 17.04 share same Home folder
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The home folder will have configuration and launcher files for your software. Since there's no guarantee that Fedora and Ubuntu will be using the same versions, that would probably lead to problems. They can share the same user data, though, either in a third place or in one of the /homes. This explains things: http://www.garron.me/en/linux/dual-b...s-distros.html
so the two home - same user? are Fedora 26 and Ubuntu 17.04 and windows all by itself. yes -
you have to ensure that both users of same name have same UID and first user group, ie userName:groupName
bob users / bob users UID for both 1001
the only thing is, it is best to mimic like desktops in both OS's because for each user-OS they are sharing the same config.
I found that Debian didn't play nice when trying this, so do prepare yourself for a few reboots, into each OS and setting UID or changing them to match both user for each OS.
like the other said depending on vers of software and there conf along with which desktop/WM you use too can conflict.
I run Slack and Void in this setup sharing the same home without issues. Sometimes VOID will update an app then I get a message in Slack- so I just get the latest ver of that app then mod and run a slackbuild on it to update it too. Then the shared config is back in order.
if one OS does not have an app that the other has I have not seen any thing going bonkers as a result of it.
with Fluxbox and alike I just have to update the menu with is a one liner in the CLI when changing OS'es because something are there and some are not as well as located in a different area. but a quick mmenu -f fluxbox and I'm fixed in that area.
Just remember to check and changed my UID to match the same userName if needed then work out the rest of the kinks as you go.
it can be done - if you really want it, you might even have to try different distros until you find two that will play nice together.
In my reading of the book "Linux Bible 9e (c) 2015"
Chapter: Installing Linux
Boot-loaders :section
GRUB Legacy 1 :sub-section
"
If you make any changes to the /boot/grub/grub.conf file, you do not need to load those changes. GRUB automatically picks up those changes when you reboot your computer.
"
(modify boot order[RHEL 6 / Win XP] etc boot info and files in Boot Menu, Also add in Boot Menu other Linux)
Can edit this file[/boot/grub/grub.conf] by taking out and connecting HDD as external disk to another system ??? I have to connect to Linux Desktop or Linux VM...?
In my reading of the book "Linux Bible 9e (c) 2015"
Chapter: Installing Linux
Boot-loaders :section
GRUB Legacy 1 :sub-section
"
If you make any changes to the /boot/grub/grub.conf file, you do not need to load those changes. GRUB automatically picks up those changes when you reboot your computer.
"
(modify boot order[RHEL 6 / Win XP] etc boot info and files in Boot Menu, Also add in Boot Menu other Linux)
Can edit this file[/boot/grub/grub.conf] by taking out and connecting HDD as external disk to another system ??? I have to connect to Linux Desktop or Linux VM...?
I mean with GUI Text Editor...
huh?
can you edit the files by means other than you original OS? yes just boot something else and mount that drive and find edit save and cross fingers reboot.
what are you wanting to edit grub for? it takes care of itself for the most part, until it is not picking p an OS then you can add it to 40_custom
congif - yes you can edit it in any text editor just need to have root permissions to save it.
You can certainly do what you want but the potential minimal problems are explained in post 2 and if you are a new user, I would expect that you will have problems. The information you posted from your source on the Grub bootloader is outdated, neither Fedora nor Ubuntu have used Grub Legacy for years and that is what being discussed. You won't find any grub.conf file in the Grub directory for either of those systems.
Grub Legacy documentation in that book is not applicable to Fedora 26 or Ubuntu 17.04, so I suggest you ignore that section of the book.
Whichever of the two distros is installed later will, if all installation defaults are accepted, automatically put the other, and Windows, barring unforeseeable obstacles, into its boot menu.
Default system installations of both Fedora and Ubuntu will usurp boot control of the previously installed distribution. The manner in which each does usually works well for most users initially, but a problem typically comes at updates time for the previously installed distribution, when it will at least attempt to wrest bootloader control back from the newer. The PC's admin should make a choice to take an active role in reconfiguring one or the other, unless he has taken appropriate action to alter bootloader configuration at installation time of the second. Not ensuring only one attempts to maintain control can eventually lead to no boot control at all, particularly when Windows is also installed. Reliable multiboot requires the PC's admin to get actively involved in boot configuration lest boot control eventually disappear.
All that said, Fedora 26 and Ubuntu 17.04 both use Gnome Desktop by default, which means sharing exactly the same home may be more likely to produce ill effects from differences in installed software versions. This may or may not be significant given the proximity in release dates of the two distros. It may be wise to ensure that each distro uses a different USER ID for the default user (opposite what BW-userx first suggested), so that configuration settings are not shared. The rest of user data can be safely shared, and all on the same /home filesystem.
as far as boot order - that too can be changed after the OS's are installed, as stated - last installed takes control of the boot order via its boot loader.
if you want the other Linux to take over, just use it to install grub2 again and update it. - the advantages might be one grub2 is easier to deal with then the other one, even though grub2 is grub two some distos modify it to fit their needs. do not forget about 40_custom if one distro does not pick up Windows and or the other distro for whatever its reasons.
40_custom can be used to fix that. This whole process is a simple process - just that it can be time consuming. Especially on a first time basis.
Quote:
It may be wise to ensure that each distro uses a different USER ID for the default user (opposite what BW-userx first suggested), so that configuration settings are not shared. The rest of user data can be safely shared, and all on the same /home filesystem.
for the faint hearted. but he is right - I just found two Linux Distros that play nice together to get rid of that problem. and I like them - they are originals, not knock offs to boot.
the only issue I can see with same /home two users if you're running one system and download into its Download directory, then next time you boot up the other system, and yeah I need to get what I downloaded oops it is in the other login user on my other system. Now you got to take extra steps to get it, or take extra steps to then move it to a generalized area that both users have permissions to can access it without any problems.
whereas if you get two distros that play nice together then you will find that sharing the same user name in the same /home/sameuser between two or more Linux OS's is do able and does not conflict.
the trick is to find two distros that play nice together, and the desktops or WM you use too. settings have to be shared if same user same /home/user
Void is a rolling release
Slack is not.
The config for my WM (Fluxbox, WindowMaker, JWM) that is basically the only three WM I use - they all share their same config between the two.
The only time I ever got into a situation where I had software conflicts was with Deluge, Voided update it, Slack was behind a ver. Deluge kept asking me if I wanted to update the config when ever I went to Slack. Finally I just updated Deluge in Slack - via Slackbuilds.
all of my other mis matched versions of software do not conflict between the two. They are isolated between the two systems.
the only thing I have to remember is to update my menu when I switch OS's - which is a simple thing to do. But I do not use my menu that much to remember to do that because I use keyboard shortcuts for what I use - they work in both distros without having to change a thing.
but what you are planing to use is more "Distributor controlled". Like Debian is, I could not get it to play nice with this type of set up.
trial and error will only tell.
it is not like you cannot set it up both ways.
same user same /home partition with two systems
different user same /home partition with two systems
Look at this scenario
I have 450GB Free with Win 7 Pro fragmented 2% / I think no needed defragment
I want in addition install as multi-boot system
Win 10 Pro
Fedora 26
Ubuntu 17.04
I will make a 3rd partition 300GB for Win 10 Pro and install. [Win 7 Pro are 2 partitions] from 450GB
I will install Fedora 26 doing while installing 100GB partition from 300GB.
I will install Ubuntu 17.04 doing while installing 50GB partition from 100GB.
Is this correct? Where must create primary and where logical partition?
My book Linux Bible 9e says
"
some things you should know about the grub.cfg file: ■ Instead of editing grub.cfg by hand or having kernel RPM packages add to it, grub.cfg is generated from the contents of the /etc/default/grub file and the /etc/grub.d directory. You should modify or add to those files to confi gure GRUB 2 yourself...
"
To edit these files after have 4 multiboot OSs where found in Fedora 26 or Ubuntu?
256GB ssd windows with its partitions 3 total, and two Linux OS with shared /home
Code:
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 1024000 500M 7 HPFS/NTFS/exFAT <- crap win partition
/dev/sda2 1028160 204902463 203874304 97.2G 7 HPFS/NTFS/exFAT <- win 10 OS with a little extra for user
/dev/sda3 204906496 205828095 921600 450M 27 Hidden NTFS WinRE <- crap win partition
/dev/sda4 205828096 488397167 282569072 134.8G 5 Extended
/dev/sda5 205830144 249968639 44138496 21G 83 Linux <- Linux OS
/dev/sda6 249970688 303507455 53536768 25.5G 83 Linux <- Linux OS
/dev/sda7 303509504 488396799 184887296 88.2G 83 Linux <- shared /home
the os of Linux only needs as little as 5GB for it. Most "name brand" Linux OS'es
Oh yeah my swap is on my 16GB SD Card -- which never gets used.
I have installed Win10 On a 32GB SDD.
NOTE:
I wiped everything and partitioned by drive giving windows only so much to work with first, leaving the other part alone. Because with Windows and it has to have other partitions only had what i gave it to work with - leaving the rest for me and my Linux. then Installed my Linux -
So depending on how much you want windows to have and how much you want for Linux -- is all up to you when you do this.
MBR - use up your three and the 4th use for extended to get max partitions. Worry about customizing grub for another day. Just have both Linux install Grub on /sda MBR and after each install of both Linux then you can deal with who will be the Linux to control boot after you get done with that just by which Linux you use to install grub to MBR -
Where must create primary and where logical partition?
I don't understand what you are asking. The biggest "must" regarding the where of MBR partitioning is that there can be no primary in between two logicals. Most people place all primaries nearest the start of the disk and keep the logicals after, but it is possible to have primaries at start and end with logical(s) in between. Another must is that Windows must have its boot files on a primary, but that can be less than 60MB in size, with all its system files on a logical. Another must is that for DOS/OS2/Windows BIOS/Legacy MBR code to work as expected is that there must be one primary with an MBR boot flag set and which contains bootable code in its PBR.
I see some potential problems with the scenario you posted above (post 11). If you have windows 7 installed, is it the older MBR? If that is the case, you need to install windows 10 MBR which you should be able to do using the Custom install option. If you mix MBR with EFI, one of them won't boot without making changes in the BIOS each time you want to change. Also, if you use GPT partitioning you need UEFI for windows. If you use UEFI for windows then your Linux systems will need to be UEFI to enable booting from the same boot menu to windows and/or Linux.
A default windows 7 install would have been MBR so I think you need to check to verify if you have GPT or the older MBR. If you have GPT all partitions are primary. If you have the older MBR you have the 4 primary partition limitation and of course one of them can be an Extended in which you can create a number of logical partitions to use.
With regard to the grub.cfg file, you are told not to manually edit it because when you run update-grub or grub-mkconfig, all the entries will be changed. If you manually put an entry in grub.cfg and update grub it will be gone after the update. If you are going to be multi-booting it would probably be a good idea to make a backup of that file, at least the working menuentry sections. Or you can do as recommended and put these change in the two files mentioned, /etc/default/grub file and the /etc/grub.d directory.
Quote:
To edit these files after have 4 multiboot OSs where found in Fedora 26 or Ubuntu?
I'm not sure what you are asking here as those files are in the path specified?
"
sure what you are asking here as those files are in the path specified?
"
In what partition... is folder /etc/ where grub files folders located??
I think my system is Not UEFI... how create extended partition in Fedora... 3rd install so install inside a logical partition and after create another logical partition install Ubuntu during ubuntu install?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.