HARDWARE REQUIREMENTS
Any modern computer will handle decibel Linux and professional audio applications in general, as long as it’s a recent multi-core processor with 16+GB of RAM. You also need a hard drive with a minimum speed of 7200 RPM. An SSD or M.2 boot/work drive is helpful – but not necessary.
Acquire a boot medium. The recommended boot medium is SystemRescueCd. You can use any boot medium that gives you access to your hard drive, allows you to chroot, supports bash, and has dialog/whiptail.
Using these instructions means you assume all risk for data loss. The installer WILL wipe the drive you select. If dual-booting, back up your files.
Only the amd64 architecture is supported. There are no plans to include any other architectures.
Installer
To use the installer, boot up with SystemRescueCD and once at the prompt, type:
wget https://decibellinux.org/src/install_dblinux.sh
chmod +x install_dblinux.sh
./install_dblinux.sh
Note that you need an EFI system for the installer, along with a dedicated hard disk that your system’s BIOS is expecting to boot with.
Dual-Boot Prep for Windows 11
So you just bought a new computer pre-loaded with Windows 11. You’d like to keep Windows and install decibel Linux. Follow these steps to prep a new system for dual-boot using a single hard drive or SSD. These instructions assume you are using System Rescue CD, but you may use a bootable medium of your choice if you know what you are doing.
- Disable secure boot in your BIOS.
- Boot up with System Rescue CD. Make sure you startx.
- Run gparted.
- Select the main data partition.
- Partition -> Resize/Move.
- Change the “Free space following” number to 250000. This creates a partition for decibel Linux 250 GB in size. Adjust this to your preference.
- Click “Resize/Move”.
- Click the green check mark.
- Click Apply.
- Select the unallocated space.
- Partition -> New.
- The defaults should create a new primary partition formatted in ext4. Click Add.
- Click the green check mark.
- Click Apply. Make note of your new root partition and the boot partition. You will not need to create a swap partition, and a boot partition should already exist. Exit gparted.
- Open a terminal window and continue with “Mounting partitions” below. Substitute the correct partitions for /dev/sda4 (root) and /dev/sda2 (boot).
Manual Install
For dual-boot users, you will need to handle the partitioning scheme on your own and adjust these instructions accordingly. Note that if you are dual-booting, you do not want to mklabel, you may or may not be able to apply partition names, and your boot label may or may not already be set. User takes all responsibility for the results of performing these steps.
DO NOT COPY AND PASTE. Type these instructions into your terminal and double-check for typos.
- Once you’ve booted with your boot medium, you need to prepare the hard drive using the following steps:
-
parted -a optimal /dev/sda
-
mklabel gpt
-
unit mib
-
mkpart primary 1 3
-
name 1 grub
-
set 1 bios_grub on
-
mkpart primary 3 131
-
name 2 boot
-
mkpart primary 131 643
-
name 3 swap
-
mkpart primary 643 -1
-
name 4 rootfs
-
set 2 boot on
-
print
- You should see this:
Number Start End Size File system Name Flags 1 1049kB 3146kB 2097kB grub bios_grub 2 3146kB 137MB 134MB ext2 boot boot, esp 3 137MB 2235MB 2097MB linux-swap(v1) swap 4 2235MB 2000GB 1998GB ext4 rootfs
- You should see this:
-
quit
- If you have a BIOS system: >
mkfs.ext4 /dev/sda2
- If you have a UEFI system: >
mkfs.fat -F 32 /dev/sda2
-
-
mkfs.ext4 /dev/sda4
-
mkswap /dev/sda3
-
swapon /dev/sda3
Mounting partitions: Now mount the hard drive and install the base system:
- mkdir -p /mnt/gentoo/boot
-
mount /dev/sda4 /mnt/gentoo
(The mount point does not matter. Just substitute whatever you use here.) mount /dev/sda2 /mnt/gentoo/boot
-
cd /mnt/gentoo
-
wget https://decibellinux.org/src/decibellinux-stage4.tar.bz2
-
tar xvjpf decibellinux-stage4.tar.bz2 --xattrs --numeric-owner
-
rm decibellinux-stage4.tar.bz2
Chrooting: Chroot into the base system and configure:
-
cp -L /etc/resolv.conf /mnt/gentoo/etc/
, y to overwrite -
mount -t proc /proc /mnt/gentoo/proc
-
mount --rbind /sys /mnt/gentoo/sys
-
mount --rbind /dev /mnt/gentoo/dev
-
mount --make-rslave /mnt/gentoo/sys
-
mount --make-rslave /mnt/gentoo/dev
-
mount --bind /run /mnt/gentoo/run
-
mount --make-slave /mnt/gentoo/run
-
chroot /mnt/gentoo /bin/bash
-
source /etc/profile
-
emerge-webrsync
(If you happen to install a Gentoo Studio tarball that was produced that day, you may get a warning that the timestamps are the same. This is fine. Proceed to follow the next steps.)
-
eix-sync
-
ls /usr/share/zoneinfo
-
timedatectl set-timezone (your_timezone) (Example: timedatectl set-timezone America/Anchorage or timedatectl set-timezone Europe/Amsterdam)
-
grub-install:
- If you have a BIOS system: >
grub-install /dev/sda
- If you have a UEFI system: >
grub-install --target=x86_64-efi --efi-directory=/boot --removable
- If you have a BIOS system: >
nano /etc/fstab
- If you have a BIOS system, make sure the line for /dev/sda2 has filesystem type ext4.
- if you have an EFI system, make sure the line for /dev/sda2 has filesystem type vfat.
- Preferably, look up the UUIDs of your disks by using ls -l /dev/disk/by-uuid/ and use those UUIDs according to the examples in fstab.
- Skip the line for swap if you don’t have swap. You do not need a swap partition for decibel Linux – and you should not be using one for pro-audio applications.
- Either way, your fstab should look something like this (Ctrl-o to save, Ctrl-x to exit):
-
/dev/sda2 /boot ext4 defaults,noatime 0 2 /dev/sda4 / ext4 noatime 0 1 /dev/sda3 none swap sw 0 0
-
- If you are dual-booting with Windows:
emerge os-prober
- Add GRUB_DISABLE_OS_PROBER=false to /etc/default/grub
-
grub-mkconfig -o /boot/grub/grub.cfg
-
passwd
(Sets root password) -
useradd -m -G users,wheel,audio,plugdev -s /bin/bash (username) (If you get an error about a mailbox file, ignore it.)
-
passwd (username)
-
cpuid2cpuflags >> /etc/portage/make.conf (MAKE SURE THIS IS A DOUBLE BRACKET!)
nano /etc/portage/make.conf
and edit the CPU_FLAGS_X86 line so it looks similar to this:CPU_FLAGS_X86="mmx sse sse2"
-
emerge -auDN --keep-going --with-bdeps=y --backtrack=250 @system @world
This recompiles any packages that use CPU-specific flags. Also note that while it’s tempting to skip this step and boot into your system, this world update helps make sure your system is updated and working correctly on first boot. If you encounter Portage errors such as conflicts and blocks and can’t scroll up, it’s fine to reboot into your new system and try it again there. -
Shutdown, remove the USB thumb drive, and boot up.
- On your first login, you will need to change the session to Xfce using the login manager menu in the upper right corner.
If you are dual-booting with Windows 11, and you notice GRUB doesn’t even show, you may need to start Windows, open a command line as administrator and run:
bcdedit /set {bootmgr} path \EFI\Boot\bootx64.efi
Before setting this in Windows, double-check this path by booting up with System Rescue CD and mounting the boot partition somewhere.
You should now have a working decibel Linux workstation.
Notes:
- Do NOT update /etc/security/limits.conf. Those settings are there for a reason.
- If you dual-boot with Windows and need to re-install Windows, you will need to chroot into Gentoo Studio, re-install grub and run grub-mkconfig again. Windows installs its own bootloader and you will need to blow it away with Grub.
Links
More from decibel Linux
References
-
Recent Posts
Recent Comments
- audiodef on Development Continues
- Peter on Development Continues
- audiodef on Development Continues
- gentoo noob on Development Continues
- Stefan on Development Continues
Archives