Question

How to partition with Fedora 11

Asked by: hke72

When setting up Fedora 11 I want to make a custom partitioning. I have tried with different setups, but I come back to the fact that I am guesing. Therefore I ask this: what is the best setup of the HD using Fedora 11.

Functional facts:
- I want to have a multiboot system, but unlike others I want 2 different Linux installations (because I want to install Ghost for Linux on one and Fedora 11 on the other)
- I will be using VirtualBox with images.
- The computers will be used for classrooms.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-06-26 at 03:35:09ID24524661
Topics

Linux Setup

,

Linux

,

Fedora Linux

Participating Experts
3
Points
250
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Fedora core1 Linux partition
    how do i do the partition with fedora core linux with 6 GB memory and 70 GB HDD for web application servers ? Can somebody help me i am new to this area. Thx, Prabha
  2. How to partition a hard drive for Fedora install
    Hi, I have a second hard drive, 200 Gigs, designated for Fedora install. How do I partition it? I mean, Fedora install will go auto, but the hard drive needs to be partitional first, and the only way to partition all 200 Gigs seems to be NTFS. Or, should I break it into a f...
  3. Partition a Hard Drive in Fedora
    Hey Guys, can I partition a hard drive when a Linux Operating system is installed. I want to iinstall fedora on a blank hard drive , but i also want to partition the drive.? Is it possible i can partition a drive after the OS is installed?
  4. Fedora 8, booting, swap partition
    Hi experts have triple boot: Vista Business - Kubuntu 7.10 - Fedora 8 I installed Kubuntu after Fedora. When Fedora is booting in verbose mode, I always see a message: Unable to access resume device (LABEL=SWAP). Does it mean that Fedora cannot access the swap partition...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: KeremEPosted on 2009-06-26 at 04:42:55ID: 24719997

Hi,

The default is LVM and allocate full disk space to the partition. Instead of stcking with the default you can go for allocating just 10-20 Gig for the  partiton and leave the rest for the other OS. If you want to evenly distribute them you can do it too.

The key is not to use LVM as it will allocate whole physical volume to an LVM.

 

by: hke72Posted on 2009-06-26 at 05:04:27ID: 24720085

Hi KeremE,
I am afraid I need more details. I am a computer guy, but new to Linux. From the auto-answeres in the installer-wizard of Fedora 11 I have understood I need a root folder /, a /home folder, and a swap-partition. I have then installed Fedora 11 and left the /home-folder with most of the disk-space.

But what do I do when I want to multiboot? But I do not want Windows! What changes?

I have a 95GB-disk and have until now devided it like this

-root / - 5GB
-SWAP - 2GB
-/home - the rest

But then I cannot multiboot? Can I?

Thank you!

 

by: hke72Posted on 2009-06-26 at 05:15:29ID: 24720156

I made root and /home ext4!?

 

by: torimarPosted on 2009-06-26 at 09:48:00ID: 24722713

You do not *need* to have a separate /home partition.
On multi-boot systems it is even advisable to have the complete OS in one single partition (the "/" or root mountpoint). Then add a swap partition which will be shared by all your Linuxes installed.
If you want to multi-boot (= add another OS) simply leave the space for it unallocated (= free, empty, unformatted).


If you find it difficult to use the Fedora partitioner, it is also advisable to pre-partition your drive using a boot CD. I recommend Parted Magic (www.partedmagic.com), since it is small, easy to use and contains all the necessary tools.
Boot off it, click the 'Partitioner' icon, delete all existing partitions and create the following partitions on the drive:
-- Fedora, primary, active, ext3 or ext4, ~50 GB
-- Secondary OS, primary, ext3 or ext4, ~43 GB
-- Swap, primary, swap, 2 GB

Then boot off the Fedora CD and tell Fedora not to format, but to use the existing first partition for root ("/"), and the third partition for swap. The first partition will most likely be called 'sda1# or 'hda1'.
Afterwards install your secondary OS to 'sda2'.

BUT:
As was already pointed out in your other thread, Ghost for Linux (G4L) is *not* an OS!
It is a programme that you cannot install into an empty partition, and that you cannot boot from. You need to install it inside a Linux OS, or use a bootable CD to run it. You will find G4L on the Parted Magic CD that I recommended.

 

by: eagerPosted on 2009-06-27 at 09:36:46ID: 24728369

There are advantages to breaking up your hard drive into separate partitions.  One is that it makes it easier to organize your data.  Torimar is right, you don't need a separate /home partition.  On the other hand, if you put your /home directory on the same partition as /root, as he suggests, you can't share your /home between multiple distros.

I recommend using plain partitions for /boot and /root.  There are advantages to using LVM for the rest of the disk, but if you are new to Linux I'd leave that to future investigation.

Here's a suggested partitioning:

/dev/sda1  -- /boot  -- 100 Mb    (contains grub and boot files, shared by all distros)
/dev/sda2  -- extended partition (remainder of disk)
/dev/sda5  -- swap  -- 2Gb   (twice the size of your RAM)
/dev/sda6 -- /root   -- 10Gb (root for first Linux system)
/dev/sda7 -- /root   -- 10Gb (root for second Linux system)
/dev/sda8 -- /home -- 20Gb (whatever you want for your private data)

/boot, /home, and swap are shared by all distros.   It's better to use labels than explicit partition numbers.  

With your 95Gb drive, this leaves a large amount of free space.  You can either expand the /home partition to fill the rest of the disk, or create other partitions which can be mounted as needed.  
I generally keep my VM images on different partitions from /home, just to make it easier to back up and restore them as needed.

 

by: torimarPosted on 2009-06-27 at 17:30:09ID: 24729727

hke72,
please ignore this comment of mine. It is in reply to eager's post and may be considered shoptalk among experts.


eager,
what you suggest is an interesting and solid setup. However, I believe I have quite a few very good reasons for not recommending anything like that to a Linux newcomer, especially not to someone who is not used to dealing with partitions under Linux.

1. It will easily get confusing.
There are already 6 partitions in your setup, plus a lot of free space for more. Just imagine, for instance, a third Linux. Chances are too high that sooner or later nobody will be able to tell what is what. Mixing up partitions during installation is equal to guaranteed data loss. Of course, labels are a good way to avoid this, but what if you don't know how to label, or if the labels don't stick (which I experienced quite often)?

2. You may have to resize.
Unless you are an experienced Linux user, you may underestimate the space requirements for either your /root or /home partitions. The space you suggest in your setup is fine for any fresh install, but what about two years from now? What if you use lots of programmes, keep lots of sources, or do extensive logging?
Resizing (or moving) a partition that is surrounded by other partitions is already a pain, but on top of that, resizing will change the UUIDs of all partitions involved. Changed UUIDs will result in all sorts of problems with Grub, from minor annoyances to complete unbootability. I have stories to tell about this.
Putting a complete Linux system into one partition is like creating a virtual LVM space, where every mount-point can take as much space as it needs.

3. Sharing /home among several OS's may be undesirable.
People setting up a multi-boot system with several Linux versions usually have a reason for it. If they wanted to use the exact same programmes, settings, and data on all of those versions, then there is not much point in having more than one. Sharing your user settings across systems with different setups, on the other hand, may cause all sorts of confusing and seemingly inexplicable problems.
For example: Running SuSE with all the desktop environments it offers (Gnome, KDE 3.5, KDE 4, Xfce ...) and frequently changing between them, but sharing the same home directory of course, will sooner or later result in a strange mix of settings that seem to block each other and create error messages and general instability. If this happens on one and the same system, all the more it may be expected to happen across different systems.

4. A shared /home partition must needs be left intact during installation.
If you share a /home partition, it must be installed as a mount-point during installation, but at the same time you must make absolutely sure it does *not* get formatted. Now, every Linux distro has a different installation system, and some of them still aren't really intuitive (like hiding a certain important feature behind an 'advanced' button, using their own partition managers, etc.). Unless you are quite familiar with the distro you are about to install, chances are too high you may click the 'Ok' button too early - and lose all of your data and settings.

5. A separate /boot partition requires maintenance.
In my view, a separate /boot partition either is a waste of space (if you create it large enough to never have to care), or it will sooner or later be cluttered up with old kernels that you have to remove manually. For this again, you need to know what you are doing.
Example: Last year, on a Dell laptop, I decided to transform the unwanted 95 mb Dell utility partition into a /boot partition for SuSE. However, SuSE creates not one, but several kernels to choose from every time a kernel is installed or upgraded (a Xen, a PAE, etc. ...). In order to get the Wifi working, a new kernel needed to be installed - which resulted in 8 kernels residing in the /boot partition, and 85% of its space already being taken - after only one day of using that system!
This example may be extreme (and the laptop is running fine with Mint and Dreamlinux right now), but every distro will sooner or later create kernel redundancies, simply by using the automatic update features.

 

by: eagerPosted on 2009-06-28 at 07:20:35ID: 24731354

Torimar --

Good comments.

1.  Labeling a partition is simple: use e2label.  I don't know about labels "not sticking"; never seen this.

2.  Resizing:  LVM allows for resizing, but I (and others) do not recommend it for /root.  It's a bit of a learning curve for a newbie.  I don't recommend using UUID references; not sure why you mention that.  Rather than expanding a root partition to add more "stuff", I create a new partition.  

Putting /home in the root partition means that you cannot replace the distro without backing up your /home data and anything that it requires.  That's a lot of unnecessary work, especially when the partition is as large as you recommend.  (How many hours does it take to back up 40-50Gb to DVDs?)

3.  Yes, there may be a few times when you cannot share /home, although your examples don't seem to match the author's question.  The conflicts are not between Gnome and KDE, which co-exist quite well, but between KDE 3.5 and KDE 4.0.   Even in this case, you are better off having separate /home partitions for each of the OS's rather than having /home on the root partition (which is rarely a good idea).  For one, you can temporarily mount the /home from one OS while running the other.  When you have /home on the /root partition, to copy a file (say your .bashrc) from one OS to another, you have to boot the first OS, copy the file to a USB drive or somewhere else, boot the second OS, then copy the file over.  This gets tedious very quickly.  

4.  Yes, if you install a new OS, you need to make sure that only the intended partitions are formatted, and you don't format /home or any other needed partition.  Just like you need to make sure that you don't install into the wrong root partition.  I think you exaggerate how difficult this is.  If you don't pay attention to which partitions are formatted while installing a new distro, you are not likely to preserve the previous distro.  

5.  If 100Mb wasn't big enough for your /boot partition, make it 200Mb.  

 

by: hke72Posted on 2009-06-28 at 15:29:10ID: 24732711

I want to make a point which might mean something.

I want to boot all the classroom computers with a smal linux where I can run G4L. I will then set them to listen. From the teacher computer I want to multicast. This means I will want to copy all but the smal linux partition (since it will be in use). In that way you will not need a boot-CD which is the reason for all of this.

Does this make anything different?

And thank you both for the insight and help!!

 

by: hke72Posted on 2009-06-29 at 01:12:31ID: 24734309

What I have tried now:

I read both your answeres and am trying to implement torimars's suggestion with a smal change. I made a large partition, 92GB, which will hold Fedora 11. A smal one, 1GB, which will hold a smal linux OS with G4L and 2GB swap.

 

by: torimarPosted on 2009-06-29 at 21:00:06ID: 24742155

hke72,

I have been trying to figure out what exactly you are planning to do, and how exactly this would affect your partitioning scheme, but I wasn't very successful. This is mostly due to the fact that G4L is not at all well documented yet.
To be honest, I did not even know that G4L could be used for listening to a multi-cast server. All I know is that G4L does not support network protocols, only backup to and from FTP. How this is supposed to work out for your project is beyond my reach.
But my advise would be to not attempt this unless you have a good and solid instruction guide/tutorial to follow. Which you obviously don't seem to have, because then you would already know how to setup the computers in your classroom.

This is the reason for my following suggestion:
There are two different ways of setting up Fedory for mass-deployment over a network which are both a lot more common and in use than the method you are planning to adopt. Both of these ways will not require multi-boot systems or specific partitioning schemes, neither on the master PC nor on the client ones. Please have a look at them before you continue on your present path:

1. Using Clonezilla SE as a multi-cast server (instead of G4L) and PXE/network boot on the clients.
http://clonezilla.org/clonezilla-server-edition/
If you check out the examples on that page, you will see that they are for a classroom with 40 PCs - which is pretty much your scenario. Clonezilla has a larger userbase and better documentation than G4L, which will be important should you run into problems.
Consult the following page for more information on PXE booting and PXE servers:
http://linux-sxs.org/internet_serving/pxeboot.html

2. Setting up the master PC as an installation staging server, then install on client PCs using the network installation option.
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/x8664-multi-install-guide/s1-steps-network-installs.html
Customizing your kickstart file will give you the option of going for unattended installations:
http://www.centos.org/docs/4/html/rhel-sag-en-4/s1-kickstart2-file.html

These ways may not be what you were looking for but they look far more promising than the G4L multi-cast that you are trying to figure out. Because I have a feeling that you could be running into no end of problems.

If time is of the essence, then it would even be faster, I guess, to take the direct route, simply clone a master system to DVD or USB media (using Clonezilla, partimage, or G4L - you will find all of them on the Parted Magic boot CD: www.partedmagic.com) and then restore it manually to one client machine after the other. Distributing a fresh installation of Fedora, this will take approximately 5-10 minutes per machine.

 

by: hke72Posted on 2009-06-30 at 01:29:23ID: 24743321

Hey Torimar,
thank you so much for this help. I am really greatfull!

I will try to explain better what I want. I want to be able to do three things:

1. Multi-clone one-computer for easier installation and because something always goes wrong after a while.
2. Use VirtualBox with a set of images (VM) to be used for the very different courses (some need XP others Server 2003)
3. Copy spesific course material to all the classrom computers

To help me I have bought a Buffalo nettwork disk (1.5TB) which can work as an FTP-server. I therefore have both managed to use G4L to make an image from one computer and then restoring two other computers using that image and do multicasting, copying one computer directly onto the others - using boot CD's. I had some smal problems with the MAC adress, but it was easily fixed (do you know of other problems when cloning Linux-machines? Is there a script I should run?)

Now,..

In general the people dealing with this classrom should not need to do more then 3, copying material to all the computers. No cloning and no copying of images! But as we all know what can go wrong will go wrong..so.. I want to be able to also clone.

Then working on this yesterday I posted a question on the G4L-forum and got a very cool answer. If I add some lines in the grub.conf I can load G4L into memory, not using any partition at all!

So now I think maybe I will use your idea and keep the partitions to a minimum. Only 2 - root and SWAP.

PS: I have tried for toooo long to make Clonezilla work. Without success. My problem was that I had only 1 NIC (in laptops) and even tho there is a description on the DRBL-homepage on how to set it up I gave up after a long time.

PPS: I will read the other documents you provided!

 

by: hke72Posted on 2009-06-30 at 01:35:47ID: 24743362

Reading the documents I see it is a recipe to install linux on many computers. But I think I will save time cloning. I can then make x times virtual machines on one computer and get everything copied.

 

by: hke72Posted on 2009-06-30 at 23:29:24ID: 31596780

Really! - thank you :)

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...