If ubiquity disables swap during installation, system may become unusable

Bug #57763 reported by Oliver Gerlich on 2006-08-25
Affects Status Importance Assigned to Milestone
ubiquity (Baltix)
ubiquity (Ubuntu)

Bug Description

If Ubuntu activates an existing swap partition during LiveCD boot, ubiquity disables the swap in the partitioning stage (at least when choosing "manual partitioning"). If there's not enough RAM available, disabling the swap partition will make the system unusable - even switching to a VT won't be possible.

This might be a generic Linux problem (disabling swap when there's not enough RAM available will probably "freeze" any Linux system), so I don't know if it would be possible to solve this in the kernel itself. If not, it might be possible to find a way to get partitioning done without disabling swap. Or, if the used memory doesn't fit into swap, display a warning message...

Colin Watson (cjwatson) wrote :

I'm afraid I don't know of a way to do partitioning sensibly without disabling swap. Sure, you can do it if you just plan to install into pre-existing partitions, but ...

Changed in ubiquity:
importance: Untriaged → Wishlist
status: Unconfirmed → Confirmed
Oliver Gerlich (ogerlich) wrote :

Then maybe it would be possible to check if ( (free memory) - (used swap) < 0 ) and give a warning if the swap contents won't fit into memory? In my case I had firefox open in the background; if I had been given a warning, I could have closed FF first and (probably) avoided the freeze.

Przemek K. (azrael) wrote :

closing unnecessary Baltix task

Changed in ubiquity (Baltix):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers