livecd/liveusb persistent mode doesn't work

Bug #84591 reported by jerrylamos on 2007-02-11
70
This bug affects 4 people
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Medium
Unassigned
Declined for Feisty by Henrik Nilsen Omma
Declined for Gutsy by Henrik Nilsen Omma

Bug Description

feisty fawn 20070210 and 20070211 persistent mode doesn't work.
Did rsynch, verified MD5 sums, booted, created casper-rw, rebooted persistent, copied a file over the local lan to the Desktop and it didn't persist on the next persistent boot. Repeated 3 times on 20070210 to make sure.

Tried precisely the same actions on 20070207 and it works just fine.

Big clue: when booting persistent, Dapper, Edgy, Feisty 20070207 do not show casper-rw icon on the desktop. 20070210 and 11 both show the icon when booted "persistent" option, and both don't do persistent.

Henrik Nilsen Omma (henrik) wrote :

Hi, thanks for reporting.

Could you please upload the /etc/fstab and /var/log/syslog file from the Live system?

jerrylamos (jerrylamos) wrote :

Here's /etc/fstab and /var/log/syslog from just after CD Live persistent boot with 20070213. Let me know if the attachment doesn't come over O.K.

I usually test with this Celeron system which is quad boot with Dapper, Edgy, Xubuntu, and Win98. I do have a laptop and three other Intel systems with various video adapters, monitors, and processors if the type of hardware would make a difference. I usually try them with persistent because Herd 2 fdisk to the USB pen drive trashed the Celeron's hard disk partition table.

I've booted 20070213 several times today; once the desktop showed two casper-rw icons with the same UUID. Since the boot was persistent it shouldn't have showed any casper-rw icon.

With persistent I can install Flashplayer, Real Player, ndiswrapper wireless, do many internet videos (not ActiveX), ...

livesys (livesys) wrote :

Still does not work with Herd5.

2

Changed in casper:
status: Unconfirmed → Confirmed
Mike (mike0999) wrote :

When shutting down Herd's 4 and 5, the following error message shows up:

* Unmounting temporary file systems. . .
umount: /cow not mounted
                                                                                                [fail]

I am new to Linux, so don't know if this is relevant, but I didn't see this error message with Herd 3 in which persistence seems to work and it looked like /cow may be used by casper.

Niels Breet (maemo) wrote :

I'm also facing this same problem. Is there anything I can do to debug this?

It seems that this problem needs to be fixes asap as the final release is not far away. I would also like to suggest to upgrade the importance of this bug.

Tollef Fog Heen (tfheen) on 2007-03-16
Changed in casper:
assignee: nobody → tfheen

Experiencing same problem with the Kubuntu Feisty Fawn Beta CD iso (Version 7.04, built on 20070322.1)

Symptoms:
 - No persistence was observed (bookmarks, software installed from Adept)
 - Creating a new user (other than the default, 'ubuntu') did not help.
 - The casper-rw icon for my USB key appears on the desktop.
 - An error about "unable to umount /cow" appears on shutdown
 - Casper claims to be syncing files at shutdown, but nothing is written to the USB key.

Hopefully this can be fixed before Feisty goes prime time!

Florin Andrei (florin-andrei) wrote :

Confirming this bug with 7.04 beta CD on a ThinkPad T60
The casper-rw icon shows up on the desktop. Nothing is written to the USB stick during a "persistent" session. No persistency is achieved.

I can provide more info and do some tests, just let me know what you need.

Mike (mike0999) wrote :
Download full text (3.2 KiB)

In comparing the Herd3 casper.log to the Beta casper.log on my system, I noted the following difference. In reviewing the following scripts, note that I am booting the LiveCD off of a USB device that contains the LiveCD files in the manner described in one of the Ubuntu Wiki's. Hence the references to sdb1 below. I follow exactly the same approach for Herd3 and Beta, but persistence works for Herd3 and not the Beta distribution.

The casper.log from the Beta distribution reads as follows.

Begin: Running /scripts/casper-premount ...
Done.
Done.
mount: Mounting /dev/sda1 on /cdrom failed: No such device
mount: Mounting /dev/sda1 on /cdrom failed: No such device
mount: Mounting /dev/sda1 on /cdrom failed: No such device
mount: Mounting /dev/sda1 on /cdrom failed: No such device
mount: Mounting /dev/sda1 on /cdrom failed: No such device
Done.

All of the "No such device" failures are missing in the Herd3 casper.log. Again, don't know if this is relevant and I am a newbie, but it appears that this failure is occurring while running the scripts in the casper-premount directory. Looking in that directory in the Beta distribution, there is only the 10driver_updates script. I have repeated part of that script below.

#!/bin/sh

PREREQ=""
. /scripts/casper-functions
. /scripts/casper-helpers

[I HAVE OMITTED A PORTION OF THE SCRIPT HERE]

mountpoint=/cdrom

[I HAVE OMITTED ANOTHER PORTION OF THE SCRIPT HERE.]

check_dev_updates ()
{
    sysdev="${1}"
    devname="${2}"
    if [ -z "${devname}" ]; then
        devname=$(sys2dev "${sysdev}")
    fi

    fstype=$(get_fstype "${devname}")
    if is_supported_fs ${fstype}; then
        mount -t ${fstype} -o ro "${devname}" $mountpoint || continue
        if is_updates_path $mountpoint; then
            return 0
        else
            umount $mountpoint
        fi
    fi

    return 1
}

[I HAVE OMITTED THE REST OF THE SCRIPT.]

I did not see this script in Herd3 at all. As best as I can tell, the "mount" command shown above is where the mount failure is occurring, although I again am still in the process of learning Bash and Linux so I don't really know enough to evaluate this further at this point. While this script appears to be looking for driver updates, it is mounting the /cdrom directory. I wasn't sure if the failure in mounting the /cdrom directory might affect persistence in another script. Even if it doesn't, it does appear that one of the variables used in this mount loop is wrong and that causes me to wonder whether that error may have bearing on the persistence failure. In particular, on my system, the LiveCD cdrom files are located on sdb1 and not on sda1. So, I assume sdb1 should be mounted at /cdrom, not sda1 as it looks like this script is trying to do. On my system, my internal hard drive shows up as sda1. I am not sure why that is the case. It is my work laptop and I think it is an internal IDE drive. But it is that way on both Herd3 and the Beta distribution, and this error does not appear when booting the Herd3 distribution. It is an NTFS formatted drive which is probably why it is not available during boot. I haven't updated my fstab to mount it. Even if I did, it...

Read more...

jerrylamos (jerrylamos) wrote :

"persistent" still broken as of 20070411. Isn't the release candidate to be available tomorrow?

I notice the "Importance" on this Bug is listed as "Undecided". As far as introducing new users to Linux, hopefully working on Bug #1, I still recommend Dapper which does have "persistent".

Cheers, Jerry

Colin Watson (cjwatson) wrote :

I tried as hard as I could to fix this, but I couldn't get it to work for me so couldn't recommend an upload; at this point I'm afraid it's post-feisty. The fixes I attempted are in the main Ubuntu casper bzr branch if anyone wants to try them out.

Colin Watson (cjwatson) wrote :

(Specifically, while my fixes correct the casper-rw label handling, the USB device still doesn't appear until somewhere just shortly after the attempt to detect casper-rw devices. Adding udevtrigger/udevsettle didn't help.)

Vincent (vinnl) wrote :

I'm using Feisty final and it doesn't work for me too... :(

I can just browse casper-rw on the desktop (it only contains the lost+found folder), but nothing is saved...

BadBUTA (badbuta) wrote :

I have tried the desktop version 7.04 and put it on my USB flash drive to use persistent mode, which was downloaded last week.
I found this bug too!
I hope this bug can be fixed asap.

Duncan (duncan-rowland) wrote :

I can't help as I'm not experienced with ubuntu yet, but I offer a thought for a new user perspective:
I would think this bug would be important to fix (regarding Bug #1)

I imagine many new users of ubuntu will try out the LiveCD/USB while deciding whether to switch.
I did, this was my first experience with ubuntu and I almost gave up because it just seemed broken
(luckily I found this page so I realised it was a bug, and not something I was doing).

I've dropped back to Edgy for now :( But I look forward to a feisty future...

jhonan (jhonan) wrote :

I'm booting Feisty final from a USB drive on a ThinkPad R60 and am experiencing the same problem. Persistent isn't persistent, and the casper-rw volume appears as a volume on the desktop (in fact, the folder is protected so only root has rw acess) - Any workarounds to this would be appreciated. I've tried playing with permissions on the casper-rw volume, but I think the problem is down to the way the volume is mounted.

Amgad Abdelhafez (amgad) wrote :

well, how would the importance of the bug be decided, how can we confirm its root cause, and how can we help in fixing it, please guys, can anyone post the steps that should be taken to start working in this thing, i see that many people here (including me) are willing to help but don't know where to start..

Vincent (vinnl) wrote :

"well, how would the importance of the bug be decided, how can we confirm its root cause, and how can we help in fixing it, please guys, can anyone post the steps that should be taken to start working in this thing, i see that many people here (including me) are willing to help but don't know where to start.."

Second that, if I can be of *any* help I'd be willing to. I guess I'll go with Herd 4 for now...

jerrylamos (jerrylamos) wrote :

Anyone have any idea how to/feasibility of using early Beta boot scripts with release code? Apparently telease code boot tries to speed up by doing more things in parallel, hence fails starting "persistent" mode because the USB code hasn't recognized the device yet and the volume isn't mounted yet. The "persistent" mode process needs to wait until all devices are active and all volumes mounted. I'd be quite willing to have a switch that said the user wants "persistent", therefore serialize device recognition and mounting before attempting to start "persistent" process.

Tudor Holton (tudor) wrote :

"The "persistent" mode process needs to wait until all devices are active and all volumes mounted."

Really? Surely persistent simply needs to wait until the boot device is mounted, or until the device it needs to write to is mounted. Working out which one it is could be more complicated, particularly on read-only filesystems.

Maybe we can put a poll wrapper around the persistent script that says "have they loaded yet? have they loaded yet?" :-)

As for the questions about who to contact to get the ball rolling on this
bug, I think Tollef Fog Heen might be our man. I don't know much about the
heirarchy of developers in Ubuntu, but Tollef is subscribed to this
bug<https://bugs.launchpad.net/%7Etfheen>,
and he is also listed as one of the authors on the manpage for
casper<http://wiki.debian.org/DebianLive/casper-manpage>.
The other authors are Matt Zimmerman <mdz AT canonical DOT com>, and Marco
Amadori <marco.amadori AT gmail DOT com>.

Hopefully one of these guys can take ownership of this bug and get
persistent back on track.

On 5/3/07, Tudor Holton <email address hidden> wrote:
>
> "The "persistent" mode process needs to wait until all devices are
> active and all volumes mounted."
>
> Really? Surely persistent simply needs to wait until the boot device is
> mounted, or until the device it needs to write to is mounted. Working
> out which one it is could be more complicated, particularly on read-only
> filesystems.
>
> Maybe we can put a poll wrapper around the persistent script that says
> "have they loaded yet? have they loaded yet?" :-)
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

As for the questions about who to contact to get the ball rolling on this bug, it looks like Tollef Fog Heen is our man. I don't know much about the heirarchy of developers in Ubuntu, but Tollef is subscribed to this bug, and he is also listed as one of the authors on the manpage for casper. Tollef's email is <tfheen AT canonical DOT com>. The other authors on casper are Matt Zimmerman <mdz AT canonical DOT com>, and Marco Amadori < marco.amadori AT gmail DOT com>. Hopefully one of these guys can take interest in this major bug and get persistent back on track.

Vincent (vinnl) wrote :

Is it me, or is this bug already assigned to Tollef Fog Heen?

jerrylamos (jerrylamos) wrote :

Back on 16 March I got this note:

"I can't promise to get it (i.e. 84591) fixed for beta, but I have milestoned it for
the release and assigned it to me, so I will take a look at it.

Thanks for telling me,
--
Tollef Fog Heen"

Now with the forums at a crazy rolling boil I can't imagine the heighth of the stuff on Tollef's plate.

Cheers, Jerry

Mike (mike0999) wrote :
Download full text (4.9 KiB)

Jerry,

I've been wanting to try reverting to some of the Herd3 packages myself, but hadn't had a chance to try it until last night. It seems that that approach may or may not break something, depending upon what is done.

Last night, I used "diff -y --suppress-common-lines [Herd3 filesystem.manifest location] [Feisty Final filesystem.manifest location]" to generate a list of the packages that are different between Herd3 and Feisty Final (the bracketed phrases above were replaced with the location on my pc of the filesystem manifest for each version). Someone correct me if I am wrong, but that diff list should be a package level description of all of the changes between Herd3 and Feisty Final. At that point, it is a matter of identifying packages that may affect the issue. For example, I had been planning to try reverting to Herd3 packages for at least the casper and ubiquity-casper packages. I honestly didn't expect this to fix the problem, but thought it was a starting point and may be the least likely to break something else.

I tried that reversion last night and it did not fix the problem. In particular, I reverted to casper 1.80 and ubiquity-casper 1.80, which were used in Herd3. To generate the customized livecd with the reverted packages, I followed the approach described at the following link, but there may be other ways to do it.

http://www.atworkonline.it/~bibe/ubuntu/custom-livecd.htm

You can get the old packages from here (https://launchpad.net/ubuntu/) and I believe it is also possible to use the herd3 distribution itself to get the old packages. Launchpad does give some information about what the packages do and what files they contain. You can probably find a list of what is in at least some of these packages here: http://packages.ubuntu.com/ (that link may only give packages used in final releases, but at least some of the herd3 packages were used in edgy).

After reverting to casper 1.80 and ubiquity casper 1.80, everything still booted fine (no obvious broken functionality, although something could be broken without being apparent), but the persistence issue remained in exactly the manner described above. I actually suspect that the problem may be in some of the more fundamental scripts in other packages. In particular, I have listed below some of the other packages that I eventually may try. If anyone disagrees or has other suggestions, feel free to chime in. Also, if anyone else wants to try any of this, it could be a dead end or it could give useful information. If any of the developers have suggestions about what they think we should try, or things that they know will break the distribution, or even if they think this approach will not be fruitful, certainly do not hesitate to say so. This is a fairly trial and error approach, and I would not be surprised if the developers already know enough to take a more focused and well informed approach. But, again, I am new to linux.

The initramfs-tools and initscripts packages seemed like possibilities. The initscripts actually appears to be part of a more fundamental distribution, sysvinit described here: https://launchpad.net/ubuntu/+source/sysvinit/2.86.d...

Read more...

Mike (mike0999) wrote :

Well, I took my revised livecd in which I had reverted the casper and ubiquity packages to the version used by feisty herd3 and I tried to additionally revert udev to the herd3 version of udev.

This did break the distribution (it hangs on boot when executing the local scripts), but there was one potentially important difference in my boot messages.

My casper-rw filesystem is an ext2 filesystem. When I boot up and persistence works, I always get the message "EXT2-FS Warning: Mounting unchecked filesystem. Running E2FSK is recommended" (or something to that effect). When persistence does not work, that message is conspicuously absent in my boot messages. When it shows up, it comes right after the message "SquashFS: version . . . ."

In my customized livecd that uses the herd3 version of udev, this message showed up again. This seems to suggest that reverting to the herd3 version of udev may fix the timing issue because this message suggests that the casper-rw filesystem is mounting with the old udev. Note, in order to use the old udev, I did also have to revert on a few other packages, so it could be in udev or one of the related packages that I reverted (these other files were either listed with the udev binaries on launchpad or were the files dpkg forced me to revert when I tried to install the old udev - dmsetup was one of them; I think there were two that had "volumeid" in the name).

Mike (mike0999) wrote :

Not sure why, but I haven't been able to reproduce the result in my prior post.

Mike (mike0999) wrote :
Download full text (5.5 KiB)

I've come up with a temporary solution that meets at least my needs (until someone actually fixes the packages). I have generated a Feisty LiveUSB disk that for the most part includes the packages from the final version of Feisty, but I have specified that certain packages are to remain at the Herd3 level, allowing persistence to still work.

Basically, I used a "Preferences" file (I have attached the one that I used) in the manner I describe below. This Preferences file prevents the files that it lists from upgrading when I upgraded the Herd3 files to the final version of Feisty.

I used this Preferences file to generate a new version of the following files on my Live disk:

/casper/filesystem.squashfs
/casper/filesystem.manifest
/casper/filesystem.manifest-desktop
/md5sum.txt

I generated these new files, again, following essentially the approach at this link: http://www.atworkonline.it/~bibe/ubuntu/custom-livecd.htm

My comments below refer to the procedure outlined at that link.

I generated the ubuntu-fs.ext2 file, containing the ext2 filesystem, as described. I actually used a 4GB file instead of the 2GB file shown at the link because I ran out of space, when upgrading, using the 2GB file. (I believe that the larger file does not ultimately cause you to consume additional space on your usb disk because of the effect of creating and deleting the "zeroed" dummyfile). I mounted this ext2 filesystem and copied the "unsquashed" filesystem from the Herd3 iso into that directory (i.e. unsquash into this directory the contents of the /casper/filesystem.squashfs file from the Herd3 iso).

Either prior to or after chrooting into this file system, I copied the attached Preferences file into the /etc/apt directory of the unsquashed filesystem. Again, this will "pin" the listed files at the Herd3 versions listed in the attached Preferences file. See the Apt How-To for a more detailed description of "pinning." (I haven't tried to upgrade from Edgy. But if you are doing that, then I suspect you at least need to change the file names and versions in the attached Preferences file to the corresponding Edgy files). In my /etc/apt directory, I also updated the sources.list file to be sure it had the repositories I wanted. There is a Wiki guide (I believe it is called a Feisty Startup Guide) that lists available repositories.

I mounted and chroot'ed into this filesystem, exactly as shown at the link above.

I executed "apt-get update" to update the list of files available at the repositories. I then used aptitude to run both the upgrade and dist-upgrade commands in that order.

aptitude upgrade
aptitude dist-upgrade.

I ran these commands again (I might have used apt-get, instead of aptitude, the subsequent time(s), although it shouldn't matter) until I got feedback that there were no additional files to be upgraded or added. Note, I did get feedback that the "libdevmapper1.02" package was broken (this is one of the "pinned" packages). But, I ignored that because I selected that as one of the files to not be upgraded. The result still worked for me. I don't know if others will experience the following issue, but I also had to work throug...

Read more...

Mike (mike0999) wrote :

Here's the Preferences file that identifies the packages not upgraded. Apparently I couldn't attach two files to the preceding link.

Vincent (vinnl) wrote :

Mike, I really appreciate your work and would love to try it, but I don't have a Herd 3 image anywhere, could you tell me where you found it?

Fisslefink (erin-simonds) wrote :

Great news! Mike, maybe we could get this hybrid Herd3/5 LiveCD circulating as a torrent?

I've never done that before, but it's not rocket science. We just need you to seed it (recent versions of Azureus have a built-in tracker) and send us the torrent. I'll gladly keep it seeding from my Linux box.

For security reasons, it will be important to clearly identify your disk image as an unofficial Ubuntu release that is your own creation and include an MD5 sum in the description. This way users will not confuse your disk image with official Ubuntu releases and can 'trust' the contents of the image as your own by verifying the MD5 sum.

I think that's the best way for you to share your effort with the community. Email me directly if you want help organizing it.

Mike (mike0999) wrote :

That sounds good, Fisselfink. I actually may not be able to get this going until some time next week. My wife has been giving me some dirty looks for the time I have spent. But, there are a couple things I still want to check out.

I suppose it probably makes sense to make all of the files available in the form of an iso, just like a ubuntu distribution (unless someone has other thoughts), and probably makes sense to make it available without my other "customizations" (e.g. not add ntfs-3g, bootchart, etc.). That way, it is a "base" image, similar to the ubuntu distrib.

Also, I am experiencing a problem installing the Java JRE and plugin. It does not look like it is a problem unique to this hybrid. But rather, appears to be a problem that others have experienced (e.g. I think it is failing to configure Java, saying it cannot locate libjli.so and libjava.so - or something to that effect - I don't have the error messages in front of me now). Although I believe Java is not in the base distribution, it would be nice if I could resolve that before making this available. But I don't think I am going to have time to figure it out. I expect it is probably an issue that can be fixed by making changes in persistent mode, but again I haven't worked it out.

I guess, people should assume there may be issues and test it out and provide feedback. It may need more fine tuning. I am also am wondering whether it would make more sense to start with Edgy and upgrade from that (so that the Edgy version of the relevant files are pinned, rather than the Herd3 versions). Again, I may not have a chance to figure that out soon. If anyone wants a copy of this earlier than next week, I don't mind making it available in exactly the form I have it now, as long as everyone recognizes that it may still be a little "rough."

Mike (mike0999) wrote :

Vincent,

I found a Ubuntu link to the Herd3 iso, but it wasn't working. Does anyone know if the Herd3 is stil being made available? If not, I guess that that may be another reason to start from Edgy.

Mike (mike0999) wrote :

One other interesting point. I didn't make this clear in my earlier posts, but it looks like you may need to use the new manifests and squashed filesystem with the files from the herd3 iso (rather than with the files from Feisty final iso) to get it to work. I tried using the exact same manifests and squashed filesystem with the files from the Feisty final iso and persistence didn't work. But, when I copied the exact same files into the files from the herd3 iso, it worked.

Not sure why that would be the case, and I haven't had a chance to double check to make sure I didn't do something else wrong. But, just an fyi for anyone trying this. You might try it both ways as well to see what results you get.

calinb (cbrabandt) wrote :

I've been playing with the Xubuntu 7.04 CD and a 4GB flash stick. I suspect this bug is a 7.04 kernel/module problem. Quite simply, persistence is borked because unionfs isn't loading. (Just type "mount" and you'll see "unionfs on / type (rw)" is missing and you can confirm it with "lsmod | grep unionfs" too.) As a hack, I copied vmlinuz and initrd.gz from a 6.10 CD to /usb and /usb/casper (I guess it must be copied to both places because links don't work in vfat) and persistence worked. Unfortunately, other stuff seems to break with the 6.10 kernel--the LAN is dead on at least one of my live USB hosts and the PS2 mouse is dead on another host. USB keyboard and mouse seem to work. At one point, I couldn't mount the ext3 filesystem on my hard disk, but that problem seems to be mysteriously absent now.

Next I attempted to build unionfs into the kernel, rather than a module, but the build ended with an extended attribute (xattr) conflict with other filesystem modules. At this point, I really don't know how to build a kernel for a live CD anyway. If anyone can point me in the direction of a howto, we may be able to solve this.

-Cal

KennoVO (kenno-xs4all) wrote :

Mike, if there's anything anyone can do to help you getting that iso on bittorrent, please ask. I'm going to mail a relative a live stick monday, in the hope of getting them to use Linux, and it would be great if they could use it in persistent mode.

KennoVO (kenno-xs4all) wrote :

Cal, that's interesting. The problem was not present in Feisty Herd 3. If someone could copy vmlinuz and initrd.gz from a Herd 3 CD to /usb and /usb/casper , it may cure the problem with less side-effects than you experienced. I might even be a viable workaround altogether. It's really annoying that there seems to be no way of getting my hands on a Herd 3 image.

KennoVO (kenno-xs4all) wrote :

Looks like I've been a bit too optimistic. I found a Herd 3 image and applied the same procedure as described by Cal. The good news is that persistence works, and that the logs written onto casper-rw indicate that most of the hardware is correctly recognized and initialized. The bad new is that I've also seen some ugly error messages passing by, and that I don't get any login prompts in the virtual terminals. Which is really bad because X fails to start as well (that happens with all Ubuntu live CDs on my laptop). Sure, I could make a customized xorg.conf file on the casper-rw filesystem and see what happens, but as copying the vmlinuz and initrd.gz files is just a dirty hack, it may not merit further effort. Besides, I'm too tired to continue. Moreover, I discovered that my casper-rw partition is too small to make persistence really useful (gconf immediately fills it). Hope you guys can work out a cleaner solution for the persitence problem, though. I'm sure it would make a lot of people very happy.

calinb (cbrabandt) wrote :

Okay--now I'm getting somewhere. I think the problem is 7.04 is using an incompatible version of Unionfs. I don't have much time to work on this so maybe we can regroup in the forums--and it's probably best not to clutter this bug report while we work on a fix. Please see my posting for more info:

http://ubuntuforums.org/showthread.php?p=2687688#post2687688

Thanks,

-Cal

Mike (mike0999) wrote :

FYI, I was able to get an edgy/feisty hybrid system working. See Cal's link above.

jerrylamos (jerrylamos) wrote :

Gutsy Alpha persistent doesn't work as far as I can tell. The Alpha is still a bit shaky (not to ship until October) and may not be solid enough to work on Cal's persistent fix. Sure would appreciate it if the developers could look at this too.
Thanks! Jerry

Changed in casper:
importance: Undecided → Medium
status: Confirmed → Triaged
myself (gluckhans) on 2007-09-27
Changed in casper:
status: Triaged → Confirmed
36 comments hidden view all 116 comments
Vincent (vinnl) wrote :

I haven't tried the beta yet, but as I am now in possession of the Xubuntu beta LiveCD I'll give it a try right away.

Vincent (vinnl) wrote :

OK, I've just tried putting Gutsy beta on my USB drive following a mixture of my own [1] and pendrivelinux.com's instructions [2]. However, I had the same problem as before: I can't choose the way to boot (and I can't memorize the boot lines).

I suppose something has been changed in that e.g. syslinux.cfg should now still be named isolinux.cfg or something, but since I haven't really kept tabs on this I wouldn't know of it.

Mike, do you happen to know if anything, and if so, what has changed in the process of putting Ubuntu on your USB drive?

[1] http://xubuntublog.wordpress.com/2007/06/17/ubuntu-feisty-on-your-usb-drive-finally/
[2] http://www.pendrivelinux.com/2007/09/27/making-ubuntu-710-casper-persistent/

I haven't figured that out completely myself. But, I typed "persistent" at
the "boot " prompt and hit return and it booted into persistent. You might
try that, but I'll see if I can look at it more closely.

On 9/30/07, Vincent <email address hidden> wrote:
>
> OK, I've just tried putting Gutsy beta on my USB drive following a
> mixture of my own [1] and pendrivelinux.com's instructions [2]. However,
> I had the same problem as before: I can't choose the way to boot (and I
> can't memorize the boot lines).
>
> I suppose something has been changed in that e.g. syslinux.cfg should
> now still be named isolinux.cfg or something, but since I haven't really
> kept tabs on this I wouldn't know of it.
>
> Mike, do you happen to know if anything, and if so, what has changed in
> the process of putting Ubuntu on your USB drive?
>
>
> [1]
> http://xubuntublog.wordpress.com/2007/06/17/ubuntu-feisty-on-your-usb-drive-finally/
> [2]
> http://www.pendrivelinux.com/2007/09/27/making-ubuntu-710-casper-persistent/
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Vincent,

When booted into the system from which you are issuing the "syslinux" command to create your persistent drive, make sure you are using the gutsy versions of syslinux and mtools (mtools may not have changed from edgy and feisty). That fixed the problem for me completely. If that system isn't gutsy, and you don't want to upgrade the entire system to gutsy, you can still upgrade only those two packages by changing your sources.list temporarily to gutsy, and then issuing sudo apt-get update, and then sudo aptitude install syslinux, for example.

So, all I did was boot up on a drive other than the one I wanted to make persistent. I took a usb drive on which I had been using the patched feisty system (so prepared exactly in accordance with your tutorial). I then deleted everything from the partition containing the cd-rom files except for syslinux.cfg (i.e. I am using exactly the same syslinux file as for the patched feisty system). I then copied all of the gutsy beta files onto that partition, except for the isoconfig (or whatever the syslinux.cfg file was called before we renamed it to syslinux.cfg). I also deleted everything off of the casper-rw partition other than the lost and found directory (and my home directory). I then issued the syslinux command (again with the gutsy version of syslinux installed), and I am good to go.

Note, if this works for you, I did experience a large number of freeze ups with firefox, which I believe is a reported firefox issue. I currently have the "fasterfox" add-on installed because some people said that fixed the problem for them. So far I haven't re-experienced the firefox freezes, but I need more time to assess whether or not that really fixed the issue.

I also downgraded to the edgy versions of the 3 upstart files as I described above. That fixes a failure to unmount local filesystems that I have been experiencing since the feisty upstart upgrades. You will probably run fine if you don't do that downgrade, but if you receive the failure to unmount local filesystems error on shutdown, you probably will need to do that downgrade to avoid causing errors on your persistent drive.

Mike (mike0999) wrote :

Sorry, when I said "all of the gutsy beta files" above, I meant all of the appropriate gutsy beta files, again per your feisty tutorial.

So, everything is per your original feisty tutorial, except you need to be sure you issue the syslinux command with the gutsy version of syslinux installed.

Vincent (vinnl) wrote :

First of all: I'm writing this from my persistent USB, which worked after I typed "persistent" at the boot prompt, as you wrote.

I did realize I had forgotten to clear my casper-rw partition, so the theme looks a little bit odd and during boot up Xubuntu wanted to start MySQL which wasn't installed...

Anyway, it's great that you found a way to fix the problem. When I've booted into the normal system again I'll try using a newer version of syslinux.

Also, I found that the pendrivelinux tutorial was a bit unclear unless you already knew how to make it persistent. Is there anyone who could use a more extensive tutorial? If there is, please add a comment here then I'll write one.

Great work again Mike :)

Great news that you've got it working Vincent.

I'd love to see a complete step-by-step tutorial for this, covering how to
create a bootable USB drive and how to make it persistent. Most of the
instructions for formatting the drive etc. are over at
http://www.pendrivelinux.com/ so I'm sure these can be used as a starting
point.

On 10/1/07, Vincent <email address hidden> wrote:
>
> First of all: I'm writing this from my persistent USB, which worked
> after I typed "persistent" at the boot prompt, as you wrote.
>
> I did realize I had forgotten to clear my casper-rw partition, so the
> theme looks a little bit odd and during boot up Xubuntu wanted to start
> MySQL which wasn't installed...
>
> Anyway, it's great that you found a way to fix the problem. When I've
> booted into the normal system again I'll try using a newer version of
> syslinux.
>
> Also, I found that the pendrivelinux tutorial was a bit unclear unless
> you already knew how to make it persistent. Is there anyone who could
> use a more extensive tutorial? If there is, please add a comment here
> then I'll write one.
>
> Great work again Mike :)
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

jhonan, I've already posted a previous tutorial on Ubuntu Feisty, and I've done it so often by now anyway so I could probably do it by heard ;-)

I'll probably just write a normal tutorial on putting Ubuntu or any of its derivatives on a USB drive, and get the reader to download the edited initrd.gz.

Isn't Ubuntu 7.10 going to be release any day now with Persistent working?

On 10/1/07, Vincent <email address hidden> wrote:
>
> jhonan, I've already posted a previous tutorial on Ubuntu Feisty, and
> I've done it so often by now anyway so I could probably do it by heard
> ;-)
>
> I'll probably just write a normal tutorial on putting Ubuntu or any of
> its derivatives on a USB drive, and get the reader to download the
> edited initrd.gz.
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Individuals can not love others, until they have learned to love themselves
first.
-- WB

============,,,================
===========(o o)===============
=======oOO==(_)==OOo===========
Mobile (512)589-3227
<email address hidden>
http://www.WilsonBradley.com
http://www.myspace.com/wilsonbradley
AOL screen name; WilsonIsON
Yahoo screen name; wilson2bw
MSN Screen name; WilsonIsOn
=======ooooO==Ooooo===========
=========( )===( )=============
==========\ (====) /=============
===========\_)==(_/=============

Mike (mike0999) wrote :

I am not sure you need to edit the initrd.gz (at least I didn't have to). I
really think persistence may be completely fixed in the beta iso; at least
it is working for me without any mods.

On 10/1/07, wilsonb <email address hidden> wrote:
>
> Isn't Ubuntu 7.10 going to be release any day now with Persistent
> working?
>
>
> On 10/1/07, Vincent <email address hidden> wrote:
> >
> > jhonan, I've already posted a previous tutorial on Ubuntu Feisty, and
> > I've done it so often by now anyway so I could probably do it by heard
> > ;-)
> >
> > I'll probably just write a normal tutorial on putting Ubuntu or any of
> > its derivatives on a USB drive, and get the reader to download the
> > edited initrd.gz.
> >
> > --
> > feisty 20070210/herd5 persistent mode doesn't work
> > https://bugs.launchpad.net/bugs/84591
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
>
>
> --
> Individuals can not love others, until they have learned to love
> themselves
> first.
> -- WB
>
> ============,,,================
> ===========(o o)===============
> =======oOO==(_)==OOo===========
> Mobile (512)589-3227
> <email address hidden>
> http://www.WilsonBradley.com
> http://www.myspace.com/wilsonbradley
> AOL screen name; WilsonIsON
> Yahoo screen name; wilson2bw
> MSN Screen name; WilsonIsOn
> =======ooooO==Ooooo===========
> =========( )===( )=============
> ==========\ (====) /=============
> ===========\_)==(_/=============
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

"I am not sure you need to edit the initrd.gz (at least I didn't have to). I
really think persistence may be completely fixed in the beta iso; at least
it is working for me without any mods."

Really? Great news! I'll go and replace my initrd.gz with the original, then, and just write a single definitive tutorial on putting any *buntu on USB :)

Im not sure how I missed this but,
7.10 Beta - 9/27/2007 ?
I figured it would have been renamed, but I guess it only changes with
official releases.

So, does this build work with persistence for sure? Anyone tried

Thanks

On 10/2/07, Steve Langasek <email address hidden> wrote:
>
> ** Changed in: casper (Ubuntu)
> Target: ubuntu-7.10-beta => ubuntu-7.10-rc
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Individuals can not love others, until they have learned to love themselves
first.
-- WB

============,,,================
===========(o o)===============
=======oOO==(_)==OOo===========
Mobile (512)589-3227
<email address hidden>
http://www.WilsonBradley.com
http://www.myspace.com/wilsonbradley
AOL screen name; WilsonIsON
Yahoo screen name; wilson2bw
MSN Screen name; WilsonIsOn
=======ooooO==Ooooo===========
=========( )===( )=============
==========\ (====) /=============
===========\_)==(_/=============

wilsonb (wilsonb) wrote :

I might focus on Puppy since new major release happened..

On 10/3/07, Wilson Bradley <email address hidden> wrote:
>
> Im not sure how I missed this but,
> 7.10 Beta - 9/27/2007 ?
> I figured it would have been renamed, but I guess it only changes with
> official releases.
>
> So, does this build work with persistence for sure? Anyone tried
>
>
> Thanks
>
> On 10/2/07, Steve Langasek < <email address hidden>> wrote:
> >
> > ** Changed in: casper (Ubuntu)
> > Target: ubuntu-7.10-beta => ubuntu-7.10-rc
> >
> > --
> > feisty 20070210/herd5 persistent mode doesn't work
> > https://bugs.launchpad.net/bugs/84591
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
>
>
>
> --
> Individuals can not love others, until they have learned to love
> themselves first.
> -- WB
>
> ============,,,================
> ===========(o o)===============
> =======oOO==(_)==OOo===========
> Mobile (512)589-3227
> <email address hidden>
> http://www.WilsonBradley.com
> http://www.myspace.com/wilsonbradley
> AOL screen name; WilsonIsON
> Yahoo screen name; wilson2bw
> MSN Screen name; WilsonIsOn
> =======ooooO==Ooooo===========
> =========( )===( )=============
> ==========\ (====) /=============
> ===========\_)==(_/=============
>

--
Individuals can not love others, until they have learned to love themselves
first.
-- WB

============,,,================
===========(o o)===============
=======oOO==(_)==OOo===========
Mobile (512)589-3227
<email address hidden>
http://www.WilsonBradley.com
http://www.myspace.com/wilsonbradley
AOL screen name; WilsonIsON
Yahoo screen name; wilson2bw
MSN Screen name; WilsonIsOn
=======ooooO==Ooooo===========
=========( )===( )=============
==========\ (====) /=============
===========\_)==(_/=============

wilsonb, Xubuntu Gutsy beta works for sure without any special modifications other than the normal steps required to make it persistence. The step using syslinux does need to be Gutsy's version of syslinux though (or you would end up at a boot prompt every time where you would have to type "persistent" to boot into persistent mode).

I saw 3-4 different guides to follow in creating a boot able Ubuntu with
persitance.
Could you post a link to the one that works with the latest 7.10 beta?

I spent to much time...

Thanks so much...

On 10/3/07, Vincent <email address hidden> wrote:
>
> wilsonb, Xubuntu Gutsy beta works for sure without any special
> modifications other than the normal steps required to make it
> persistence. The step using syslinux does need to be Gutsy's version of
> syslinux though (or you would end up at a boot prompt every time where
> you would have to type "persistent" to boot into persistent mode).
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Individuals can not love others, until they have learned to love themselves
first.
-- WB

============,,,================
===========(o o)===============
=======oOO==(_)==OOo===========
Mobile (512)589-3227
<email address hidden>
http://www.WilsonBradley.com
http://www.myspace.com/wilsonbradley
AOL screen name; WilsonIsON
Yahoo screen name; wilson2bw
MSN Screen name; WilsonIsOn
=======ooooO==Ooooo===========
=========( )===( )=============
==========\ (====) /=============
===========\_)==(_/=============

wilsonb, PendriveLinux has one [1] but I haven't tested it and it seems that it makes you download some U710fix.tar which isn't required anymore.

Furthermore, as far as I'm aware, there currently is no such guide (though I will be writing one soon, I hope). However, my guide on Ubuntu Feisty [2] should work too, albeit that instead of the ISO named there you'd need the Ubuntu Gutsy ISO (and at a certain point it asks you to copy the dists folder or something, which doesn't exist but that doesn't matter), and where it asks you to do sudo syslinux -f /dev/sdx1 you'd best do it from a Gutsy liveCD or something, as you need that version. Hope that helped, and if you have any questions you can just ask :)

[1] http://www.pendrivelinux.com/2007/09/28/usb-ubuntu-710-gutsy-gibbon-install/
[2] http://xubuntublog.wordpress.com/2007/06/17/ubuntu-feisty-on-your-usb-drive-finally/

Thank you so much for the response..
I have spent so much time working on this... I will wait until you post
one.. or the Official release comes..They said it will be fixed.

 Should be soon..

On 10/3/07, Vincent <email address hidden> wrote:
>
> wilsonb, PendriveLinux has one [1] but I haven't tested it and it seems
> that it makes you download some U710fix.tar which isn't required
> anymore.
>
> Furthermore, as far as I'm aware, there currently is no such guide
> (though I will be writing one soon, I hope). However, my guide on Ubuntu
> Feisty [2] should work too, albeit that instead of the ISO named there
> you'd need the Ubuntu Gutsy ISO (and at a certain point it asks you to
> copy the dists folder or something, which doesn't exist but that doesn't
> matter), and where it asks you to do sudo syslinux -f /dev/sdx1 you'd
> best do it from a Gutsy liveCD or something, as you need that version.
> Hope that helped, and if you have any questions you can just ask :)
>
> [1]
> http://www.pendrivelinux.com/2007/09/28/usb-ubuntu-710-gutsy-gibbon-install/
> [2]
> http://xubuntublog.wordpress.com/2007/06/17/ubuntu-feisty-on-your-usb-drive-finally/
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Individuals can not love others, until they have learned to love themselves
first.
-- WB

============,,,================
===========(o o)===============
=======oOO==(_)==OOo===========
Mobile (512)589-3227
<email address hidden>
http://www.WilsonBradley.com
http://www.myspace.com/wilsonbradley
AOL screen name; WilsonIsON
Yahoo screen name; wilson2bw
MSN Screen name; WilsonIsOn
=======ooooO==Ooooo===========
=========( )===( )=============
==========\ (====) /=============
===========\_)==(_/=============

jhonan (jhonan) wrote :

I finally got Unbuntu 7.10 working with persistence on a Thinkpad R60 with
external 4Gb USB drive - But I was messing about with initrd.gz and had
problems creating the casper-rw partition, so I can't replicate the steps
exactly. I got most of the instructions from pendrivelinux.com

On 10/3/07, wilsonb <email address hidden> wrote:
>
> Im not sure how I missed this but,
> 7.10 Beta - 9/27/2007 ?
> I figured it would have been renamed, but I guess it only changes with
> official releases.
>
> So, does this build work with persistence for sure? Anyone tried
>
>
>

jhonan, there is no more need to mess about with initrd.gz since the bug is apparently fixed :)

Hmm, will the fix to bug #144945 ..

https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/144945/comments/10

.. which reverts to unionfs 1.x, break persistence again? Has anyone tried with the image linked in the bug #144945 discussion, namely:

http://kernel.ubuntu.com/~bcollins/gutsy-desktop-i386-unionfs-1.4.iso

?

The Release Candidate of Gutsy Gibbon 7.10 works great on an USB Stick.
The persistent mode works again. :-)

Thanks a lot to everybody, who help to make this possible.

I used the tutorial mike mentioned on an 1Gb Buffalo- , 4 Gb Buffalo- and an 8Gb Ativa-Memory Stick and an IBM Think Pad T60)

-> https://wiki.ubuntu.com/LiveUsbPendrivePersistent.

waxhell (waxhell) wrote :

Persistent mode doesn't work for me in gutsy. Followed the direction on the ubuntu wiki, and was able to get the USB drive to boot properly (actually writing this from a liveUSB right now), but Persistent mode does not save settings properly.

I believe that I'll have to edit up the init file in order for this to work properly, but I'll post back with my findings.

waxhell (waxhell) wrote :

Clarification on the above.

Looks like I was able to get a bit further after reformatting my casper-rw partition.

Getting some odd KDE errors where its having problems reading/writing from certain files.

Originally it was /home/ubuntu/.kde/share/config/kdeglobals

Now it seems to be /home/ubuntu/.ICEauthority

It seems that for some odd reason, persistent mode is creating files with a chmod of 000. Whenever I try to change the permissions on these files, I get Input/Output errors.

Not sure what's happening here.

waxhell (waxhell) wrote :

My issues may be (un)related to a bug where I'm getting a segfault in umount during shutdown.

Reference Bug #147117 and Bug #125702

Steve Dodd (anarchetic) wrote :

waxhell: If I'm using persistent mode (home or root type) with the iso contents as well as the persistent fs on a USB key, I get block devices errors on the USB key on shutdown, the persistent fs isn't unmounted cleanly, and sometimes some files seem to get corrupted, particularly files that are likely to be open continuously during the session (e.g. ICEauthority) or immediately prior to shutdown (settings files.)

Booting from a CDROM (and still using the USB key for the persistent fs) seems to work OK (at least for home mode - root mode doesn't wait long enough for the USB key to settle before deciding there's no persistent fs to union mount.)

I need to look into the shutdown scripts more closely, I think.

probono (probono) wrote :

Will this be working in Hardy?

Vincent (vinnl) wrote :

probono, it already does. In fact, I'm on Xubuntu Hardy Alpha 5 on USB right now!
(Should I mark this as fix released?)

Jorge Q (jquiroga2005) wrote :

On Hardy I cannot achieve persistence, I follow the tutorial on wiki (LiveUSBPenDrivePersistent) and the Ubuntu starts but finish on a initramfs and as I a novice I have to reboot. AFAIK and reading this looong conversation looks like as someone else downgrade something and the persistent on USB thumb or HD fails in the final release after this guys fixed the persistent problem.

The problem is still there, because on www.pendrivelinux.com for ubuntu gutsy only convert the USB on Live Ubuntu but without persistence, and in some other forums and articles everybody ask about persistence unsuccessfully or we need to edit some files as <a href="http://www.ryancloke.com/ubuntu-804-hardy-heron-live-usb-how-to/"> this link shows </a> (for me it doesn´t work neither) and on somewhere else the line mentioned in the link <strong>mount ${cowdevice} -t ${cow_fstype} -o rw,noatime /cow || panic "Can not mount $cowdevice on /cow"</strong> is treated differently, because the solution from ryan is remove mode=775 and the solution from that site was defining another variable $cow_cowopt=rw,noatime,mode=775 (or 755 I don´t remember) and after the if before that line I have put the persistence before the else (I'm searching again the web page if I found it I put the link) and in the line mentioned by Ryan I have to replace after the -o option for the new variable. In that page explain that the problem isn´t the mode instead something isn't there that avoid that persistence option were taked in account. Of course I did al that but again the initramfs, so no one knows a real solution, or I do doesn't something.

Forgive me if I have some mistakes I'm not english native speaker.

Mark Wharton (markwharton) wrote :

Jorge Q:

See https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192

The post by FlipsideTech dated 2008-04-29 has a patched version of the initrd.gz file. Replace this file and persistence should work.

Jorge Q (jquiroga2005) wrote :

Thanks Mark, that is the link I was re-searching, I'll download the new initrd.gz file and try it.

  • unnamed Edit (796 bytes, text/html; charset=ISO-8859-1)

Jorge - please confirm if it works. Thanks.

On Thu, May 8, 2008 at 2:39 PM, Jorge Q <email address hidden> wrote:

> Thanks Mark, that is the link I was re-searching, I'll download the new
> initrd.gz file and try it.
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Hello:

Well, YES!!!, it works the persistence work with the instructions of LiveUSBPenDrivePersistent but you have to replace the initrd.gz from https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192 on FlipSide Tech comment on casper directory. I recomend that reformat the FAT32 partition if you have done some tries. Even I can create a new user, right now I'm trying with some virtualization but that is another story.

Good work guys on being Persistent ;-) ...

When I tried it a few times recently, it seemed to work at first, but then
it got a lot of bad sector error when saving/shutting down.
Hopefully, the patch will resolve things.

Might be old news, but just in case..I saw a new post today @
Pendrivelinux.com

   - *New *Ubuntu 8.04 USB Persistent install using the Live CD
   <http://www.proxsafe.net/proxy.php?q=aHR0cDovL3d3dy5wZW5kcml2ZWxpbnV4LmNvbS8yMDA4LzA1LzA4L3VzYi11YnVudHUtODA0LXBlcnNpc3RlbnQtaW5zdGFsbC12aWEtdGhlLWxpdmUtY2Qv&p=1e3>
   - *New* Ubuntu 8.04 USB Full Blown USB install using the Live
CD<http://www.proxsafe.net/proxy.php?q=aHR0cDovL3d3dy5wZW5kcml2ZWxpbnV4LmNvbS8yMDA4LzA0LzE0L3VidW50dS04MDQtdXNiLWhhcmQtZHJpdmUtaW5zdGFsbC8%3D&p=1e3>

--
Individuals can not love others, until they have learned to love
themselves first.
-- WB

Ubuntu will crush Vista.
============,,,================
===========(o o)===============
=======oOO==(_)==OOo===========
http://www.WilsonBradley.com
http://www.myspace.com/wilsonbradley
AOL screen name; WilsonIsON
Yahoo screen name; wilson2bw
MSN Screen name; WilsonIsOn
=======ooooO==Ooooo===========
=========( )===( )=============
==========\ (====) /=============
===========\_)==(_/=============

Please post if everything working fine.

On Fri, May 9, 2008 at 10:19 AM, Jorge Q <email address hidden> wrote:

> Hello:
>
> Well, YES!!!, it works the persistence work with the instructions of
> LiveUSBPenDrivePersistent but you have to replace the initrd.gz from
> https://bugs.launchpad.net/ubuntu/+source/casper/+bug/219192 on FlipSide
> Tech comment on casper directory. I recomend that reformat the FAT32
> partition if you have done some tries. Even I can create a new user,
> right now I'm trying with some virtualization but that is another story.
>
> --
> feisty 20070210/herd5 persistent mode doesn't work
> https://bugs.launchpad.net/bugs/84591
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--

Does this bug still exist in Ubuntu 9.10 Karmic Koala?
Feisty and Gutsy are EOL now.

Mitch Towner (kermiac) wrote :

I was testing burned disks of current 8.04.4 candidate iso, karmic release iso & lucid alpha 2 iso with a separate USB device and this behaviour still exists (i.e. no state info is saved - no bookmarks or history in firefox, no saved files, etc).

Przemek K. (azrael) on 2010-04-07
summary: - feisty 20070210/herd5 persistent mode doesn't work
+ livecd/liveusb persistent mode doesn't work
Brian Murray (brian-murray) wrote :

I am setting this bug report to Fix Released as persistent mode has been working for quite some time and there have been no reports of this issue about recent releases of Ubuntu.

Changed in casper (Ubuntu):
milestone: ubuntu-7.10-rc → none
assignee: Tollef Fog Heen (tfheen) → nobody
status: Confirmed → Fix Released
Per (pguth) wrote :

Tried it with Ubuntu 14.04.2. Persistence does not work out of the box. Works only when manually adding the boot flag `persistence`.

Per (pguth) wrote :

When building a custom LiveCD adding `export PERSISTENT="Yes"` in `/etc/casper.conf` works.

Bootable USB-sticks should be fixed by editing the `/boot/grub/grub.conf` that you will find on your USB-stick. Replace the following part

```
menuentry "Try Ubuntu without installing" {
 set gfxpayload=keep
 linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash --
 initrd /casper/initrd.lz
}
```
with
```
menuentry "Try Ubuntu without installing" {
 set gfxpayload=keep
 linux /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash persistent --
 initrd /casper/initrd.lz
}
```
(the new thing here is the `persistent` flag).

Displaying first 40 and last 40 comments. View all 116 comments or add a comment.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers