Fedora Linux Support Community & Resources Center
  #1  
Old 11th May 2012, 07:57 PM
shanx Offline
Registered User
 
Join Date: Jan 2012
Location: India
Posts: 26
linuxchrome
Cool Dual booting Arch and Fedora

which one of them to install first?
i will partition as:
/boot (same for both)
/root (arch)
/swap (same for both)
/root (fedora)
/home (same for both)


thanx in advnce
Reply With Quote
  #2  
Old 11th May 2012, 09:48 PM
milomak Offline
Registered User
 
Join Date: Aug 2010
Posts: 64
linuxchrome
Re: Dual booting Arch and Fedora

i think arch still runs grub rather than grub2. if that is the case, i would go with arch first then fedora as it has os-prober.

i would also suggest that you have a seperate /boot for the individual distros. you can imagine the damage that can be done when both write to the same files (especially if you upgrade arch to grub2)..

---------- Post added at 10:48 PM ---------- Previous post was at 10:48 PM ----------

i think arch still runs grub rather than grub2. if that is the case, i would go with arch first then fedora as it has os-prober.

i would also suggest that you have a seperate /boot for the individual distros. you can imagine the damage that can be done when both write to the same files (especially if you upgrade arch to grub2)..
Reply With Quote
  #3  
Old 11th May 2012, 10:19 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,704
linuxfirefox
Re: Dual booting Arch and Fedora

I don't know how good of an idea it is to share the same /home - I say this because of the following.

As I understand it, users are recognized by the uid. If you plan on using the same user for both operating systems, it will have issues with uid - Arch default is 100s and Fedora is 1000s. Alternatively, you could specify the UID for user in Arch to be in 1000s and it might work.

I would not recomment same / partition as well since they both follow rather diffferent principles in system boot/management - systemd vs *BSD-style init, for example.

I had a Arch fedora dual boot but with separate / and /home partitions for each. I installed Arch first and then installed Fedora and let fedora handle the grub. I then used fstab to mount the wanted data partitions ....

Hope this is good advice - more experienced users please correct me if something is wrong! Cheers.
Reply With Quote
  #4  
Old 11th May 2012, 11:07 PM
milomak Offline
Registered User
 
Join Date: Aug 2010
Posts: 64
linuxchrome
Re: Dual booting Arch and Fedora

i assumed by same /home he would create different directories for the users for each distro

good point about the uid. i would change the fedora uid as it seems to be the odd one out. in that most other distros use the same uid.

---------- Post added at 12:07 AM ---------- Previous post was at 12:07 AM ----------

i assumed by same /home he would create different directories for the users for each distro

good point about the uid. i would change the fedora uid as it seems to be the odd one out. in that most other distros use the same uid.
Reply With Quote
  #5  
Old 12th May 2012, 12:18 PM
shanx Offline
Registered User
 
Join Date: Jan 2012
Location: India
Posts: 26
linuxchrome
Re: Dual booting Arch and Fedora

okay....
what do you guys think of this- 'https://bbs.archlinux.org/viewtopic.php?id=97121'?
Reply With Quote
  #6  
Old 12th May 2012, 01:18 PM
sea Offline
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Confoederatio Helvetica (Swissh)
Age: 34
Posts: 3,273
linuxchrome
Re: Dual booting Arch and Fedora

AFAIK: Most distros have UID's starting at 500, where Fedora has 1000 since, F15 or F16.
IF Arch has 100, allthought i thought it was 500 either, i'd change both UID's to 500, in case you're going to test for other distros as well.

Either way, if you dont share /home, for each distro a /home of 1gb suffices, if you have another extra partition with your videos, music, documents (symlinking to the distros /home/$USER dir.

You're line up looks well, i dont recall which grub Arch uses, but i thought it was grub2 too, so you could share /boot.
Adding a user and specify the UID like this:
Code:
sudo useradd shanx -u 500
And about which to install first, for me, it worked best when i installed Arch first, but didnt install grub to MBR, but to its first boot partition, while Fedora got installed to mbr.
But thats acutaly more a matter of preference.

Hth

EDIT:
Demian explained it quite good, just that it doesnt matter what kind of fs you choose for fedora-root (for instance, you wont be able to access fedora-root-btrfs from arch), the other suggestions are very accurate.
__________________
Laptop: Toshiba satellite p50-a-11 CPU: Intel i7 8*2400 MHz GPU: GeForce GT 745M RAM: 8192 MB Distro: Fedora (Rawhide) DE: Awesome
Text User Interface (TUI) // Windows 8+ & Fedora 20+ Dualboot

Last edited by sea; 12th May 2012 at 01:36 PM.
Reply With Quote
  #7  
Old 13th May 2012, 08:29 AM
shanx Offline
Registered User
 
Join Date: Jan 2012
Location: India
Posts: 26
linuxchrome
Re: Dual booting Arch and Fedora

i am thinking of keeping /home in /root itself and setting up data partition then bind various folders on it to ~/Documents, ~/Videos, etc. on both installations, as told on arch forum
but how to bind it, what 'exactly' bind does?
Reply With Quote
  #8  
Old 13th May 2012, 12:45 PM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 5,477
linuxchrome
Re: Dual booting Arch and Fedora

From the mount man page (in CentOS)

Quote:
The bind mounts.
Since Linux 2.4.0 it is possible to remount part of the file
hierarchy somewhere else. The call is
mount --bind olddir newdir
or shortoption
mount -B olddir newdir
or fstab entry is:
/olddir /newdir none bind

After this call the same contents is accessible in two places.
One can also remount a single file (on a single file).

You're probably better off putting in Arch first, as its version of Grub won't see Fedora, but Fedora's grub will see Arch. It's easy enough to put Fedora's grub back if you do it the other way though--mount Fedora, mount /proc and /dev with -o bind (and possibly /sys), then chroot to Fedora and reinstall its grub.

Last edited by smr54; 13th May 2012 at 12:51 PM.
Reply With Quote
  #9  
Old 14th May 2012, 08:44 AM
shanx Offline
Registered User
 
Join Date: Jan 2012
Location: India
Posts: 26
linuxfirefox
Re: Dual booting Arch and Fedora

i partitioned like this:
bios_grub
/root fedora
/root arch
swap
data partion

no seperate home for any of them, i am binding thier homes to this data partition
and i didn't install grub in arch installation(i couldn't write MBR, it din't allowme coz of GPT) , just installed grub from fedora installation on /sda

thanx for help
Reply With Quote
Reply

Tags
arch, booting, dual, fedora

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual booting Xp and fedora XxDinzxX Installation, Upgrades and Live Media 1 19th February 2010 06:48 AM
dual boot F9/Arch - Arch fails FS check on F9 partition daneel971 Linux Chat 0 29th May 2008 02:51 PM
dual booting mac and fedora urmom9388 Mac Chat 3 1st June 2006 04:39 PM
Help with Dual Booting Win XP and Fedora C4 wlandry Using Fedora 6 26th October 2005 08:00 PM


Current GMT-time: 16:01 (Wednesday, 23-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat