From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 30C00138523 for ; Thu, 17 Jan 2013 23:08:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F6BA21C04D; Thu, 17 Jan 2013 23:08:22 +0000 (UTC) Received: from mail-vc0-f196.google.com (mail-vc0-f196.google.com [209.85.220.196]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47DB021C001 for ; Thu, 17 Jan 2013 23:08:21 +0000 (UTC) Received: by mail-vc0-f196.google.com with SMTP id n10so752317vcn.11 for ; Thu, 17 Jan 2013 15:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=wxC1sO0RugML9Ce+4XH/iDmVrmreZl+WJONpyPW1dGw=; b=XUaMnz79rGOLPoYRcF4qxZQUfvicMMzf769WVBV6zkZKun0hfBqbkkv1v5p4B9WWZN BRDva17j8kojXBFl1vlLuk1Hml/BqgAyJzt8VVySudZEMpGoL2W/KVrtWOe1O0ofGJZr xu5ywqZ5EXy6EwHXK39t5AHRTKlLZSu7MQOSpaENIQyKD8BF3B044/m7jNYBKhry4AKY ZUvRsaDsfHiGDxJjCfzealMwuEKfJ32tjM5REsnZOhGeHmYExUCm8vcuhR7IlgVU7PYJ G3ksF24wm4k0MlkxraDWSMoGFS1iJML3grGn533xnpAYNtl1LQJg+9Dqe9cEPRIsTonE L9mg== X-Received: by 10.220.240.11 with SMTP id ky11mr7416028vcb.11.1358464100440; Thu, 17 Jan 2013 15:08:20 -0800 (PST) Received: from localhost (ool-18b95665.dyn.optonline.net. [24.185.86.101]) by mx.google.com with ESMTPS id fb16sm1563728veb.9.2013.01.17.15.08.18 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 17 Jan 2013 15:08:19 -0800 (PST) Date: Thu, 17 Jan 2013 18:08:17 -0500 From: Daniel Meltzer To: gentoo-doc@lists.gentoo.org Subject: Re: [gentoo-doc] [PATCH 1/3] Bring gentoo-x86-quickinstall in line with many of the changes that have been made to the official handbook. Message-ID: <20130117230817.GA18701@Positve> Mail-Followup-To: Daniel Meltzer , gentoo-doc@lists.gentoo.org References: <1358399053-8527-1-git-send-email-dmeltzer.gentoo@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-doc@lists.gentoo.org Reply-to: gentoo-doc@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 419ff6f5-ff42-48dc-80bd-9dc64482a10b X-Archives-Hash: 00e88a79fa7e844de2ea0ff5ffa1292a --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 17, 2013 at 08:46:45AM +0100, Sven Vermeulen wrote: > Using ext4 as default for / is, while I agree, discussed a few days ago on > the -dev ml iirc and discarded. Oops! It appears you are correct. For some reason I remembered the handbook suggesting to use ext4, but I must have imagined it. Attached is a new version of the patch that just adds ext4 to the list of suggested file systems, but keeps ext3 as the default. --SLDf9lqlvOQaIe6s Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Bring-gentoo-x86-quickinstall-in-line-with-many-of-t.patch" >From 934de9b6a074ebec1a547ff04ef640be439ddc1e Mon Sep 17 00:00:00 2001 Message-Id: <934de9b6a074ebec1a547ff04ef640be439ddc1e.1358463447.git.dmeltzer.gentoo@gmail.com> From: Daniel Meltzer Date: Wed, 16 Jan 2013 19:36:01 -0500 Subject: [PATCH 1/2] Bring gentoo-x86-quickinstall in line with many of the changes that have been made to the official handbook. It would probably make sense down the line to turn this into a 64 bit quickinstall guide, as that's rapidly becoming the common denominator for new users. This commit makes the following changes: * Suggest using emerge-webrsync instead of downloading a portage snapshot and unpacking. * Recommend mounting /sys for grub2 and other bootloader users. * Remove the unnecessary env-update after entering chroot. * Add ext4 to filesystems. We can probably remove jfs and reiserfs from this list to keep it less overwhelming, but thats a debate for another day. * Additional net interfaces should be symlinked to net.lo, not net.eth0, as net.eth0 is itself a symlink to net.lo --- .../doc/en/gentoo-x86-quickinstall-stage.xml | 50 ++++++++-------------- .../doc/en/gentoo-x86-quickinstall-system.xml | 6 +-- xml/htdocs/doc/en/gentoo-x86-quickinstall.xml | 16 +++---- 3 files changed, 28 insertions(+), 44 deletions(-) diff --git a/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml b/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml index dd48c41..a73e214 100644 --- a/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml +++ b/xml/htdocs/doc/en/gentoo-x86-quickinstall-stage.xml @@ -4,8 +4,8 @@ -14 -2012-02-29 +15 +2013-01-16
Setting Up The Stage @@ -54,31 +54,6 @@ user 1m2.920s sys 0m7.530s -

-Install the latest Portage snapshot. Proceed as for the stage3 archive: choose -a nearby mirror from our list, download -the latest snapshot and unpack it. -

- -
-livecd gentoo # cd /mnt/gentoo/usr
-livecd usr # links http://www.gentoo.org/main/en/mirrors.xml
-(Pick a mirror, move to the snapshots/ directory,
-highlight portage-latest.tar.bz2 and press D to download it)
-
-(Or download it directly with wget without choosing a nearby mirror)
-livecd gentoo # cd /mnt/gentoo/usr
-livecd usr # wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
-
- -
-livecd usr # time tar xjf portage-lat*
-
-real  0m40.523s
-user  0m28.280s
-sys   0m8.240s
-
-
@@ -86,19 +61,28 @@ sys 0m8.240s

-Mount the /proc & /dev file systems, copy over -the /etc/resolv.conf file, then chroot into your Gentoo -environment. +Mount the /proc, /dev, and /sys file +systems, copy over the /etc/resolv.conf file, then chroot into +your Gentoo environment.

 livecd usr # cd /
 livecd / # mount -t proc proc /mnt/gentoo/proc
 livecd / # mount --rbind /dev /mnt/gentoo/dev
-livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/
+livecd / # mount --rbind /sys /mnt/gentoo/sys
+livecd / # cp -L /etc/resolv.conf /mnt/gentoo/etc/ 
 livecd / # chroot /mnt/gentoo /bin/bash
-livecd / # env-update && source /etc/profile
->>> Regenerating /etc/ld.so.cache...
+livecd / # source /etc/profile
+
+ +

+Fetch the latest portage snapshot from the mirrors using emerge-webrsync. +

+ +
+livecd / # mkdir /usr/portage
+livecd / # emerge-webrsync
 
diff --git a/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml b/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml index b4b7e45..c5b47ac 100644 --- a/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml +++ b/xml/htdocs/doc/en/gentoo-x86-quickinstall-system.xml @@ -4,8 +4,8 @@ -7 -2012-03-31 +8 +2013-01-16
Configure the system @@ -58,7 +58,7 @@ livecd etc # nano -w fstab

Configure your network in /etc/conf.d/net. Add the net.eth0 init script to the default run level. If you have multiple NICs, symlink them -to the net.eth0 init script and add them to the default run level as +to the net.lo init script and add them to the default run level as well. Don't forget to set your hostname too. Either edit /etc/conf.d/net and /etc/conf.d/hostname with nano or use the following commands: diff --git a/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml b/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml index 06200d0..7527ad5 100644 --- a/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml +++ b/xml/htdocs/doc/en/gentoo-x86-quickinstall.xml @@ -29,8 +29,8 @@ want to follow this guide. -27 -2012-03-31 +28 +2013-01-16 Introduction @@ -112,17 +112,17 @@ Units = cylinders of 16065 * 512 = 8225280 bytes

-Use mke2fs, mke2fs -j, mkreiserfs, mkfs.xfs and -mkfs.jfs to create file systems on your Linux partitions. Initialize your -swap partition using mkswap and swapon. +Use mkfs.ext2, mkfs.ext3, mkfs.ext4, mkreiserfs, +mkfs.xfs and mkfs.jfs to create file systems on your Linux +partitions. Initialize your swap partition using mkswap and swapon.

 (ext2 is all you need on the /boot partition)
-livecd ~ # mke2fs /dev/sda1
+livecd ~ # mkfs.ext2 /dev/sda1
 
 (Let's use ext3 on the main partition)
-livecd ~ # mke2fs -j /dev/sda3
+livecd ~ # mkfs.ext3 /dev/sda3
 
 (Create and activate swap)
 livecd ~ # mkswap /dev/sda2 && swapon /dev/sda2
@@ -204,7 +204,7 @@ Exit the chrooted environment, unmount all file systems and reboot:
 
 livecd conf.d # exit
 livecd / # umount -l /mnt/gentoo/dev{/shm,/pts,}
-livecd / # umount -l /mnt/gentoo{/proc,/boot,}
+livecd / # umount -l /mnt/gentoo{/proc,/boot,/sys,}
 livecd / # reboot
 (Don't forget to remove the CD)
 
-- 1.7.12.4 --SLDf9lqlvOQaIe6s--