Debian :: Configure Squeeze To Use Lost SWAP Partition
Jan 23, 2011
During the second OS (CentOS) setup, the shared SWAP partition was formatted and now I get the following under Debian:
Code:
# free
total used free shared buffers cached
Mem: 507524 251436 256088 0 11488 78332
-/+ buffers/cache: 161616 345908
Swap: 0 0 0
How to configure Squeeze to use again this SWAP partition?
View 5 Replies
ADVERTISEMENT
Oct 31, 2010
I am currently running 32 bit ubuntu in my PC with 2.5 GB RAM, Intel Pentium Dual Core inside. I am coming to debian soon. I will be installing 64 bit squeeze. Now I have 3 GB of swap space. I do satellite image processing. Therefore what is the recommended swap space for me with the kind of work I do. RAM is in very small amount but as of now I have to stay with it.
Also I am interested to know would KDE be an overkill for my machine. Will I run short of memory when I start image processing?
View 5 Replies
View Related
Jul 27, 2010
I have two disks, sda and sdb. Each has a partition that is part of a mdraid array for /. Each one also has a swap partition, and both are used by linux. I've heard that hibernation won't work with two swap partitions. Is there any workaround, other than only using one swap partition?
View 4 Replies
View Related
Jan 17, 2015
I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:
/dev/sda (Samsung Evo 840)
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm
[code]....
The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:
mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi
After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.
When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal
Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.
I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.
View 5 Replies
View Related
Feb 9, 2011
I've just upgraded to Squeeze from Lenny using the instructions found here URL... After completing the upgrade and re-booting the system informed me that "gnome.desktop is not installed" and throws me into XFCE. Googling suggested trying apt-get install gnome-desktop-environment which I did. On reboot I no longer get the "gnome-desktop is not installed", but the login still throws me into XFCE.How do I get my gnome desktop back?
View 5 Replies
View Related
Feb 16, 2011
Since the update to Squeeze, I've lost the ability to paste text by pressing both right and left mouse buttons. I'm using an EeePC, so I have no middle (scroll) button. I use this a lot,because I copy-and-paste IPA pronunciations of words onto worksheets I use at the school I work for*. *input the IPA symbols myself aside from choosing them from lists of symbols in LibreOffice excruciating when you've got to do it every day...
View 1 Replies
View Related
May 5, 2011
How to configure info2www on Debian Squeeze (Debian Stable)?Used to be that I could use info2www straight out of the package, but not now.
View 2 Replies
View Related
Apr 26, 2015
Is it possible to use the same swap partition between distros or not ?
View 5 Replies
View Related
Jul 3, 2011
Currently my system runs on two disks, sda 30GB and sdc 1GB. sdb is my data disk. I have set the partitions as sda1 /boot, sda2 /(root) and sdc1 /(swap).
Thinking that sdc was udma33 i used the disk for a swap area. Later i found out that it is pio4 and i want to relocate my swap area to sda.
Using GParted Live i am planning to create a swap partition to sda. Will fixing the entry in fstab be enough to correct this or do i need to do something more?
I could also use some advice on which live debian image i can install in sdc, to use for rescuing purposes. The capacity of the disk is 1080MB.
As a side note, the images i find for usd-hdd are direct download. Are there any torrent files for these?
View 2 Replies
View Related
May 9, 2011
Hi,I'm using a Dell Lattitude D620 laptop. I just installed the latest kernel 2.6.38 in my Squeeze amd64 :
Output of uname -r
2.6.38-bpo.2-amd64
Now I'm running on new kernel,everything seems fine except my wifi ( now I'm connected through ethernet ). Before I do the process with the guide in http://wiki.debian.org/wl to activate my wifi,I'd like to ask for some advice here,is this latest kernel support my wifi card? If yes,how to activate it?
Output of lspci :
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
[code]....
View 4 Replies
View Related
May 13, 2010
As alsaconf as been removed from alsa-utils in Squeeze, how to configure ALSA ?
Which replacement for alsaconf ?
Debian is squeeze.
Package alsa-utils v1.0.22-1
Currently alsamixer is running fine for setup but i.e. speaker-test produce no sound.
Previous Lenny installation was working once alsaconf ran.
View 2 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Mar 3, 2010
I have a very old Pentium 3 that don`t have USB or PS2 suport.
I need to configure a serial mouse.
I did it on debian etch editing xorg.conf. I chage the mouse protocol to "Microsoft" and it works normaly.
But on squeeze it does not exist!
How can I configure it?
View 13 Replies
View Related
Apr 23, 2011
i lost my bottom panel while trying to configure. any way to get it back?
View 6 Replies
View Related
Feb 12, 2015
I recently installed Debian 7.6 64-bit on Dell Vostro 1520 laptop.Using Gparted, create extended partition in the remaining disk space 67.91 GB
Install Debian 7.6 as follows
Code: Select all/dev/sdb5 / 8GB Ext4
/dev/sdb6 / home 17GB Ext4
/dev/sdb7 swap 5GB
I opened a terminal and ran some commands to show the results below....
Code: Select allroot@DELL-DEBIAN:/home/hugh# cat /proc/swaps
Filename Type Size Used Priority
/dev/sda7 partition 4979708 0 -1
root@DELL-DEBIAN:/home/hugh#
Code: Select allroot@DELL-DEBIAN:/home/hugh# cat /etc/fstab
# /etc/fstab: static file system information.
[code]...
I have a couple of questions....
1. Does the data above indicate everything is running as it should?
2. What does this command tell me about swap? "/sbin/swapoff /dev/sda7" I read somewhere it should be run on 64-bit system but not sure what it does.
3. Is the command "cat /proc/swaps" the best way to determine if swap is running ok?
4. Can I share this swap partition with another distro, e.g. Ubuntu or Xubuntu? as I would like to multi-boot for testing purposes.
View 14 Replies
View Related
Mar 18, 2011
Howto prepare, configure a Squeeze client to get Active Directory Ready?
View 2 Replies
View Related
Feb 27, 2015
After some years using OS X, I'm returning on Debian on my Macbook Pro in single boot.
I've bought a Samsung SSD (850 EVO 500Go) in order to replace the slow built-in HDD.
But I've earned about the need of repartition of writing operation on that kind of drives, and I'm concerned about swap partition.
I need swap (especially for Darktable, browsers and maybe Steam games), but I wonder if the usual swap partition (even with discard mount option) is really recommandable for SSD drives.
Actually, on Debian wiki and others, the usual recommandation is "if you have enough RAM, don't use swap or minimise swapiness to 1", but using of swap file is not mentioned.
Indeed, if I have only one "big" partition on the SSD drive and TRIM activated, the garbage collector (low level) built in chipet's SSD will optimize SSD life, but I don't know how the low level garbage collection works with multiple partition.
So there is my questions :
- Will SSD garbage collection will preserve the disc use even if I have a 2GB swap partition ?
- Will I'd use a swap file instead of swap partition (I don't really need to hibernate) ?
View 14 Replies
View Related
Dec 4, 2010
I am trying to compile Clanbomber in Squeeze but I get the following error message when running ./configure:
checking for DirectFB... found
checking for FusionSound... configure: error:
*** FusionSound 1.0.0 or newer is required. The latest
[code]...
View 4 Replies
View Related
Apr 11, 2011
My attempts to "dist-upgrade" Lenny to Squeeze ended in disaster. My story is that it was caused by a bug in the "release notes instructions".
Anyone, who wants all the gory details, can find them by visiting
619521@bugs.debian.org.
I would now like to reformat the HD-partition that currently contains the failed "upgrade" and see if I do any better by starting from scratch; it is about 6 years since I have last undertaken such a task and my memories are hazy.
The relevant entry in the Debian (Install) Manual reads:
6.3.2.3. Manual Partitioning
A similar screen to the one shown just above will be displayed if you choose
manual partitioning except that your existing partition table will be shown and **without the mount points**.
My question is:
At what point in the "clean install" does the Debian Installer (set at "medium"?) ask for the "mount point" at which the "root directory of Squeeze" is to be installed?
View 5 Replies
View Related
Jul 3, 2011
I wan trying to install Debain on a 4GB USB drive while running the setting something happened with my pc and i had to restart it.I try to boot from the USB drive it worked but was giving a empty cursor. the installation did not continue.i open the USB drive in my pc now but it shows just 300 MB space and lost the 3.7 GB space.I think space of USB drive with that partition, can i recover my USB drive lost partition space ?
View 4 Replies
View Related
Sep 7, 2010
I've installed Lenny with no problem, but I tried switching to Squeeze, and grub for some reason didn't pick up on the Windows partition this time - it just shows the two Linux options (debian and debian single-user). I check the menu.lst file (which I've edited under Lenny with no issues), but for some reason it doesn't exist at all in this install. Is it in a different location with Squeeze maybe?
why grub didn't pick up on my Windows install?
View 3 Replies
View Related
Feb 23, 2011
I had a drive with a partition layout like so:
~50gig Windows 7 - NTFS
~100gig Ubuntu - EXT3
~100gig Snow Leopard - HFS+
~100gig Extended Partition
-- ~100gig Swap Disk - exFat
I wanted to delete the Snow Leopard partition and format the Swap Disk partition to something else. exFat was causing major file size bloat on small files. QT sdk bloated to like 11 gigs or something ridiculous like that. Anyways, I loaded up an Ubuntu 10.04 LTS live cd and gparted then deleted the Snow Leopard partition. Gparted said "Mission Accomplished" and tried to rescan the drive, but never found it. At this point I restarted the computer, a dell laptop, which didn't boot with an unable to find a bootable device error. The ubuntu live cd doesn't see the drive anymore. gparted scans for drives indefinitely and fdisk -l has no output.
View 9 Replies
View Related
Feb 8, 2010
I was reading another thread about someone with a bad partition table and I decided to join this forum. I'm not going to take any drastic actions with the partition (/dev/sda3) in question. I am going to wait for instructions on what to do first. I am not very good with Linux and need some hand holding. System: DELL 4550 Dual-Booted with XP and Ubuntu. Works OK, just no swap. Well, here's what I did: I deleted a partition for Windows XP Pro because it was a trial, and it ran out. I then decided to slide the swap partition for the Ubuntu Linux that I dual-boot into over. (If this was successful, I was going to try expanding the root partition to take up the unused space.) I used Gparted on a CD to do this, as I figured it was safe to do.
I now cannot mount the swap space at bootup (and have to go into a backup version of the OS), although I can use Gparted in Linux to execute the "swapon" command, and it appears that it worked because I now see "swapoff" as an option on the context menu. (I actually don't even need a swap partition, except to hibernate.) If I highlight the swap partition and click on "Drive" on Gparted's menu bar and select "Create Partition Table", it will erase all data on /dev/sda, so how do I fix the bad partition table non-destructively?
View 14 Replies
View Related
Aug 4, 2011
I wonder whether to place swap partition on LVM or on standard fdisk partition which will not be in LVM.What is better and more often used on production ?
View 4 Replies
View Related
Aug 1, 2010
I want to change the swap partition to another partition. Is there a gui that can make this process easier so I don't have to do things like manually editing files?
View 2 Replies
View Related
May 21, 2011
I've recently just installed ubuntu 11.04 but seem to have made a big mistake. During the install process I was asked to specify a location to be used for swap. Not really understanding what this meant I chose another partition on my drive with some free space but also a lot of my data. Needless to say I now cant see that partition. Is there anyway for me to access it? or to at least recover the information I need from there? its about a 200gig partition, and it used to be ntfs.
View 2 Replies
View Related
Jun 18, 2011
I do not want my computer to swap data to disk. I have no swap partition:
[Code]...
Back in the day (maybe as recently as kernel 2.4?) this used to work. Memory-hungry processes would be killed by the oom killer and I would restart them. But now (Linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64) google-chrome (13.0.782.24 beta) regularly sends my machine into a death-spiral of swapping. Or at least something that feels like swapping: X windows take forever to update, disk drive whirs, gnome panel memory chart hits the ceiling, and I see this message in the syslog:
[Code]...
But, according to syslog, the kernel does not run the oom killer. For good measure, I set swappiness to 0:
[Code]...
My workaround is to use ctrl-alt-sysrq-f when this starts to happen. Anyone have a recipe for configuring Linux to run oom_kill on its own, in this situation?
View 1 Replies
View Related
Jul 27, 2009
I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?
Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?
View 4 Replies
View Related
Feb 14, 2011
My motherboard supports up to 8GB DDR2. I currently have 4GB installed. If I maxed out my RAM, and installed 10.10 without a swap partition, I've heard this would increase speeds significantly. Would it? This particular rig runs multiple servers including an Asterisk PBX with FreePBX, XBMC, and Boxee. XBMC and Boxee do not run at the same time, only one at a time. Would it be safe to run with 8GB ram, and no swap partition? Running FreePBX/asterisk, XBMC, playing videos or ....., and every other background processes, free shows on average 50% free. Opinions?
View 3 Replies
View Related
Jun 17, 2011
I am getting a new SSD for my laptop and I have been researching the different tweaks for an SSD. I still have a question regarding the swap partition: is it better to not have one for an SSD? (I have 4GB of RAM...)
If I don't, how would I specify it during the installation process for 10.04?
View 7 Replies
View Related