[Bug 1453465] Re: Installation Media always wants to swap onto sda1 and 5 making installation impossible
Colin Watson
cjwatson at canonical.com
Wed May 13 23:16:49 UTC 2015
** Project changed: ubiquity => ubiquity (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1453465
Title:
Installation Media always wants to swap onto sda1 and 5 making
installation impossible
Status in ubiquity package in Ubuntu:
New
Bug description:
I have a laptop with a 64 GB SSD. It had two partitions sda1 and 2 for
my former swap and root partition.
I downloaded the Ubuntu MATE 15.04 ISO and dd'ed it onto a USB stick
and booted from that.
At the disk partitioning step of the installer I told it to use the whole disk to create the standard partition layout with ext4.
After clicking "Start Installation" a window popped up, telling me that the creating of the filesystem on sda has failed.
I tried several manual layouts, filesystems with the manual
partitioning step until I opend gparted on the Live image and saw that
it uses the /dev/sda partitions as swap. I used swapoff to disable
swap on these partitons. I nuked the partiton table and verified that
there is no partion and no swap active on /dev/sda with lsblk. I
reran the installer told it to use the entire (now blank) disk. Same
error. Again after parition creation /dev/sda1 was instantly used as
swap making the filesystem creation fail. I was a bit surprised that
it always created /dev/sda1, sda2 (just a 1kb parition) and sda5 and
not simply 1 and 2.
I found out that in /etc/fstab apart from the usual overlay stuff and
tmpfs for the Live Image /dev/sda1 and /dev/sda5 are both declared as
swap devices (terrible idea). I deleted those two lines and stoped
systemd-swap.target for good measure. Afer that the installation just
worked. No more complaints about not being able to create a filesystem
on the sda partition. I'm surprised it even let it swap onto /dev/sda1
the first time which was an old ext4 parition.
So for me this looks like if I use the Ubuntu MATE Live USB/CD on my
2GB RAM laptop and open to many tabs in a browser it will just start
overwriting the first drive.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1453465/+subscriptions
More information about the foundations-bugs
mailing list