Encryption (-e option)

2010-10-24 Thread Marcos Barbosa
How -e option works? Create a encrypted partition to save changes or
something like that? Thanks.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Plans to RW encrypted area

2010-10-24 Thread Marcos Barbosa
Any plans to create a option to encrypt RW area?
Use loop-AES to mount encrypted partition (or file) and use aufs (or
unionfs) to use rw area. The option to indicate device/file used like rw
area can be passed via kernel option. And if not a encrypted device/file
yet, use a process to set the password. Goog idea? Thanks.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Another idea: Use LZMA

2010-10-24 Thread Marcos Barbosa
Is a good idea if the next testing release (sorry, i don't know the names)
use SquashFS 4.1 enable option to use  LZMA algorithm. Is a great idea!
Thanks.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Another idea: multiples sizes of USB key

2010-10-24 Thread Marcos Barbosa
I have another idea (i have idea, i post. It's a crime? A hope not :) Create
a option to generate USB image with pre-determinated size. Eg. lh_config -b
usb-hdd --size 4GB
This command generate a file binary.img with 4GB ready to put in a 4GB USB
key. Remember: This is a optional option. If omitted the image is the same
size has a files inside. (the default). Thanks.
P.S.: I like comments ;)



-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: Another idea: multiples sizes of USB key

2010-10-24 Thread Marcos Barbosa
I agree. Write on USB key reduces live. But is necessary to save changes. Is
a pain situation convert a USB-HDD image to a large USB key (format, copy
files, make bootable). Is a good idea create images with empty space.
Another  idea is install direct. Eg.
lb_config -d /dev/sdb
Format device, copy files and make bootable automatically. This is
applicable to liveCD too. Create the ISO and burn CD. Thanks.

2010/10/24 David A. Bandel 

> On Sun, Oct 24, 2010 at 17:32, Marcos Barbosa
>  wrote:
> > I have another idea (i have idea, i post. It's a crime? A hope not :)
> Create
> > a option to generate USB image with pre-determinated size. Eg. lh_config
> -b
> > usb-hdd --size 4GB
> > This command generate a file binary.img with 4GB ready to put in a 4GB
> USB
> > key. Remember: This is a optional option. If omitted the image is the
> same
> > size has a files inside. (the default). Thanks.
> > P.S.: I like comments ;)
> >
>
> This wouldn't do much good.  You can't write into a squash filesystem.
>  What I think you mean is that on firstboot, you would have something
> like a jffs2 partition created that would allow you to expand what's
> on the squashfs via aufs.
>
> But unless you're installing in a flash ram (not USB) system of known
> size, seems to me the current system is more than adequate.  Perhaps
> what you'd like is an automated script to make use of the additional
> space on the USB, perhaps where you could choose leftover space as
> 0-100% live-rw/remaining % as home-rw?
>
> Remember though, that writes to USB sticks shorten their life, and
> installing a live-rw or home-rw would result in extra writes.  For
> this reason, I usually use live-snapshot to a partition labelled home
> (vice home-rw).
>
> Ciao,
>
> David A. Bandel
> --
> Focus on the dream, not the competition.
> - Nemesis Air Racing Team motto
> Visit my web page at: http://david.bandel.us/
>



-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


(Bad idea?) Add Ubuntu support

2010-10-25 Thread Marcos Barbosa
Is a (bad) idea, but vaild: Add Ubuntu repositories to allow create Debian
and Ubuntu liveCD/USB/netboot. Is simples: Just add a files with
repositories and this evit a little fork to add Ubuntu support. Thanks.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Use posixovl to save changes

2010-10-25 Thread Marcos Barbosa
Is a controversial idea, but good: Use posixovl to help to save changes.
This solution allow write POSIX files in FAT32 filesystem without errors or
limitations (symlinks works, for example). This idea is good because allow
save changes inside a directory insde USB key root without a space
limitation (a problem using a file). Eg.: USB key is 4GB size. If use a
file, for exemple, 256MB, The user only can save changes and files to 256MB,
but using posixovl he can use 4GB (less distro size)! And access his files
(but a symlink or mount -o bind make the same). Sorry my english. Thanks.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Idea?: Set Ubuntu splash screen

2010-10-25 Thread Marcos Barbosa
Here is a idea (if not implemented yet): Set splash screen (Grub, syslinux,
etc.) to Ubuntu splash screen if building a Ubuntu  based liveCD/USB. Is
ugly make a Ubuntu derived liveCD/USB with Debian splash screen. Thanks.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: Use posixovl to save changes

2010-10-25 Thread Marcos Barbosa
For two (good) reasons:
1º Is a new option to developer;
2º User can access his files in any operational system. If use EXT4 to save
changes, the files is only accessible inside Linux.
Agree? Disagree?
Thanks.

2010/10/25 Daniel Baumann 

> On 10/25/2010 02:39 PM, Marcos Barbosa wrote:
> > Use posixovl to help to save changes.
>
> why would i use this instead of a dedicated persistency partition with a
> sane filesystem (e.g. ext4)?
>
> --
> Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email:  daniel.baum...@panthera-systems.net
> Internet:   
> http://people.panthera-systems.net/~daniel-baumann/<http://people.panthera-systems.net/%7Edaniel-baumann/>
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/4cc5adbc.9010...@debian.org
>
>


-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Stupid question of the day

2010-10-25 Thread Marcos Barbosa
Here is the stupid question of the day: Where are save the changes?
casper-rw labeled partition? Thanks.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Modules support?

2010-10-25 Thread Marcos Barbosa
Live Build support more than one SquashFS file? how many?
P.S.: Is useful to create modules to applications.

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: Stupid question of the day

2010-10-26 Thread Marcos Barbosa
I read live-manual and i found this string:
"However, all modifications will be lost upon shutdown unless optional
persistence partition(s) are used (see persistence)."
But i can't find this section in the manual. I look the lb_config
manpage and only find persistence related to netboot image (i need USB
image).

2010/10/26 Daniel Baumann 
>
> On 10/25/2010 09:46 PM, Marcos Barbosa wrote:
> > Where are save the changes? casper-rw labeled partition?
>
> did you read the manpage?
>
> --
> Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email:          daniel.baum...@panthera-systems.net
> Internet:       http://people.panthera-systems.net/~daniel-baumann/
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4cc68948.5000...@debian.org
>



-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimbue8p-pnr-erkhwot6keownc0o1ac71k...@mail.gmail.com



Analyzing the use of posixovl

2010-10-26 Thread Marcos Barbosa
Hi everybody!
I'm reading persistence section in the manual (thanks Daniel!) i have idea
(i not sure if implemented, but I think not): Use of DOS/FAT16/FAT32
partition is possible like persistent device, ok? (it's in manual) Why not
use posixovl to save all changes in  Win file systems? posixovl allow
symbolic links, for example.

I question (i can't understand) how live-boot system integrate himself with
live-build? live-boot is installed inside initrd and allow some features?
Thanks. ;)

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


persistent-text live-boot parameter

2010-10-26 Thread Marcos Barbosa
Is in development (if not, is a good idea) add the option persistent-text?
Is the same as persistent-subtext, but for all the label. Eg.
persistent-text=changes
Look for a partition and files with label "changes".
Thanks ;)

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Persistent=cryptsetup

2010-10-26 Thread Marcos Barbosa
I read about the creation (and documentation) of option
persistent=cryptsetup. Great job! Thanks, i need this feature. But here is a
question: I need pre-format partitionto work with cryptsetup or if partition
is empty the system format, set the password, etc.? Is a idea to think...
Thanks ;)

-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: lb_config debug option (bug hunter)

2010-10-27 Thread Marcos Barbosa
Yes. lb_config manpage. The only option i found is --dump, but is not
exactly i'm looking for. I look for extra informations, and not the only
default messages.

2010/10/27 Daniel Baumann 

> On 10/27/2010 06:01 PM, Marcos Barbosa wrote:
> > Exist option to set debug in lb_config? Error occur to me and i like to
> > obtain more details before send to list or report a bug.
>
> did you read the manpage?
>
> --
> Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email:  daniel.baum...@panthera-systems.net
> Internet:   
> http://people.panthera-systems.net/~daniel-baumann/<http://people.panthera-systems.net/%7Edaniel-baumann/>
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/4cc86c17.6060...@debian.org
>
>


-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


lb build bug in Ubuntu

2010-10-27 Thread Marcos Barbosa
I try to create a Ubuntu 10.10 (Maverick) liveCD, but occur this error:
gzip: ../binary/casper/initrd.img*.gz: No such file or directory
cpio: Final de arquivo prematuro
LH='1'
P: Begin unmounting filesystems...

My config line:
lb config -p ubuntu_desktop --mode ubuntu --distribution maverick
--architecture i386 -b usb-hdd

# ls binary/casper/
filesystem.manifest  filesystem.size  filesystem.squashfs  initrd1.img
memtest  vmlinuz1

live-build version:
3.0~a5+20101021.084442

Thanks for any help.
-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: lb build bug in Ubuntu

2010-10-28 Thread Marcos Barbosa
I can make work with this config line:
lb config -p ubuntu_desktop --mode ubuntu --distribution maverick
--architecture i386 -b usb-hdd --initramfs live-boot
But live-boot package is not in Ubuntu repositories, i need copy to the
right place inside config/. Is a question to analysis why casper initramfs
not work.

2010/10/27 Marcos Barbosa 

> I try to create a Ubuntu 10.10 (Maverick) liveCD, but occur this error:
> gzip: ../binary/casper/initrd.img*.gz: No such file or directory
> cpio: Final de arquivo prematuro
> LH='1'
> P: Begin unmounting filesystems...
>
> My config line:
> lb config -p ubuntu_desktop --mode ubuntu --distribution maverick
> --architecture i386 -b usb-hdd
>
> # ls binary/casper/
> filesystem.manifest  filesystem.size  filesystem.squashfs  initrd1.img
> memtest  vmlinuz1
>
> live-build version:
> 3.0~a5+20101021.084442
>
> Thanks for any help.
> --
> Marcos Henrique Esteves Barbosa
> marcosestevesbarb...@gmail.com
>



-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: Please tell me how to login to the live system.

2010-10-28 Thread Marcos Barbosa
The solution i found is create a user using commnad adduser using chroot.
But i agree auto-login is better option.

Congrats.

2010/10/28 Robert Key 

> Hi, I have been using live systems on usb memory sticks for a while now,
> but when Ubuntu Maverick came out everything seems to have changed.
>
> When the live system boots, instead of logging in automatically, I now have
> to login.
> My boot parameters are
> the usual plus
> boot=live username=robert live-media=removable-usb
> timezone=Africa/Johannesburg quickreboot utc=no
>
> Instead of being rob...@debianlive I get
>
> localh...@localdomain login:
>
> I have read the manual and the live password does not work.
> How can I login?
> Thanks for your help.
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/4cc9a714.5030...@mighty.co.za
>
>


-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: Please tell me how to login to the live system.

2010-10-28 Thread Marcos Barbosa
Try this: Edit the chroot file /etc/gdm/gdm.schemas:

  daemon/AutomaticLoginEnable
  b
  false <-- change for true



  daemon/AutomaticLogin
  s
   <--add username




2010/10/28 Robert Key 

> Hi this is really frustrating, auto login is supposed to work but does not.
>
> The manual says the password is 'live' but it does not work.
> I tried removing username=robert but this makes no difference.
>
> What I have done wrong?
> Thanks,
>  Robert Key
>
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/4cc9ab6e.4030...@telkomsa.net
>
>


-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: Please tell me how to login to the live system.

2010-10-28 Thread Marcos Barbosa
I know, but if works, is a acceptable workaround. New ideas is welcome.

2010/10/28 Daniel Baumann 

> On 10/28/2010 08:23 PM, Marcos Barbosa wrote:
> > Try this: Edit the chroot file /etc/gdm/gdm.schemas:
>
> totally wrong approach.
>
> --
> Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email:  daniel.baum...@panthera-systems.net
> Internet:   
> http://people.panthera-systems.net/~daniel-baumann/<http://people.panthera-systems.net/%7Edaniel-baumann/>
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/4cc9c39d.2040...@debian.org
>
>


-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: Please tell me how to login to the live system.

2010-10-28 Thread Marcos Barbosa
I detected this:
/lib/live/config/006-gdm use /etc/gdm/gdm.conf file. Ubuntu Maverick use
/etc/gdm/gdm.schemas (is different name but is different format). May be
fixing this fix the problem.

2010/10/28 Daniel Baumann 

> On 10/28/2010 08:44 PM, Marcos Barbosa wrote:
> > I know, but if works, is a acceptable workaround.
>
> no, it's not.
>
> first, there should no fix be required (since it's supposed to work out
> of the box anyway and we can't reproduce the original problem).
>
> second, even if we could reproduce the problem, the fix is to adjust
> /lib/live/config/*gdm* files. not 'workarounding' it by completely
> circumventing (and thus breaking) live-config.
>
> --
> Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email:  daniel.baum...@panthera-systems.net
> Internet:   
> http://people.panthera-systems.net/~daniel-baumann/<http://people.panthera-systems.net/%7Edaniel-baumann/>
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/4cc9c5ac.2090...@debian.org
>
>


-- 
Marcos Henrique Esteves Barbosa
marcosestevesbarb...@gmail.com


Re: What am I doing wrong?

2010-12-11 Thread Marcos Barbosa
Em Sáb, 2010-12-11 às 08:43 +0100, Jose Luis Zabalza escreveu:
>  lb config -a i386 -b usb-hdd -d mydistro \
> --archive-areas "main contrib non-free" --language es \
> --binary-indices false \
> --security false \
> --source false \
> --verbose --debug --breakpoints \
> --debian-installer true \
> --language es \
> --memtest none \
> --mirror-bootstrap $MIRROR_SERVER \
> --mirror-binary $MIRROR_SERVER \
> --mirror-binary-security $MIRROR_SERVER \
> --mirror-chroot $MIRROR_SERVER \
> --mirror-chroot-security $MIRROR_SERVER \
> --mirror-debian-installer $MIRROR_SERVER \
> --bootappend-live "live-config.locales=es" \
> --debian-installer-gui true
> 
Read the manpage about option "-d". The correct use is not set to
"mydistro" but use "debian" or "ubuntu".


-- 
Marcos Barbosa 


-- 
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292056732.26937.61.ca...@marcos-netbook



Ubuntu alternate

2010-12-24 Thread Marcos Barbosa
How i can create a Ubuntu alternate CD (for direct installation, not live)
using Debian Live? Thanks.

-- 
Marcos Barbosa 


Re: Ubuntu alternate

2010-12-30 Thread Marcos Barbosa
2010/12/24 Daniel Baumann 
>
> have you read the notes about debian-installer in the manual?
>
I can't find this notes. Please tell me. I found simple-cdd package. Is my
answer?
If the installer is the problem i use the ubiquity-installer. But the point
is config options to create a local repository in CD.


>
--
> Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email:  daniel.baum...@progress-technologies.net
> Internet:   http://people.progress-technologies.net/~daniel.baumann/
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/4d147668.7020...@debian.org
>
>


-- 
Marcos Barbosa 


Ubuntu installer

2011-01-06 Thread Marcos Barbosa
I need create a livecd with a Grub entry "Install" with kernel option
 "only-ubiquity" to make a option to install direct, bypassing live
environment. Is possible? I using Ubuntu for live. Thanks.

-- 
Marcos Barbosa 


Script to change environment

2011-01-11 Thread Marcos Barbosa
There's a place to put a script to be executed inside root? I need configure
some things with gconf-tool. Thanks.

-- 
Marcos Barbosa 


Re: Updating live USB disk with live-rw

2011-04-15 Thread Marcos Barbosa
2011/4/13 Tomek 

>   Hi all,
>
Hi


>   First of all, BIG THANKS for all developers and supporters for Debian
> and Debian Live!
>
>
> I have a USB flash disk with Debian Live (and other bootable tools) and
> live-rw persistence partition.  Made from the downloaded hdd-usb image.  All
> works well so far, a long-term Windows user (me) is learning a proper OS
> finally :-)
>
>
> I want to update the Debian live on my USB disk to a daily build without
> touching the changes/settings/firmware added and stored on live-rw.
>
>
> How stupid/brilliant/insane/dangerous is to to download the latest hdd-usb
> image, extract filesystem.squashfs and other files in /live directory and
> copy them to USB disk (overwriting the old ones)?  Will all the hell break
> loose?  Will it help if I delete some files in advance from live-rw in
> non-persistent run?  Will it be perfectly OK?  What problems can I expect?
>
>
> I know I could try the regular update/dist-upgrade with apt-get/aptitude,
> but this will use more and more space on live-rw.  Yes, I know, bigger disks
> are cheap nowadays, but... I just want to know.
>
>
> All comments/warnings/suggestions/... are very welcome!
>
Is dangerous because filesystem.squashfs contains kernel modules and if you
upgrade them without update kernel and initial ram disk, bad things may be
happens.

>   T.
>



-- 
Marcos Barbosa 


Re: Updating live USB disk with live-rw

2011-04-15 Thread Marcos Barbosa
2011/4/15 Tomek 

> --- On Fri, 4/15/11, Marcos Barbosa 
> wrote:
>
> >Is dangerous because filesystem.squashfs contains kernel modules and if
> you upgrade them without update kernel and initial ram disk, bad things may
> be happens.
>
> 1. I updated all files in /live folder, initrd and vmlinuz are in there. Am
> I safe?

I not sure.


> 2. I've installed additional non-free firmware modules for wifi cards for
> laptops I use. After update all still works, but I get a gut feeling that
> this may cause troubles sooner or later.
>
firmware is piece of cake. normally not change between kernel versions, just
firmwares versions itself.

>
> T.
>



-- 
Marcos Barbosa 


Generate custom initramfs

2011-10-27 Thread Marcos Barbosa
Hello everybody!

I have a problem: How generate a custom initramfs using live-build? My idea
is create a initramfs with support to live filesystem (filesystem.squashfs,
etc.) and cryptomount. The final objective is create a liveUSB distro inside
a encrypted drive. They are very similar with regular encrypted system, but
use squashfs root instead regular root. I'm thinking about a script to
format the USB device and set password, but is crucial to create this
special initramfs. Any ideas?

Sorry my English.


Thanks.

-- 
Marcos Barbosa 


Re: Generate custom initramfs

2011-10-28 Thread Marcos Barbosa
2011/10/28 Daniel Baumann 

> On 10/27/2011 11:55 PM, Marcos Barbosa wrote:
> > I have a problem: How generate a custom initramfs using live-build?
>
> what *exactely* do you want to do? i couldn't figure out from your mail,
> can you rephrase it?
>
How i create a initramfs, with Debian Live, with support for live system and
encrypted root?

>
> --
> Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
> Email:  daniel.baum...@progress-technologies.net
> Internet:   http://people.progress-technologies.net/~daniel.baumann/
>
>
> --
> To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/4eaaa208.6090...@progress-technologies.net
>
>


-- 
Marcos Barbosa