5

The following is the disk management screenshot of windows:

enter image description here

I want to install the ubuntu on the partition: New Volume (F:)

I made the pen-drive bootable by Rufus with Ubuntu 16.04; While rebooting the PC and trying to install the ubuntu, following information is shown:

sda1: 1MB windows 7
sda2: 104MB unknown (ntfs)
sda3: 105GB (used: 60GB) (ntfs)
sda4: 207GB (used: 48GB) (ntfs)

How do I proceed with the installation? My aim was to install on the partition: New Volume (F:).

Adding the gpart live screenshot:

enter image description here

Also note that install alongside windows option is not visible, with both unallocated space on the disk and allocated space on the disk.

  • Ubuntu can't be installed on NTFS, you'll need to format that partition to EXT4 – Sumeet Deshmukh Apr 6 '17 at 11:22
  • 1
    While what @SumeetDeshmukh said is true, the recommended way to do this is to simply leave unallocated space at the end of the disk, and the Ubuntu installer will take care of the rest. – Android Dev Apr 6 '17 at 11:24
  • @AndroidDev - I tried leaving unallocated space, it was not visible during the ubuntu installation process. – Lennard Westley Apr 6 '17 at 11:26
  • @SumeetDeshmukh - I will try it. – Lennard Westley Apr 6 '17 at 11:27
  • 1
    You have to convert dynamic disk to basic disk from within Windows. – mook765 Apr 6 '17 at 12:35
6

Your Windows installation uses so-called "dynamic" disks (aka the Logical Disk Manager, or LDM). This is extremely important, because Ubuntu doesn't support installation to or booting from an LDM disk, and any attempt to manipulate your current partition table is LIKELY TO CAUSE DIFFICULT-TO-REPAIR DATA LOSS!

Chances are you got into this mess by trying to create the Linux partition using the Windows tools. On an MBR disk, when you try to expand the number of partitions beyond 4, the Windows partitioning tools will convert the disk from a straight-up MBR system to MBR with LDM atop that. This is convenient for Windows-only installations, but it's very very bad for dual-booting Windows with just about anything else.

Fortunately, there are tools that can help you, such as EaseUS Partition Manager and the AOMEI Dynamic Disk Converter. Note that I've never used these tools myself, so I can't comment on them except to say that I know they exist. If possible, I recommend using these tools to convert all five of the partitions you have now to "basic" (non-LDM) form, then delete the one you created for use by Ubuntu.

The reason for this is that, even when you remove the partition you created for Ubuntu, you'll have four partitions. The reason the Windows tools use dynamic disks when you go above that number is that MBR supports a maximum of four primary partitions. Most OSes use logical partitions to go beyond the 4-primary-partition limit, but these require the presence of a special type of primary partition known as an extended partition. If you delete the to-be-Ubuntu partition and then convert to basic form, the tool is likely to turn all four of your partitions into primary partitions, leaving no room for the extended partition Ubuntu will need. If you can convert all five partitions, though, the conversion tool should create an extended partition and convert two partitions (probably your E: and the to-be-Ubuntu partition) into logical partitions. If the conversion tool refuses to convert more than four partitions, you can delete the to-be-Ubuntu partition, convert the remaining four partitions, and use my FixParts program to convert the final primary partition to logical form; however, you may need to use something else to slightly resize the partition that comes before the to-be-logical partition to make room for the extra data structures that logical partitions require.

Once you convert the disk from dynamic to "basic," you can install Ubuntu. The Ubuntu installer provides options to let you use free space on the disk or to install alongside Windows; or you can use the (poorly-named, IMHO) "something else" option to partition the disk manually within the installer.

0

here is how to solve you're current issue, it's fairly easy

  1. when you're in ubuntu installer all you have to do is delete the partition that you were supposed to install ubuntu on (i think it was sda4).
  2. create a new partition with ext4 file system.
  3. select that partition as / root partition.
  4. and do the next steps.

if you find that hard and want to do this from windows then follow further steps.

  1. convert your partition scheme as explained in This Answer

  2. open windows disk management tool.

  3. delete the new volume that you've created, it'd be named as unallocated space
  4. Create a Bootable USB stick with Ubuntu. Rufus is a good tool to do that
  5. shutdown the computer completely and boot from USB drive.
  6. now the installer should show the option the install alongside windows
  7. choose that option. (what it'll do is, it'll automatically create an ext4 partition for you)
  • Btw, how to format the new partition as ext4 in windows? I am not able to do it. – Lennard Westley Apr 6 '17 at 11:48
  • @KarthikeyanPalanisamy windows doesn't yet support EXT4 formatting, if you're in windows, you can try a different approach, let me update the answer for you – Sumeet Deshmukh Apr 6 '17 at 11:52
  • Definitely delete the partition you want to install on from Windows. It's always safer to perform changes to Windows disks from Windows and changes to Linux disks from Linux. In this case, your new partition, although empty, is a windows disk, and I'd remove it from within Windows. – Will Apr 6 '17 at 12:08
  • 1
    The other problem you have is that your partitions look to all be simple volumes of a dynamic disk, and not actual separate partitions. You need to create an entirely separate area of free space, but it's been so long since I've done it that I've forgotten and wouldn't like to advise how to do it. Maybe search for "create free space from a dynamic disk" and you might find more info – Will Apr 6 '17 at 12:11
  • @SumeetDeshmukh - Even with "unallocated space", install alongside windows option was not visible. Following is what shown: 'Computer currently has Windows 7 on it. What would you like to do? 1) Erase disk 2) Something else' – Lennard Westley Apr 6 '17 at 12:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.