Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Installing different Ubuntu versions in partitions

  1. #1
    Join Date
    Jul 2009
    Beans
    51
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Installing different Ubuntu versions in partitions

    I want to install 11.04 Nutty Narwhal in a separate partition on my HDD (for testing purposes) so that it doesn't affect my 10.10 Maverick partition. I've read up on the basics of making partions in EG https://help.ubuntu.com/community/HowtoPartition, I now understand the real basic stuff, like the differences between primary, extended and logical partitions.

    But what I'm totally confused about is on which partition (I currently have 4 primary partitions) a novice like me should put 11.04 Nutty and how exactly do I do it? The help documentation and forum postings I've looked at so far haven't given me clear answers to those questions, so I'm hoping you guys can help! The solution which is easiest for a novice would probably be best at the moment (as long as it doesn't risk affecting my 10.10 Maverick stuff (ref booting up etc).

    Please note that I'm the sole user on my PC and that other than setting up partitions on my HDD (which I did during the standard installation process when I reinstalled Maverick), the ONLY partition I've used is the one it boots to.

    You'll no doubt think this is a totally daft question but is my home folder (ie john1-desktop) actually located in /dev/sda3 which is “mounted at /home” ?

    One thing I'm confused about is, if this is so, then is it logical for /dev/sda2 to be the bootable partition? Does one partition boot into another? Please find attached screenshots of my partitions using the Disk Usage Analyzer tool and sudo fdisk -l command.
    I've set up another desktop account (john2-desktop). If I upgraded to Nutty using this secondary account, would it leave my primary account (as above) unaffected, still on 10.10 Maverick?

    When I set up the partitions, I wanted to do them all in /home but the system said I had to select a different folder each time. So I shrugged my shoulders, closed my eyes (more or less!) and clicked on / and /boot and /home for my partitions. Was this choice unwise for a novice?!

    I'd just like to mention that some time in the future (when I'm happy that I've worked out the technicalities of it all) I'd like to install Win XP on this HDD (just to use Skype which is the one and only thing I've had such persistent problems with for several years on Ubuntu), leaving several other partitions for different versions of Ubuntu (and possibly a different Linux distribution if I happen to find out that it's better for Skype than Ubuntu). But I know that Windows is more complicated to set up, so if need be I'll do a totally fresh partitioning, that wouldn't be a problem.

    So thanks in advance for any help.
    Attached Images Attached Images
    Last edited by greenewbie; May 18th, 2011 at 06:28 PM. Reason: More white space!

  2. #2
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Installing different Ubuntu versions in partitions

    mmm - first thing I would say is that your / and /boot partition are absolutely enormous

    Probably not any need to have /boot anyway unless you have very specific requirements for it.

    What I would do assuming that those are all of your partitions - is shrink sda2 then install the 11.04 in that, if you choose manual partitioning you will be able to choose where to install it's bootloader - install that to the same partition as you install to (probably going to be sda4)

    Then boot your normal install run sudo update-grub and it should see the new install.

    On a slightly different note - your post is very hard to read, please use more whitespace.

    If you update with a new user then the old user will have the updated system as well afaik.

  3. #3
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,198
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing different Ubuntu versions in partitions

    Firstly, if you now have 4 primary partitions on your hard drive, and you are not using GUID Partitioning you should NOT attempt to create any more partitions! 4 primary partitions is the maximum permitted on any single disc using the MBR partitioning system.
    A /boot partition is not normally required on most domestic systems and just serves to complicate repair procedures.
    Your home folder will indeed be in sda3 (if that's the partition you mounted as /home during installation).
    MacBook Pro 10,1 retina

  4. #4
    Join Date
    Jan 2008
    Location
    Coventry, England
    Beans
    484
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing different Ubuntu versions in partitions

    Just to add to what forestpiskie as said, the /boot partition, if you really must have a separate partition for /boot, needs only be about 200 MBs at most. Presently, only ~200 MBs of space is being used anyway! If you want to be totally paranoid then you make that partition three, four or maybe five hundred, but really no more than that. The remaining 109 GBs can be used, as forestpiskie says, for your new Ubuntu install.

    Edit: Just looked at some other people's partitioning schemes and they use less than 100 MBs - some as little as 32 MBs for their /boot partition. And my current /boot directory contains 80 MBs of data.
    Last edited by Lateralis; May 18th, 2011 at 06:30 PM.

  5. #5
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Installing different Ubuntu versions in partitions

    Quote Originally Posted by Quackers View Post
    Firstly, if you now have 4 primary partitions on your hard drive, and you are not using GUID Partitioning you should NOT attempt to create any more partitions! 4 primary partitions is the maximum permitted on any single disc using the MBR partitioning system.
    A /boot partition is not normally required on most domestic systems and just serves to complicate repair procedures.
    Your home folder will indeed be in sda3 (if that's the partition you mounted as /home during installation).
    Didn't catch the second screenshot ...

    In light of that I'd change my mind.

    Given what you have I would boot the livecd - remove the swap - resize both sda1 and sda2 - move the partitions about so the unallocated space is one.

    Create an extended in there - then first create a new swap, then you can use some space there to create a partition to install to.

    You will also need to change the fstab line of the current install if you do that to deal with the new swap.

  6. #6
    Join Date
    Dec 2007
    Location
    Central CA
    Beans
    459
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Installing different Ubuntu versions in partitions

    Okay, we have a problem or two here.

    You have four partitions on your drive and that's fine for what you are using it for now. Unfortunately, you have no extra space for more partitions, and you need a partition or two of empty drive in order to install 11.04 without affecting your existing 10.10 installation.

    This is one of those "you can't get there from here" scenarios: in order to accomplish your stated goal, you would have to somehow shrink an existing partition (or two), and break at least one of the primary partitions down into a group of secondary partitions.

    Your /boot partition doesn't need to be very big, only about 300MB. Your swap also shouldn't be more than 2x the amount of RAM on your machine.

    I am running 11.04 on a 20GB partition with /home on a 30GB partition, and a third, /Data part for music and such. I'd say plenty of room on my 320GB drive to install a few more operating systems, but Vista owns some 111GB.

    Still I have enough room for a couple more versions of Ubuntu as they come available.

  7. #7
    Join Date
    Jul 2009
    Beans
    51
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Re: Installing different Ubuntu versions in partitions

    Quote Originally Posted by forestpiskie View Post
    mmm - first thing I would say is that your / and /boot partition are absolutely enormous

    Probably not any need to have /boot anyway unless you have very specific requirements for it.

    What I would do assuming that those are all of your partitions - is shrink sda2 then install the 11.04 in that, if you choose manual partitioning you will be able to choose where to install it's bootloader - install that to the same partition as you install to (probably going to be sda4)

    Then boot your normal install run sudo update-grub and it should see the new install.

    On a slightly different note - your post is very hard to read, please use more whitespace.

    If you update with a new user then the old user will have the updated system as well afaik.
    Many thanks forestpiskie!

    You're talking to a real Tech dummy.....the only bit I really understand so far is that my posting needed more white space (so I've done that now....I think I've mastered it!)

    I'm going to see if eating some dinner now will awaken some brain cells in me. In the meantime, surely I don't want to install to sda4: that's the swap partition?

  8. #8
    Join Date
    Jul 2009
    Beans
    51
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing different Ubuntu versions in partitions

    Thanks very much guys.....I really hadn't counted on all these replies so fast! Back in 90 mins

  9. #9
    Join Date
    Aug 2007
    Location
    a puddle in Manchester
    Beans
    9,198
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Installing different Ubuntu versions in partitions

    Feed the grey cells Usually a good idea!
    The way I would go about it is the way forestpiskie describes in post #5.
    MacBook Pro 10,1 retina

  10. #10
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Installing different Ubuntu versions in partitions

    Quote Originally Posted by greenewbie View Post
    Many thanks forestpiskie!

    You're talking to a real Tech dummy.....the only bit I really understand so far is that my posting needed more white space (so I've done that now....I think I've mastered it!)

    I'm going to see if eating some dinner now will awaken some brain cells in me. In the meantime, surely I don't want to install to sda4: that's the swap partition?
    We've mostly all been there at some point - if it gets to much and you really have no idea what someone said - tell them so and ask for a simplification

    Try and make some sort of decision and people will be more than happy to help you along.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •