1. Below are the steps to Install Gentoo:

    1. Enabling Developer Mode:
    To enter developer mode: Press and hold the Esc+F3 (Refresh) keys, then press the Power button simultaneously. This enters recovery mode. Now, press Ctrl+D (no prompt). It will ask you to confirm, then the system will revert its state and enable developer mode. Press Ctrl+D (or wait 30 seconds for the beep and boot) at the white boot splash screen to enter Chrome OS.

  2. 2. Enabling SeaBIOS:
    a. After changing to developer mode, configure Chrome OS so that you can log in.

    To enable the legacy bios:

     Open a crosh window with Ctrl+Alt+T.
     Open a bash shell with the shell command.
     Become superuser with sudo bash
     Enable legacy boot with:
              # crossystem dev_boot_usb=1 dev_boot_legacy=1
     Reboot the machine
    You can now start SeaBIOS by pressing Ctrl+L at the white boot splash screen.

    3. Create Bootable USB using USBWriter
    a. Plug the USB drive into the Chromebook, and start SeaBIOS with Ctrl+L at the white boot splash screen.
    b. Press Esc to get a boot menu and select the number corresponding to your USB drive

    4. Select Booting option press F1
               Boot with Gentoo

    5. Select Your Language
               Default 41 is US, press Enter

    6. Loading kernel modules
                # modprobe ath9k

    7. Set root password
                 # passwd

    8. Gentoo WiFi connection

    a. 
    Know what is your Wireless device name
                   # ls /sys/class/net
                   expl “eht0 wlp1s0”
    Create wpa.conf file in “/etc/wpa_supplicant/”
           # nano /etc/wpa_supplicant/wpa.conf

    i. Add in to file
    ctrl_interface=/var/run/wpa_supplicant
    ctrl_interface_group=0
    ap_scan=1
    network={         
    ssid=”WIFI_Name”
    psk=”WIFI_PASSWD”
    priority=5
    }
    ctrl+x <y> enter
        # ifconfig wlp1s0 up
        # iwlist wlp1s0 scan | grep “Wifi-SSID”
        # wpa_supplicant -Dwext -iwlp1so -c/etc/wpa_supplicant/wpa.conf
    Press Ctrl+4 to quit
       # ifconfig wlp1s0 up
    Check net connection
       # ping www.google.com

    https://lh5.googleusercontent.com/kGLwnrjudq4QC6zXMPkGZWvk4BxbD1jIKkUjCaPNx8H4-5Ro3r-63kxsqAMSWYM9_0kuMhcUnEA_b3qBz6FKVRyFJjBNQO1r0Z6GEQ_prFGEL5TaQU14CcNWrw




    9.Default partition scheme
        # fdisk /dev/sda

    a. Creating the BIOS boot partition <sda1>

    Command (m for help):
    n
    p   primary partition (1-4): p
    Partition number (1-4): 1
    First sector (64-10486533532, default 64): 2048
    Last sector, +sectors +size{M,K,G} : +2M
    Mark the partition for EFI purposes:
    Command (m for help): t
    Selected partition 1
    Hex code (type L to list codes): ef
    Changed system type of partition 1 to ef (EFI (FAT-12/16/32))

    b.
    Creating the boot partition <sda2>
    Command (m for help): n
    p   primary partition (1-4): p
    Partition number (2-4): 2
    First sector : (Hit enter)
    Last sector, +sectors +size{M,K,G} : +128M
    Command (m for help): a
    Selected partition 2
    Hex code (type L to list codes): p

    c. Creating the Swap Partition <sda3>
    Command (m for help): n
    p   primary partition (1-4): p
    Partition number (3-4): 3
    First sector : (Hit enter)
    Last sector, +sectors +size{M,K,G} : +512M
    Command (m for help): t
    Selected partition 3
    Hex code (type L to list codes): 82

    d. Creating the Root Partition <sda4>
    Command (m for help): n
    p   primary partition (1-4): p
    Partition number (4-4): 4
    First sector : (Hit enter)
    Last sector, +sectors +size{M,K,G} : (Hit enter)

    e. Partition listing after creating the root partition
    Command (m for help): p
    Device Boot    Start       End    Blocks   Id  System
    /dev/sda1             1         3      5198+  ef  EFI (FAT-12/16/32)
    /dev/sda2   *         3        14    105808+  83  Linux
    /dev/sda3            15        81    506520   82  Linux swap
    /dev/sda4            82      3876  28690200   83  Linux

    f. Saving the Partition Layout
    Command (m for help): w

    10.
    Applying a filesystem on a partition
    # mkfs.ext2 /dev/sda2
    # mkfs.ext4 /dev/sda4
    # mkswap /dev/sda3
    # swapon /dev/sda3

    11. 
    Mounting Partition
    # mount /dev/sda4 /mnt/gentoo
    # mkdir /mnt/gentoo/boot
    # mount /dev/sda2 /mnt/gentoo/boot

    12. 
    Using a Stage from the Internet: The next step you need to perform is to install the stage3 tarball onto your system. The command “uname -m” can be used to help you decide which stage file to download as it provides information on the architecture of your system.

    a. 
    Going to the Gentoo mountpoint
    # cd /mnt/gentoo

    # links http://www.gentoo.org/main/en/mirrors.xmlGentoo DownloadSelect Download Gentoo Stage

    Select x86: iso stagesGentoo Zip file download

    Select stage3-i686-20140128.tar.bz2.

    Select one and press D to download. When you're finished, press Q to quit the browser.

    Unpacking the stage
    # tar xvjpf stage3-*.tar.bz2

    13. 
    Configuring the Compile Options
    # nano -w /mnt/gentoo/etc/portage/make.conf
    Add text in to file
    USE="X dbus gtk gnome"

    14. Copy DNS Info
    # cp -L /etc/resolv.conf /mnt/gentoo/etc/

    15. 
    Mounting the necessary Filesystems
    a. Mounting /proc and /dev
    # mount -t proc proc /mnt/gentoo/proc
    # mount --rbind /sys /mnt/gentoo/sys
    # mount --rbind /dev /mnt/gentoo/dev

    16. 
    Entering the new Environment
    a. Chrooting into the new environment
    # chroot /mnt/gentoo /bin/bash
    # source /etc/profile
    # export PS1="(chroot) $PS1"

    17. Installing a Portage Snapshot
    a. # emerge-webrsync

    18.Choosing the Right Profile.
    # eselect profile list
    Available profile symlink targets:
     [1]   default/linux/x86/13.0 *
     [2]   default/linux/x86/13.0/desktop
     [3]   default/linux/x86/13.0/desktop/gnome 
     [4]   default/linux/x86/13.0/desktop/gnome/systemd
     [5]   default/linux/x86/13.0/desktop/kde
     [6]   default/linux/x86/13.0/desktop/kde/systemd
     [7]   default/linux/x86/13.0/developer
     [8]   default/linux/x86/
     [9]   default/linux/x86/selinux

    #
    eselect profile set 4

    19. Configuring the USE variable
    a.  Viewing available USE flags
    # less /usr/portage/profiles/use.desc
    (You can scroll using your arrow keys, exit by pressing 'q')
    # nano -w /etc/portage/make.conf
    Add USE="-qt4 -kde X dbus gtk gnome"

    20. Timezone
    # ls /usr/share/zoneinfo
    (Suppose you want to use Asia/Kolkata)
    # echo "Asia/Kolkata" > /etc/timezone
    # emerge --config sys-libs/timezone-data

    21. Configure locales
    # nano -w /etc/locale.gen
    i.   en_US.UTF-8 UTF-8 <remove #>
    # locale-gen

    22.Displaying the available LANG settings
    # eselect locale list
    Available targets for the LANG variable:
     [1] C
     [2] POSIX
     [3] en_US
     [4] en_US.iso88591
     [5] en_US.utf8
     [6] de_DE
     [7] de_DE.iso88591
     [8] de_DE.iso885915
     [9] de_DE.utf8
     [ ] (free form)

    #
    eselect locale set 3

    23.Reload shell environment
    # env-update && source /etc/profile

    24.  Installing a kernel source
    # emerge gentoo-sources

    25. Default: Manual Configuration
    # cd /usr/src/linux         
    # make menuconfig

    Processor type and features
       [  ] 64-bit kernel (uncheck)
       [*]Intel Low Power Subsystem Support
               Processor family
                            (x)Pentium-II/Celeron(pre-Coppermine)
       Device Drivers --->
       Generic Driver Options --->
    [*] Maintain a devtmpfs filesystem to mount at /dev
    [  ]   Automount devtmpfs at /dev, after the kernel mounted the rootfs
       Network Device Support--->
                            [*] Wireless LAN (NEW)--->
                                        [*] Atheros Wireless Cards --->
    <M>   Atheros 802.11n wireless cards support

    i.    Compiling the kernel
    # make && make modules_install
    ii.   Installing the kernel
    # cp arch/x86/boot/bzImage /boot/kernel-3.10.25-gentoo
    iii.   Viewing all available modules
    # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko' | less

    26. Creating /etc/fstab
    # nano -w /etc/fstab
    /dev/sda2   /boot        ext2    defaults,noatime     0 2
    /dev/sda3   none         swap    sw                   0 0
    /dev/sda4   /            ext4    noatime              0 1
    /dev/cdrom  /mnt/cdrom   auto    noauto,user          0 0

    27. Setting the host name
    # nano -w /etc/conf.d/hostname
    a.   hostname="ITWHOST" <edit your hostname>

    28. Installing a system logger
    # emerge syslog-ng
    # rc-update add syslog-ng default

    29. Installing dhcpcd
    # emerge dhcpcd

    30. Set root password
    # passwd

    31. Installing GRUB2
    # emerge sys-boot/grub
    # grub2-install /dev/sda
    # grub2-mkconfig -o /boot/grub/grub.cfg
    Generating grub.cfg ...
    Found linux image: /boot/kernel-3.3.8-gentoo
    Found initrd image: /boot/initramfs-genkernel-x86-3.3.8-gentoo
    done

    32. Install wpa_supplicant
    # emerge net-wireless/wpa_supplicant

    33. Rebooting your system: Exit the chrooted environment and unmount all mounted partitions. Then type in that one magical command you have been waiting for: reboot.
    # exit
    # umount -l /mnt/gentoo/dev{/shm,/pts,}
    # umount -l /mnt/gentoo{/boot,/proc,}
    # reboot



     Congratulations, you’ve Successfully installed Gentoo on your Acer C720 Chromebook..!!! Kudos..!!!

Words from our clients

 

Tell Us About Your Project

We’ve done lot’s of work, Let’s Check some from here