Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Installation
Reload this Page Reccomendation on partitioning
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Installation Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Reply
 
Thread Tools Display Modes
Old 02-27-2008   #1 (permalink)
plr4ever
Just Joined!
 
Join Date: Feb 2008
Posts: 19
Recommendation on partitioning

Hello all

Alright, i'm going to get straight to the point. I want to put a few distros on my computer, as i have tired of using VirtualBox for everything.
My only hard drive is an 80 GB (really should have paid a little more for a bigger one) and i am trying to get the most out of it. I am running ubuntu right now with my / a 6ish GB ext3 on sda1, my /home is 60 GB xfs on sda2, and a 768 MB(sounded right to me) SWAP partition. i have about 13 GB to play around with, as i oversized my /home and i cannot shrink it...

Does anyone have a recommendation as to which directories to share b/w distros. I was planning on putting openSUSE on the free space, but want to know what other directories to make accessible to both(i.e. /etc) so all my programs can be shared, or at least their prefs. ( i know that debs and rpms aren't compatible). I would like to keep both distros as synced as possible, if possible.

Looking forward to your input!
plr4ever is offline   Reply With Quote
Old 02-28-2008   #2 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,108
You can shrink /dev/sda2 partition to create more space. I have also a 80GB disk in my test machine and I have installed Windows XP + 6 Linux distros in it.
Lets check exact partition structure of your HD. Boot up Ubuntu and execute this in Terminal
Code:
sudo fdisk -l
Post output here.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline   Reply With Quote
Old 02-28-2008   #3 (permalink)
i92guboj
Linux Engineer
 
Join Date: Nov 2007
Location: Córdoba (Spain)
Posts: 1,030
Quote:
Originally Posted by plr4ever View Post
Does anyone have a recommendation as to which directories to share b/w distros.
/tmp and /var/tmp can be shared without problems. In fact, most distros clean those on startup. I go one step above that and just symlink /tmp to /var/tmp

If you like to compile your own kernel, you can also store it under /usr/src/ and share that partition as well. You can also share the home partition, but I would use a different user for each distro, since you can have problems sharing some configs on different versions of some programs amongst different distros.

Quote:
and I was planning on putting openSUSE on the free space, but want to know what other directories to make accessible to both(i.e. /etc) so all my programs can be shared, or at least their prefs. ( i know that debs and rpms aren't compatible). I would like to keep both distros as synced as possible, if possible.
Not advisable. Sharing /etc between many distros can give you serious trouble. Keep in mind that each distro's package manager will overwrite files on its own, and that include files under /etc. Anyway, it's not a big directory, and it's preferable to have a different /etc on each distro.
i92guboj is online now   Reply With Quote
Old 02-29-2008   #4 (permalink)
plr4ever
Just Joined!
 
Join Date: Feb 2008
Posts: 19
Code:
zach@zach-desktop:~$ sudo fdisk -l
[sudo] password for zach:

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cd0e7

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         747     6000246   83  Linux
/dev/sda2            1517        9349    62918572+  83  Linux
/dev/sda3            9350        9442      747022+   5  Extended
/dev/sda5            9350        9442      746991   82  Linux swap / Solaris
zach@zach-desktop:~$
Quote:
Originally Posted by i92guboj View Post
If you like to compile your own kernel, you can also store it under /usr/src/ and share that partition as well. You can also share the home partition, but I would use a different user for each distro, since you can have problems sharing some configs on different versions of some programs amongst different distros.

Not advisable. Sharing /etc between many distros can give you serious trouble. Keep in mind that each distro's package manager will overwrite files on its own, and that include files under /etc. Anyway, it's not a big directory, and it's preferable to have a different /etc on each distro.
Thanks, that is what i needed to know about sharing folders!
Also, i tried recompiling my kernel, and it would not go all the way through, so I ended up messing my entire install, hence the want for different distros. i posted my problem here http://http://www.linuxforums.org/fo...ll-kernel.html
as you can see in the second to last post, it wouldn't mkinitramfs!

Is this all you would like?
Thanks again guys!
plr4ever is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Non-interactive partitioning for Linux Amn Linux Newbie 0 11-09-2007 02:24 AM
How to install SuSE Linux 9.1 from CD? //siddhartha// Installation 10 03-18-2005 03:29 PM
Need help partitioning Virii Linux Newbie 11 09-12-2004 08:19 PM
Partitioning for a new PC dan@george Installation 11 08-02-2004 04:32 PM




All times are GMT. The time now is 06:58 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0