Live informations

From Kaisen Linux


Here you will find information about the different options of the live system as well as the default credentials.

Default credentials

  • Login: kaisen
  • Password: kaisen

Live languages

  • You can using French with azerty keyboard. This language can be chosen by the entry Kaisen Linux Rolling Live (Français) => once you have started on your DVD or bootable USB key.
  • You can using English with qwerty (US disposition) keyboard. This language can be chosen by the entry Kaisen Linux Rolling Live (English) => once you have started on your DVD or bootable USB key.
  • You can using Spain with qwerty (Spain disposition) keyboard. This language can be chosen by the entry Kaisen Linux Rolling Live (Espanol) => once you have started on your DVD or bootable USB key.
  • You can using Portugal with qwerty (Portugal disposition). This language can be chosen by the entry Kaisen Linux Rolling Live (Portugues) => once you have started on your DVD or bootable USB key.
  • You can using Italian with qwerty (Italian disposition). This language can be chosen by the entry Kaisen Linux Rolling Live (Italiano) => once you have started on your DVD or bootable USB key.
  • You can using Deutsch with qwertz (Deutsch disposition). This language can be chosen by the entry Kaisen Linux Rolling Live (Deutsche) => once you have started on your DVD or bootable USB key.

If your keyboard is neither azerty, qwerty or qwertz of the variants mentioned above, select the language on which to start the live and once on the live, in the terminal, type the command setxkbmap your_keyboard
For example, for the russian keyboard, the command will be setxkbmap ru

Live options

Kaisen Linux live has several options:

*Default: Simple start in live mode without special options.
*Failsafe mode: Repair mode and disables certain features such as multi-threading and direct access to RAM. 
Facilitates the detection of problems.
*Persistence: Mode allowing to keep this data on different live sessions (by default, the live erases all the data of the session once the computer is shut down or restarted). CAUTION: This mode can only be used with a bootable USB key with a partition dedicated to persistence. More details in the section dedicated to the use of the persistent mode.
*Encrypted persistence: Exactly the same function as persistence mode, with the only difference, the partition with persistent data will be secured using cryptsetup and luks.
*Forensic mode: Mode allowing to start the system by bringing certain security there like deactivation of the assembly by default of the equipment connected in USB and the deactivation of graphics cards AMD and Nvidia. The swap 
(partition used by the system to compensate for a possible lack of RAM) is also disabled with this mode.
*Charging in RAM: Mode allowing to fully load the squashfs in the RAM memory, allowing to use the live system without keeping the USB key connected. Useful for computers with few USB ports. 8Gb of RAM is recommended to use this mode. The system loaded in RAM consumes 3.5GB to 4GB.
*Charging in RAM (failsafe): Allows like failsafe mode and loaded in RAM, to fully load the system in RAM memory and to deactivate multi-threading support as well as direct access to RAM memory.
*Charging in RAM (forensic): This mode allows to load the whole system in RAM, but by activating the functionalities provided with the classic forensic mode.

All these options are available on the six languages ​​provided for the live system.

Default mode

This mode requires nothing more than typing the enter key on its keyboard to be used. Very useful mode for testing the system, as well as for performing some quick tasks such as disk formatting or disk performance analysis.

Failsafe mode

This mode is often used to diagnose problems related to its hardware or to deactivate the support of certain functions which can conflict with certain uses such as multi-threading, management of APM (Advanced Power Management) etc. Do not use this mode if you do not need it. Using it will not cause any problems on your machine or live system, but disables certain functions that may be useful.

Forensic mode

This mode allows you to start on a live system by deactivating additional graphics cards.
Automatic mounting of disks / partitions and swap are disabled. The purpose of this mode is to be able to more easily diagnose problems related to graphics cards (driver or screen problems related to faulty hardware) and to be able to more easily control the mounting of discs on the system. The automatic deactivation of device mounting makes it possible, for example, to limit the extent of damage that can be caused by malware. This feature is useful for performing disk and / or malware analysis on discs whose origin or content is potentially dangerous.

Persistence mode

This mode allows you to keep this data between each live session. However, this mode must be configured beforehand. Persistence mode makes it possible, among other things, to keep the modification of its graphic parameters (wallpaper, theme, policies, etc.), to keep the packages updated, to keep the data entered by the user, etc.

Encrypted persistence

This mode allows you to keep this data between each live session. However, this mode needs to be configured beforehand. The difference with the previous persistent mode, is that persistent data is encrypted, which increases the security, confidentiality and integrity of persistent data. This mode should be used as a priority and is recommended over normal persistent mode, for your safety.

Charging in RAM

This mode requires nothing more than typing the enter key on its keyboard to be used. Very useful mode to accelerate the speed of the live system on recent machines, because the system is fully loaded in RAM and therefore faster than a USB port. Useful also to save the USB ports of the machine in case there is not much to see one. Once this mode is used and you have access to the desktop, you can unplug the USB key and fully use the system.

Charging in RAM with failsafe mode

This mode also allows you to fully load the system into RAM, but by disabling certain functions such as APM and SMP (like classic failsafe mode). Only use this mode if you have the utility and know why to use it. Using it will not cause any problems on your machine or live system, but disables certain functions that may be useful.

Charging in RAM with forensic mode

The forensic mode allows you to automatically deactivate Nvidia graphics cards as well as AMD cards. Storage devices are not mounted automatically. This mode allows you to benefit from all the advantages of this mode while keeping a free USB port on your computer.

Create live USB key with persistance

Prerequisite

WARNING: A USB key configured to support live persistent will not work with Apple hardware, surely due to their specific BIOS.

We recommend that you have at least a 16GB USB key to take full advantage of this feature. Delete your current partition entirely with Gparted and create a partition table in GPT, dd will do the rest for you. You don't need to format the partition with any file system.
Check with the command sudo fdisk -l what your key is called. Here we will assume that our USB drive is /dev/sdb.

USB creation

This documentation was made with the live MATE ISO but also works with KDE, LXDE and XFCE.
Make sure you are in the same folder as the ISO to do all this !!
Create a bootable Kaisen USB drive with the following command:

sudo dd if=kaisenlinuxrolling1.2-amd64-MATE.iso of=/dev/sdb bs=4M

Normally two partitions were created by dd. You can check this with the sudo fdisk -l command. You need to create a third to add persistence to it.

To do this, type the following commands (always in the same folder where the ISO is):

end=10gb (if key is 16gb, for security we will put the key ending at 10gb plus the size of the ISO so 3gb)
read start _ < <(du -bcm kaisenlinuxrolling1.2-amd64-MATE.iso | tail -1); echo $start
sudo parted /dev/sdb mkpart primary $start $end

Here is what to answer with parted:

Warning: Not all of the space available to /dev/sdb1 appears to be used, you can fix the GPT to use all of the space (an extra
117235328 blocks) or continue with the current setting?
Fix/Ignore?

Answer: Fix

Error: Can't have overlapping partitions.
Ignore/Cancel?

Answer: Ignore

Partition name?  []?

Answer: persistence

File system type?  [ext2]?

Answer: ext4

Start?

Answer $start value (I get 3013 just after echo $start)

End?

Answer: 10gb

You may be asked the questions below. Just ignore the messages.

Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy.  This means Linux won't know about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Ignore/Cancel?

Answer: Ignore

Error: Partition(s) 3 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
Ignore/Cancel?

Answer: Ignore

To initialize /etc/fstab, disconnect then reconnect your key!!

You should now have 3 partitions on your /dev/sdb device.
Then do this for create filesystems and partition label:
The mkfs.ext4 command below will ask a question (on the size of the blocks). Just press enter to use the default settings (not affected here).

sudo mkfs.ext4 -L persistence /dev/sdb3
sudo e2label /dev/sdb3 persistence

To take into account this new persistence partition, we should have a file named persistence.conf at the root of this partition with in this file marked: / union

We are going to proceed like this:

sudo mkdir -p /mnt/persistence
sudo mount /dev/sdb3 /mnt/persistence
echo "/ union" | sudo tee /mnt/persistence/persistence.conf
sudo umount /mnt/persistence


Your key is now ready!

Restart a live Kaisen with the persistence option enabled. To test that the persistence is functional, for example change the theme of the graphical interface then restart your live session by always choosing "persistence". If the theme you modified has been kept instead of the default one, persistence is functional :-)

Create live USB key with encrypted persistance

Prerequisite

WARNING: A USB key configured to support live persistent will not work with Apple hardware, surely due to their specific BIOS.

We recommend that you have at least a 16GB USB key to take full advantage of this feature. Delete your current partition entirely with Gparted and create a partition table in GPT, dd will do the rest for you. You don't need to format the partition with any file system.
Check with the command sudo fdisk -l what your key is called. Here we will assume that our USB drive is /dev/sdb.

USB creation

This documentation was made with the live MATE ISO but also works with KDE, LXDE and XFCE.
Make sure you are in the same folder as the ISO to do all this !! Create a bootable Kaisen USB drive with the following command:

sudo dd if=kaisenlinuxrolling1.2-amd64-MATE.iso of=/dev/sdb bs=4M

Normally two partitions were created by dd. You can check this with the sudo fdisk -l command. You need to create a third to add persistence to it.

To do this, type the following commands (always in the same folder where the ISO is):

end=10gb (if key is 16gb, for security we will put the key ending at 10gb plus the size of the ISO so 3gb)
read start _ < <(du -bcm kaisenlinuxrolling1.2-amd64-MATE.iso | tail -1); echo $start
sudo parted /dev/sdb mkpart primary $start $end

Here is what to answer with parted:

Warning: Not all of the space available to /dev/sdb1 appears to be used, you can fix the GPT to use all of the space (an extra
117235328 blocks) or continue with the current setting?
Fix/Ignore?

Answer: Fix

Error: Can't have overlapping partitions.
Ignore/Cancel?

Answer: Ignore

Partition name?  []?

Answer: persistence

File system type?  [ext2]?

Answer: ext4

Start?

Answer $start value (I get 3013 just after echo $start)

End?

Answer: 10gb

You may be asked the questions below. Just ignore the messages.

Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy.  This means Linux won't know about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
Ignore/Cancel?

Answer: Ignore

Error: Partition(s) 3 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
Ignore/Cancel?

Answer: Ignore

To initialize /etc/fstab, disconnect then reconnect your key!!

You should now have 3 partitions on your /dev/sdb device.

WARNING: do not forget the passphrase to unlock the partition, otherwise you will have to completely redo your key and your data cannot be recovered. You have been warned.

sudo cryptsetup --verbose --verify-passphrase luksFormat /dev/sdb3
sudo cryptsetup luksOpen /dev/sdb3 my_usb

Then do this for create filesystems and partition label:
The mkfs.ext4 command below will ask a question (on the size of the blocks). Just press enter to use the default settings (not affected here).

sudo mkfs.ext4 -L persistence /dev/mapper/my_usb
sudo e2label /dev/mapper/my_usb persistence

To take into account this new persistence partition, we should have a file named persistence.conf at the root of this partition with in this file marked: / union

We are going to proceed like this:

sudo mkdir -p /mnt/my_usb
sudo mount /dev/mapper/my_usb /mnt/my_usb
echo "/ union" | sudo tee /mnt/my_usb/persistence.conf
sudo umount /dev/mapper/my_usb

Let's close the encrypted channel:

sudo cryptsetup luksClose /dev/mapper/my_usb

Your key is now ready!

Restart a live Kaisen with the encrypted persistence option enabled. To test that the persistence is functional, for example change the theme of the graphical interface then restart your live session by always choosing "encrypted persistence". If the theme you modified has been kept instead of the default one, encrypted persistence is functional :-)



Return to home page