HOW TO INSTALL SlackEX TO HARD DISC
| Notes on a hard disc installation of SlackEX 1. You need to install SlackEX on an ext2, ext3 or 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.ext3 /dev /sdaX. You can also use GParted, which is installed in SlackEX. In Windows XP/Vista/7, you can create and format your partitions with for example PartitionMagic. 2. In SlackEX all of your hard disc 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. Then follow these steps: 1. So first create a Linux partition of about 6 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 SlackEX disc 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.ext3 /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 Grub Legacy 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. ![]() 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 SlackEX. ###################### title SlackEX Linux root (hd0, 5) kernel /boot/vmlinuz-3.3.5-exton root=/dev/sda6 vga=0x318 video=vesafb:mtrr,ywrap 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 'SlackEX Linux (sda6)' --class gnu-linux --class gnu --class os { recordfail 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.3.5-exton root=/dev/sda6 vga=0x318 video=vesafb:mtrr,ywrap } #################### Good luck! exton /120510 BACK |