HOW TO INSTALL exGENT version 170209 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. Use GParted (installed in exGENT) and create two partitions. One install partition of at least 10 GB (filesystem ext3) and one 
SWAP partition of about 2 GB. Watch this screenshot.
2.
You need to install exGENT on an ext3 partition. You must ensure that the current USB stick is formatted once again before you start the installation. Run the command mke2fs -L / -I 128 -F -j -O dir_index /dev/sdXX
NOTE: You must use this command when formatting. Your Grub Legacy installation won't work otherwise.
3. Before you can format, you must unmount the current install partition (the USB stick). This is done with the command umount /dev/sdXX. ("X" must of course be replaced by the letter and number of your current partition, e.g. /dev/sdb1 or...).
 
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).
2. Boot up the computer from the exGENT DVD and open up a terminal as root.
3. Run the command umount /dev/sdb1 (if mounted)
4. Run the command mke2fs -L / -I 128 -F -j -O dir_index /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-
4.9.8-gentoo-exton root=UUID=a0e9717b-5649-4f9f-80c1-4a03de27bcf7
initrd /boot/initramfs-genkernel-x86_64-
4.9.8-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/portage/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. You can also (if you like) use Porthole Package Manager (after a hard drive/USB pen drive install). Porthole is preinstalled in exGENT version 170209. Porthole is a front-end for Portage, the Gentoo Package management system. It allows you to browse through available software packages and install them easy as pie.

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!

NOTE ALSO
This is the only way to install exGENT to a USB stick. I.e. you can't use Rufus in Windows or the dd-command in Linux. exGENT ISO is not a isohybrid.

Good luck!

exton /170209


EXTON Logo