You are not logged in.
Hello i hawe installed bl-Hydrogen-amd64_20160710.iso usb install.
And my swap not work please help me.
http://i.imgur.com/U596b7i.png
-- Mod edit: Please use thumbnails!---
Last edited by nobody (2016-10-08 15:10:00)
Offline
How do you know it isn't working?
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
How do you know it isn't working?
Because my system not detect swap show 00
https://s19.postimg.org/p4zbjtweb/image … 088007.gif
Last edited by gangosan (2016-10-07 22:12:18)
Offline
Please post the contents of '/etc/fstab', using [ code ] tags
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
What is the output from
swapon
in a terminal?
if it doesn't show (in your case from the posted gparted screenshot) /dev/sda3 then try:
sudo swapon /dev/sda3
which should activate it, though doing that manually might not survive a reboot.
what do you see if you do
cat /etc/fstab
is there an entry for swap?
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
Please post the contents of '/etc/fstab', using [ code ] tags
I dont know how to do it
Offline
gangosan@Gangosan:~$ swapon
gangosan@Gangosan:~$ sudo swapon /dev/sda3
[sudo] password for gangosan:
Sorry, try again.
[sudo] password for gangosan:
gangosan@Gangosan:~$ sudo swapon /dev/sda3
swapon: /dev/sda3: swapon failed: Device or resource busy
gangosan@Gangosan:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=32d685d8-814d-49ce-bf61-ab19c913a13b / ext3 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
gangosan@Gangosan:~$
===== MOD EDIT =====
Added code tags.
Last edited by Sector11 (2016-10-08 15:56:18)
Offline
gangosan@Gangosan:~$ /etc/fstab
bash: /etc/fstab: Permission denied
gangosan@Gangosan:~$
Offline
What I'd do:
sudo mkswap /dev/sda3
to make sure it's not corrupted somehow
sudo swapon /dev/sda3
to get it activated, if either give errors, I'm stumped as to why, if not then
echo "/dev/sda3 none sw 0 0" | sudo tee -a /etc/fstab
to add the entry so it gets used next boot
systemctl reboot
to check it does.
If not then wait for someone who knows their Linux, I'm still a relative n00b with it.
Last edited by Bearded_Blunder (2016-10-07 23:47:41)
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
gangosan@Gangosan:~$ sudo mkswap /dev/sda3
[sudo] password for gangosan:
mkswap: error: /dev/sda3 is mounted; will not make swapspace
gangosan@Gangosan:~$ sudo swapon /dev/sda3
swapon: /dev/sda3: swapon failed: Device or resource busy
gangosan@Gangosan:~$ cho "/dev/sda3" nonesw00" | sudo tee -a /etc/fstab
>
> systemctl reboot
>
>
Offline
gangosan@Gangosan:~$ to check it does.
bash: to: command not found
gangosan@Gangosan:~$ If not then wait for someone who knows their Linux, I'm still a relative n00b with it.
Offline
mkswap: error: /dev/sda3 is mounted; will not make swapspace
what's the output of
mount
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
This https://jpst.it/O84T
Offline
hmm well I can't see /dev/sda3 in there, so I'm now officially stumped, you'll have to wait for one of the proper experts to appear, sorry
Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me
Offline
Thanks for trying to help. After follow your instruction swap here.
http://i.imgur.com/MkNYPsx.png
Offline
Why not try using mount to mount /dev/sda3 to another partition like /mount/ or something ?
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
Also :
" If using a swap partition lookup the UUID of the swap partition using the blkid(8) command. Simply run blkid with root privileges and compare the UUID it has with what is in /etc/fstab. If there is a discrepancy, replace the UUID in /etc/fstab with the one output by blkid. "
You'll probably need to install the blkid command to do this.
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
Thanks for trying to help. After follow your instruction swap here.
http://i.imgur.com/MkNYPsx.png
I could be wrong (and often am), but that looks to me like your swap partition is mounted; the system simply hasn't encountered a high-memory-usage situation that would require writing to swap.
Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009
Offline
gangosan wrote:Thanks for trying to help. After follow your instruction swap here.
http://i.imgur.com/MkNYPsx.pngI could be wrong (and often am), but that looks to me like your swap partition is mounted; the system simply hasn't encountered a high-memory-usage situation that would require writing to swap.
pvsage looks right to me. Your swap looks like it is now working perfectly in this screenshot. For reference of future thread readers: basically speaking, if you use a lot of RAM, your system will automatically use swap as "virtual memory". Until this occurs, it is perfectly normal to see zero swap usage.
Last edited by photonucleon (2016-10-08 08:40:53)
The servant lifted off a kind of ottoman a long peacock-blue drapery, rather of the nature of a domino, on the front of which was emblazoned a large golden sun, and which was splashed here and there with flaming stars and crescents. “You’re to be dressed as Thursday, sir,” said the valet somewhat affably.
Offline
Check swap usage with:
free -h
As Bearded_Blunder noted, a line in /etc/fstab is needed to mount the swap partition at boot unless you have a GPT disk.
Offline