Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 9775  / 2 Years ago, fri, january 14, 2022, 12:45:15

I've prepared a PC for installing Ubuntu 12.04 LTS alongside Windows Vista. These are the steps I've taken:




  1. Shrunk the C: drive to create 60GB for Ubuntu. The Disk Management utility confirms that part of the disk is unallocated.

  2. I put Ubuntu on a USB stick using the USB installer provided at pendrivelinux.com.

  3. I then booted my PC from the USB stick and the installation process began.

  4. At the welcome screen I selected "Install Ubuntu"

  5. At the Preparing to Install Ubuntu screen all the conditions were satisfied.

  6. At the installation type I selected the option to install Ubuntu alongside them.



Then the message pops up:




Unable to satisfy all constraints on the partition.




Can anyone explain how to overcome this?


More From » boot

 Answers
6

Ubfan1 may be correct; however, you can sometimes use my FixParts program to convert an existing partition from primary to logical without the backup-delete-repartition-restore dance. Be aware that you must not convert some partitions from primary to logical. Windows boot partitions are particularly risky for this type of operation.



Another possibility entirely is that you're running into rounding problems in the partitioning software. The libparted library (upon which Ubuntu's installer, GParted, parted, and various other tools rely) will try to round the start and end points of partitions to 1MiB boundaries by default. If existing partitions are not aligned in this way, libparted may try adjusting the specified start point, thus moving it into an overlap with an existing partition. The program then responds with an "unable to satisfy all constraints" message. The solution in this case is to create your partitions with small gaps between the new partition(s) and existing ones. A 1MiB gap should be sufficient, but it's conceivable you'll need a 2MiB gap. Creating partitions with another tool, such as fdisk or gdisk, may help, too. Be aware of the reasons for 1MiB alignment, though. I wrote this article on the subject some time ago. (An update is in the works, but hasn't yet been published.)


[#27418] Sunday, January 16, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
turhizz

Total Points: 82
Total Questions: 106
Total Answers: 96

Location: South Korea
Member since Mon, Dec 6, 2021
2 Years ago
;