Oh, now you say: "Hey, Hey. guy. you wrong choose forum".
I know. This is a commercial move.
I hope the gates of hell will not open and an admin will not delete my account! ===
=== I apologize in advance. ===
I designed in a convenient form to write to a text file that you could comfortably carry on USB Flash.
* All packages are going with Linux.
I know. This is a commercial move.
Gentoo-user search gentoo howto-install, and finds this forum. He sees that to install FreeBSD as much fun as the Gentoo Linux.
* If you do not believe this is an example let look.
Maybe He will stay on FreeBSD.
* One gentoo-user less then - the day is lived not in vain.
I hope the gates of hell will not open and an admin will not delete my account! ===
=== I apologize in advance. ===
I designed in a convenient form to write to a text file that you could comfortably carry on USB Flash.
* All packages are going with Linux.
Code:
Installing GNU/Linux Gentoo
(H O W T O)
Ukraine
30.10.2011
Doorways
------------------------------------------------------------------------------
Installing and configuring Grub4Dos.
------------------------------------------------------------------------------
A. Receiving the packet Grb4Dos.
You need download the Grub4Dos. Download last official release.
url (en): http://www.themudcrab.com/acronis_grub4dos.php
url (ru): http://www.greenflash.su/Grub4Dos/files/links.htm
Unix way.
~~~~~~~~~
$ mkdir -p ~/grub4dos
$ cd ~/grub4dos
$ wget "http://www.themudcrab.com/downloads/
grub4dos-0.4.4-2009-03-31_(official_release).zip"
$ ls
grub4dos-0.4.4-2009-03-31_(official_release).zip
* If you use Linux:
$ unzip "grub4dos-0.4.4-2009-03-31_(official_release).zip"
* If you use FreeBSD:
$ unzip x "grub4dos-0.4.4-2009-03-31_(official_release).zip"
$ ls
grub4dos-0.4.4 grub4dos-0.4.4-2009-03-31_(official_release).zip
Windows way.
~~~~~~~~~~~~
Grb4Dos has *.exe installer for Windows.
Unzip archive and install Grub4Dos. But first read documentations:
url (en): http://www.themudcrab.com/acronis_grub4dos.php
url (ru): http://greenflash.su/Grub4Dos/files/install.htm
* You can follow the "unix way", correcting action regarding your
operating system.
B. Preparation USB Flash carrier.
You have to format the USB flash drive to the file system FAT32.
Unix way.
~~~~~~~~~
* If you use Linux:
# dmesg | tail
*** Know the name of the device. This is probably a /dev/sdb device.
# umount /dev/sdb
# mkfs.vfat /dev/sdb1 -n 'gentoo'
* If you use FreeBSD:
# ls /dev/
*** Know the name of the device. This is probably a /dev/da0 device.
# dd if=/dev/zero of=/dev/da0s1 bs=512 count=1
# newfs_msdos /dev/da0s1
Windows way.
~~~~~~~~~~~~
Run terminal, and format USB Flash device.
# format h:
*** Device 'h' - it is your device.
C. Install Grub4Dos.
Mount your USB Flash device. For simplicity, we assume that (unix), our
unit is installed in: /mnt/flash, (windows) in H:\.
Unix way.
~~~~~~~~~
$ cd ~/grub4dos/grub4dos-0.4.4/
$ cp grldr menu.lst defualt /mnt/flash/
Windows way.
~~~~~~~~~~~~
Read instruction:
url (en): http://www.themudcrab.com/acronis_grub4dos.php
url (ru): http://greenflash.su/Grub4Dos/files/install.htm
* Unzip the archive and copy the files: grldr, menu.lst, defualt on
your USB Flash device.
Rewrite /mnt/flash/menu.lst file to this kind of:
--------------------------------------------------------------------
color white/black yellow/blue white/black white/black
timeout 10
default /default
title GNU/Linux Gentoo i386.
fallback 1
map /main/install-x86-minimal-20111025.iso (hd32)
map --hook
root (hd32)
chainloader
boot
title Reboot your computer.
fallback 2
reboot
------------------------------------------------------------------------------
Preparation USB Flash device.
------------------------------------------------------------------------------
Even earlier, we will install the boot loader Grb4Dos. Prepare the layout
of USB Flash device:
A. Create a structure of directories and subdirectories.
Unix way.
~~~~~~~~~
$ mkdir -p /mnt/flash/main
$ mkdir -p /mnt/flash/gentoo
$ mkdir -p /mnt/flash/gentoo/backup
------------------------------------------------------------------------------
Getting Gentoo files.
------------------------------------------------------------------------------
For Ukraine and Russia have the following mirrors:
Ukraine:
ftp://gentoo.kiev.ua/
http://gentoo.kiev.ua/ftp/
rsync://rsync.europe.gentoo.org/gentoo-portage
Russia:
ftp://mirror.yandex.ru/gentoo-distfiles/
http://mirror.yandex.ru/gentoo-distfiles/
rsync://rsync.europe.gentoo.org/gentoo-portage
The author of the Ukraine, because will be used:
url: ftp://gentoo.kiev.ua/
A. Download minimal GNU/Gentoo Linux.
$ cd /mnt/flash/main/
*** Look at the last version LiveCd available mirror:
... > releases/x86/current-iso/
*** Now available: install-x86-minimal-20111025.iso ~ 121 Mb.
$ wget "ftp://gentoo.kiev.ua/releases/x86/current-iso/
install-x86-minimal-20111025.iso"
B. Download Gentoo install files.
$ cd /mnt/flash/gentoo/
*** The latest version "stage3" download from here:
... > releases/x86/current-iso/
*** Now available: stage3-i686-20111025.tar.bz2
*** The latest version "portage"
... > snapshots/current/
*** Download portage-latest.tar.bz2 version.
$ wget "ftp://gentoo.kiev.ua/releases/x86/current-iso/
stage3-i686-20111025.tar.bz2"
$ wget "ftp://gentoo.kiev.ua/releases/snapshots/current/
portage-latest.tar.bz2"
------------------------------------------------------------------------------
The first launch.
------------------------------------------------------------------------------
Configure your computer (BIOS) to boot from a USB Flash device.
Connect your USB Flash device and booted.
A. Select menu "GNU/Linux Gentoo i686".
...
Enter to boot; F1 for kernels F2 for options.
boot:
Click F1 button, we have:
1. Kernel: gentoo
Desc..: The 2.6 kernel with multiprocessor support (used by default).
2. Kernel: gentoo-nofb
Desc..: Same as gentoo, but without the support of the frame buffer.
3. Kernel: memtest86
Desc..: to identify errors of local memory.
B. Run LiveCd GNU/Linux Gentoo.
Enter next command.
boot: gentoo cdroot=/dev/loop0 debug
* Will start the debug shell (ash), now you need mount your USB Flash,
and send /dev/loop0 on mnt/flash/main/install-x86-minimal-20111025.iso
C. Run system.
# mkdir -p /mnt/flash
# mount /dev/sdb1 /mnt/flash
# losetup /dev/loop0 /mnt/flash/main/install-x86-minimal-20111025.iso
Now click Ctrl+d buttons, and run boot main system.
D. Preliminary checks.
livecd # mkdir -p /mnt/flash
livecd # mount /dev/sdb1 /mnt/flash
livecd # ls /mnt/flash/gentoo/
portage-latest.tar.bz2 stage3-i686-20111035.tar.bz2
If you see these files - all is well.