Just re-installed Dreamlinux which is ok apart from the fact that the swap partition isn't mounted. Can somebody help me please?
Printable View
Just re-installed Dreamlinux which is ok apart from the fact that the swap partition isn't mounted. Can somebody help me please?
The swap partition isn't mounted like normal drives and it doesn't show up when you issue the mount command. Try using the free command to see if it's active or not.
All you really need to do is make sure that your /etc/fstab is correctly pointing at the swap partition. If you want to activate the swap on a running system then you need the swapon command.Code:free
Where sdax is your actual swap partition.Code:swapon /dev/sdax
Hi Mike Tbob......
free >>>>>
terry@tcq:~$ free
total used free shared buffers cached
Mem: 482312 409152 73160 0 12448 183320
-/+ buffers/cache: 213384 268928
Swap: 0 0 0
Don't know what to do next! Just issue the command swapon /dev/hda1????
/dev/hda1 = swap partition
You could do that, if you are sure that is the correct partition.
swapon /dev/hda1
then edit the /etc/fstab file to point at it, and it will work on reboot too.
Post the output of fdisk -l command and contents of /etc/fstab file here.
Code:su -
fdisk -l
cat /etc/fstab
Thanks everybody............the fstab file was wrong ang the swap was formatted as ext3. Managed to sort the problem at last....thanks again!!!!!!