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
- If you have a OEM-preinstalled copy of Windows 8
partitioning system-installation
add a comment |
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
- If you have a OEM-preinstalled copy of Windows 8
partitioning system-installation
2
For the 'normal' way of installting you can try this question: askubuntu.com/questions/6328/how-do-i-install-ubuntu
– Wilf
Mar 5 '15 at 19:22
Although many people go this route (and it works fine), I prefer to just boot up a standalone gparted distro and do all my partitioning first. I especially like that it "does" everything and shows you how it will turn out before it actually writes anything to the disk. That way, it's easy to say "oops" and just start over if you make a mistake or change your mind about any of the details.
– Joe
Jan 3 '16 at 4:57
This description may not be working on 16.04 when: - installation is in EFI mode; - there is a previous Windows installation; - you want to create a custom partitioning. When trying to partition the disk so that some of the original partitions remain untouched, the installer hangs before executing the commands, while warning about forced efi installation. (see this bug bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1433310). When this happens, the partition table on the disk is not yet touched, but the installation is completely halted with no other option than to restart the computer
– Laszlo Stenstråle
Oct 12 '16 at 9:57
1
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:37
add a comment |
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
- If you have a OEM-preinstalled copy of Windows 8
partitioning system-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
- If you have a OEM-preinstalled copy of Windows 8
partitioning system-installation
partitioning system-installation
edited Apr 13 '17 at 12:23
Community♦
1
1
asked Sep 9 '13 at 10:00
DanatelaDanatela
9,25993263
9,25993263
2
For the 'normal' way of installting you can try this question: askubuntu.com/questions/6328/how-do-i-install-ubuntu
– Wilf
Mar 5 '15 at 19:22
Although many people go this route (and it works fine), I prefer to just boot up a standalone gparted distro and do all my partitioning first. I especially like that it "does" everything and shows you how it will turn out before it actually writes anything to the disk. That way, it's easy to say "oops" and just start over if you make a mistake or change your mind about any of the details.
– Joe
Jan 3 '16 at 4:57
This description may not be working on 16.04 when: - installation is in EFI mode; - there is a previous Windows installation; - you want to create a custom partitioning. When trying to partition the disk so that some of the original partitions remain untouched, the installer hangs before executing the commands, while warning about forced efi installation. (see this bug bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1433310). When this happens, the partition table on the disk is not yet touched, but the installation is completely halted with no other option than to restart the computer
– Laszlo Stenstråle
Oct 12 '16 at 9:57
1
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:37
add a comment |
2
For the 'normal' way of installting you can try this question: askubuntu.com/questions/6328/how-do-i-install-ubuntu
– Wilf
Mar 5 '15 at 19:22
Although many people go this route (and it works fine), I prefer to just boot up a standalone gparted distro and do all my partitioning first. I especially like that it "does" everything and shows you how it will turn out before it actually writes anything to the disk. That way, it's easy to say "oops" and just start over if you make a mistake or change your mind about any of the details.
– Joe
Jan 3 '16 at 4:57
This description may not be working on 16.04 when: - installation is in EFI mode; - there is a previous Windows installation; - you want to create a custom partitioning. When trying to partition the disk so that some of the original partitions remain untouched, the installer hangs before executing the commands, while warning about forced efi installation. (see this bug bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1433310). When this happens, the partition table on the disk is not yet touched, but the installation is completely halted with no other option than to restart the computer
– Laszlo Stenstråle
Oct 12 '16 at 9:57
1
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:37
2
2
For the 'normal' way of installting you can try this question: askubuntu.com/questions/6328/how-do-i-install-ubuntu
– Wilf
Mar 5 '15 at 19:22
For the 'normal' way of installting you can try this question: askubuntu.com/questions/6328/how-do-i-install-ubuntu
– Wilf
Mar 5 '15 at 19:22
Although many people go this route (and it works fine), I prefer to just boot up a standalone gparted distro and do all my partitioning first. I especially like that it "does" everything and shows you how it will turn out before it actually writes anything to the disk. That way, it's easy to say "oops" and just start over if you make a mistake or change your mind about any of the details.
– Joe
Jan 3 '16 at 4:57
Although many people go this route (and it works fine), I prefer to just boot up a standalone gparted distro and do all my partitioning first. I especially like that it "does" everything and shows you how it will turn out before it actually writes anything to the disk. That way, it's easy to say "oops" and just start over if you make a mistake or change your mind about any of the details.
– Joe
Jan 3 '16 at 4:57
This description may not be working on 16.04 when: - installation is in EFI mode; - there is a previous Windows installation; - you want to create a custom partitioning. When trying to partition the disk so that some of the original partitions remain untouched, the installer hangs before executing the commands, while warning about forced efi installation. (see this bug bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1433310). When this happens, the partition table on the disk is not yet touched, but the installation is completely halted with no other option than to restart the computer
– Laszlo Stenstråle
Oct 12 '16 at 9:57
This description may not be working on 16.04 when: - installation is in EFI mode; - there is a previous Windows installation; - you want to create a custom partitioning. When trying to partition the disk so that some of the original partitions remain untouched, the installer hangs before executing the commands, while warning about forced efi installation. (see this bug bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1433310). When this happens, the partition table on the disk is not yet touched, but the installation is completely halted with no other option than to restart the computer
– Laszlo Stenstråle
Oct 12 '16 at 9:57
1
1
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:37
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:37
add a comment |
6 Answers
6
active
oldest
votes
If you have blank disk
- Boot into Ubuntu Installation media. This can be either CD or USB stick.
- Start the installation. Proceed to Step 4 and choose "Something else":
You will see your disk as
/dev/sda
or/dev/mapper/pdc_*
(RAID case, * means that your letters are different from ours)
Click "New Partition Table..." You will see that you have free space on your disk now:
(Recommended) 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.
- Select free space and click +
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
- Select free space and click +
Create partition for
/home
. This is the filesystem for your user's files: documents, images, music and videos. It's much more like Users folder in Windows.
You can do this just like in step 5 and even choose other fs type (though I recommend use ext4 instead of reiserfs. Simply, the first is much more flexible and the second is quicker)
(Optional) Create separate partitions for
/boot
,/tmp
and/var
. Set their size according to your needs:
/boot
should be 100 – 500 MiB
/var
and/tmp
should be > 5 GiB
If you doubt about which device for boot loader installation to choose, leave it default. It would be set by installer. But sometimes it does mistakes. Let me guide you how to deal with it:
- If you use only one hard disk, select or leave
/dev/sda
intact. - If you use more than one hard disk with no RAID, select the one from which your system does boot. You can also select other disk and set BIOS to boot from it.
- If you have RAID from which your system starts, it will be
/dev/mapper/...
Be sure that you select entire disk, not a single partition!
- If you use only one hard disk, select or leave
After all, you should see your disk like this:
As LiveWireBT noticed in comments, it is recommended to place root partition onto primary partition on MBR scheme disks. However, it belongs to personal taste. Sometimes it's even better to put /boot
directory on primary and leave root on logical partition.
That's all! You can now click Install Now and proceed to the installation.
1
@zkent if you want to use NTFS or FAT32 as your/home
, you should make small Ext2/3/4 partition and create some symlinks on it pointing to the corresponding directories on the partition you want to share. You can't just place such important parts of the system like/home
on filesystems that are not designed for them.
– Danatela
Oct 9 '14 at 4:42
6
I just noticed that root is a logical partition, shouldn't these instructions recommend that root is on a primary partition on MBR scheme disks?
– LiveWireBT
Dec 12 '14 at 0:36
1
Why do you say that theswap
partition is optional?
– becko
Mar 10 '15 at 19:01
3
Regarding point 7. Is it mandatory for UEFI based machines to haveEFI boot partition
created (200MB)?
– VRR
May 5 '15 at 20:28
3
Presumably 'swap at the end of the disk is slow' applies only to HDD, not SSD?
– Jonathan Hartley
Mar 9 '16 at 22:52
|
show 9 more comments
If you have disk that contains Windows installed
- Boot from Ubuntu Installation media.
- Unmount any mounted drives if they exist.
- Proceed to Step 4. Choose "Something else" and click Continue:
You will see partition table. It will look like this:
Free some space for Ubuntu:
- Select the Windows drive (not the loader!). It should be the biggest drive in the map.
- Click Change... 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).
- 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. Click OK and Continue to write changes on disk.
- Now your partition table should look like this:
- Now, you can proceed with steps 4 – 7 of part about blank installation. Notice that swap will be placed on logical partition. This doesn't matter, in any case it will work perfect.
3
I have experienced difficulties after shrinking a Windows partition using tools on the Linux side. It may be safer to shrink the Windows partition using Windows tools before beginning the install. Ref: askubuntu.com/questions/511459/…
– Organic Marble
Mar 23 '15 at 1:24
If you have Logical Disk Manager (LDM) Partition, the partition size shows as "unknown" and you can't resize it. The solution is to do it from inside Windows itself first: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:00
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:38
@Danatela if i want to remove windows completely from my computer, should i delete windows partition???
– Fatemeh Karimi
Jan 16 '18 at 16:44
1
@FatemehKarimi yep, it's recommended but not mandatory. Often people have significant amount of data on their windows partition, moving it on linux filesystems has pros and cons.
– Danatela
Jan 23 '18 at 9:51
|
show 1 more comment
If you have a OEM-preinstalled copy of Windows 8 or later
Computers with OEM installs of Windows usually come with more than 1 or 2 partitions. Starting with Windows 8 the partition table should be GPT, allowing for more than 4 primary partitions.
1. Resizing the Windows partition
There are at least 2 ways doing this:
- from the live media
- in Windows
A. Resizing from Ubuntu live media
You can run GParted or use only the manual partitioning menu of the installer.
B. The safer option: Resizing from within Windows
Resize the Windows partition with Disk Management (run
diskmgmt.msc
).
Select your Windows partition and choose "Shrink Volume…" from the context menu.
This will usually shrink to the minimum possible, you may want to adjust the value to leave more space for Windows.
Optionally disable fast startup and probably disable hibernation, if it is activated and you intend to access the Windows partition with Ubuntu. Run
powercfg.cpl
and navigate to Power Options > System Settings through "Choose what the power button does".
2. Manually setting up the partition layout for Ubuntu
Attention! No, you don't want to erase the entire disk and Windows along with it. Choose the Something else option if you see this screen. (Something else may be the most difficult option to understand, but considering existing bugs you know what you will get.)
You will get to the manual partitioning menu, where you should at least create a root partition (
/
) and a swap partition.
Option 1: add only a root partition
Option 2: add a root and home partition
…finally add the swap partition:
Note that there usually is an existing EFI System Partition (short ESP,
efi
in the screenshot), that the installer will automatically detect and mount to install EFI loaders and programs.
Related bug reports
- GPT partition tables are not properly detected - Ubiquity suggests erasing disk
Related
My answer to SU question: Clean install Windows 8.1 or Windows 8 from OEM key (now updated with info for Windows 10)- Adding an encrypted partition with
pam_mount
during login (1, 2)
+1 Just to expand the answer: it is safer to have a separate home partition concerning data security, especially if you planing to upgrade Ubuntu later.
– VRR
Apr 10 '15 at 6:59
If you add a home partition I'll +1 ! ;-)
– Fabby
Aug 13 '15 at 17:11
@Fabby I added shopped screenshots, not very consistent, but it should do the trick without redoing them all.
– LiveWireBT
Aug 13 '15 at 18:44
Danke Schön! ;-)
– Fabby
Aug 13 '15 at 19:24
1
If you can't shrink the partition very much, try to disable Windows' Page file and System protection features: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:06
|
show 3 more comments
If you have md
RAID
I will not cover how to create mdadm
arrays here. There is a lot of articles 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.
Create the setup like mine:
$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
...
Device Boot Start End Blocks Id System
/dev/sda1 2048 156299263 78148608 83 Linux
/dev/sda2 156299264 311556095 77628416 7 HPFS/NTFS/exFAT
/dev/sda3 * 311556096 312580095 512000 83 Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
...
Device Boot Start End Blocks Id System
/dev/sdb1 2048 156301311 78149632 83 Linux
Disk /dev/md0: 160.0 GB, 160048349184 bytes
...
Disk /dev/md0 doesn't contain a valid partition table
As you can guess, I created
/dev/md0
mdadm
array from/dev/sda1
and/dev/sdb1
. It's empty now. Let's install something on it.
Create partitions on
/dev/md0
as you like:
Important: Install
/boot
onto one of partition outside the array because GRUB doesn't supportmdadm
. In my case, it's/dev/sda3
. If you want more quick booting of your system, it should be placed at the beginning of the disk.
Install Ubuntu. Click Continue testing. Or reboot and see initramfs prompt
Now, you have to
chroot
into installed system and installmdadm
:
sudo mount /dev/md0p6 /mnt
sudo mount /dev/md0p5 /mnt/home
sudo mount /dev/sda3 /mnt/boot
for d in /dev /proc /sys /run; do sudo mount --bind $d /mnd$d; done
chroot /mnt
apt-get install mdadm
Installing
mdadm
should fix booting problem.
that is what i need
– user284234
May 30 '14 at 5:57
add a comment |
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 installing Windows on a separate partition, 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 partition to create another for dual-booting.
Installing Ubuntu with Windows installed on a partition
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
– 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 resources seems somewhat superfluous (and they probably supply the "better" answer).
– Tom
Sep 9 '13 at 13:11
add a comment |
Partition shows "unknown" Used in GParted
This happened to me on 17.10 because my Windows 10 Lenovo P51 used a Logical Disk Manager (LDM) Partition.
The solution was to shrink the partition from inside Windows as shown at: https://askubuntu.com/a/521195/52975
You can then install Ubuntu on the free space allocated.
Cannot shrink disk fully
Then I hit the second problem: Windows said I had 400Gb of free space in the partition, but I could only shrink 250Gb.
The solution was to go inside Windows and:
- Disable Page File (AKA Windows' swap)
- Disable System Protection
as mentioned at: https://superuser.com/questions/1017764/how-to-shrink-a-windows-10-partition/1060508#1060508
Then after the reboot, it let me shrink it all the way.
add a comment |
protected by Zanna Dec 29 '16 at 13:18
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you have blank disk
- Boot into Ubuntu Installation media. This can be either CD or USB stick.
- Start the installation. Proceed to Step 4 and choose "Something else":
You will see your disk as
/dev/sda
or/dev/mapper/pdc_*
(RAID case, * means that your letters are different from ours)
Click "New Partition Table..." You will see that you have free space on your disk now:
(Recommended) 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.
- Select free space and click +
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
- Select free space and click +
Create partition for
/home
. This is the filesystem for your user's files: documents, images, music and videos. It's much more like Users folder in Windows.
You can do this just like in step 5 and even choose other fs type (though I recommend use ext4 instead of reiserfs. Simply, the first is much more flexible and the second is quicker)
(Optional) Create separate partitions for
/boot
,/tmp
and/var
. Set their size according to your needs:
/boot
should be 100 – 500 MiB
/var
and/tmp
should be > 5 GiB
If you doubt about which device for boot loader installation to choose, leave it default. It would be set by installer. But sometimes it does mistakes. Let me guide you how to deal with it:
- If you use only one hard disk, select or leave
/dev/sda
intact. - If you use more than one hard disk with no RAID, select the one from which your system does boot. You can also select other disk and set BIOS to boot from it.
- If you have RAID from which your system starts, it will be
/dev/mapper/...
Be sure that you select entire disk, not a single partition!
- If you use only one hard disk, select or leave
After all, you should see your disk like this:
As LiveWireBT noticed in comments, it is recommended to place root partition onto primary partition on MBR scheme disks. However, it belongs to personal taste. Sometimes it's even better to put /boot
directory on primary and leave root on logical partition.
That's all! You can now click Install Now and proceed to the installation.
1
@zkent if you want to use NTFS or FAT32 as your/home
, you should make small Ext2/3/4 partition and create some symlinks on it pointing to the corresponding directories on the partition you want to share. You can't just place such important parts of the system like/home
on filesystems that are not designed for them.
– Danatela
Oct 9 '14 at 4:42
6
I just noticed that root is a logical partition, shouldn't these instructions recommend that root is on a primary partition on MBR scheme disks?
– LiveWireBT
Dec 12 '14 at 0:36
1
Why do you say that theswap
partition is optional?
– becko
Mar 10 '15 at 19:01
3
Regarding point 7. Is it mandatory for UEFI based machines to haveEFI boot partition
created (200MB)?
– VRR
May 5 '15 at 20:28
3
Presumably 'swap at the end of the disk is slow' applies only to HDD, not SSD?
– Jonathan Hartley
Mar 9 '16 at 22:52
|
show 9 more comments
If you have blank disk
- Boot into Ubuntu Installation media. This can be either CD or USB stick.
- Start the installation. Proceed to Step 4 and choose "Something else":
You will see your disk as
/dev/sda
or/dev/mapper/pdc_*
(RAID case, * means that your letters are different from ours)
Click "New Partition Table..." You will see that you have free space on your disk now:
(Recommended) 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.
- Select free space and click +
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
- Select free space and click +
Create partition for
/home
. This is the filesystem for your user's files: documents, images, music and videos. It's much more like Users folder in Windows.
You can do this just like in step 5 and even choose other fs type (though I recommend use ext4 instead of reiserfs. Simply, the first is much more flexible and the second is quicker)
(Optional) Create separate partitions for
/boot
,/tmp
and/var
. Set their size according to your needs:
/boot
should be 100 – 500 MiB
/var
and/tmp
should be > 5 GiB
If you doubt about which device for boot loader installation to choose, leave it default. It would be set by installer. But sometimes it does mistakes. Let me guide you how to deal with it:
- If you use only one hard disk, select or leave
/dev/sda
intact. - If you use more than one hard disk with no RAID, select the one from which your system does boot. You can also select other disk and set BIOS to boot from it.
- If you have RAID from which your system starts, it will be
/dev/mapper/...
Be sure that you select entire disk, not a single partition!
- If you use only one hard disk, select or leave
After all, you should see your disk like this:
As LiveWireBT noticed in comments, it is recommended to place root partition onto primary partition on MBR scheme disks. However, it belongs to personal taste. Sometimes it's even better to put /boot
directory on primary and leave root on logical partition.
That's all! You can now click Install Now and proceed to the installation.
1
@zkent if you want to use NTFS or FAT32 as your/home
, you should make small Ext2/3/4 partition and create some symlinks on it pointing to the corresponding directories on the partition you want to share. You can't just place such important parts of the system like/home
on filesystems that are not designed for them.
– Danatela
Oct 9 '14 at 4:42
6
I just noticed that root is a logical partition, shouldn't these instructions recommend that root is on a primary partition on MBR scheme disks?
– LiveWireBT
Dec 12 '14 at 0:36
1
Why do you say that theswap
partition is optional?
– becko
Mar 10 '15 at 19:01
3
Regarding point 7. Is it mandatory for UEFI based machines to haveEFI boot partition
created (200MB)?
– VRR
May 5 '15 at 20:28
3
Presumably 'swap at the end of the disk is slow' applies only to HDD, not SSD?
– Jonathan Hartley
Mar 9 '16 at 22:52
|
show 9 more comments
If you have blank disk
- Boot into Ubuntu Installation media. This can be either CD or USB stick.
- Start the installation. Proceed to Step 4 and choose "Something else":
You will see your disk as
/dev/sda
or/dev/mapper/pdc_*
(RAID case, * means that your letters are different from ours)
Click "New Partition Table..." You will see that you have free space on your disk now:
(Recommended) 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.
- Select free space and click +
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
- Select free space and click +
Create partition for
/home
. This is the filesystem for your user's files: documents, images, music and videos. It's much more like Users folder in Windows.
You can do this just like in step 5 and even choose other fs type (though I recommend use ext4 instead of reiserfs. Simply, the first is much more flexible and the second is quicker)
(Optional) Create separate partitions for
/boot
,/tmp
and/var
. Set their size according to your needs:
/boot
should be 100 – 500 MiB
/var
and/tmp
should be > 5 GiB
If you doubt about which device for boot loader installation to choose, leave it default. It would be set by installer. But sometimes it does mistakes. Let me guide you how to deal with it:
- If you use only one hard disk, select or leave
/dev/sda
intact. - If you use more than one hard disk with no RAID, select the one from which your system does boot. You can also select other disk and set BIOS to boot from it.
- If you have RAID from which your system starts, it will be
/dev/mapper/...
Be sure that you select entire disk, not a single partition!
- If you use only one hard disk, select or leave
After all, you should see your disk like this:
As LiveWireBT noticed in comments, it is recommended to place root partition onto primary partition on MBR scheme disks. However, it belongs to personal taste. Sometimes it's even better to put /boot
directory on primary and leave root on logical partition.
That's all! You can now click Install Now and proceed to the installation.
If you have blank disk
- Boot into Ubuntu Installation media. This can be either CD or USB stick.
- Start the installation. Proceed to Step 4 and choose "Something else":
You will see your disk as
/dev/sda
or/dev/mapper/pdc_*
(RAID case, * means that your letters are different from ours)
Click "New Partition Table..." You will see that you have free space on your disk now:
(Recommended) 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.
- Select free space and click +
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
- Select free space and click +
Create partition for
/home
. This is the filesystem for your user's files: documents, images, music and videos. It's much more like Users folder in Windows.
You can do this just like in step 5 and even choose other fs type (though I recommend use ext4 instead of reiserfs. Simply, the first is much more flexible and the second is quicker)
(Optional) Create separate partitions for
/boot
,/tmp
and/var
. Set their size according to your needs:
/boot
should be 100 – 500 MiB
/var
and/tmp
should be > 5 GiB
If you doubt about which device for boot loader installation to choose, leave it default. It would be set by installer. But sometimes it does mistakes. Let me guide you how to deal with it:
- If you use only one hard disk, select or leave
/dev/sda
intact. - If you use more than one hard disk with no RAID, select the one from which your system does boot. You can also select other disk and set BIOS to boot from it.
- If you have RAID from which your system starts, it will be
/dev/mapper/...
Be sure that you select entire disk, not a single partition!
- If you use only one hard disk, select or leave
After all, you should see your disk like this:
As LiveWireBT noticed in comments, it is recommended to place root partition onto primary partition on MBR scheme disks. However, it belongs to personal taste. Sometimes it's even better to put /boot
directory on primary and leave root on logical partition.
That's all! You can now click Install Now and proceed to the installation.
edited Mar 19 '15 at 11:19
answered Sep 9 '13 at 13:55
DanatelaDanatela
9,25993263
9,25993263
1
@zkent if you want to use NTFS or FAT32 as your/home
, you should make small Ext2/3/4 partition and create some symlinks on it pointing to the corresponding directories on the partition you want to share. You can't just place such important parts of the system like/home
on filesystems that are not designed for them.
– Danatela
Oct 9 '14 at 4:42
6
I just noticed that root is a logical partition, shouldn't these instructions recommend that root is on a primary partition on MBR scheme disks?
– LiveWireBT
Dec 12 '14 at 0:36
1
Why do you say that theswap
partition is optional?
– becko
Mar 10 '15 at 19:01
3
Regarding point 7. Is it mandatory for UEFI based machines to haveEFI boot partition
created (200MB)?
– VRR
May 5 '15 at 20:28
3
Presumably 'swap at the end of the disk is slow' applies only to HDD, not SSD?
– Jonathan Hartley
Mar 9 '16 at 22:52
|
show 9 more comments
1
@zkent if you want to use NTFS or FAT32 as your/home
, you should make small Ext2/3/4 partition and create some symlinks on it pointing to the corresponding directories on the partition you want to share. You can't just place such important parts of the system like/home
on filesystems that are not designed for them.
– Danatela
Oct 9 '14 at 4:42
6
I just noticed that root is a logical partition, shouldn't these instructions recommend that root is on a primary partition on MBR scheme disks?
– LiveWireBT
Dec 12 '14 at 0:36
1
Why do you say that theswap
partition is optional?
– becko
Mar 10 '15 at 19:01
3
Regarding point 7. Is it mandatory for UEFI based machines to haveEFI boot partition
created (200MB)?
– VRR
May 5 '15 at 20:28
3
Presumably 'swap at the end of the disk is slow' applies only to HDD, not SSD?
– Jonathan Hartley
Mar 9 '16 at 22:52
1
1
@zkent if you want to use NTFS or FAT32 as your
/home
, you should make small Ext2/3/4 partition and create some symlinks on it pointing to the corresponding directories on the partition you want to share. You can't just place such important parts of the system like /home
on filesystems that are not designed for them.– Danatela
Oct 9 '14 at 4:42
@zkent if you want to use NTFS or FAT32 as your
/home
, you should make small Ext2/3/4 partition and create some symlinks on it pointing to the corresponding directories on the partition you want to share. You can't just place such important parts of the system like /home
on filesystems that are not designed for them.– Danatela
Oct 9 '14 at 4:42
6
6
I just noticed that root is a logical partition, shouldn't these instructions recommend that root is on a primary partition on MBR scheme disks?
– LiveWireBT
Dec 12 '14 at 0:36
I just noticed that root is a logical partition, shouldn't these instructions recommend that root is on a primary partition on MBR scheme disks?
– LiveWireBT
Dec 12 '14 at 0:36
1
1
Why do you say that the
swap
partition is optional?– becko
Mar 10 '15 at 19:01
Why do you say that the
swap
partition is optional?– becko
Mar 10 '15 at 19:01
3
3
Regarding point 7. Is it mandatory for UEFI based machines to have
EFI boot partition
created (200MB)?– VRR
May 5 '15 at 20:28
Regarding point 7. Is it mandatory for UEFI based machines to have
EFI boot partition
created (200MB)?– VRR
May 5 '15 at 20:28
3
3
Presumably 'swap at the end of the disk is slow' applies only to HDD, not SSD?
– Jonathan Hartley
Mar 9 '16 at 22:52
Presumably 'swap at the end of the disk is slow' applies only to HDD, not SSD?
– Jonathan Hartley
Mar 9 '16 at 22:52
|
show 9 more comments
If you have disk that contains Windows installed
- Boot from Ubuntu Installation media.
- Unmount any mounted drives if they exist.
- Proceed to Step 4. Choose "Something else" and click Continue:
You will see partition table. It will look like this:
Free some space for Ubuntu:
- Select the Windows drive (not the loader!). It should be the biggest drive in the map.
- Click Change... 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).
- 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. Click OK and Continue to write changes on disk.
- Now your partition table should look like this:
- Now, you can proceed with steps 4 – 7 of part about blank installation. Notice that swap will be placed on logical partition. This doesn't matter, in any case it will work perfect.
3
I have experienced difficulties after shrinking a Windows partition using tools on the Linux side. It may be safer to shrink the Windows partition using Windows tools before beginning the install. Ref: askubuntu.com/questions/511459/…
– Organic Marble
Mar 23 '15 at 1:24
If you have Logical Disk Manager (LDM) Partition, the partition size shows as "unknown" and you can't resize it. The solution is to do it from inside Windows itself first: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:00
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:38
@Danatela if i want to remove windows completely from my computer, should i delete windows partition???
– Fatemeh Karimi
Jan 16 '18 at 16:44
1
@FatemehKarimi yep, it's recommended but not mandatory. Often people have significant amount of data on their windows partition, moving it on linux filesystems has pros and cons.
– Danatela
Jan 23 '18 at 9:51
|
show 1 more comment
If you have disk that contains Windows installed
- Boot from Ubuntu Installation media.
- Unmount any mounted drives if they exist.
- Proceed to Step 4. Choose "Something else" and click Continue:
You will see partition table. It will look like this:
Free some space for Ubuntu:
- Select the Windows drive (not the loader!). It should be the biggest drive in the map.
- Click Change... 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).
- 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. Click OK and Continue to write changes on disk.
- Now your partition table should look like this:
- Now, you can proceed with steps 4 – 7 of part about blank installation. Notice that swap will be placed on logical partition. This doesn't matter, in any case it will work perfect.
3
I have experienced difficulties after shrinking a Windows partition using tools on the Linux side. It may be safer to shrink the Windows partition using Windows tools before beginning the install. Ref: askubuntu.com/questions/511459/…
– Organic Marble
Mar 23 '15 at 1:24
If you have Logical Disk Manager (LDM) Partition, the partition size shows as "unknown" and you can't resize it. The solution is to do it from inside Windows itself first: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:00
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:38
@Danatela if i want to remove windows completely from my computer, should i delete windows partition???
– Fatemeh Karimi
Jan 16 '18 at 16:44
1
@FatemehKarimi yep, it's recommended but not mandatory. Often people have significant amount of data on their windows partition, moving it on linux filesystems has pros and cons.
– Danatela
Jan 23 '18 at 9:51
|
show 1 more comment
If you have disk that contains Windows installed
- Boot from Ubuntu Installation media.
- Unmount any mounted drives if they exist.
- Proceed to Step 4. Choose "Something else" and click Continue:
You will see partition table. It will look like this:
Free some space for Ubuntu:
- Select the Windows drive (not the loader!). It should be the biggest drive in the map.
- Click Change... 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).
- 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. Click OK and Continue to write changes on disk.
- Now your partition table should look like this:
- Now, you can proceed with steps 4 – 7 of part about blank installation. Notice that swap will be placed on logical partition. This doesn't matter, in any case it will work perfect.
If you have disk that contains Windows installed
- Boot from Ubuntu Installation media.
- Unmount any mounted drives if they exist.
- Proceed to Step 4. Choose "Something else" and click Continue:
You will see partition table. It will look like this:
Free some space for Ubuntu:
- Select the Windows drive (not the loader!). It should be the biggest drive in the map.
- Click Change... 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).
- 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. Click OK and Continue to write changes on disk.
- Now your partition table should look like this:
- Now, you can proceed with steps 4 – 7 of part about blank installation. Notice that swap will be placed on logical partition. This doesn't matter, in any case it will work perfect.
edited Apr 13 '17 at 12:25
Community♦
1
1
answered Sep 9 '13 at 14:56
DanatelaDanatela
9,25993263
9,25993263
3
I have experienced difficulties after shrinking a Windows partition using tools on the Linux side. It may be safer to shrink the Windows partition using Windows tools before beginning the install. Ref: askubuntu.com/questions/511459/…
– Organic Marble
Mar 23 '15 at 1:24
If you have Logical Disk Manager (LDM) Partition, the partition size shows as "unknown" and you can't resize it. The solution is to do it from inside Windows itself first: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:00
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:38
@Danatela if i want to remove windows completely from my computer, should i delete windows partition???
– Fatemeh Karimi
Jan 16 '18 at 16:44
1
@FatemehKarimi yep, it's recommended but not mandatory. Often people have significant amount of data on their windows partition, moving it on linux filesystems has pros and cons.
– Danatela
Jan 23 '18 at 9:51
|
show 1 more comment
3
I have experienced difficulties after shrinking a Windows partition using tools on the Linux side. It may be safer to shrink the Windows partition using Windows tools before beginning the install. Ref: askubuntu.com/questions/511459/…
– Organic Marble
Mar 23 '15 at 1:24
If you have Logical Disk Manager (LDM) Partition, the partition size shows as "unknown" and you can't resize it. The solution is to do it from inside Windows itself first: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:00
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:38
@Danatela if i want to remove windows completely from my computer, should i delete windows partition???
– Fatemeh Karimi
Jan 16 '18 at 16:44
1
@FatemehKarimi yep, it's recommended but not mandatory. Often people have significant amount of data on their windows partition, moving it on linux filesystems has pros and cons.
– Danatela
Jan 23 '18 at 9:51
3
3
I have experienced difficulties after shrinking a Windows partition using tools on the Linux side. It may be safer to shrink the Windows partition using Windows tools before beginning the install. Ref: askubuntu.com/questions/511459/…
– Organic Marble
Mar 23 '15 at 1:24
I have experienced difficulties after shrinking a Windows partition using tools on the Linux side. It may be safer to shrink the Windows partition using Windows tools before beginning the install. Ref: askubuntu.com/questions/511459/…
– Organic Marble
Mar 23 '15 at 1:24
If you have Logical Disk Manager (LDM) Partition, the partition size shows as "unknown" and you can't resize it. The solution is to do it from inside Windows itself first: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:00
If you have Logical Disk Manager (LDM) Partition, the partition size shows as "unknown" and you can't resize it. The solution is to do it from inside Windows itself first: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:00
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:38
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:38
@Danatela if i want to remove windows completely from my computer, should i delete windows partition???
– Fatemeh Karimi
Jan 16 '18 at 16:44
@Danatela if i want to remove windows completely from my computer, should i delete windows partition???
– Fatemeh Karimi
Jan 16 '18 at 16:44
1
1
@FatemehKarimi yep, it's recommended but not mandatory. Often people have significant amount of data on their windows partition, moving it on linux filesystems has pros and cons.
– Danatela
Jan 23 '18 at 9:51
@FatemehKarimi yep, it's recommended but not mandatory. Often people have significant amount of data on their windows partition, moving it on linux filesystems has pros and cons.
– Danatela
Jan 23 '18 at 9:51
|
show 1 more comment
If you have a OEM-preinstalled copy of Windows 8 or later
Computers with OEM installs of Windows usually come with more than 1 or 2 partitions. Starting with Windows 8 the partition table should be GPT, allowing for more than 4 primary partitions.
1. Resizing the Windows partition
There are at least 2 ways doing this:
- from the live media
- in Windows
A. Resizing from Ubuntu live media
You can run GParted or use only the manual partitioning menu of the installer.
B. The safer option: Resizing from within Windows
Resize the Windows partition with Disk Management (run
diskmgmt.msc
).
Select your Windows partition and choose "Shrink Volume…" from the context menu.
This will usually shrink to the minimum possible, you may want to adjust the value to leave more space for Windows.
Optionally disable fast startup and probably disable hibernation, if it is activated and you intend to access the Windows partition with Ubuntu. Run
powercfg.cpl
and navigate to Power Options > System Settings through "Choose what the power button does".
2. Manually setting up the partition layout for Ubuntu
Attention! No, you don't want to erase the entire disk and Windows along with it. Choose the Something else option if you see this screen. (Something else may be the most difficult option to understand, but considering existing bugs you know what you will get.)
You will get to the manual partitioning menu, where you should at least create a root partition (
/
) and a swap partition.
Option 1: add only a root partition
Option 2: add a root and home partition
…finally add the swap partition:
Note that there usually is an existing EFI System Partition (short ESP,
efi
in the screenshot), that the installer will automatically detect and mount to install EFI loaders and programs.
Related bug reports
- GPT partition tables are not properly detected - Ubiquity suggests erasing disk
Related
My answer to SU question: Clean install Windows 8.1 or Windows 8 from OEM key (now updated with info for Windows 10)- Adding an encrypted partition with
pam_mount
during login (1, 2)
+1 Just to expand the answer: it is safer to have a separate home partition concerning data security, especially if you planing to upgrade Ubuntu later.
– VRR
Apr 10 '15 at 6:59
If you add a home partition I'll +1 ! ;-)
– Fabby
Aug 13 '15 at 17:11
@Fabby I added shopped screenshots, not very consistent, but it should do the trick without redoing them all.
– LiveWireBT
Aug 13 '15 at 18:44
Danke Schön! ;-)
– Fabby
Aug 13 '15 at 19:24
1
If you can't shrink the partition very much, try to disable Windows' Page file and System protection features: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:06
|
show 3 more comments
If you have a OEM-preinstalled copy of Windows 8 or later
Computers with OEM installs of Windows usually come with more than 1 or 2 partitions. Starting with Windows 8 the partition table should be GPT, allowing for more than 4 primary partitions.
1. Resizing the Windows partition
There are at least 2 ways doing this:
- from the live media
- in Windows
A. Resizing from Ubuntu live media
You can run GParted or use only the manual partitioning menu of the installer.
B. The safer option: Resizing from within Windows
Resize the Windows partition with Disk Management (run
diskmgmt.msc
).
Select your Windows partition and choose "Shrink Volume…" from the context menu.
This will usually shrink to the minimum possible, you may want to adjust the value to leave more space for Windows.
Optionally disable fast startup and probably disable hibernation, if it is activated and you intend to access the Windows partition with Ubuntu. Run
powercfg.cpl
and navigate to Power Options > System Settings through "Choose what the power button does".
2. Manually setting up the partition layout for Ubuntu
Attention! No, you don't want to erase the entire disk and Windows along with it. Choose the Something else option if you see this screen. (Something else may be the most difficult option to understand, but considering existing bugs you know what you will get.)
You will get to the manual partitioning menu, where you should at least create a root partition (
/
) and a swap partition.
Option 1: add only a root partition
Option 2: add a root and home partition
…finally add the swap partition:
Note that there usually is an existing EFI System Partition (short ESP,
efi
in the screenshot), that the installer will automatically detect and mount to install EFI loaders and programs.
Related bug reports
- GPT partition tables are not properly detected - Ubiquity suggests erasing disk
Related
My answer to SU question: Clean install Windows 8.1 or Windows 8 from OEM key (now updated with info for Windows 10)- Adding an encrypted partition with
pam_mount
during login (1, 2)
+1 Just to expand the answer: it is safer to have a separate home partition concerning data security, especially if you planing to upgrade Ubuntu later.
– VRR
Apr 10 '15 at 6:59
If you add a home partition I'll +1 ! ;-)
– Fabby
Aug 13 '15 at 17:11
@Fabby I added shopped screenshots, not very consistent, but it should do the trick without redoing them all.
– LiveWireBT
Aug 13 '15 at 18:44
Danke Schön! ;-)
– Fabby
Aug 13 '15 at 19:24
1
If you can't shrink the partition very much, try to disable Windows' Page file and System protection features: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:06
|
show 3 more comments
If you have a OEM-preinstalled copy of Windows 8 or later
Computers with OEM installs of Windows usually come with more than 1 or 2 partitions. Starting with Windows 8 the partition table should be GPT, allowing for more than 4 primary partitions.
1. Resizing the Windows partition
There are at least 2 ways doing this:
- from the live media
- in Windows
A. Resizing from Ubuntu live media
You can run GParted or use only the manual partitioning menu of the installer.
B. The safer option: Resizing from within Windows
Resize the Windows partition with Disk Management (run
diskmgmt.msc
).
Select your Windows partition and choose "Shrink Volume…" from the context menu.
This will usually shrink to the minimum possible, you may want to adjust the value to leave more space for Windows.
Optionally disable fast startup and probably disable hibernation, if it is activated and you intend to access the Windows partition with Ubuntu. Run
powercfg.cpl
and navigate to Power Options > System Settings through "Choose what the power button does".
2. Manually setting up the partition layout for Ubuntu
Attention! No, you don't want to erase the entire disk and Windows along with it. Choose the Something else option if you see this screen. (Something else may be the most difficult option to understand, but considering existing bugs you know what you will get.)
You will get to the manual partitioning menu, where you should at least create a root partition (
/
) and a swap partition.
Option 1: add only a root partition
Option 2: add a root and home partition
…finally add the swap partition:
Note that there usually is an existing EFI System Partition (short ESP,
efi
in the screenshot), that the installer will automatically detect and mount to install EFI loaders and programs.
Related bug reports
- GPT partition tables are not properly detected - Ubiquity suggests erasing disk
Related
My answer to SU question: Clean install Windows 8.1 or Windows 8 from OEM key (now updated with info for Windows 10)- Adding an encrypted partition with
pam_mount
during login (1, 2)
If you have a OEM-preinstalled copy of Windows 8 or later
Computers with OEM installs of Windows usually come with more than 1 or 2 partitions. Starting with Windows 8 the partition table should be GPT, allowing for more than 4 primary partitions.
1. Resizing the Windows partition
There are at least 2 ways doing this:
- from the live media
- in Windows
A. Resizing from Ubuntu live media
You can run GParted or use only the manual partitioning menu of the installer.
B. The safer option: Resizing from within Windows
Resize the Windows partition with Disk Management (run
diskmgmt.msc
).
Select your Windows partition and choose "Shrink Volume…" from the context menu.
This will usually shrink to the minimum possible, you may want to adjust the value to leave more space for Windows.
Optionally disable fast startup and probably disable hibernation, if it is activated and you intend to access the Windows partition with Ubuntu. Run
powercfg.cpl
and navigate to Power Options > System Settings through "Choose what the power button does".
2. Manually setting up the partition layout for Ubuntu
Attention! No, you don't want to erase the entire disk and Windows along with it. Choose the Something else option if you see this screen. (Something else may be the most difficult option to understand, but considering existing bugs you know what you will get.)
You will get to the manual partitioning menu, where you should at least create a root partition (
/
) and a swap partition.
Option 1: add only a root partition
Option 2: add a root and home partition
…finally add the swap partition:
Note that there usually is an existing EFI System Partition (short ESP,
efi
in the screenshot), that the installer will automatically detect and mount to install EFI loaders and programs.
Related bug reports
- GPT partition tables are not properly detected - Ubiquity suggests erasing disk
Related
My answer to SU question: Clean install Windows 8.1 or Windows 8 from OEM key (now updated with info for Windows 10)- Adding an encrypted partition with
pam_mount
during login (1, 2)
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Sep 7 '14 at 16:23
LiveWireBTLiveWireBT
21.3k1872153
21.3k1872153
+1 Just to expand the answer: it is safer to have a separate home partition concerning data security, especially if you planing to upgrade Ubuntu later.
– VRR
Apr 10 '15 at 6:59
If you add a home partition I'll +1 ! ;-)
– Fabby
Aug 13 '15 at 17:11
@Fabby I added shopped screenshots, not very consistent, but it should do the trick without redoing them all.
– LiveWireBT
Aug 13 '15 at 18:44
Danke Schön! ;-)
– Fabby
Aug 13 '15 at 19:24
1
If you can't shrink the partition very much, try to disable Windows' Page file and System protection features: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:06
|
show 3 more comments
+1 Just to expand the answer: it is safer to have a separate home partition concerning data security, especially if you planing to upgrade Ubuntu later.
– VRR
Apr 10 '15 at 6:59
If you add a home partition I'll +1 ! ;-)
– Fabby
Aug 13 '15 at 17:11
@Fabby I added shopped screenshots, not very consistent, but it should do the trick without redoing them all.
– LiveWireBT
Aug 13 '15 at 18:44
Danke Schön! ;-)
– Fabby
Aug 13 '15 at 19:24
1
If you can't shrink the partition very much, try to disable Windows' Page file and System protection features: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:06
+1 Just to expand the answer: it is safer to have a separate home partition concerning data security, especially if you planing to upgrade Ubuntu later.
– VRR
Apr 10 '15 at 6:59
+1 Just to expand the answer: it is safer to have a separate home partition concerning data security, especially if you planing to upgrade Ubuntu later.
– VRR
Apr 10 '15 at 6:59
If you add a home partition I'll +1 ! ;-)
– Fabby
Aug 13 '15 at 17:11
If you add a home partition I'll +1 ! ;-)
– Fabby
Aug 13 '15 at 17:11
@Fabby I added shopped screenshots, not very consistent, but it should do the trick without redoing them all.
– LiveWireBT
Aug 13 '15 at 18:44
@Fabby I added shopped screenshots, not very consistent, but it should do the trick without redoing them all.
– LiveWireBT
Aug 13 '15 at 18:44
Danke Schön! ;-)
– Fabby
Aug 13 '15 at 19:24
Danke Schön! ;-)
– Fabby
Aug 13 '15 at 19:24
1
1
If you can't shrink the partition very much, try to disable Windows' Page file and System protection features: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:06
If you can't shrink the partition very much, try to disable Windows' Page file and System protection features: askubuntu.com/a/976430/52975
– Ciro Santilli 新疆改造中心 六四事件 法轮功
Nov 14 '17 at 19:06
|
show 3 more comments
If you have md
RAID
I will not cover how to create mdadm
arrays here. There is a lot of articles 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.
Create the setup like mine:
$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
...
Device Boot Start End Blocks Id System
/dev/sda1 2048 156299263 78148608 83 Linux
/dev/sda2 156299264 311556095 77628416 7 HPFS/NTFS/exFAT
/dev/sda3 * 311556096 312580095 512000 83 Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
...
Device Boot Start End Blocks Id System
/dev/sdb1 2048 156301311 78149632 83 Linux
Disk /dev/md0: 160.0 GB, 160048349184 bytes
...
Disk /dev/md0 doesn't contain a valid partition table
As you can guess, I created
/dev/md0
mdadm
array from/dev/sda1
and/dev/sdb1
. It's empty now. Let's install something on it.
Create partitions on
/dev/md0
as you like:
Important: Install
/boot
onto one of partition outside the array because GRUB doesn't supportmdadm
. In my case, it's/dev/sda3
. If you want more quick booting of your system, it should be placed at the beginning of the disk.
Install Ubuntu. Click Continue testing. Or reboot and see initramfs prompt
Now, you have to
chroot
into installed system and installmdadm
:
sudo mount /dev/md0p6 /mnt
sudo mount /dev/md0p5 /mnt/home
sudo mount /dev/sda3 /mnt/boot
for d in /dev /proc /sys /run; do sudo mount --bind $d /mnd$d; done
chroot /mnt
apt-get install mdadm
Installing
mdadm
should fix booting problem.
that is what i need
– user284234
May 30 '14 at 5:57
add a comment |
If you have md
RAID
I will not cover how to create mdadm
arrays here. There is a lot of articles 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.
Create the setup like mine:
$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
...
Device Boot Start End Blocks Id System
/dev/sda1 2048 156299263 78148608 83 Linux
/dev/sda2 156299264 311556095 77628416 7 HPFS/NTFS/exFAT
/dev/sda3 * 311556096 312580095 512000 83 Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
...
Device Boot Start End Blocks Id System
/dev/sdb1 2048 156301311 78149632 83 Linux
Disk /dev/md0: 160.0 GB, 160048349184 bytes
...
Disk /dev/md0 doesn't contain a valid partition table
As you can guess, I created
/dev/md0
mdadm
array from/dev/sda1
and/dev/sdb1
. It's empty now. Let's install something on it.
Create partitions on
/dev/md0
as you like:
Important: Install
/boot
onto one of partition outside the array because GRUB doesn't supportmdadm
. In my case, it's/dev/sda3
. If you want more quick booting of your system, it should be placed at the beginning of the disk.
Install Ubuntu. Click Continue testing. Or reboot and see initramfs prompt
Now, you have to
chroot
into installed system and installmdadm
:
sudo mount /dev/md0p6 /mnt
sudo mount /dev/md0p5 /mnt/home
sudo mount /dev/sda3 /mnt/boot
for d in /dev /proc /sys /run; do sudo mount --bind $d /mnd$d; done
chroot /mnt
apt-get install mdadm
Installing
mdadm
should fix booting problem.
that is what i need
– user284234
May 30 '14 at 5:57
add a comment |
If you have md
RAID
I will not cover how to create mdadm
arrays here. There is a lot of articles 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.
Create the setup like mine:
$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
...
Device Boot Start End Blocks Id System
/dev/sda1 2048 156299263 78148608 83 Linux
/dev/sda2 156299264 311556095 77628416 7 HPFS/NTFS/exFAT
/dev/sda3 * 311556096 312580095 512000 83 Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
...
Device Boot Start End Blocks Id System
/dev/sdb1 2048 156301311 78149632 83 Linux
Disk /dev/md0: 160.0 GB, 160048349184 bytes
...
Disk /dev/md0 doesn't contain a valid partition table
As you can guess, I created
/dev/md0
mdadm
array from/dev/sda1
and/dev/sdb1
. It's empty now. Let's install something on it.
Create partitions on
/dev/md0
as you like:
Important: Install
/boot
onto one of partition outside the array because GRUB doesn't supportmdadm
. In my case, it's/dev/sda3
. If you want more quick booting of your system, it should be placed at the beginning of the disk.
Install Ubuntu. Click Continue testing. Or reboot and see initramfs prompt
Now, you have to
chroot
into installed system and installmdadm
:
sudo mount /dev/md0p6 /mnt
sudo mount /dev/md0p5 /mnt/home
sudo mount /dev/sda3 /mnt/boot
for d in /dev /proc /sys /run; do sudo mount --bind $d /mnd$d; done
chroot /mnt
apt-get install mdadm
Installing
mdadm
should fix booting problem.
If you have md
RAID
I will not cover how to create mdadm
arrays here. There is a lot of articles 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.
Create the setup like mine:
$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
...
Device Boot Start End Blocks Id System
/dev/sda1 2048 156299263 78148608 83 Linux
/dev/sda2 156299264 311556095 77628416 7 HPFS/NTFS/exFAT
/dev/sda3 * 311556096 312580095 512000 83 Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
...
Device Boot Start End Blocks Id System
/dev/sdb1 2048 156301311 78149632 83 Linux
Disk /dev/md0: 160.0 GB, 160048349184 bytes
...
Disk /dev/md0 doesn't contain a valid partition table
As you can guess, I created
/dev/md0
mdadm
array from/dev/sda1
and/dev/sdb1
. It's empty now. Let's install something on it.
Create partitions on
/dev/md0
as you like:
Important: Install
/boot
onto one of partition outside the array because GRUB doesn't supportmdadm
. In my case, it's/dev/sda3
. If you want more quick booting of your system, it should be placed at the beginning of the disk.
Install Ubuntu. Click Continue testing. Or reboot and see initramfs prompt
Now, you have to
chroot
into installed system and installmdadm
:
sudo mount /dev/md0p6 /mnt
sudo mount /dev/md0p5 /mnt/home
sudo mount /dev/sda3 /mnt/boot
for d in /dev /proc /sys /run; do sudo mount --bind $d /mnd$d; done
chroot /mnt
apt-get install mdadm
Installing
mdadm
should fix booting problem.
answered May 14 '14 at 7:36
DanatelaDanatela
9,25993263
9,25993263
that is what i need
– user284234
May 30 '14 at 5:57
add a comment |
that is what i need
– user284234
May 30 '14 at 5:57
that is what i need
– user284234
May 30 '14 at 5:57
that is what i need
– user284234
May 30 '14 at 5:57
add a comment |
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 installing Windows on a separate partition, 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 partition to create another for dual-booting.
Installing Ubuntu with Windows installed on a partition
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
– 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 resources seems somewhat superfluous (and they probably supply the "better" answer).
– Tom
Sep 9 '13 at 13:11
add a comment |
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 installing Windows on a separate partition, 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 partition to create another for dual-booting.
Installing Ubuntu with Windows installed on a partition
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
– 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 resources seems somewhat superfluous (and they probably supply the "better" answer).
– Tom
Sep 9 '13 at 13:11
add a comment |
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 installing Windows on a separate partition, 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 partition to create another for dual-booting.
Installing Ubuntu with Windows installed on a partition
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 installing Windows on a separate partition, 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 partition to create another for dual-booting.
Installing Ubuntu with Windows installed on a partition
edited Apr 13 '17 at 12:25
Community♦
1
1
answered Sep 9 '13 at 10:54
TomTom
1193
1193
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
– 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 resources seems somewhat superfluous (and they probably supply the "better" answer).
– Tom
Sep 9 '13 at 13:11
add a comment |
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
– 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 resources seems somewhat superfluous (and they probably supply the "better" answer).
– Tom
Sep 9 '13 at 13:11
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
– Danatela
Sep 9 '13 at 12:35
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
– 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 resources seems somewhat superfluous (and they probably supply the "better" answer).
– Tom
Sep 9 '13 at 13:11
I agree, and I am more than happy to bring in the textual parts of the links, however copying print screens from the attached resources seems somewhat superfluous (and they probably supply the "better" answer).
– Tom
Sep 9 '13 at 13:11
add a comment |
Partition shows "unknown" Used in GParted
This happened to me on 17.10 because my Windows 10 Lenovo P51 used a Logical Disk Manager (LDM) Partition.
The solution was to shrink the partition from inside Windows as shown at: https://askubuntu.com/a/521195/52975
You can then install Ubuntu on the free space allocated.
Cannot shrink disk fully
Then I hit the second problem: Windows said I had 400Gb of free space in the partition, but I could only shrink 250Gb.
The solution was to go inside Windows and:
- Disable Page File (AKA Windows' swap)
- Disable System Protection
as mentioned at: https://superuser.com/questions/1017764/how-to-shrink-a-windows-10-partition/1060508#1060508
Then after the reboot, it let me shrink it all the way.
add a comment |
Partition shows "unknown" Used in GParted
This happened to me on 17.10 because my Windows 10 Lenovo P51 used a Logical Disk Manager (LDM) Partition.
The solution was to shrink the partition from inside Windows as shown at: https://askubuntu.com/a/521195/52975
You can then install Ubuntu on the free space allocated.
Cannot shrink disk fully
Then I hit the second problem: Windows said I had 400Gb of free space in the partition, but I could only shrink 250Gb.
The solution was to go inside Windows and:
- Disable Page File (AKA Windows' swap)
- Disable System Protection
as mentioned at: https://superuser.com/questions/1017764/how-to-shrink-a-windows-10-partition/1060508#1060508
Then after the reboot, it let me shrink it all the way.
add a comment |
Partition shows "unknown" Used in GParted
This happened to me on 17.10 because my Windows 10 Lenovo P51 used a Logical Disk Manager (LDM) Partition.
The solution was to shrink the partition from inside Windows as shown at: https://askubuntu.com/a/521195/52975
You can then install Ubuntu on the free space allocated.
Cannot shrink disk fully
Then I hit the second problem: Windows said I had 400Gb of free space in the partition, but I could only shrink 250Gb.
The solution was to go inside Windows and:
- Disable Page File (AKA Windows' swap)
- Disable System Protection
as mentioned at: https://superuser.com/questions/1017764/how-to-shrink-a-windows-10-partition/1060508#1060508
Then after the reboot, it let me shrink it all the way.
Partition shows "unknown" Used in GParted
This happened to me on 17.10 because my Windows 10 Lenovo P51 used a Logical Disk Manager (LDM) Partition.
The solution was to shrink the partition from inside Windows as shown at: https://askubuntu.com/a/521195/52975
You can then install Ubuntu on the free space allocated.
Cannot shrink disk fully
Then I hit the second problem: Windows said I had 400Gb of free space in the partition, but I could only shrink 250Gb.
The solution was to go inside Windows and:
- Disable Page File (AKA Windows' swap)
- Disable System Protection
as mentioned at: https://superuser.com/questions/1017764/how-to-shrink-a-windows-10-partition/1060508#1060508
Then after the reboot, it let me shrink it all the way.
edited Nov 14 '17 at 21:17
answered Nov 14 '17 at 18:47
Ciro Santilli 新疆改造中心 六四事件 法轮功Ciro Santilli 新疆改造中心 六四事件 法轮功
9,29444347
9,29444347
add a comment |
add a comment |
protected by Zanna Dec 29 '16 at 13:18
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
2
For the 'normal' way of installting you can try this question: askubuntu.com/questions/6328/how-do-i-install-ubuntu
– Wilf
Mar 5 '15 at 19:22
Although many people go this route (and it works fine), I prefer to just boot up a standalone gparted distro and do all my partitioning first. I especially like that it "does" everything and shows you how it will turn out before it actually writes anything to the disk. That way, it's easy to say "oops" and just start over if you make a mistake or change your mind about any of the details.
– Joe
Jan 3 '16 at 4:57
This description may not be working on 16.04 when: - installation is in EFI mode; - there is a previous Windows installation; - you want to create a custom partitioning. When trying to partition the disk so that some of the original partitions remain untouched, the installer hangs before executing the commands, while warning about forced efi installation. (see this bug bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1433310). When this happens, the partition table on the disk is not yet touched, but the installation is completely halted with no other option than to restart the computer
– Laszlo Stenstråle
Oct 12 '16 at 9:57
1
For installing Ubuntu in dual boot mode I used this link. My computer already had windows 7 and Windows 10 and I was trying to install Ubuntu in an unallocated 100 GB space. The instructions worked very smooth for me. Specially the screen-shots while doing the partitioning was really crucial.
– RBT
Dec 3 '17 at 0:37