MySQL Error – “The partition with /var/lib/mysql is too full”

Have you encountered this error when trying to start MySQL on your Linux server? Turns out all you need to do is sudo.

Initially, I used this to start MySQL server: /etc/init.d/mysql  start

I encountered the error: “The partition with /var/lib/mysql is too full”

Then I put sudo in from of my statement : sudo /etc/init.d/mysql start

MySQL starts successfully.

Issues installing Windows 8 due to GPT partition style error

We recently received a new Lenovo Carbon X1 Touch to setup for an employee. It arrived with the Home version of Windows 8 installed, so we proceeded to install Windows 8 Enterprise. First of all, if you haven’t seen the new Carbon X1 Touch, it is a beautiful, slim, touchscreen laptop. But it does not have a built in NIC card. You have to attach an ethernet dongle if you want to be hard-wired in to your network. This device does not allow for booting up to our Microsoft Deployment server. There is an additional driver required in order to do this. So, we decided to install the OS via USB. I created a bootable Windows 8 USB stick (Using ISO to USB; http://www.isotousb.com) and booted from the USB.

All seemed well until it came time to choose the partition on which to install Windows. I chose the OS partition and received this error:

“Windows cannot be installed on this disk. The selected disk is part of the GPT partition style.”

I started troubleshooting by choosing to format the OS partition. That did not work as I received the same error message. So what to do but start from scratch. I delete all of the other existing partitions, formatted again and attempted to install the OS. This did not work either: 

I rebooted, chose Repair at the initial install screen, and opened the command prompt. I ran the following diskpart commands: 

 

  1. diskpart
  2. list disk
  3. select disk “x” (this is the disk on which you want to install Windows)
  4. clean
  5. create partition primary
  6. active
  7. format fs = ntfs quick
  8. assign
  9. exit

I rebooted and started the installation again. I chose the partition I needed and was able to install Windows 8. If you run into this error, just perform the diskpart steps above. That should resolve the issue.