Debian :: Hibernation With Two Swap Partitions In Squeeze?

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


Debian Installation :: Swap Space For 64 Bit Squeeze ?

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

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:
# 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 View Related

Ubuntu :: Cannot Find Swap Partition After Hibernation

Feb 23, 2010

Since I tested with suspending/hibernating my laptop, the system seems to have lost the swap partition. That is to say: it cannot find it at boot anymore. Some message shows during boot like "waiting for device listed in fstab: swap" or something and then it continues toboot normally. When I start the systemmonitor it reports Swap usage 0 byte out of 0 byte.

I checked my devices with
in terminal and it lists one of the partitions with its UUID as TYPE="swap".

Then I opened fstab with
sudo mousepad /etc/fstab
and noticed the line for the swap partition was using a completely different UUID. After changing the UUID to the correct (new) one and reactivatin swap with
sudo swapon -a
in terminal, all was well again but...

How could the UUID suddenly have changed? Did that indeed have something to do with trying (and failing) Suspend and Hibernate ? If so, should I stay away from those features (that served me well under Windows) or is there something to be done about it?

View 4 Replies View Related

Slackware :: Swap Partition Size For Hibernation?

Sep 26, 2010

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?

View 9 Replies View Related

Debian :: Prepare Partitions For Squeeze?

May 18, 2010

I'd like to prepare partitions for squeeze on my home PC using gparted. I have empty 40GB HD. Should I create ext4 partitions? How have you created on your system?

View 7 Replies View Related

Ubuntu Installation :: Order Of Partitions For Root / Home And Swap With Respect To Windows Partitions?

Feb 9, 2011

I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?

View 1 Replies View Related

Ubuntu Installation :: Assigning Swap Partition To Enable Hibernation?

Dec 22, 2010

i want to create/assign a swap partition so i can hibernate by comp. i've tried the ubuntu guide on creating a swap file but it didnt work, i created a linux-swap partition and used the mkswap command but that didnt work either (maybe it did but i cant hibernate anyway?!) right now my partitions look like this:

/dev/sda1 extended
/dev/sda5 linux-swap
/dev/sda3 ntfs (windows partition)
/dev/sda4 ext4 (ubuntu partition)

View 2 Replies View Related

Debian :: Encrypt Partitions On A Usb Stick Using Squeeze?

Oct 19, 2010

I am trying to encrypt partitions on a usb stick using squeeze. I will be installing Arch on that stick, but as I am using Debian as the OS to do the encrypting I thought here was the best place to ask. I've not had any dealings with encryption before so i'm a little lost. It's not working as I would expect basically - here is the error mssge :

spoovy@peony ~ $ sudo cryptsetup -c aes-xts-plain -y -s 512 luksFormat /dev/sdb5
This will overwrite data on /dev/sdb5 irrevocably.
Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
device-mapper: reload ioctl failed: Invalid argument
Failed to setup dm-crypt key mapping for device /dev/sdb5.


View 9 Replies View Related

Debian Configuration :: Squeeze: Hiding Partitions In Nautilus?

Jan 23, 2011

how to hide an unmounted partition from the nautilus right side panel?

for lenny an hal policy did the trick, but it does not seem working with squeeze anymore...

View 1 Replies View Related

Debian :: After Upgrading To Squeeze - Can't Mount My HDD Partitions Anymore

Oct 23, 2010

Actually, the /root- filesystem still gets mounted, for all the others I get the following message:

When I type

I get:

But this only happens when using my custom kernel ( When I use the kernel which was automatically installed (2.6.32-5-amd64), the problem doesn't occur.

Is there a kernel option I should have turned on?

I checked the UUID-numbers from the error messages with the output of "blkid" - they match. The rootfs is on sda2 (which gets mounted without error) - so I tried applying the fstab mount options of sda2 to the other partitions - same problem still. what makes the root partition so special? Is it because it's defined by grub.cfg?

View 2 Replies View Related

Debian Installation :: All Partitions Mounted At Boot Time (Squeeze)

Dec 5, 2010

I am using Gnome and Squeeze. I am wondering if I have a problem of understanding, or a problem that I found with Gnome.

My configuration is with a 3 hard disk system.

disk1 (Debian)
disk2 (XP and Fedora)
Disk3 (W7 and a Data partition)

When I boot and log in, all partitions for disk2 and disk3 are mounted read-write. Only by going to command line am I able to unmount the drives with the following sequence

cd /media
umount *
umount *

I should be able to mount and umount a drive by providing or responding to a root password. But I am not given the option to present a password. My request is blocked.

I also do not want to see the drives remounted after a boot. I tried to find out how this was managed, but I was unable to discover the module and it's parameter list that controls or does this task.

View 1 Replies View Related

General :: Making Several Swap Partitions Into 1

Jan 18, 2010

I have an CentOS 5.4 install with several swap partitions of 2048Mb each (someone suggested to me the OS would run better like this?). But, I have a few other partitions and I'm sick of having so many to check and monitor. Also, having set up another machine with only one swap partition, I am not finding it running any better/faster.How do I go about deleting all the swap partitions and making a new one (to fill the exact same space as ALL of the old ones)?

View 9 Replies View Related

Ubuntu :: Restore Partitions, Swap And Grub2?

Oct 27, 2010

Unitl yesterday I have a pc with ubuntu server and desktop. Server I installed first. Desktop later. But I want to remove that server and use the space for other stuff..I mess with Disk Utilities and gParted and remove the ubuntu server partition. But now my grub2 stops working. How can I restore grub2 on the desktop partition and use the unallocated space for desktop without loosing any of my stuff? I have a scanner, webserver running, samba and other apps up and running on desktop.I can boot via live cd, and I get this on sudo fdisk -l:sudo fdisk -l

Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


View 8 Replies View Related

Ubuntu :: How To Slide Swap And Ext Partitions With Contents

May 12, 2011

On my only hard drive, I have it partitioned for Windows 7 and Ubuntu 11, Earlier today I performed "Shrink Volume" on the Windows partition, successful, opened 22.74GiB I would like to increase my 10GiB Ubuntu 11 Partition to 16GiB, then create a partition for trying out chromium. I know the following discussion I am going to sound like a noob but for simplicity bear with me. When I say "left" I actually mean tracks closest to the center of the cylinder and right, those further away.

sda1 and sda2 are my Windows 7 Partitions, Then I have 22.75GiB of unallocated space from the shrink volume, then sda3 extended, sda5 swap, and sda6 ext4 /. How do I "slide" the swap and Ubuntu 11 ext partitions to the left while maintaining their contents? Am I just as well backing up, then formatting the Ubuntu 11 partition? My first thought was to ghost the Ubuntu partition to the unallocated space then updating grub, but grub did not see it. The following is a screenshot of gparted's view of my HD.

View 2 Replies View Related

General :: Installations Leaving Behind 4 GB Swap Partitions?

Jun 21, 2011

I've installed some Linux distributions over the past few weeks, and I've recently noticed that previous installations of Linux have left my hard drive cluttered with numerous 4 GB swap partitions. I've since deleted them, but is there any way to avoid this a priori in the future?

View 12 Replies View Related

OpenSUSE Install :: Maintain Separate Swap Partitions?

Sep 9, 2010

On my triple-boot PC:

SuLinux:~ # fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes


Will the above procedure accomplish this objective, without crippling openSUSE ? The second swap partition has never shown any activity (on SUSE). I understand (from Using shared swap files) that a single swap partition may be shared. Since these areas are relatively small, It is not inconvenient to maintain separate swap partitions.

View 9 Replies View Related

Ubuntu :: Which Is Root Swap Home Labels The Partitions?

Apr 30, 2010

Is there a command that tells you what the partitions are fdisk -l shows partitions I want to know which is root swap home etc, Labels the partitions?

View 6 Replies View Related

Ubuntu Installation :: Cannot Find Partitions - Ext3 Or Swap

Nov 11, 2010

I am using my flashdrive to install. I allocated 200gb for window 7 ult and used partition magic to format the rest to ext3 and swap for DISK 1. But when I try to install Ubuntu, installation can't seem to find the ext3 or the swap. It only sees my other drive in RAID 1.

My harddrive setup
Disk 1(RAID ready)
NTFS 100 mb - System
NTFS 195.21 GB
EXT3 253.88
Linux Swap 16.46 GB

View 8 Replies View Related

Ubuntu :: 11.04 Installation Creates Three Linux-swap Partitions

Sep 1, 2011

I have installed Ubuntu 11.04 for a friend on his new laptop. First I shrunk his Windows partition and then installed Ubuntu 11.04 direct from the Live-CD. Everything worked perfectly and he is very pleased. However I noticed one strange thing. When I ran GParted on the installed Ubuntu Desktop I noted that Ubuntu was installed on an extended partition, /dev/sda4, with the ext4 root file system on /dev/sda7 and three linux swap partitions each of 7.85 GiB. Only one of these swaps partitions is "on", ie with a key next to it. The other two seem to be just wasted space. Why did the install partition three swap spaces?

On a similar theme, on my own machine I installed 11.04 next to my 10.04. This time it installed two additional swap spaces (see problem above). I removed them both and altered the fstab to the UUID of the existing 10.04 swap space and it works perfectly. So my second question is why doesn't the install use existing swap spaces rather than creating new one(s)?

View 1 Replies View Related

General :: Sharing /home And Swap Partitions Between Several Distros?

Jan 18, 2010

I have a new laptop, the HDD is 160 GB size, I would like to install several linux distros, such as Debian, UbuntuStudio and BackTRack, the HDD partition would be like this:

- first logical partition (100 GB): 3 ext3 extended partition (1 partition for each distro)
-second logical partition (2 GB): swap
-thid logical partition (55 GB): ext3 /home partition
-four logical partition (3 GB): free space

is possible to share the swap and the /home partition between the 3 distros?

View 4 Replies View Related

Ubuntu :: Where To Store System, Home And Swap Partitions On Two Disks

Dec 22, 2010

I have got 2 disks available and would like to create 3 main partitions: one for file system (maverick), one for home folder and one for linux swap.

I read many howtos and now I feel more confused!

I would like to obtain the more efficient solution in order of speed (performance): as far as I can understand (not so far) .. it seems that the best choice is:


disk 1: [beginning] ubuntu | home | others [end]
disk 2: [beginning] swap | others [end]

My situation now is, according to guides I read before:


disk 1: [beginning] ubuntu | others [end]
disk 2: [beginning] home | others | swap [end]

now .. before moving all my staff ..

I thought to have understood that ubuntu use swap only for hibernation / suspend activities, and therefore it's recommendable to put the system at the beginning of one disk, and the home folder at the beginning of a second disk in order to have quickly two disk reading / writing on the right position without moving too much and spend time.

But now I'm confused because it seems that ubuntu DOES use swap for normal activity (and so it's better to put it) at the beginning of a second disk.

I always saw my swap next to zero during my activities .. is ubuntu using swap like windows with pagefile.sys?

View 1 Replies View Related

General :: Cloning Logical Volume And Swap And Boot Partitions?

Feb 28, 2011

I have a RHEL4 system with 2 250GB physical volumes. There is a boot partition that is outside LVM and 2 logical volumes (swap and root) within a single volume group. This volume group bridges the 2 physical volumes.

I would like to clone this system onto a single 1 TB physical volume that will replace the 2x250GB currently in use.

View 2 Replies View Related

OpenSUSE Install :: With LiveUb Over Ubuntu - Select The Partitions (drive And Swap)

May 11, 2011

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.

View 2 Replies View Related

Ubuntu Installation :: Error Message Concerning Swap Space - Partitions Missing

Jan 3, 2010

I was trying to install Ubuntu as a dual-boot on my Windows Vista laptop. The hard drive is 250 gb: Vista boot 157 gb partition; a partially-occupied 33 gb partition which was designated as swap-space; a newly partitioned and ext3 formatted 30gb for the Ubuntu installation. I believe there is also a hidden partition ~20 gb with "hidden" system info. During installation I received an error message concerning the swap space partition, which forced me out of the installation and back to the ubuntu partition manager screen. Now in Vista my 33 and 30 gb partitions are missing. Is there anyway I can get back to pre-Ubuntu state?

View 4 Replies View Related

Ubuntu Installation :: Delete The Ext And Swap Partitions From Disk Management On Windows7?

Oct 11, 2010

Can I delete the ext and swap partitions from disk management on windows 7 ? Because I want to install a fresh new copy of ubuntu 10.10 . I know it would affect windows 7 boot up.I can handle it by system restore Anyway can I do it or not ?

View 5 Replies View Related

Debian :: Reboots From Scratch After Hibernation?

Jun 5, 2011

on my laptop, I have configured my power button to hibernate the system. It works, but once a while the system, after booting and while almost being where Gnome desktop appears, reboots itself from scratch.


- EeePC 1000HE
- Debian Squeeze up-to-date
- Hard-disk encryption via LVM installed while installing the system

View 8 Replies View Related

Debian :: How To Determine Cause Of Crash During Boot From Hibernation

Jul 10, 2015

I'm on stretch and have faced system crashes multiple times during the boot, when my system was hibernating.

How may I get to the cause of this issue and how could I correctly report it?

View 4 Replies View Related

Debian Configuration :: How To Completely Disable Hibernation

Apr 4, 2011

How to completely disable hibernation in Debian Squeeze (with KDE). If it's impossible to disable it for whole system, I want to hide button in KDE menu.

View 3 Replies View Related

Debian :: System Slow After Successful Hibernation Cycle

Feb 2, 2010

I'm running Debian Sid amd64 on a Vostro 1320. Both hibernate and suspend works fine using the kernel hooks, but after the system resumes from hibernation, it starts to get really sluggish. Iceweasel hits 100% CPU use, and I have to close it and open it again to get it working, and generally the system is just must slower than before the hibernation. I have to reboot to get performance back, and even doing swapoff and swapon does not solve the problem.

View 4 Replies View Related

Copyrights 2005-15, All rights reserved