swap error during startup

Asked by cpysang

I get an irritating error during startup which I have to press startup which is probably not serious but I would like to sort it out (and also understand what went wrong.....) and also prevent some other error that could possibly happen later on. Luckily nothing has happened as yet.

The login screen comes up for a moment before it goes away. The error indicates that all items included in the etc/fstab file has not loaded:

swap: waiting for UUID=00c834f7-c693-4469-806c-3c681a56f082

To load the shell I have to press esc; which I do and so far I have not encountered any problems. Help will be highly appreciated.

Thanks

Btw, I have copied the fstab file:

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=67c6e1ec-ea6f-46a0-8899-cd4978741c47 / ext3 relatime,errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=00c834f7-c693-4469-806c-3c681a56f082 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Oleg Sevostyanov (boothehamster) said :
#1

Maybe you need a refresh UUID of swap partition?

Try this:
http://ubuntuforums.org/showthread.php?t=1225903

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

or in /etc/fstab

change

UUID=00c834f7-c693-4469-806c-3c681a56f082 none swap sw 0 0

to

/dev/sda5 none swap sw 0 0

its old school, but will work. You don't HAVE to use UUIDs, its just nice

Revision history for this message
cpysang (cpysang) said :
#3

Thanks actionparsnip, that solved my question.