how to use manual partitioning during installation_ - ask ubuntu

Upload: narasakumar

Post on 01-Jun-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 How to Use Manual Partitioning During Installation_ - Ask Ubuntu

    1/7

    7/28/2014 How to use manual partitioning during installation? - Ask Ubuntu

    http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installation/343370#343370 1/7

    sign up log in tour help

    Take the 2-minute tour Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

    How to use manual partitioning during installation?

    I'd like to see the full How-To on how to use manual partitioning during Ubuntu installation. The existing guides (at least those I found here)

    cover only automatic part and leave untouched the manual part (or extremely short and contain no pictures).

    I'd like to cover such situations:

    If you have blank disk

    If your disk contains Windows installed

    If your disk contains other systems

    If it is GPT, RAID or LVM

    partitioning system-installation

    edited May 14 at 7:38 asked Sep 9 '13 at 10:00

    Danatela

    4,013 5 13 42

    4 Answers

    If you have blank disk

    1. Boot into Ubuntu Installation media. This can be either CD or USB stick.

    2. Start the installation. Proceed to Step 4 and choose "Something else":

    3. You will see your disk as or (RAID case, * means that your

    letters different from ours)

    /dev/sda /dev/mapper/pdc_*

    are

    Click "New Partition Table..." You will see that you have free space on your disk now:

    Ubuntu Community Ask! Developer Design Discourse Hardware Insights Juju Shop More

    http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installationhttp://shop.ubuntu.com/http://juju.ubuntu.com/http://insights.ubuntu.com/http://www.ubuntu.com/certificationhttp://discourse.ubuntu.com/http://design.ubuntu.com/http://developer.ubuntu.com/http://askubuntu.com/http://community.ubuntu.com/http://www.ubuntu.com/http://askubuntu.com/users/171636/danatelahttp://askubuntu.com/users/171636/danatelahttp://askubuntu.com/posts/343268/revisionshttp://askubuntu.com/questions/tagged/system-installationhttp://askubuntu.com/questions/tagged/partitioninghttp://askubuntu.com/a/465642/171636http://askubuntu.com/a/343370/171636http://askubuntu.com/a/343352/171636http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installationhttp://askubuntu.com/tourhttp://askubuntu.com/tourhttps://askubuntu.com/users/login?returnurl=http%3a%2f%2faskubuntu.com%2fquestions%2f343268%2fhow-to-use-manual-partitioning-during-installation%2f343370https://askubuntu.com/users/signup?returnurl=http%3a%2f%2faskubuntu.com%2fquestions%2f343268%2fhow-to-use-manual-partitioning-during-installation%2f343370http://stackexchange.com/
  • 8/9/2019 How to Use Manual Partitioning During Installation_ - Ask Ubuntu

    2/7

    7/28/2014 How to use manual partitioning during installation? - Ask Ubuntu

    http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installation/343370#343370 2/7

    4. (Optional) Create partition for swap. Swap is the partition for keeping unneeded memory

    pages, like Windows swap. Also it can be used for hibernation.

    Select free space and click +

    Set parameters like on the picture below:

    Notice that you should set swap size more than you have physical memory in order to use

    hibernation. Also, you can place it in the end of disk, but thus it will be slow.

    5. Create partition for (root fs). This is the filesystem that contains your kernel, boot files,

    system files, command-line utilities, libraries, system-wide configuration files and logs.

    /

    Select free space and click +

    Set parameters like on the picture below:

    10 20 GiB should be enough

    6. Create partition for . This is the filesystem for your user's files: documents, images,

    music and videos. It's much more like Users folder in Windows.

    /home

  • 8/9/2019 How to Use Manual Partitioning During Installation_ - Ask Ubuntu

    3/7

  • 8/9/2019 How to Use Manual Partitioning During Installation_ - Ask Ubuntu

    4/7

    7/28/2014 How to use manual partitioning during installation? - Ask Ubuntu

    http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installation/343370#343370 4/7

    If you have disk that contains Windows installed1. Boot from Ubuntu Installation media.

    2. Unmount any mounted drives if they exist.

    3. Proceed to Step 4. Choose "Something else" and click :

    You will see partition table. It will look like this:

    Continue

    4. Free some space for Ubuntu:

    Select the Windows drive (not the loader!). It should be the biggest drive in the map.

    Clic k button. Reduce Windows' partition to 60% of it's size. Notice that you

    should remain some free space on it (8 20 GiB should be enough).

    Change...

  • 8/9/2019 How to Use Manual Partitioning During Installation_ - Ask Ubuntu

    5/7

    7/28/2014 How to use manual partitioning during installation? - Ask Ubuntu

    http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installation/343370#343370 5/7

    If you want, you can delete some partitions. This is done by clicking button.- Do not

    delete Windows partition!

    And ~40 GiB should be kept for Ubuntu. Clic k and to write changes on disk.OK Continue

    5. Now your partition table should look like this:

    6. Now, you can proceed with steps 4 7 of . Notice that swap will be

    placed on logical partition. This doesn't matter, in any case it will work perfect.

    part about blank installation

    edited May 14 at 6:04 answered Sep 9 '13 at 14:56

    Danatela

    4,013 5 13 42

    http://askubuntu.com/users/171636/danatelahttp://askubuntu.com/users/171636/danatelahttp://askubuntu.com/posts/343370/revisionshttp://askubuntu.com/a/343352/171636
  • 8/9/2019 How to Use Manual Partitioning During Installation_ - Ask Ubuntu

    6/7

    7/28/2014 How to use manual partitioning during installation? - Ask Ubuntu

    http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installation/343370#343370 6/7

    Do any of the following help you? (sorry, I don't have enough rep to comment this).

    Now suppose that we are going to install Ubuntu 11.04 and at first of the installation process we

    will meet Allocate drive space screen (the most important step in the installation process). In

    Allocate drive space screen Select Something else to partition your disk drive manually.

    The Next screen shows sda1 partition for Windows Xp and free space, Now we are going to install

    Ubuntu 11.04 so we need to create / partition and Swap.

    :Create / Partition

    Select free space and press on Add button.

    Ubuntu 11.04 requires about 4.4 GB, So we should type a value more than 4.4 GB. Here in my case

    I put 6000 MB i.e 6 GB.

    From "Use as" I selected Ext4 journalling file system.

    From "Mount point" I selected /.

    Press Add button to create / partition.

    Create Swap:

    In the previous screen select free space, and press Add button.

    Swap doesn't need much space. In my case I put 500 MB

    From "Use as" select Swap area

    No need to Mount point.

    Click Ok button to create swap.

    Install:

    Now we have /, partition, and swap so we are ready to install.

    To start installation process press Install now button.

    Manual partitioning on Ubuntu installation

    For installi ng Windows on a separate partiti on, this should be fairly self explanatory from the "Install

    Ubuntu alongside them" option, however you may come across the following bug.

    Your existing partition (Windows) is on the left, Ubuntu is on the right. That's the standard order

    when shrinking one partiti on to create another for dual-booting.

    Installing Ubuntu with Windows installed on a partition

    edited Sep 9 '13 at 14:03 answered Sep 9 '13 at 10:54

    Tom

    89 3

    Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, to include the

    essential parts of the answer here, and provide the link for reference.

    it would be prefer able

    Danatela Sep 9 '13 at 12:35

    I agree, and I am more than happy to bring in the textual parts of the links, however copying print screens from

    the attached r esources seems somewhat superfluous (and they pr obably supply the "better" answer). Tom Sep 9

    '13 at 13:11

    If you have RAIDmd

    I will not cover how to create arrays here. There is around the Internet.

    However, there is one major problem: Ubiquity installer doesn't account for the arrays created in

    the live session, so you'll probably get unbootable system after installation on such array.

    mdadm a lot of articles

    1. Create the setup like mine:

    $ sudo fdisk -l

    https://www.google.ru/search?q=how%20to%20create%20mdadm%20raidhttp://askubuntu.com/users/191094/tomhttp://askubuntu.com/users/171636/danatelahttp://meta.stackexchange.com/q/8259http://askubuntu.com/users/191094/tomhttp://askubuntu.com/users/191094/tomhttp://askubuntu.com/posts/343281/revisionshttp://askubuntu.com/questions/150550/installing-ubuntu-with-windows-which-is-left-and-right-when-allocating-spacehttp://linuxtop.blogspot.co.uk/2011/08/allocate-drive-space-for-ubuntu-1104.html
  • 8/9/2019 How to Use Manual Partitioning During Installation_ - Ask Ubuntu

    7/7