[Bug 1195504] Re: Add a noswap option to avoid accessing drives - w/ PATCH

Lucas Magasweran external+ubuntu.com at magasweran.com
Thu Jun 14 09:55:54 UTC 2018


Hello again ~ubuntu-installer develoeprs! Ran into this issue again.

We observed a hang on reboot after installation until we added a
`/sbin/swapoff -a` to the ubiquity ubiquity/success_command seed file
entry. The issue is likely occurring because our seed file uses partman-
auto to repartition the entire disk, including the swap partition.

It would be great to have the `noswap` option so that our disk can be
repartitioned without concern for any active swap partition.

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/1195504

Title:
  Add a noswap option to avoid accessing drives - w/ PATCH

Status in casper package in Ubuntu:
  Confirmed

Bug description:
  I would like to propose the attached patch that adds a "noswap" Kernel
  parameter that disables casper's automatic discovery and activation of
  any present swap partitions. The purpose is to not have the drives and
  drivers in use so that they can be accessed or unloaded without issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1195504/+subscriptions



More information about the foundations-bugs mailing list