That's because you can't resize a mounted partition, in this case your root partition. You can't resize the root partition of a system you are running. If you want to resize sda1, you will have to...