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
Advertisement
Tags: swap not auto mounted in ubuntu or linux, swap not mounted automatic