Swap space not enabled with start up

Asked by Bayla

I have the same problem as described before as in a Q before- but could not work it out with the answer previously, I guess I do not understand the commands given , I do sent this maby it gives somewhat more info?

bayla@Baylamoon:~$ blkid
/dev/hda5: UUID="01ffca01-ee1a-4476-99d4-67ecd2ee0f8b" TYPE="swap"
/dev/evms/hda5: TYPE="swap" UUID="01ffca01-ee1a-4476-99d4-67ecd2ee0f8b"
/dev/evms/hda1: LABEL="/" UUID="b836b465-9c63-4548-a67b-0fb1b685cab8" SEC_TYPE="ext2" TYPE="ext3"
/dev/hda1: LABEL="/" UUID="b836b465-9c63-4548-a67b-0fb1b685cab8" SEC_TYPE="ext2" TYPE="ext3"
/dev/mapper/hda5: TYPE="swap" UUID="01ffca01-ee1a-4476-99d4-67ecd2ee0f8b"

thnx in advance

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tormod Volden (tormodvolden) said :
#1

Please link to that other question you mention.
Show what you have in /etc/fstab

Revision history for this message
Bayla (bayla) said :
#2

I'm sorry I' not too familiar with commands yet, I did the following: I feel a little silly, it must bewrong how i copy-pasted the commands?

bayla@Baylamoon:~$ /etc/fstab
bash: /etc/fstab: Toegang geweigerd
bayla@Baylamoon:~$ les/etc/fstab
bash: les/etc/fstab: Bestand of map bestaat niet
bayla@Baylamoon:~$

toegang geweigerd means access denied
bestand of map bestaat niet means file does not exist...

Revision history for this message
Bayla (bayla) said :
#3

Here we go again (I mixed up 2 Q's..)

Ah, and the other info u asked 4:
Question #5363, asked on 2007-04-21 by ibob63
swap space not enabled on start up

Hi,

For some reason or other my swap space doesn't enable on start up, so i load up gnome partition editor to enable it every time I load the

 anyone know how i can set it so that it loads at startup?

Thanks,

James

Revision history for this message
Bayla (bayla) said :
#4

Hah! Got it I think

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1 -- converted during upgrade to edgy
UUID=b836b465-9c63-4548-a67b-0fb1b685cab8 / ext3 defaults,errors=remount-ro 0 1
# /dev/hda5 -- converted during upgrade to edgy
UUID=eaf9efdd-fcd4-448a-903e-d1b3e2c5d2ad none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
~

Revision history for this message
Tormod Volden (tormodvolden) said :
#5

You can see there is a UUID mismatch between what's actually on your swap partition (see blkid output) and what the computer looks for to use as swap (see /etc/fstab). You have to edit /etc/fstab and carefully replace the the UUID string on the swap entry. Start the nano editor with this command:
sudo nano /etc/fstab

Can you help with this problem?

Provide an answer of your own, or ask Bayla for more information if necessary.

To post a message you must log in.