Re: [opensuse] 12.1 install: activated swap needed for installation



Istvan Gabor wrote:

Hello:

I started to install openSUSE 12.1 from a gnome live CD.
The installation started as usual but when I tied to make the
partitions and set mount points (in expert partitioning mode
as I usually do) I could not change one of the swap mounting.
The following message was shown when I tried to edit the given
partition:

"Device /dev/sda5 cannot be modified because it contains activated
swap that is needed to run the installation."

I had to abort installation as I don't want the installer to touch
that hard disk at all.

You could switch to a console and turn off the swap space there.
("swapoff /dev/sda5").

I find it very strange that the installer
tries to modify any part of any disks without the permission of the
user.

1. How can I prevent using that swap by the installer?

There is a kernel argument: "addswap" - it might be possible to set it
such that no swap is automatically activated.

2. I find this behavior a serious fault of the installer.

I guess the only real issue is if a system had been suspended to that
swap-partition. Otherwise I don't see a problem. Perhaps the
installer ought to check to see if swap-space contains a suspended
system before it tries to use it.



--
Per Jessen, Zürich (20.2°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx



Relevant Pages

  • Disk partitioning
    ... Fresh AIX 5.2L installation. ... My hard disk is auto-partitioned into ... VERY small partitions. ... The installation procedure did NOT give any partitioning options, ...
    (comp.unix.aix)
  • Re: swap space
    ... >> We made the mistake however of just allocating 512MB swap as we did not ... >> know accurately at the time of installation what the resouce requires are ... > swap space. ... I suppose I should recompile and add SYSV ...
    (freebsd-questions)
  • RE: booting up the system
    ... of Debian Installation CD ... and tried to orient myself where and what are the partitions, ... But I reinstalled my windows OS and now I lost lilo boot loader and I can ... How do I visualize the partitions are one my hard disk and their ...
    (Debian-User)
  • [SLE] Problem with swap space on Suse 9.1 installation
    ... 48Mb of RAM and two Maxtor hard drives, one with 1.2Gb and another with ... network installation (I’ve downloaded the installation directory into ... /dev/hda2 – Linux Swap ...
    (SuSE)
  • Re: swap file vs. swap partition
    ... > partitions need to be decided at installation. ... > swap space later swap files are an option. ... The following article outlines the steps for creating a swap partition ...
    (Fedora)