So you just saw this message at boot:
The disk drive for uuid=[long string of numbers and letters]…. is not ready yet or not present, Continue to wait; or Press S to skip
Why did this happen?
A couple of reasons. One of your hard-drives is knackered, You’ve been messing around and accidentally unplugged a hard-drive, a partition has been formatted or is unreadable.
Most Probable Cause:
You installed another Linux distro to dual-boot with, and it has renumbered your SWAP partition, and now your old Linux doesn’t recognize it.
How do I fix it?
1. Open your Terminal with 3 tabs (Ctrl+T) on Terminator, Gnome-Terminal etc. Or just open 3 terminals if you prefer that.
2. In terminal One, list your discs and partitions to find SWAP
sudo fdisk -l
Mine are:
Device Boot Start End Blocks Id System
/dev/sda1 * 1859031040 3907028991 1023998976 7 HPFS/NTFS/exFAT
/dev/sda2 2048 1859031039 929514496 7 HPFS/NTFS/exFAT
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 488476671 244237312 7 HPFS/NTFS/exFAT
/dev/sdb2 488476672 976773119 244148224 7 HPFS/NTFS/exFAT
Device Boot Start End Blocks Id System
/dev/sdc1 2048 256008191 128003072 83 Linux
/dev/sdc2 * 512007615 623081024 55536705 7 HPFS/NTFS/exFAT
/dev/sdc3 623081472 625141759 1030144 82 Linux swap / Solaris
/dev/sdc4 256008192 512006143 127998976 83 Linux
3. In Terminal Two, get the UUIDs for each partition:
sudo blkid
Mine are:
/dev/sda1: UUID=”5A81E99E5D0E4BEC” TYPE=”ntfs”
/dev/sda2: UUID=”2ED785F62B8C2905″ TYPE=”ntfs”
/dev/sdb1: UUID=”AC84B67484B6409E” TYPE=”ntfs”
/dev/sdb2: UUID=”6E5D895444E6C134″ TYPE=”ntfs”
/dev/sdc1: UUID=”fb9b8f73-8755-41d7-9c86-a721fd354bad” TYPE=”ext4″
/dev/sdc2: UUID=”22B0AAE8B0AAC1A1″ TYPE=”ntfs”
/dev/sdc3: UUID=”a90dd59c-cba2-4275-8fc0-23cf097675a2″ TYPE=”swap”
/dev/sdc4: UUID=”cb69c289-170b-4b37-8d8f-970707ec0fd0″ TYPE=”ext4″
4. We are going to turn SWAP off before we edit anything.
sudo swapoff -a
5. In Terminal 3 we will edit fstab and change the UUID for SWAP which we can see is wrong.
sudo vim /etc/fstab
Mine looks like this:
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sdb1 during installation
UUID=fb9b8f73-8755-41d7-9c86-a721fd354bad / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb3 during installation
UUID=8389288c-0a99-40c7-8d56-4c9333e458dc none swap sw 0 0
# Storage Partition 1 on /dev/sda1
UUID=5A81E99E5D0E4BEC /storage1 ntfs-3g auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8 0
# Storage Partition 2 on /dev/sda2
UUID=2ED785F62B8C2905 /storage2 ntfs-3g auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8 0
# Storage Partition 3 on /dev/sdb2
UUID=6E5D895444E6C134 /storage3 ntfs-3g auto,users,uid=1000,gid=100,dmask=027,fmask=137,utf8 0
6. Now we are going to remove the UUID from the SWAP line, and leave the cursor just after the “=”
# swap was on /dev/sdb3 during installationUUID= none swap sw 0 0
7. Now look at Terminal Two and copy that UUID from SWAP, and paste it into the fstab file so it looks like this:
# swap was on /dev/sdb3 during installationUUID=a90dd59c-cba2-4275-8fc0-23cf097675a2 none swap sw 0 0
8. Save and Quit vim with “:wq + Enter”
9. Turn SWAP on again
sudo swapon -a
That’s it, all done, you now have the correct UUID for your SWAP partition.