User talk:Apfritts

From Gentoo Wiki
Jump to: navigation, search

Large text files

Hi Apfritts,

I'm glad you're contributing here on the Wiki! I noticed you recently created an article here in your userspace with a kernel .config file. The Wiki is not really supposed to be used to display large text files such as kernel .config files. Try to use a hosting site such as GitHub or BitBucket to host the data and then provide a link to the data here on the Wiki.

Let me know if I can help or if you have any questions! --Maffblaster (talk) 17:16, 20 August 2015 (UTC)

Gentoo on AWS article

Installation in the Cloud

Overview

Bootstrap in the Cloud

Installing the Gentoo base system / Timezone

UTC

Installing the Gentoo base system / Configure locales

After regenerating your locales, update your `/var/lib/portage/world` file to include:

Required Packages
  • app-portage/gentoolkit
  • net-misc/dhcpcd
  • net-misc/ntp
  • sys-boot/grub-static
  • sys-kernel/gentoo-sources
Optional Packages
  • app-admin/sudo
  • app-admin/syslog-ng
  • app-misc/screen
Are these necessary? Packages
  • app-arch/unzip
  • dev-vcs/git
  • net-misc/curl
  • sys-process/atop

Confguring the system / Creating the fstab

For your root partition:

/dev/xvda1   /   ext4   noatime   0 1

Configuring the system / Networking information

Configure eth0 for DHCP as the guide explains. Make sure you turn on networking at boot!

Installing system tools / Optional: Remote access

This isn't optional! You need to be able to access your system ;)

Configuring the bootloader

Ignore this page and follow these steps instead:

  1. emerge grub-static
  2. Install grub from the HOST system with:
  grub-install --root-directory=/mnt/gentoo/boot /dev/xvdb
  1. chroot back into your system
  2. Modify your /boot/grub/grub.conf file:
  default 0
  timeout 1
  title EC2
  root (hd0)
  kernel /boot/bzImage root=/dev/xvda1 rootfstype=ext4
  1. Done!