HOW TO INSTALL EXTON|Defender TO HARD DISK

Notes on a hard disk installation of Exton|Defender
1. You need to install Exton|Defender on an ext4 partition. You must ensure that the current partition is created and formatted before you start the installation. In a Linux system, run the command mkfs.ext4 /dev /sdaX. You can also use GParted, wich is installed in Exton|Defender. In Windows XP/Vista/7/8.1, you can create and format your partitions with for example PartitionMagic.
2. In Exton|Defender all of your hard disk partitions are monted automatically when booting the system. Before you format, you must unmount the current partition. This is done with the command umount /dev/sdaX. ("X" must of course be replaced by the number of your current partition, e.g. /dev/sda6).
3. You must also create a SWAP space of about 2000 MB.

IMPORTANT: Be sure to unmount ALL partitions on your computer before you proceed.

Then follow these steps:
1. So first create a Linux partition of about 10 GB and a swap space of about 2000 MB or twice the size of your computer's RAM (if you have RAM of 1024 MB or less). If you use an existing Linux partition, you must make sure it is formatted before running the commands listed below. Hereinafter the Linux partition /dev/sda6 and SWAP partition /dev/sda8. (You must of course enter the correct name for your new or already existing Linux partition and SWAP partition).
2. Boot up the computer from the Exton|Defender USB stick and open up a terminal as root or become root with sudo su.
3. Run the command umount /dev/sda6
4. Run the command mkfs.ext4 /dev/sda6
5. Run the command cd /root/install
6. Run the command ./install.sh /dev/sda6 /dev/sda8 (IMPORTANT: The correct order of the installation partition and the SWAP partition)
7. If you do not already have a Linux system on your computer and want to use Grub2 as boot loader, you should eventually run the command ./install-boot.sh /dev/sda6 /dev/sda (Comment: This will install Grub on the install partition and in MBR - /dev/sda).
Done! See below how it looks when the above installation commands are executed.
INSTALL SlackEX

Check your Grub2 installation

Before you reboot your computer when the installation is ready you should check that Grub2 is configured correctly. I.e. mount your installation partition and check the file /boot/grub/grub.cfg.

No GRUB installation installation
If you already are using Grub Legacy as boot loader, add instead the following lines in GRUB (menu.lst) and restart your computer. I.e. edit /boot/grub/menu.lst on the Linux partition where you have installed GRUB Legacy in the past. This partition is mounted at /mnt in Exton|Defender. If not mount it!

######################
title Exton-Defender Linux
root (hd0, 5)
kernel /boot/vmlinuz-3.14.5-x86_64-exton root=/dev/sda6
boot
######################

Grub2
If you are using Grub2 (new GRUB) as boot loader, you should instead add the following lines in the file /etc/grub.d/40_custom and then run the command update-grub (in the system where you have installed Grub2).
######################
menuentry 'Exton-Defender (sda6)' --class gnu-linux --class gnu --class os {
        
Set gfxpayload=$linux_gfx_mode
        
insmod part_msdos
        
insmod ext2
        
Set root='(/dev/sda,msdos6)'
        
search --no-floppy --fs-uuid --set = root e22e68cd-4812-491a-8886-c319dc710116
        
linux / boot/vmlinuz-3.14.5-x86_64 root=/dev/sda6
}
######################

You must of course set the correct uuid for your install partition. Run blkid /dev/sdaX.

Problems with external hard drives
On one of my computers, I have an external hard drive connected. Exton|Defender 14.1 could not not run from dvd with this external the hard drive connected. While disconnected the Exton|Defender dvd worked as expected. Another "problem": My first internal hard drive, which typically will be labeled /dev/sda became known as /dev/sde. My second internal hard drive, which normally has the name /dev/sdb became known as /dev/sdf in Exton|Defender 14.1. Why I do not know. This is of importance if you plan to install Exton|Defender 14.1 to HDD. Make sure that you install on the correct partition!

Create Partition table
If you get error messages when the installation is ready it can be necessary to create a new partition table on the install partition before you start the installation. Use GParted for that. Menu >> Device >> Create Partition table. GParted is installed in Exton|Defender.

Configuring X
When you run Exton|Defender from USB X will be autoconfigured (unless you have a very unusual video card and/or other unusual hardware). After installing Exton|Defender to hard drive, you may have to configure X using the commands X -configure followed by mv /root/xorg.conf.new /etc/X11/xorg.conf and startx. On one of my computers with an ATI graphics card it did not help with the aforementioned commands. I was forced to use this somewhat odd configuration file (xorg.conf). Place it in /etc/X11 and then run the command startx. First log in as live or root with the password live respectively root.


Good luck!

exton /140607


BACK