I was scratching like crazy to find why I cannot just copy the casper-rw the casper directory and the .disk files n dirs into a partition and tell grub to boot it. It works but it wasn't persistent.
Now after debugging the casper script I have found the solution but not tested yet. Have to wait till I get home. It's this line in casper-helpers in the find_cow_device function
elif [ "$(get_fstype ${devname})" = "vfat" ]; then # FIXME: all supported block devices should be scanned
Funny how the fixme is actually the solution to the problem. What I had done is placed the casper-rw file on an ext3 partition. The loader only caters for the vfat file system. The solution is to add a condition when the persistent file is in an ext3 partition. Quick hack is to change the vfat to ext3, a better solution is to copy the 10 lines and change the vfat to ext3 or add an 'or' condition to the test.
That should fix it. Can't wait to go home or the office.
Thursday, July 2, 2009
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment