Live Mode root password

Please note: Whenever you execute something with root permissions, you should know what you are doing! For web surfing over LAN no root access is required.

On the Joatha LiveCD the preset root password is root. If you want to change it, you can do the following:

Open a console/ shell:

knoppix@0[knoppix]$ sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
knoppix@0[knoppix]$

You can use it if you want to run a program that requires root-privileges. You also have the following choices instead:

Run the program with

sudo
or
su-me
Press Alt+ F2, and enter "
sudo

in front of your desired program, e.g.:

sudo gparted

Run the program from a root-shell:

Open a console/ shell:

knoppix@0[knoppix]$ su
root@0[knoppix]# gparted (or whatever you want...)

To get out of the konsole type:

exit

then

exit
(where upon the konsole should close)

Unionfs - or how to install software in live mode

Unionfs is an overlay filesystem which makes it possible to use apt-get or install nvidia or radeon drivers whilst in live-cd mode. Joatha's nvidia/radeon scripts detect the live mode and activate unionfs if needed. To enable unionfs at boot up, simply to type this cheatcode on the boot command line:

unionfs

By using this cheatcode, file changes will be stored at /tmp/unionfs (which will be lost after poweroff).

If you do not use the cheatcode at bootup time, you can still activate unionfs in live mode by opening a shell and running fix-unionfs:

knoppix@0[knoppix]$ sudo su
fix-unionfs
Activating Unionfs now.

Now you could use apt-get to install additional software:

knoppix@0[knoppix]$ sudo
root@0[knoppix]# apt-get update
(...)
root@0[knoppix]# apt-get install kdegames

There are three additional options to make a more permanent unionfs:

unionrw

and

unionro
.

The first can be created with this cheatcode:

unionrw

The unionrw cheat can be used in several ways:

  1. Point to a partition on the hard drive
  2. Point to a loop file (like an ext2 loopback file)
  3. Point to a directory

All three ways work to permanently store changes to a drive you designate - if you always use the same cheatcode you can have custom program selection at the place given by the user. This does not store the /home directly, you have to use the home cheat for that.

As already mentioned, there is a third cheatcode:

unionro

This is basically like unionrw, but you are not able to overwrite files in the place where you've stored them. However you could combine a new unionrw and the unionro cheatcode at the same time. Not everyone will find this useful, but remember, this is all experimental. Note that none of these cheatcodes are mentioned in the help file that is visible when you press F1 when booting Joatha.