I was reading this tutorial & it shows swap at the beginning of drive. [URL]
Although I've already installed slackware & put the swap at the back of os, I would still like to know the benefits and purpose of putting at the beginning.
Here is a way to prepare a USB flash drive to save your kickstart file to it, and then read the kickstart file from the USB drive during a new Fedora installation.A USB flash drive is recognised by the Linux kernel as just another hard drive.This is how I set up my USB flash drive to use it to store my kickstart file on.You will need a working Linux system to set up the USB drive.
i have 2 harddrives. a 6gb and an 11gb. IDE ATA. i want to install opensuse 11.2 on them, using EXT4, in a different way this time. i want the "/" partition to cover all of the 6gb, with the drive set to master. For the slave, I want the "/home" partition on the 11gb, covering only 10gb on the beginning of the drive, and i want the swap space partition on the end of the drive using 1gb. Is this a smart way to install it? Will i have to continuously mount the drive with home and swap on it? What is the best configuration for using these two drives?
I am running Slackware 13.0 on an computer with low memory (128 MB, i thought). When I type "free -m" in xterm terminal it displays.In the last line it displays only 5 MB used of 687. Is that normal?
I got two problems. Problem 1 the sound is kind of sketchy..I thought the sound card got blown. But I heard my friend got sound on it again before we put Slackware on. Next I left him to install it while I went to class. I don't think he put a swap in. The computer is painfully slow and it can't even switch users because it looks like the ram got murdered or something. My Questions are how to test / get a working sound card. I did do the alsamixer I think the command is and turn the volume levels up yet I don't hear anything.
As far as the swap partions I don't there is one but I am not sure how to look / check to where if he made it to small or not at all.
I'm using slackware about a month now and two days ago I checked to see the usage of my RAM and I saw that there was no swap, no used, no total, nothing! (how can this be?) swap -s returned nothing, I checked fstab and there was swap there so I entered the line about swap:
I believe it' s correct. I checked after restart with "free" and the total was ok but used is 0. I copied about 5 GB to see what would happen and still nothing. RAM was nearly full but still no swap used!
While this is the second notebook I've had the luxury of running Slackware on, I have never used the the suspend to RAM / swap functions so all of this is new to me. With this new notebook and new installation of Slackware 13.1 I decided to give it a shot as it's definitely a power sucker. The machine is a Lenovo W510 with an NVidia graphics card running KDE. When I tell KDE to go to Sleep (RAM suspension) it looks like it does so properly by blanking the screen and pushing things to RAM. Is there a way to verify that Sleep is working? Anyway after unlocking the system my mouse pointer is no longer visible, however it is still active as I can hover over items to reveal their popups.
At this point none of my conky displays are transparent anymore, nor are they actively displaying stats. The windows I have set to display with 88% opacity are no longer as such and are completely opaque. It is as if all the custom window settings are ignored. If I move the the mouse towards the bottom of the screen the screen starts to go crazy with this rainbow of colors across the top of the screen and the only way to get out of this is to press Ctrl-ESC to bring up a System Activity window. I have not tried Hibernate yet as I would like to get this resolved first. Is Slackware 13.1 supposed to be able to Sleep/Hibernate with no special configuration and creation of scripts provided that the system can handle these functions?
The swap partition I think is the reason why my PC with 512MB of RAM is faster on Windows 7 than it is on Ubuntu. I'm not really a newbie on Ubuntu. I've used it for a year.. Never had to disable swap until my laptop broke and I had to settle with this junk.I also have Intel 865GV chipset graphics card. If that may have ANYTHING to do with my slow computer, then feel free to say something but I'm mostly just looking for directions to disable swap partition.
As my harddisks are completely full I want to swap a 1,5TB drive with a 2TB drive to give me some breathing space. The 1,5TB is part of a LVM spanned volume. My simple question, how do I move all data from the one drive to the other drive without ruining my spanned volume?
Did a fresh install of 13.1 using lvm for the first time. I created swap in the logical volume but forgot to add it when I ran through the install. Do I need to just add an entry to my fstab and then swapon -va?
I have a system with 2G of memory and swap memory of 4G.
This is the output from :
PHP Code:
How could they do to the memory cache to be used as much? Because, occasionally, swap is used and note that the system could use the memory cache does not swap ...
Currently running Slackware64 13.1 on a notebook and for the most part everything works fine. Only problem I am running into is with hibernation, where sometimes it will go into hibernation without a hitch and sometimes it will stall after blanking the screen and never turning off. For the most part pm-suspend.log looks fine every time, whether it goes into hibernation or not. My current system has 12GB of RAM and my swap partition is roughly 12GB. For the most part my RAM usage right before going into hibernation is always under 1.5GB with maybe 600MB floating in the swap partition. Could the size of my swap partition be too small even if RAM usage is nowhere near max?
That's work fine, but I found the permission of '/dev/mapper/cryptswap' is like this:
Code: hello@world:~$ ls -l /dev/mapper/cryptswap brw-rw-r-- 1 root disk 253, 4 2010-05-28 12:55 /dev/mapper/cryptswap Other users can read the file '/dev/mapper/cryptswap', does it harm the system's security ?
I wanted to dual-boot Ubuntu and slackware, and use one swap. Well, I had Ubuntu installed and used installed slackware, and the boot hangs when I try to boot into the latest kernel; it says it's waiting for a UUID = (some random characters. I tried to enter a recovery mode for the latest kernel, and I couldn't even log in as root or my log in.
I often swapped window managers between fluxbox kde and gnome back when I ran ubuntu to suit my needs. When I installed slackware, I picked KDE because of the convenient app suite. I don't wish to uninstall kde but I'd like to be able to pick which environment I use when I swap to a GUI. Something like a flag, startx --fluxbox.
The swap partition says that it is empty. When I installed Slackware I'm sure that I pointed to the right place for the swap. Or does it not show any size because none of it is being used? fdisk -l
Device Boot Start End Blocks Id System /dev/sda1 1 122 979933+ 82 Linux swap /dev/sda2 * 123 2554 19535040 83 Linux /dev/sda3 2555 91201 712057027+ 83 Linux free -m
Been doing some installations in a newly upgraded machine where I'm setting up two instances of 8.2 in slightly different configurations.Installing from netinst AMD64 DVD with firmware non-free. First installation goes smooth as then the second changes the UUID of the swap partition, meaning that the first then can't find it. To add insult to injury the second installation doesn't install GRUB in the MBR of the HDD.
Nothing different or special about the installation which is standard graphical with manual allocation of previously set up partitions. I don't touch the swap drive in the partitioner - just point to the correct partitions for / and /home as I want them. This is exactly as I've done before, many times.Setup asks me if I want to install GRUB in MBR and I answer "No" (because it would otherwise load in MBR of sda where I want it on sdb) then point to sdb in the next screen. Again really nothing different to what I've done dozens of times.
I installed Debian 8 Jessie with full disk encryption and chose to have everything on the same partition. After install, I notice that my 8GB laptop has a 16GB swap. Is there a way to reduce the swap to 8GB (or maybe 4) whilst not affecting the encryption?
I have a 1TB HDD so space is not an issue but I dislike such waste. The setup used LVM.
I got a new laptop, a Dell D400. I want to swap my hard-drive from my old laptop into the new one, and did so... but then got an error stating that my CPU didn't support PAE.
As far as I was aware I hadn't actually installed a kernel with PAE enabled [as I always pick a real-time kernel for audio work]: but then read that lots of the newer distibutions are enabling PAE by default [which is what's caused the problem].
Is there an easy way of disabling PAE in the existing kernel? Or would it be easier to downgrade to another version of OpenSUSE? I'm on 11.2.
Saw a reference to putting the swap partition on a separate drive--just minutes after I was considering that approach. Can't find anything recent on the topic, so asking: Is there an advantage to having /swap on a separate HD from data on /home? My thought was that both disks could be active at once, perhaps speeding up a busy application.
I am concerned about the LiveCD touching my HDD at all. Is this a factor, such as using HDD space for a swap file? I thought the whole thing ran off my RAM. Anyway here's my specs:
MacBook Pro 500GB: HFS+ Partition w/Snow Leaopard ~400GB NTFS Parition with WIndows 7 ~100GB EFI Partition ~200MB
1) Does this mean I have a "swap file" on there I don't know about? I assume both WIndows and OSX use virtual memory to manage RAM when running in their respective operating systems but does that mean Ubuntu LiveCD will use one of my winows or OSX partition's "swap file"?
2) Or is there an invisiable partition created for LiveCD to use on some unallocated space on my HDD (I don't think there's any but idunno)?
3) How can I be sure the LiveCD is not writing ANY data to the HDD? I don't believe I have ever explicitly created a swap file in either OSX or windows.
While installing slackware64-current, setup cannot find swap space. This is an extreme case pushing limits with a huge GPT partition table. So there is probably some limit on the number of partitions, or partition number, the swap search looks for. Of 41 partitions I made scattered around the number range from 1 to 128, the swap space exists as partition 90. Maybe the problem is it can only check partitions 1-15 because 16 and beyond have to use a different device major number? When I do proceed with the install, /dev/sda90 is listed as a choice. FYI, so many partitions is planning ahead for a multi-boot system. The rest of the install went OK.
I'm a "new" Linux user, have been using Ubuntu for the last year with no problem but I decided to try out a different distribution to get more experience. So I decided to go with openSUSE (which I have been using on a VirtualMachine back at work). I have download the ISO, created an liveUSB (because my laptop dvd isn't working properly) and wanted to install openSUSE on the hard drive partition where currently Ubuntu is. So, I suppose that in order to do this I should choose the option "Import mount points" and select the Linux partitions (drive and swap) and that would be it.
Let's say that software is written that treats a network drive as a swap drive.
Further, let's say that this network drive is not a hard drive on the server but it is a chunk of memory treated as a filesystem in other words a ramdisk on the server.
Given the bottleneck of gigabit ethernet that is used for the link, can anyone predict the likely practical bandwidth of this swap drive in MBytes/s, and crucially the latency in milliseconds?
The reason for this imaginary setup is outside the scope of the linuxquestions forums, please answer on the likely performance only.
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.