![]() |
#21 |
Master
![]() ![]() ![]() Join Date: Aug 2007
Posts: 303
![]() |
![]()
to know more about the fstab configuration file you can read here (the Arch Linux wiki is pretty interesting for such things).
instead of /dev/sda3 you can also put in the UUID number of the swap partition. You can find out the UUID number of your swap with "blkid" command. But don't ask me if this has advantages. with the blkid command you can see the path of the device, the UUID and the partition type e.g. swap. |
![]() |
![]() |
![]() |
#22 |
Pledge
Join Date: Sep 2010
Posts: 41
![]() |
![]()
K, let's move back a bit. First, start with this (you'll need to use sudo or su for the examples that have root@laptop):
Code:
[root@laptop:~]# fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d4297 Device Boot Start End Blocks Id System /dev/sda1 63 157292414 78646176 5 Extended /dev/sda2 * 157292415 576717434 209712510 7 HPFS/NTFS/exFAT /dev/sda3 576717435 976768064 200025315 7 HPFS/NTFS/exFAT /dev/sda5 126 115346699 57673287 83 Linux /dev/sda6 115346763 153099449 18876343+ 83 Linux /dev/sda7 153099513 157292414 2096451 82 Linux swap / Solaris Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00062463 Device Boot Start End Blocks Id System /dev/sdb1 63 734009849 367004893+ 5 Extended /dev/sdb2 734009850 976768064 121379107+ 7 HPFS/NTFS/exFAT /dev/sdb5 126 734009849 367004862 83 Linux Code:
[root@laptop:~]# swapon -v /dev/sda7 swapon on /dev/sda7 swapon: /dev/sda7: found swap signature: version 1, page-size 4, same byte order swapon: /dev/sda7: pagesize=4096, swapsize=2146762752, devsize=2146765824 Code:
[user@laptop:~]$ swapon -s Filename Type Size Used Priority /dev/sda7 partition 2096444 0 -1 [user@laptop:~]$ free -m total used free shared buffers cached Mem: 7981 1853 6128 0 98 596 -/+ buffers/cache: 1158 6823 Swap: 2047 0 2047 EDIT: *One other thing... if you don't actually have a swap partition, let me know. It would probably be easier to make a swap file in that scenario. |
![]() |
![]() |
![]() |
#23 |
Banned
![]() ![]() ![]() Join Date: Mar 2007
Location: New York City
Posts: 569
![]() |
![]()
total used free shared buffers cached
Mem: 748 608 139 0 15 176 -/+ buffers/cache: 416 331 Swap: 0 0 0 This is what happens when I do the "free -m" command, doesn't seem like I have one placed. PS: I don't know how to post the log from the terminal. |
![]() |
![]() |
![]() |
#24 |
Pledge
Join Date: Sep 2010
Posts: 41
![]() |
![]()
Select and press Ctrl+Shift+C (this won't work on xterm though if you use that).
EDIT: Also, could you say what distro and desktop environment you use? That way I can give you advice that could be more specific to it. |
![]() |
![]() |
![]() |
#25 |
Banned
![]() ![]() ![]() Join Date: Mar 2007
Location: New York City
Posts: 569
![]() |
![]()
Not sure how to tell, but Gmone Kernel Linux.... hope that's what you're looking for.
|
![]() |
![]() |
![]() |
#26 |
Banned
![]() ![]() ![]() Join Date: Nov 2008
Location: France
Posts: 496
![]() |
![]()
What are you trying to do, it is regnum online game forum, not Linux users one.
Everyone that using Linux must know what is a swap... Sorry to be rude but there is enough documentation on internet about it. |
![]() |
![]() |
![]() |
#27 |
Banned
![]() ![]() ![]() Join Date: Mar 2007
Location: New York City
Posts: 569
![]() |
![]()
Too bad this is the Technical Support Linux section. By the way, I'm still new to Linux, but I guess that could never be a factor.. being new to something. I am having a problem that doesn't allow me to run Regnum, so I think it is suitable to ask here.
|
![]() |
![]() |
![]() |
#28 |
Pledge
Join Date: Sep 2010
Posts: 41
![]() |
![]()
Could you post the output of the commands I posted before (print screens are fine if you can't copy+paste)?
|
![]() |
![]() |
![]() |
#29 | |
Banned
![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 843
![]() |
![]() Quote:
Anyway i had compputer freez but was not related to swap partition. Try to run from terminal the game...when cpu look like he is frozen press ctrl+alt+F1 or F2Tel me if switch TTY or he stay frozen. If he switch then your are able to login send command killall to rolauncher. |
|
![]() |
![]() |
![]() |
#30 | |
Banned
![]() ![]() ![]() Join Date: Mar 2007
Location: New York City
Posts: 569
![]() |
![]() Quote:
Game worked successfully, but I still need to save it, so it's stacked there everytime I log on. It gives me an error when I try the website's command. |
|
![]() |
![]() |
![]() |
|
|