:: Re: [dyne:bolic] Dudas: Live dvd, …
Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Giancarlo Pinerolo
Ημερομηνία:  
Προς: dynebolic mailinglist
Καινούρια Θέματα: [dyne:bolic] create a LUKS encrypted persistent image file
Αντικείμενο: Re: [dyne:bolic] Dudas: Live dvd, instalación Frugal, Docking.
A few days ago I posted a patch for live-initramfs, so that you can start with 'persistent=cryptsetup' cheatcode and have live-initramfs "scripts/live-helpers" (called everywhere by the script 'live'), mount a LUKS encrypted, image file (live-rw or home-rw). The actual version can only mount LUKS partitions, not file images.
https://launchpad.net/ubuntu/+source/live-initramfs/+bugs

That patch is for the find_cow_device() function in live-initramfs_1.173.1-1.
modprobe dm_mod (device mapper) was also missing in the scripts.
The patch actually messes output a bit when you miss the password the first time. I couldn't sort out how many ouputs are there at that moment, 6 or 7 (log, console, debug etc), and the find_cow_device() function is supposed to echo out its return value, so things mix up when you miss password and enter the askpass/retry loop.

The one used by dyne is debian live-initramfs_1.236.2.1 or something.

Now live-initramfs is taken on by ubuntu dev team and latest version of these live scripts are to be found in live-boot-initramfs-tools_2.0.14 (the whole live stuff has been spilt in a number of sub-packages), but they don't solve this problem and stilll cannot mount encrypted images files.

Hope it helps
Giancarlo
--- Mer 22/2/12, Holger Beetz <holger.beetz@???> ha scritto:

> Da: Holger Beetz <holger.beetz@???>
> Oggetto: Re: [dyne:bolic] Dudas: Live dvd, instalación Frugal, Docking.
> A: giancarlo@???, "dynebolic mailinglist" <dynebolic@???>
> Data: Mercoledì 22 febbraio 2012, 22:10
> dynebolic support something similar.
> I posted something on the list a
> while ago. Simply follow the thread:
> http://lists.dyne.org/lurker/thread/20111130.043219.71cf0a1c.en.html#20111130.043219.71cf0a1c
>
> More specific those postings:
> http://lists.dyne.org/lurker/message/20111201.102920.4bea501a.en.html
> http://lists.dyne.org/lurker/message/20111206.134257.779f1e10.en.html
>
> 2012/2/22 Giancarlo Pinerolo <giancapin@???>:
> > the built in ubuntu live stuff can have
> persistent-everithing  and/or persistent home
> > to accomolish this you can create eg. a 256MB
>  ext2/ext3 data file named eirher 'live-rw' (for root
> persistance) and/or home-rw (for home persistance) and place
> it on  a topdir.
> >
> > The names have to be that. It wil find those files and
> keep your changes between boots (nest?)
> >
> > --- Mer 22/2/12, Holger Beetz <holger.beetz@???>
> ha scritto:
> >
> >> Da: Holger Beetz <holger.beetz@???>
> >> Oggetto: Re: [dyne:bolic] Dudas: Live dvd,
> instalación Frugal, Docking.
> >> A: "dynebolic mailinglist" <dynebolic@???>
> >> Data: Mercoledì 22 febbraio 2012, 11:03
> >> Oh, yes...there I another option I
> >> forgot to mention:
> >> You can simply generate an empty raw file on any
> mounted
> >> partition
> >> (e.g. NTFS), mount it via loop-back and generate a
> >> filesystem on it.
> >>
> >> This "HDD image" will behave similar to any attach
> raw
> >> device.
> >>
> >> Anyone interested might have a look here:
> >> http://freecode.com/articles/virtual-filesystem-building-a-linux-filesystem-from-an-ordinary-file
> >>
> >> or simply search for: "mount file as block device
> linux" :)
> >>
> >>
> >> 2012/2/22 Holger Beetz <holger.beetz@???>:
> >> > To my best understanding dynebolic as LiveCD
> should be
> >> pretty much
> >> > everything similar to a real installed Linux
> unless you
> >> require to
> >> > access bigger files which reside on a physical
> storage
> >> device (USB,
> >> > HDD, etc).
> >> >
> >> > So for your purpose you could either use a
> separate
> >> folder on the
> >> > Windows HDD and access it via NTFS-3G driver,
> use a
> >> persistent overlay
> >> > file which is stored on your windows partition
> or may
> >> be your files
> >> > stored on a USB stick.
> >> >
> >> > In other words: Live mode should work for you
> fine if
> >> you can read the
> >> > files you need to access / modify from an
> external
> >> filesystem. This
> >> > applies to editing videos via cinerella or
> streaming
> >> anything.
> >> >
> >> > If you do not need super-duper fast writing
> speed
> >> and/or big storage
> >> > space, pretty much any decent USB2.0 stick
> will do fine
> >> for both
> >> > installing any Linux distribution or simply
> storing
> >> your files.
> >> >
> >> > The original setup of the Windows PC is then
> not
> >> touched by any means.
> >> > I for one run Debian 6.0 on my Main Windows PC
> from a
> >> simple 8GB USB
> >> > stick and it works like a charm.
> >> >
> >> > HTH,
> >> > Holger
> >> >
> >> > 2012/2/22 Venugopal AK <akvenugopal@???>:
> >> >> Save me this question:
> >> >>
> >> >>  What is the difference between
> installing
> >> "Frugal" in HD and Docking?
> >> >>  Are they the same but with different
> standards?
> >> Or are they similar and
> >> >>  has advantages over the other?
> >> >>  Are both technical and Frugal docking,
> running in
> >> RAM, ie a
> >> >>  live dvd but installed on a HD?
> >> >>
> >> >>  My interest in Docking is installed on a
> windows
> >> OS. The place of
> >> >>  University where I work uses
> proprietary
> >> software, but
> >> >>  My project is in linux / free software.
> I do not
> >> have a HD
> >> >>  there my distros install free software.
> Docking
> >> is then
> >> >>  convenient.
> >> >>  I can also use Puredyne Dynebolic or dvd
> in live
> >> mode, but can
> >> >>  pc support resources (eg Pentium IV)
> >> >>  work with video (cinelerra) or
> srtreaming video,
> >> which is best for
> >> >>  this work: live dvd or Docking?
> >> >>
> >> >>  As always, thanks! ... And Chau.
> >> >>
> >> >> --- On Wed, 22/2/12, Bello Uccello <beluccello@???>
> >> wrote:
> >> >>
> >> >> From: Bello Uccello <beluccello@???>
> >> >> Subject: [dyne:bolic] Dudas: Live dvd,
> instalación
> >> Frugal, Docking.
> >> >> To: dynebolic@???
> >> >> Date: Wednesday, 22 February, 2012, 8:37
> AM
> >> >>
> >> >> Salvenme esta duda:
> >> >>
> >> >> ¿Qué diferencia existe entre la
> instalación
> >> "Frugal" en un HD y Docking?
> >> >> ¿Son iguales pero con técnicas
> diferenciadas? ¿o
> >> son parecidas y una
> >> >> tiene ventajas sobre la otra?
> >> >> ¿Ambas técnicas, docking y Frugal,
> corren en la
> >> RAM, es decir es un
> >> >> live dvd pero instalado en un HD?
> >> >>
> >> >> Mi interés en Docking es instalarlo en un
> S.O
> >> windows. El lugar de la
> >> >> Universidad en la que trabajo usa
> software
> >> privativos, pero
> >> >> mi proyecto esta en linux/software libre.
> No
> >> dispongo de un HD para
> >> >> instalar allí mis distros de software
> libre.
> >> Entonces Docking es lo
> >> >> conveniente.
> >> >> También puedo usar Dynebolic o Puredyne
> en modo
> >> live dvd, pero  ¿podrá
> >> >> soportar los recursos del pc (ej: un
> Pentium IV)
> >> el
> >> >> trabajo con video (cinelerra) o srtreaming
> de
> >> video, qué es mejor para
> >> >> este trabajo: live dvd o Docking?
> >> >>
> >> >> Como siempre gracias!...y Chau.
> >> >>
> _______________________________________________
> >> >> dynebolic mailing list
> >> >> dynebolic@???
> >> >> http://lists.dyne.org/mailman/listinfo/dynebolic
> >> >>
> _______________________________________________
> >> >> dynebolic mailing list
> >> >> dynebolic@???
> >> >> http://lists.dyne.org/mailman/listinfo/dynebolic
> >> _______________________________________________
> >> dynebolic mailing list
> >> dynebolic@???
> >> http://lists.dyne.org/mailman/listinfo/dynebolic
> >>
> > _______________________________________________
> > dynebolic mailing list
> > dynebolic@???
> > http://lists.dyne.org/mailman/listinfo/dynebolic
>