:: [DNG] About the experimental live …
Pàgina inicial
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
A: dng
Assumpte: [DNG] About the experimental live DVD
Hi Frits,

On 08/10/15 17:05, Godefridus Daalmans <frits@???> wrote:
> Hello,
>
> I would like to clarify some things about the live DVD that I made:
>
> - arch is amd64, userid user password live. It works inside virtualbox,
> not tested on bare iron. Do sudo bash to work as root.

You can skip the user's password:

Add to 'live-config' a file '/etc/config/config.conf' containig, for
example:

     LIVE_HOSTNAME=devuan
     LIVE_USERNAME=user
     LIVE_USER_FULLNAME="User"
     LIVE_USER_DEFAULT_GROUPS="cdrom floppy audio dip video plugdev fuse 
bluetooth netdev scanner"


Sometimes it fails, so i use to add the following lines to
'/etc/init.d/live-config':

   userdel -r user
   groupdel user
   groupadd user
   /usr/sbin/useradd --home /home/user --create-home --gid user live
   FILE1=/etc/passwd
   if grep "^user:x:" ${FILE1}
     then
       LINE1=`grep "^user:x:" ${FILE1}`
       LINE2="user::1002:1002:User,,,:/home/user:/bin/bash"
       rpl -q "${LINE1}" "${LINE2}" ${FILE1}
     fi
   FILE2=/etc/shadow
   if grep "^user:" ${FILE2}
     then
       LINE3=`grep "^user:" ${FILE2}`
       LINE4="user::::::::"
       rpl -q "${LINE3}" "${LINE4}" ${FILE2}
     fi
   fi
   sed -i '25i user ALL=(ALL:ALL) ALL' /etc/sudoers


By the way, have you included debian-installer in your distribution?

> - It was an experiment by me to learn live-build and see how far I could
> get with it on Devuan while avoiding systemd
>
> - It's not really a server installation, because that doesn't match with
> a live DVD. Maybe that's why it was so easy to stay away from
> libsystemd0 (thanks Devuan!!)


Mmm... Yes, it's possible a live session without any Desktop Environment
or Window Manager.

> - It has udev and libudev1 (Devuan Jessie, couldn't purge systemd
> completely)
>
> - It is not an "official" Devuan selection of packages; it's a bloated
> DVD full of 2.4 Gb of unrelated stuff. I call it "Vannsätter Linux".
>
> - Nothing from non-free, so it's missing firmware-linux-nonfree, rar,
> p7zip, and various microcodes, as well as mondo/mindi/afio:-(


Good, free distros are always a good thing !!

> - No wifi programs 'cause I don't have a laptop (suggestions??)


Of course: 'netman'. There are deb packages, but i must do one change in
them: i have to move 'netman.desktop' from '/usr/share/applications' to
'/etc/xdg/autostart'.

> - I just put on it stuff that I selected for the following four
> completely different purposes:
>
> (1) generic live DVD, like the old Knoppix, for people from my village
> to experiment with when they crash their MS Windows computers. The
> locale is set to sv_SE.UTF-8, good to practise your Swedish. I couldn't
> figure out how to change it while it's running.
> So you can enter your credit card details if you want to begin on-line
> shopping. I'm not a security expert, so I thought iceweasel (=firefox)
> and HTTPS are good enough.
> It has childsplay and stellarium.


If you like knoppix, i'm packaging the latest version of Compiz Fusion
(the sources are not included in knoppix's repositories; only the
packages). You will can import the configuration of Compiz Fusion from
knoppix, because it's the same version of Compiz.

As regards locale, you can change it typing 'dpkg-reconfigure locales',
but it needs a reboot of the system. So, you must configure it in the
'append initrd' of the iso. Keyboard configuration can be changed using
'fbxkb', but i found a bug in it: **after running fbxkb **'Alt Gr' key
is not detected**.

> (2) basic system admin rescue tools. I've only sporadically worked in a
> system admin rôle, so it probably doesn't have the exact tools that you
> expect:-)
> It's especially lacking backup tools such as mondo/mindi/afio.
>
> (3) programs that I like such as canfield and singularity:-)
>
>
> (4) a large collection of development tools, scripts and programs, and a
> short tutorial I wrote about the GNU hello and Debian hello package.
>
> Let me try to explain (4)
>
> We all need to begin somewhere.
>
> Not all of us are experienced enough in the areas we need to learn to
> make Devuan thrive.
>
> A large task like "make an improved Devuan fork of a Debian package" or
> "make a better udev" or "split dbus in three" is best done in little
> steps, on a "safe" computer system like a live DVD inside virtualbox, so
> you don't thrash your own computer.
>
> I thought that this live DVD would help budding enthusiasts and people
> like me to learn how to assist the Devuan team in their work.
>
> Once you've re-built the Debian hello package yourself, you feel a bit
> more confident that the goals of Devuan are actually attainable and
> within human reach:-)
>
> I cannot begin to say how impressed I am with Debian and Devuan, if you
> look "under the hood", like you can with this live DVD (it contains the
> debian-policy documentation, for instance).
> It gives one the feeling that people much cleverer than you have
> designed this (kinda opposite to systemd).
>
> I made this DVD to help people like me to begin somewhere. Feedback is
> welcome.
>
> Now if you like I can upload it somewhere tonight (slow connection here
> in the sticks). Any legal tips on how to do proper attribution to
> Devuan, Marillat and Debian? Should I make a source DVD for it as well?
> Maybe I should try a jigdo if that's possible.
>
> Please reply to this long e-mail with a short description about what
> kind of packages*you* had*expected* to find on a live DVD. There's 2
> Gb left:-)
>
> Frits D.