Install USB

HOW TO INSTALL exGENT version 170309 TO A USB PEN DRIVE – 3 ways to do it – see below A) – C)

A) USB drive installation of exGENT 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 14 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 14 GB and a swap space of about 2000 MB.
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 Grub2 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/grub.cfg)
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 2 and 3 – see below (hd0,msdos0).

######################
menuentry ‘exGENT (sdb1 USB) 170303’ {
linux (hd0,msdos0)/boot/
kernel-genkernel-x86_64-4.9.12-aufs-gentoo-exton root=UUID=a0e9717b-5649-4f9f-  80c1-4a03de27bcf7 rw
init=/usr/lib/systemd/systemd
initrd (hd0,msdos0)/boot/initramfs-genkernel-x86_64-4.9.12-aufs-gentoo-exton
}
######################

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

B) Installation in Linux using the dd command
Example: dd bs=4M if=exgent-64bit-xfce4-2670mb-170309.iso of=/dev/sdX && sync

Note: Replace X in the above example command with b, c or… Check it carefully!

C) Installation in Windows
You can use Etcher and Rufus in Windows. Watch a screenshot when Etcher is running. Such installations were impossible before version 170309.

To do after a USB drive install of exGENT when method A) is used

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 170303. 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 (method A) 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
In versions before this one (170309) the file system wasn’t writable when running exGENT live (from DVD). Now you can emerge (install) new programs/packages even while running the system from a DVD or USB stick (even when install method B or C is used). If you do that and later decide to install exGENT to hard drive all your changes will follow!

Good luck!

exton /170309


EXTON Logo

 

Gentoo Linux Live