Devuan GNU+Linux is a free software operating system for your computer. Free software means you are free to use, copy and distribute, study, change the software, and share your modifications with the community.


Live Install Guide

This is an easy to follow guide to installing Devuan from the CD/DVD images for supported hardware. The general advice accompanying this guide is that you should always backup your data before you begin.

This installation procedure uses the graphical desktop-live installer from the running live image. It may be launched from the desktop icon or the system menu. The root password is toor and the user password is devuan.

0) Before you start: Please read the RELEASE NOTES provided on the desktop.

1) Security warning: The root password of this live installer is publicly known, which is a security risk when connecting to the internet. It is recommended to change the root password before continuing:

~$ sudo passwd

Begin the install by double-clicking the Install Devuan icon on the desktop.

2.1) BIOS MBR mode: This window comes up in the amd64 desktop-live install if you're installing on a BIOS system. Choose 'Continue'.

bios-notice

2.2) UEFI mode: In a UEFI install, this informs you whether you have a proper EFI partition or not. If an EFI partition is detected, make sure that it resides on the first disk before continuing.

efi-notice

2.3) Help: Additional options and information.

help

3.1) Installation options: Choose your installation options here. For example, you can choose to have certain directories mounted as a partition instead of installing to a single root partition.

options

3.2) Encryption: The installer can only encrypt root and home filesystems. A separate boot partition is optional and will be unencrypted if present. For full protection of your data you should not use a separate swap partition. If there is no swap partition, a swap file will be created on the root filesystem and that will be encrypted.

You can choose to write random data to encrypted partitions for additional security. This can take a long time depending on the size of partitions.

options-encrypt

3.3) Boot directory encryption: By default the boot directory will be encrypted. This is generally a good idea for full disk encryption setups.

full-disk-notice

4.1) Summary: This screen reminds you of the partitions currently on your system before you prepare a location to install Devuan.

choose-partitioner

4.2) Choose a partitioning method: If the drive is already partitioned you can skip this step. You will now be presented choices for how you'd like to partition your installation drive. The easiest of these options is to use GParted. Choose GParted to continue with this walkthrough, as the other options are beyond the scope of this discussion.

choose-partitioner

4.3) Using GParted: You should now create your partitions with GParted. You will need to create at least a root filesystem and any partitions you previously told the installer about. If warned by GParted to do so, create a partition table according to your boot mode which was discussed earlier - use an msdos partition table for MBR boot mode or a gpt partiton table for UEFI boot mode. For UEFI, you must have a proper EFI partition: 50-500MB, FAT32, with esp flag in gparted or EF00 in gdisk. This window shows a valid partition scheme for a UEFI install.

gparted

5.1) Bootloader location: Now, on an i386 machine you will be asked where the bootloader should be installed. In most cases you should choose to install the GRUB bootloader to the MBR.

grub-location

5.2) Choose bootloader location: To continue, now specify the device for installation of the bootloader.

grub-location

6) Choose the installation partition: You should now choose the partition to which Devuan will be installed. This should be one of the partitions you formatted earlier. To use other filesystems, pre-format them and choose 'Do not format' in the options window. If you chose a separate /home or /boot, you'll get similar windows for each.

choose-root

7) Choose a filesystem: Now choose which ext filesystem to use. There are three choices available for filesystems. The most recent iteration is the ext4 filesystem and this is what you should go with here.

choose-root-fs

8.0) Summary: The following 4 summaries illustrate how the installation might be done based on your previous choices. Only one of these typical options will appear during the installation process. Make sure these options are acceptable before proceeding with the installation, otherwise you should exit and start over.

8.1) Typical summary for an amd64 BIOS install:

amd64-bios-summary

8.2) Typical summary for an amd64 UEFI install:

amd64-uefi-summary

8.3) Typical summary for an i386 install:

i386-summary

8.4) Typical summary for an encrypted install:

encrypted-summary

9) Select your geographic area: You should now choose your geographic area from the list. This will allow you to accurately set your time zone.

tzdata

10) Choose your time zone: You can now choose your time zone based on your geographic area. This will be used to configure the system clock.

tzdata2

11) Generate additional locales: The UTF-8 locale will be selected automatically, but you can choose to generate more according to your preferences. A common choice would be ISO-8859-1 or ISO-8859-15. If you're unsure, the defaults are safe and you can just continue to the next step.

locales

12) Set the default locale: Now select which locale that will be used. If you generated your own locales you probably want to select one of them here, otherwise choose UTF-8.

locales2

13) Set the keyboard type: You should now let the installer know how many keys your keyboard has. If you're not sure, choose the default as this can always be changed from your desktop after installation in complete.

keyboard

14) Choose a keyboard layout: Choose the keyboard layout you want to use. This should usually be matched to your country unless the layout is different for some reason.

keyboard2

15) Set special keys: Here you can set whether or not the X server can be killed using a special key combination. If Control, Alt and Backspace are pressed together from your desktop the X server will be instantly killed.

keyboard3

16.1) Set an encryption passphrase: You should now choose a passphrase for any encrypted partitions. You will be required to enter the same password twice to confirm it. It is recommended to use a passphrase that is at least 20 characters long, uses upper and lower case letters, numbers and special characters.

confirm-partition

16.2) Confirm the installation partition: Here you will be asked to confirm installation to the partition chosen earlier. If the information matches your choices from earlier, enter Y and press return to continue.

mke2fs

17) Installing the system: The installation has started on the partition you selected. This will take some time.

install-system

18) Install bootloader: The system has been installed but before it can be booted you should choose to install a bootloader. There is also the option to chroot the install for advanced users.

18.1) BIOS install: In amd64 install on BIOS, the first button says 'Copy files'. That will install the grub-pc package and install the bootloader. If you choose 'Chroot' you'll get a new terminal chrooted into the installed system where you can make manual changes. This will bypass the installation of the grub-pc package and the bootloader. If you want to mess around in chroot and still let the installer add the bootloader, don't press this button. Open another terminal and run sudo chroot /target.

install-bootloader-uefi

18.2) UEFI install: In an amd64 install on UEFI, the first button says 'Install bootloader'. the correct grub package is already installed and you don't need to choose a location for the bootloader. It will go into the EFI partition. Check section 2.3 'Help' above to learn how to make a proper EFI partition. The installer will complain if you don't have one.

install-bootloader-bios

19) The GRUB bootloader: On an amd64/BIOS install the grub-pc package will now be installed This ensures that your system can boot to the newly installed operating system. GRUB is the name of the bootloader used here.

grub-pc

20) Bootloader location: In most cases GRUB should be installed to the first disk from which the system will boot. In this case there is only one disk, indicated by /dev/sda so GRUB should be installed there.

grub-pc2

21) Hostname and username: Enter a unique hostname to make it easier to identify this computer on a network without using spaces. Choose any username that takes your fancy but spaces and uppercase letters will not be accepted. In most cases there is no need to enter your real name, so this can be omitted.

hostname-username

22) Root password: Now set a root password if you haven't earlier in this installation. It's good security practise to set a strong password here to protect the root account.

root-password

23) User password: Now create a user account password. You should create a password that isn't easy to guess.

user-password

24) Finish: If you see this, you must have done it right.

finished

This site is free of cookies and javascript