Swap issues, device always busy
Hey guys, thanks for your help at previous questions. Unfortunately I encountered further problems.
I made a swap partition using gparted and a live ubuntu version booted from a stick. Now everything seems to be fine, when I run "fdisk", it tells me that
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 113326079 56662016 83 Linux
/dev/sda2 113326080 125044735 5859328 82 Linux swap / Solaris
how it should be (I guess). Obviously, the swap is not used. When I run "free" it tells me that
total used free shared buffers cached
Mem: 3089400 1219588 1869812 0 34096 409420
-/+ buffers/cache: 776072 2313328
Swap: 0 0 0
So no swap partition/file available. Well, what I did, refering to
https:/
I tried to enable the swap partition using
sudo swapoff -a
sudo /sbin/mkswap /dev/sda2
sudo swapon -a
But after the second command, ubuntu tells me that
/dev/sda2: Device or resource busy
What should I do about that?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Daniel Malz
- Solved:
- Last query:
- Last reply: