HOW TO INSTALL exGENT version 140207 TO A USB PEN DRIVE

Notes on a USB drive installation of exGENT - this is done in the same way as a hard drive installation

1.
You need to install exGENT on an ext4 partition. You must ensure that the current USB stick is formatted before you start the installation. In a Linux system, run the command mkfs.ext4 /dev/sdbX. In a Linux system you can use GParted, wich is included in exGENT. (This is how it can look during such an operation). In Windows XP/Vista/7/8, you can create and format your partitions with for example PartitionMagic.
2. Before you can format, you must unmount the current install partition (the USB stick). This is done with the command umount /dev/sdbX. ("X" must of course be replaced by the number of your current partition, e.g. /dev/sdb1).
3. You should/must also create a SWAP space of about 1000 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 5 GB and a swap space of about 1000 MB or twice the size of your computer's RAM (if you have RAM of 1024 MB or less).
2. Boot up the computer from the exGENT DVD and open up a terminal as root. (You'll run exGENT as root)
3. Run the command umount /dev/sdb1 (if mounted)
4. Run the command mkfs.ext4 /dev/sdb1
5. Run the command cd /root/install
6. Run the command ./install.sh /dev/sdb1 /dev/sdb2 (IMPORTANT: The correct order of the installation partition and the SWAP partition)
7. Run the command ./install-boot.sh /dev/sdb1 /dev/sdb (Comment: This will install Grub on the USB stick (/dev/sdb1) and in MBR - /dev/sdb).
Done! See below how it looks when the above installation commands are executed.
INSTALL exGENT
Check Grub (/mnt/sdb1/boot/grub/menu.lst)
Before you restart your computer after a Grub install you should mount your USB stick and check that the install program got it right. Check especially line 3 - see below root (hd0,0). Remember that Grub Legacy counts from 0.

######################
# exGENT - Gentoo - (sdb1 USB)
title exGENT
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-3.13.1-gentoo-exton
root=UUID=a0e9717b-5649-4f9f-80c1-4a03de27bcf7
initrd /boot/initramfs-genkernel-x86_64-3.13.1-gentoo-exton
######################


NOTE: You'll find out the correct UUID with the command blkid /dev/sdb1

To do after a USB drive install of exGENT
First you should open up a terminal and run the command emerge --sync. After that you can install new packages (for example Libreoffice). Command emerge --ask libreoffice. That way you'll get to know dependencies and if you have to make any changes to the file /etc/make.conf before you can go on and install LibreOffice with emerge libreoffice. Please read about Gentoo's Portage (package manager) before you install any new packages.

Install new programs etc.
Such an installation to a USB stick means that you can do the same things as if exGENT were installed to hard drive. I mean change everything. (Install or remove software etc.). You can (of course) use exGENT on a USB stick on all "normal" computers. That way you'll be really portable!

Good luck!

exton /140207


BACK