# installing_kxstudio [LinuxMusicians Wiki]
Keywords: installing_kxstudio
Date: 2013-05-12T09:50:03-0400

[[installing_kxstudio]]
LinuxMusicians Wiki

# Installing KXStudio

There are a few important considerations you must be aware of before installing KXStudio. These include knowing what type of machine you are installing on, how its disks are to be arranged and whether or not you plan to boot any additional operating systems alongside KXStudio.

REMEMBER TO ALWAYS BACK UP all important files before you start modifying partitions or trying to install new operating systems!

## Partitioning options

Whether you are installing onto a UEFI or BIOS-based machine you will have the least trouble getting KXStudio to boot if you are able to let the KXstudio installer use your entire hard drive and automatically create the partitions for you. In any case, make sure that important files on the machine are backed up before installation in case you make a mistake during partitioning! It will also help to know if your machine is UEFI or not before you start installing.

If you want to install KXStudio onto the same drive as an existing installation of Windows read this guide on how to resize your Windows drive.

## UEFI, Windows 8 and SecureBoot

Many computers purchased since late 2011 use a technology called UEFI in place of the traditional BIOS to control and configure booting of operating systems. Due to UEFI being a new technology, GNU/Linux support is not yet as reliable as it is for older BIOS-based machines. In particular, Ubuntu and KXStudio cannot currently be dual-booted with Windows 8 with SecureBoot enabled without in-depth knowledge far beyond the scope of this guide. If you are hoping to dual boot Windows 8 with GNU/Linux you should look into disabling SecureBoot mode in your UEFI configuration.

## Multi-booting with UEFI

Those wishing to multi-boot Windows, OSX or other operating systems with KXStudio on a UEFI machine are recommended to obtain a copy of Linux Secure Remix before you attempt installing KXStudio. If, after installing KXStudio on the same UEFI machine as Windows or OSX and rebooting, you don't see a boot menu offering a choice of operating systems you should boot Linux Secure Remix and run the Boot-Repair tool which fixes most GRUB/UEFI boot configuration issues and should get your machine multi-booting properly. This tool may be included on future KXStudio DVD releases.

The Boot-Repair process is documented here. If Boot-Repair doesn't cure your UEFI booting woes it would be worth trying rEFIt or gummiboot./

## Advanced partitioning options

By default, the main GNU/Linux system (root) uses the same partition as your user files (home). For various reasons, such as for ease of later system updates, you may want separate partitions. While ideal, this step is optional and can be skipped if you are uncomfortable with the details or want to save time.

To customize your partitions, run “GParted” from the KXStudio live session before running the KXStudio installer.

1. First, resize existing systems that you want to keep, if you have any
2. Create a new “extended” partition in the empty space
3. Within the extended partition, make a logical partition for your root (/) of at least 15GB and formatted as ext4. This will contain the OS and apps.
4. Also within the extended partition, make a small partition for swap (virtual RAM) that is at least as large as your physical RAM size and put it at the end of the drive
5. Again within the extended partition, create a logical ext4 partition for home (/home) for all your user files and preferences. Use all the remaining space or consider making a separate partition for media files

- If your drive is large enough, you may keep extra space free to later create partitions for additional GNU/Linux systems on the same machine
- To read more about partitioning, such as how to format to share files between Linux and Windows or Mac, see https://help.ubuntu.com/community/DiskSpace

## Running the installer

The KXStudio Live DVD is based upon Ubuntu 12.04 and uses the same installation tool so you can reference the official Ubuntu Install guide. The only real difference is in step 7 as you will need to click the 'Install KXStudio' icon on the desktop instead of clicking 'Install Ubuntu' when you are ready to run the installer.

Contrary to what the Ubuntu installer seems to recommend with its network check, it is recommended that you disconnect from the internet before and whilst you install KXStudio so that updates are not fetched and the process is completed as quickly as possible. After a successful install and reboot you will be prompted to install any available updates.

If you did the advanced partitioning to separate your root and home, choose “manual” for partitioning in the installer. Mark to use your intended root partition as / and your intended home partition as /home, keeping the ext4 format for both.

## KXStudio Welcome Setup

After installing and booting KXStudio for the first time, you will see the KXStudio Welcome screen. The design and options for this are being updated for the upcoming 12.04.2 release. This manual will include links or information to help guide your choices once the form of the welcome program is set. Until then you are safe to just accept its defaults if you are unsure what its options mean.

## Multi-boot issues on BIOS-based machines

Sometimes the installer fails to detect the operating systems and/or add the correct options to the GRUB boot menu ie no option to boot into Windows. To fix a boot menu on BIOS-based machines, it is usually sufficient to run:

    sudo update-grub
    sudo grub-install /dev/sda

Type those commands into a terminal after booting into KXStudio and then reboot to check the new updated GRUB config. These commands make GRUB scan for other installed OSes, update its configuration and then write its updated configuration to the first HD which is /dev/sda.

SuperGrubDisk2 is very useful for fixing GRUB boot issues as it allows for booting Linux partitions on UEFI machines as well as legacy BIOS machines even when GRUB is missing or incorrectly configured.

Another useful tool to ease GRUB2 configuration is GRUB Customizer.

## SSD optimization

The KXStudio installer does not tweak the configuration of Solid State Drives for optimal performance. Follow this guide to optimize the performance of your SSD drives.

installing_kxstudio.txt · Last modified: 2013/05/12 09:50 by danboid