Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th December 2011, 01:01 PM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,648
linuxfirefox
Hdd partition preparation for multiple distros / users

Heyas friends of experiments and bleeding edge

During the last 6 months, right after i've joined the linux community, i wanted to design my system for easy re-usage and easy re-cover.

Where an extra partition with /home is very helpfull for the start, i've figured some issues comming along.
One of these issues is, if you have a 'mix' of diffrent distros, accessing all the same /home, i had experiences either lag, crashes or unability to login, to name a few.

So the next step of my thinking was to make an extra /home partition for each distro, thats quite an annoying work, and its easy to loose the overview of the partitions, along that one 'cant' easy access common required files (videos, music, documents) that doesnt affect the system, either in performance or stability.

So i went one step further and created a storage partition, which mainly stores the non-sytem files, those will get symlinked. That storage partition has also a folder with settings that dont affect the system, such as filezilla and teamspeak settings.

Very important, using this way requires you to do all future installations with custom modifications for the partioning part.

With an MBR partition table, my disk layout looks like:
Code:
1)  1024 mb     /boot           (boot partition for all distros)
2)   200 gb     /home/.wave     (storage partition)
3)    16 gb     /               (main system, fedora in my case)
4)     4 kb     extended / logical partition
5)   2-8 gb     SWAP            (one swap to serve them all, and its a good divider for the tryout distros)
Every further partition made, i suggest somewhat around 8-16gb, may hold another distro, and will share the swap partition. You may or may not format the /boot partition for further distros, depending on your grub/2 preferences.
Personaly i format the /boot with every new distro, and let grub2 find my installations.

To have it work properly, we need to prepare the storage partition, choose a filesystem of your choice that fits your needs. If you dont know what to choose, i'd suggest ext4.

Yes, we're gonna make something similar to a home dir
Browse to your mountpoint (eg /home/.wave) and create for each user a folder, they include another set of folders, "storage" and "settings".
Copy / Move your files to the according folders. Attached is a script that should do this for you (prepareStorage.sh).

Further, if you havent got it yet, create a folder named "bin" in your "storage" folder. Place the script files there.

All you have to keep in mind, either name the mountpoint of your storage partition somewhere in your system and name the 'final' folder .wave or change that term in the scripts.

For any further distro you tryout AND (thats important) all additional applications are installed, all you have to do, is running the newDE.sh script, and it will place symlinks of the files/folders in $gate/settings and $gate/storage in your new homedir.

Hope this is of some help.
Attached Files
File Type: sh prepareStorage.sh (448 Bytes, 41 views)
File Type: sh newDE.sh (2.4 KB, 39 views)
__________________
Notebook: Samsung NC210/NC110 CPU: Intel 2*1600 Mhz RAM: 1024 MB DDR2 OS: Fedora 19 DE: Awesome
Laptop: Toshiba Satellite L670 CPU: Intel(r) 2*1872 Mhz RAM: 3072 MB DDR3 OS: Fedora 17 DE: Awesome
Fedora Manual (RTFM) | The Linux Documentation Project | Script-Tools

Last edited by sea; 28th December 2011 at 01:02 PM. Reason: typo
Reply With Quote
Reply

Tags
distro, distros, hdd, multiple, partition, preparation, restore, reuse, users

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
Multiple distros phe Installation and Live Media 1 7th May 2009 09:02 PM
adding distros to grub on multiple hds inoculos Installation and Live Media 5 12th November 2008 11:30 PM
multiple live distros on one dvd? Wiles Using Fedora 0 20th December 2006 06:46 PM
Multiple distros, location of the /boot partition and kernel updates Jongi Using Fedora 13 19th October 2006 08:55 AM
Multiple distros using Grub from Fedora cabber Installation and Live Media 6 30th March 2006 04:01 PM


Current GMT-time: 11:59 (Thursday, 20-06-2013)

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