casper-sn persistence fails in 14.04.3, 15.10
Bug #1520575 reported by
madimadi
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Reproducing:
Create fat32 bootable pendrive having the below grub entry
boot.cfg
menuentry "Run ubuntu-
loopback loop /ubuntu-
linux (loop)/
initrd (loop)/
}
iso file is an unmodified unutu iso.
After boot into desktop, running
# echo TEST > /etc/test-file
# casper-snapshot
# cp /mnt/casper-
# 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/
TEST
tags: | added: casper |
tags: | added: persistent |
To post a comment you must log in.
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 ...