There's a lot going on in this bug but I've just uploaded a change to
casper that fixes at least something in the right area. With this
change, I can run this script on an ISO:

#!/bin/bash
ISO=$1

truncate -s 1G $ISO
maxend=$(sfdisk $ISO -l -q -o end | tail -n +2 | sort -n | tail -n1)
start=$(((maxend + 1 + 0xfff) & ~0xfff))
echo "start=$start" | sfdisk $ISO -a -q
dev=$(sudo losetup -Pf --show $ISO)
sudo mkfs -L casper-rw -t ext4 ${dev}p3
sudo losetup -d $dev

And then boot it attached to a VM with "persistent" on the command line
and persistence seems to work as far as I can tell. What else is broken?
:)

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

Title:
  Change to mount sequence order breaks persistence on casper-rw
  partitions

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to