A start job is running for dev-disk-by x2duuid-ad0b043b\x2d404c... .device (7s / 1min 30s)

Your swap line in /etc/fstab is incorrect.

Update: We're going to have to create a new separate swap partition for Ubuntu...

Make sure that you have a good backup of your important Ubuntu files, as this procedure can corrupt or loose data.

Keep these things in mind:

  • always start the entire procedure with issuing a swapoff on any mounted swap partitions, and end the entire procedure with issuing a swapon on that same swap partition

  • a move is done by pointing the mouse pointer at the center of a partition and dragging it left/right with the hand cursor

  • a resize is done by dragging the left/right side of a partition to the left/right with the directional arrow cursor

  • if any partition can't be moved/resized graphically, you may have to manually enter the specific required numeric data (don't do this unless I instruct you to)

  • you begin any move/resize by right-clicking on the partition in the lower part of the main window, and selecting the desired action from the popup menu, then finishing that action in the new move/resize window

Do the following...

Note: if the procedure doesn't work exactly as I outline, STOP immediately and DO NOT continue.

  • boot the a Ubuntu Live DVD/USB
  • start gparted
  • resize (shrink) sda1 by moving the right side of the partition to the left, reducing it by 3G
  • create a new swap partition in the newly unallocated 3G space, note the sdaX number
  • click the Apply button
  • quit gparted
  • optional...
    • open terminal
    • type sudo fsck -f /dev/sdb5 # to fix errors on sdb5
  • reboot to Ubuntu

In terminal...

sudo blkid # copy the full /dev/sdaX UUID to the clipboard

sudo cp /etc/fstab /etc/fstab.bak # backup the file first

gksudo gedit /etc/fstab # edit the file, save, and quit gedit

Change this:

# swap was on /dev/sda6 during installation
UUID=ad0b043b-68a6-... none            swap    sw              0       0

To this:

# swap was on /dev/sdaX upon reconfiguration
UUID={put UUID for sdaX here} none            swap    sw              0       0

Notice the ... in the UUID numbers. The number is cut off. You need to use the full UUID taken from the sudo blkid command for /dev/sdaX.

Still in terminal...

sudo swapon -a # observe no errors when enabling swap

reboot

Update #1:

After reviewing a screenshot of gparted, it looks like something else is going on. /dev/sda6 USED to be swap, but now it's a Ext4 partition, and /dev/sda5 is a swap partition. It may be a swap for another OS. I've slightly adjusted my procedure.

Update #2:

Turns out that /dev/sda5 was a swap partition for another OS. We're going to have to create a new separate swap partition for Ubuntu. I'll rewrite some of my procedure. I'll also add a fsck for /dev/sdb5 that has errors.


I too have encountered this error, answer #1 should work fine, I am familiar with fstab,terminal, gparted,this is how I fixed in a few minutes. Open terminal type gksugedit locate and open etc/fstab

Open gparted locate swap partition you will be using,right click, select swapoff, if none is present follow heynnema how to create new swap partition,right click again and highlight and copy complete UUID for swap partition, do not close gparted yet

In gedit, highlight existing UUID for swap,right click and paste new swap UUID over old UUID,double and triple check you have complete UUID every digit and save, I also recieved the same error,(gedit:5506): WARNING **: Set document metadata failed, proceed anyway this will not affect the repair

Go back to gparted, select swap partition, right click,slect swapon.

Close everything and reboot. Take notice did boot time improve? Is the error still in your boot log? for me the problem was solved.Thank you heynnema