I've install Ubuntu 16.04 in a Nvme SSD,but I found the partion 6 isn't  aligned automatically  through parted command:    sudo parted /dev/nvme0n1 (parted) align-check optimal 6  6 not aligned   This is the output of fdisk:  Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: C49EAE3F-0A58-468E-99E5-2B51CB2A2FBC  设备               Start    末尾    扇区   Size 类型 /dev/nvme0n1p1      2048   1026047   1024000   500M EFI System /dev/nvme0n1p2   1026048   1288191    262144   128M Microsoft reserved /dev/nvme0n1p3   1288192 217038149 215749958 102.9G Microsoft basic data /dev/nvme0n1p4 477204480 478126079    921600   450M Windows recovery environment /dev/nvme0n1p5 478126080 500117503  21991424  10.5G Windows recovery environment /dev/nvme0n1p6 217038150 477204479 260166330 124.1G Linux filesystem  Partition table entries are not in disk order.   So how could I realign the partition?(expecting not reinstall os )
Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?
Unable to install Springseed 2 on Ubuntu 15.04 Often when I edit one of my answers, it's because I want to better address the original question. The only problem is that I can't see the original question while I'm editing my answer!  I'd love to see the original question text beneath the "answer edit" form. This way I could scroll down slightly to read it if I wanted to, or just ignore it if not.  Current workaround is to click the 'return to answer' link and hope that you remember to launch it in a new tab/window, then tab back and forth.    Imported from this uservoice item: Carmichael number square free Show that if $n$ is a , then $n$ is a square-free.  I did this: Let $n= (p^t)(m)$  where $t &gt;1$. Then by modular property,  $$b^p= b \mod n , \,\, b^m= b \mod n$$ Above two equations are also true in$\mod p$, $\mod p^t$. But in$\mod m$, just $b^n=b \mod m$.  And I tried to use CRT But I couldn't.  I think that I've chosen wrong way Where can I find gedit's backup files and how to open them? So, I just finished off the first part of an important task for school and today when I was going to continue, the document with my notes were gone. The only fragment I've got left of my file is the back up file, which doesn't show in the folder where I saved the document, but I can search for it.  Is there anyway which allows me to open the back up file, save it as a text file and continue my task? I don't really have the time for running restoring tools, which never has helped me in a satisfactory way anyway.  I wrote the document in gedit and my version of Ubuntu is 12.10. Asking users to accept answer when they comment that it answers their question I've had a couple of answers today where the OP indicated via a comment that I solved their problem, but the question wasn't upvoted or accepted.  In both cases the person probably wasn't able to upvote since they were new, but they could have accepted my answer. I felt a little guilty asking them to accept the answer, but since it solved their problem I felt that it would help others who stumbled on the question trying to solve their own problem to know that my solution really was the answer. Is asking the OP to accept your answer when they've said that it solved their problem a reasonable thing to do or does that feel like nagging for reputation? set session - custom variable to store user id I want to store user id in custom session variable and use it (read) in trigger procedures to authorize user actions. I found something like this:  set session "myapp.user" = '12345'; ... SELECT current_setting('myapp.user');   and it seems to work - I thought that "myapp.user" should be declared in .conf file but it seems that I can create session variables on the fly (I didn't change .conf file at all).  Is there any disadvantage of doing like this? UK Visa Refusal: Provenance of funds/parking I have applied recently for a general visitor visa to the UK to spend 10 days during Christmas with my British unmarried partner and it has been turned down.   The Entry Clearance Officer stated on his refusal notice the following:     I note that you have never previously travelled to the UK or any country with similar immigration requirements and you therefore do not have a history of travel and compliance to consider.      You have submitted an employment letter to confirm your occupation in KSA but I am required to also assess your personal, domestic and economic circumstances in determining whether you are genuine visitor travelling to the UK for the period and purpose you state.      You claim an income of SAR ........ per month which equal ........ GBP and from the evidence submitted this appears to be your sole source of income.   I note that this monthly income is reflected on your bank statements. However, the bank statement you have presented show a recent large deposit that are in excess of your stated income and inconsistent with the account history. You haven't provided evidence toward the origin of this recent deposit and in the absence of reasonable evidence I am not satisfied that these bank statements accurately reflect your personal circumstances.      In view of the above, I am not satisfied you have demonstrated that your circumstances are as you claim and therefore I am not satisfied that you're travelling to the UK for the period and purpose you stated. 41(i)and(ii).   Its true that I have deposited that sum of money right before I apply and it was a commission I received from work earlier this month.   So, could you please give me your advice on the above as I am planning to apply again soon. and how to avoid my application being refused again? How to do the port forwarding from one ip to another ip in same network? I would like do some NAT in iptables. So that, all the packets coming to 192.168.12.87 and port 80 will be forwarded to 192.168.12.77 port 80.  How to do this with iptables?  Or   Any other ways to achieve the same? What is the best way to go about calling a function given a string with the function's name in a Python program.  For example, let's say that I have a module foo, and I have a string whose content is "bar". What is the best way to call foo.bar()?  I need to get the return value of the function, which is why I don't just use eval. I figured out how to do it by using eval to define a temp function that returns the result of that function call, but I'm hoping that there is a more elegant way to do this. In how many inequivalent ways can 8 people be seated at a round table? How many different arrangements are there of eight people seated at a round table, where two arrangements are considered the same if one can be obtained from the other by a rotation? If $aRb \land bRc$ never occurs, is a relation considered transitive? Nested Quantifiers true or false I have a concern with nested quantifiers.  I have: $$  \forall x \exists y \forall z(x^2-y+z=0) $$ such that $$ x,y,z \in \Bbb Z^+$$   My first question, can it be read like this:  $$  \forall x \forall z \exists y(x^2-y+z=0)  $$  The way I did it, is I started off with $x=1, z=1 $   $$ 2-y = 0 $$ $$ y =2 $$  Is this a good approach? Guests see the Protected notice , somewhat displaced:    Logged in, all is fine:    It actually belongs there, at the bottom, but then it has some design glitches, or it needs to be placed at the top.  Verified on Firefox and Chrome stable. What is the difference between Newtonian and Lagrangian mechanics in a nutshell? I am interested in determining the ages of all 70+ my servers. I would like to create a growth graph showing when servers and databases were added to the environment either/both monthly or annually. I executed the following query using the SSMS multi-query feature with only partial success.  SELECT [name], create_date FROM sys.databases   It's partial success because the master and model databases return with a date of 'April 8, 2003' when I know that I created some of these servers during the past couple years.  I refresh databases from one server to another several times a week, which appears to be causing issues with the database create date.   Is there a simple method to determine the actual create date for both servers and databases? Did English ever have a word for 'yes' for negative questions? The Germans have doch and the French have si as a word that means "yes" in response to a negative question, such as:     Don't you want some ice-cream?   Yes [I do]!   In English, we only have yes (as far as I know) and further clarification is required in order to be unambiguous.  Did we ever have such a word in English and, if so, what happened to it? If not, given the French and Germanic influences on English, any idea why not? What's the best way of checking if an object property in JavaScript is undefined? Let $f(x)$ be a monotone non-increasing function such that $\int_{0}^{\infty}f(x) dx$ converges. Prove: $\lim\limits_{x \to \infty} xf(x)=0$. My question is, why can't I simply contradict any other possibility by using the Integral Limit Comparison Test with $1\over x$? I am, after all, to show that $f(x)=o(x)$ as $x\to \infty$. I really don't understand why monotony is crucial here. I could use some help. Adding a reference between Eclipse Java projects Uses of the 3D Cursor