swap not auto mounted in ubuntu or linux

go to /etc/fstab

look for swap part it would be something like

UUID=e5785762-91be-4c98-8492-7398671c923c none swap defaults 0 0

the problem may be with the UUID

get the UUID of ur swap using

sudo vol_id -u <partition>  // <partition> is the partition of ur swap like /dev/hda5

copy the UUID and paste in the UUID part in /etc/fstab for swap and save it ( u may required to be a super user to do tht) and voila the swap ll auto mount

Advertisements

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: