When trying to convert to GPT, I get this error:  PS C:\WINDOWS\system32&gt; mbr2gpt /validate /disk:0 /allowfullos MBR2GPT: Attempting to validate disk 0 MBR2GPT: Retrieving layout of disk MBR2GPT: Validating layout, disk sector size is: 512 bytes Disk layout validation failed for disk 0   Here's diskpart info:  PS C:\WINDOWS\system32&gt; diskpart  Microsoft DiskPart version 10.0.17134.1  Copyright (C) Microsoft Corporation. On computer: DESKTOP-74HKFD4  DISKPART&gt; list disk    Disk ###  Status         Size     Free     Dyn  Gpt   --------  -------------  -------  -------  ---  ---   Disk 0    Online         2794 GB      0 B  DISKPART&gt; sel disk 0  Disk 0 is now the selected disk.  DISKPART&gt; list part    Partition ###  Type              Size     Offset   -------------  ----------------  -------  -------   Partition 1    Primary            500 MB  1024 KB   Partition 2    Primary            519 GB   501 MB   Partition 3    Recovery           885 MB   520 GB   Partition 4    Primary           1525 GB   521 GB   And here's a picture of disk management:    I've tried shrinking the storage by a few GB in case it was the issue, but no luck. I'm kinda out of ideas. Maybe the recovery partition counts as a primary partition and thus I go over the 3 primary maximum? It shouldn't, but that's the only idea I have left.
I want to upgrade my disk from MBR to GPT, and I tried using Windows' MBR2GPT.EXE tool to do the job. I used Windows' DISKPART tool to identify the disk I want to convert. However, this happened:  C:\WINDOWS\system32&gt;MBR2GPT.EXE /convert /disk:0 /allowfullos  MBR2GPT will now attempt to convert disk 0. If conversion is successful the disk can only be booted in GPT mode. These changes cannot be undone!  MBR2GPT: Attempting to convert disk 0 MBR2GPT: Retrieving layout of disk MBR2GPT: Validating layout, disk sector size is: 512 bytes Disk layout validation failed for disk 0 MBR2GPT: Conversion failed   and the conversion failed. Using Diskpart again, I get the following output:  DISKPART&gt; list disk    Disk ###  Status         Size     Free     Dyn  Gpt   --------  -------------  -------  -------  ---  --- * Disk 0    Online          465 GB      0 B   Disk 1    Online         3841 MB   960 KB  DISKPART&gt; select disk 0  Disk 0 is now the selected disk.  DISKPART&gt; list partition    Partition ###  Type              Size     Offset   -------------  ----------------  -------  -------   Partition 1    Primary            100 MB  1024 KB   Partition 2    Primary            464 GB   101 MB   Partition 3    Recovery           813 MB   464 GB   Partition 4    Recovery           511 MB   465 GB   Looking at the partitions on disk 0, there are 2 primary partitions and 2 hidden ones, I read  that the partitions might have something to do with the conversion failing, so I believe this is the culprit. If anyone could offer help converting my disk, that would be greatly appreciated.
Why doesn't planet Earth expand if I accelerate upwards when standing on its surface? According to General Relativity I am being accelerated upwards by planet earth while writing this question. But a curious person on the the other side of the planet relative to me would have the same experience. That means we are accelerated in opposite directions, although earths diameter do not seem to increase. How can this be? How can I prove $n - 2\sqrt{n} = \Theta(n)$ I want to prove the following $$n - 2\sqrt{n} = \Theta(n)$$  It's $n - 2\sqrt{n} \leq n = O(n)$  How can I prove the same for $\Omega(n)$ "exec: gnome-session: not found" when logging in using lightdm On login the password is accepted but I'm returned to the login screen. Tried multiple times even after reboot... same behavior.  I left my laptop (Lenovo Ideapad z510) in suspend mode (lid down) last night, but it did not resume this morning, as it usually does. It had shutdown or crashed, and on booting with Ubuntu the login failure mentioned above started.  cat ~/.xsession-errors /usr/sbin/lightdm-session: 1: /usr/sbin/lightdm-session: ls: not found /usr/sbin/lightdm-session: 104: exec: gnome-session: not found   Okay. I've tried a bunch of suggestions from    Changed id to /usr/sbin/id in /etc/profile removed .Xauthority removed /tmp removed,  purged and re-installed lightdm checked .profile for syntax errors (source .profile worked fine, so I guess no syntax errors)   Nothing worked. My guest login is working fine, so another user should also work. I'm now going to create another user and continue working, but a solution to this problem is still warranted... it's likely going to repeat in future.  Installing and reconfiguring gdm also did not work.  sudo apt-get install gdm I am moving from Malaysia to the US, and planning to bring my desktop computer with me. I plan to pack it in my checked-in luggage. Will the computer risk being damaged? Any precaution should I take to reduce this risk? Will there be any trouble with the airline or immigration about bringing computer? Is there any difference between Present Perfect and Present Perfect Continuous? I have studied "present perfect" and "present perfect continuous" for a week. I know forms, verb and helping verb I should use when I write them.  For me, they have nearly same definition because I can use them interchangeably in Thai language. (My native language)  For example, the sentences        I have learned English language in the past few weeks.    I have been learning English language in the past few weeks.       have no difference in meaning to me. They both mean "I began learning the English language in the past and I am still learning it"  Can I use them interchangeably in English? Or is there any difference between them? For example, when should I use present perfect but not present perfect continuous? Possible to do a MySQL foreign key to one of two possible tables? Well here's my problem I have three tables; regions, countries, states.  Countries can be inside of regions, states can be inside of regions.  Regions are the top of the food chain.  Now I'm adding a popular_areas table with two columns; region_id and popular_place_id.  Is it possible to make popular_place_id be a foreign key to either countries OR states.  I'm probably going to have to add a popular_place_type column to determine whether the id is describing a country or state either way. How do the Chitauri "ships" propel themselves? In the 2012 The Avengers film, the Chitauri army arrives through the portal along with these big robot alien whale Chitauri dudes. Here's one chasing Iron Man:  These guys basically swim through the air like... giant robot alien whales. I don't see any means of propulsion. Other, more humanoid Chitauri soldiers fly around on things that seem to be mechanical &quot;speeders&quot; of sorts. What are these guys? Are they ships, creatures, or both? Is there an explanation anywhere in the Avengers universe for how they defy gravity and swim through the air? Thunar files view, date format "today, yesterday" Managed metadata columns in document information panel with multiple content types Should my first trip be to the country which issued my Schengen Visa? "Firstly" or "first"? How do I make groups in 2.8? In the Blender Guru Donut tutorial he made a sprinkle for a donut. He copied that sprinkle and made a smaller version of it. He Shift selected both and made a group with the shortcut Ctrl+G. When I do the same it assigns both sprinkles into a collection. I have read that the layer system is redone completely. So when I make a group out of the two objects, is it the same as a group and where can I see that group? Variance (different definitions) I'm new to statistics and reading stats books I found different definitions for Variance.  Definition1: $ s^2 = \frac{1}{n-1} \sum_{i=1}^n (x_i - \bar{x})^2 $  Definition2: $ s^2 = \frac{1}{n} \sum_{i=1}^n (x_i - \bar{x})^2 $  I would like to know why is used different definition for same thing? Why does DNS work the way it does? This is a  about DNS (Domain Name Service).   If my understanding of the DNS system is correct, the .com registry holds a table that maps domains (www.example.com) to DNS servers.   What is the advantage? Why not map directly to an IP address? If the only record that needs to change when I am configuring a DNS server to point to a different IP address, is located at the DNS server, why isn't the process instant? If the only reason for the delay are DNS caches, is it possible to bypass them, so I can see what is happening in real time? I would like to have my whole document showing a blank line (or space) between paragraphs and no indentation. I know how to do it line by line, but is there a way to change that with just one or a few lines at the beginning of the document? Like a package you can install, or a new command? Integration by partial fractions; how and why does it work? Could someone take me through the steps of decomposing  $$\frac{2x^2+11x}{x^2+11x+30}$$ into partial fractions?   More generally, how does one use partial fractions to compute integrals $$\int\frac{P(x)}{Q(x)}\,dx$$ of rational functions ($P(x)$ and $Q(x)$ are polynomials) ?    This question is asked in an effort to cut down on duplicates. See .  Also see . installing rtl8814AU wifi adapter driver on ubuntu 16.04 Java is one of my programming languages of choice.  I always run into the problem though of distributing my application to end-users.  Giving a user a JAR is not always as user friendly as I would like and using Java WebStart requires that I maintain a web server.  What's the best way to distribute a Java application?  What if the Java application needs to install artifacts to the user's computer?  Are there any good Java installation/packaging systems out there? Problem with gummy-bears being too much like jelly I've been trying a simple recipe I found on the internet, which is a simple recipe consisting mostly of gelatin.  The problem is that the end result is basically just a fruit-flavoured jelly (Jell-O?), rather than the more chewy gummy-bears (Haribo) style of jelly confectionery.  Can anyone suggest what I need to do to make them less springy and more chewy.  It's all difficult to articulate!  Here's what I used for the first test-batch:   12 tbsp sugar 12/3 cup fruit juice 8 tbsp Golden Syrup 8 tbsp gelatin   soften the gelatin in 1/2 cup of cold water. place sugar, syrup and the juice in a pan and gently heat until sugar dissolves. Stir in the gelatin and stir until dissolved. Pour into moulds and wait until set.    Thanks Restoring a backup to an older version of SQL Server