Stefan Weiss | 27 Feb 2012 15:24
Picon
Favicon

Updating USB stick with persistency option?

Hello.

I'm trying out to the persistency feature for the first time. I had a
4GB USB stick lying around, so I'm following the example in the wiki
more or less verbatim.

What I'm wondering is, can this USB stick be updated when the next Grml
version is released? Up until now, there was never any user data on the
stick (or CD), but now there could be something worth preserving in
$HOME. I'm not sure how exactly the persistency snapshots work, but I
guess simply running grml2usb with the new ISO won't be enough.

It's no big deal if an update isn't possible. I'll expect there will
only be a couple of shell scripts and .debs in my $HOME, and I can
easily transfer them to a different partition before updating. If that's
the case, should I wipe the home-rw, live-rw, and GRMLCFG partitions
when I install the new ISO?

Thanks,
stefan
Charles Alan Hewson | 27 Feb 2012 16:33
Picon
Favicon

Re: Updating USB stick with persistency option?

Hi all,

Persistent boot option works and with grml2usb I have not needed to change the other related partitions.
You may need to remove the "=nofile" as that was removed in upstream.

Note; 
Some of docs you find on web are proposals and may not be in upstream or grml-autoconfig (http://live.debian.net/devel/rfc/persistence/).

persistent-encryption=luks works in daily snapshot I am testing. This can keep live-rw and home-rw more
private and secure. Think lost USB. I do not expect GRMLCFG to support luks.

Be aware live-rw and home-rw at this testing do not do compression. The docs indicate live-sn and home-sn
will but I have not gotten to testing that feature.

The information at http://wiki.grml.org/doku.php?id=persistency is good.

--- On Mon, 2/27/12, Stefan Weiss <weiss <at> foo.at> wrote:

> From: Stefan Weiss <weiss <at> foo.at>
> Subject: [Grml] Updating USB stick with persistency option?
> To: grml <at> ml.grml.org
> Date: Monday, February 27, 2012, 6:24 AM
> Hello.
> 
> I'm trying out to the persistency feature for the first
> time. I had a
> 4GB USB stick lying around, so I'm following the example in
> the wiki
> more or less verbatim.
> 
(Continue reading)

Stefan Weiss | 28 Feb 2012 20:03
Picon
Favicon

Re: Updating USB stick with persistency option?

On 27.02.2012 15:24, Stefan Weiss wrote:
> I'm trying out to the persistency feature for the first time. I had a
> 4GB USB stick lying around, so I'm following the example in the wiki
> more or less verbatim.

...and it worked, in a way, but I'm getting a few unexpected warnings 
and error messages. Maybe someone on the list can advise.

grml2usb had warnings, but appeared to complete successfully anyway:

,------------------------------------------------
# grml2usb --bootoptions="persistent keyboard=de xkeyboard=de" \
        grml96_2011.12.iso /dev/sdb2

Executing grml2usb version 0.11.6
Using ISO grml96_2011.12.iso
Identified grml flavour "grml32".
Copying files. This might take a while....
Warning: could not find flavour directory for grml32
Identified grml flavour "grml64".
Copying files. This might take a while....
Warning: could not find flavour directory for grml64
Installing default MBR
Installing syslinux as bootloader
Note: grml flavour grml32 was installed as the default booting system.
Note: you can boot flavour grml32 using 'grml32' on the commandline.
Note: you can boot flavour grml64 using 'grml64' on the commandline.
Finished execution of grml2usb (0.11.6). Have fun with your grml system.
`------------------------------------------------

(Continue reading)


Gmane