[Bug 1520575] Re: casper-sn persistence fails in 14.04.3, 15.10
a1bert
1520575 at bugs.launchpad.net
Fri Mar 4 23:02:49 UTC 2016
the same here, the new version of casper is not working properly:
there is not only problem with assembling root FS as reported above, but
I am also not able to boot with persistent boot cmd:
reproduce:
-syslinuxed vfat USB stick: /casper/filesystem.squashfs,initrd.gz,vmlinuz
-persistent keyword on cmdline
-boot ends up in busybox
without "persistent" keyword, system boots ok
CAUSE:
initramfs-tools/scripts/casper: find_cow_device() called from
setup_unionfs("/cdrom/casper","/root"), unmounts previously mounted
/cdrom during scanning for casper-rw; /cdrom/casper/filesystem.squashfs
is then not accessible for mount ...
** Patch added: "dirty fix"
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1520575/+attachment/4588796/+files/casper-persistent-boot.patch
--
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/1520575
Title:
casper-sn persistence fails in 14.04.3, 15.10
Status in casper package in Ubuntu:
Confirmed
Bug description:
Reproducing:
Create fat32 bootable pendrive having the below grub entry
boot.cfg
menuentry "Run ubuntu-15.10-desktop-amd64 " {
loopback loop /ubuntu-15.10-desktop-amd64.iso
linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=/ubuntu-15.10-desktop-amd64.iso persistent show-cow --
initrd (loop)/casper/initrd.lz
}
iso file is an unmodified unutu iso.
After boot into desktop, running
# echo TEST > /etc/test-file
# casper-snapshot
# cp /mnt/casper-snapshot/casper-sn.cpio.gz /media/ubuntu/<PENDRIVE_NAME>
# shutdown -r now
Boot again the same way into desktop.
# ls -l /etc/test-file
ls: cannot access /etc/test-file: No such file or directory
Hint:
#cat /upper/etc/test-file
TEST
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/1520575/+subscriptions
More information about the foundations-bugs
mailing list