From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-115183-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1P01or-0003ck-Rp
	for garchives@archives.gentoo.org; Mon, 27 Sep 2010 00:43:50 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C9381E0903;
	Mon, 27 Sep 2010 00:43:02 +0000 (UTC)
Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174])
	by pigeon.gentoo.org (Postfix) with ESMTP id AD353E0903
	for <gentoo-user@lists.gentoo.org>; Mon, 27 Sep 2010 00:43:02 +0000 (UTC)
Received: by qyk36 with SMTP id 36so4292058qyk.19
        for <gentoo-user@lists.gentoo.org>; Sun, 26 Sep 2010 17:43:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:received:in-reply-to
         :references:date:message-id:subject:from:to:content-type;
        bh=CEnX0wLe2/gYsTul98ckTVl3oKRjRg6J6Ctkictx9Hg=;
        b=l9yzPumMrW7da337WTEMafJgtYb4nQK8V4qZVDq8Ndx2Ua2zgHMxXaxRwZEkScdyLM
         cTk6AH0wpOuBkaQrY1rXq3ub3tp0JoZu8SJdytirVVK2lVBgbwUliuSaPC0DVOSGW4Cj
         rLDnh5K9UssdOTuVCygnsjr/f/3G3/YVBoNjo=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type;
        b=kEqDjlQoDUigWEoAYAz5eWCExizYsL9Gsl7qBKwmfvxTmZVtM9873PglO4yq0mg4z+
         msPz5rnAhkB/ufHEAYogi1dj+S/SxzekQ8j/HKmtZYqaV9iP+dBa/5+XT8ouR2J6fnlX
         TQmomEhectFgBKZyZnxzKS6t7hSIC8bz6C130=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.229.214.73 with SMTP id gz9mr5044075qcb.167.1285548182433;
 Sun, 26 Sep 2010 17:43:02 -0700 (PDT)
Received: by 10.229.187.207 with HTTP; Sun, 26 Sep 2010 17:43:02 -0700 (PDT)
In-Reply-To: <AANLkTim+QKf_a=Bvx64grQ=KaY5q=425Z26Gm8GJWXMh@mail.gmail.com>
References: <AANLkTim+QKf_a=Bvx64grQ=KaY5q=425Z26Gm8GJWXMh@mail.gmail.com>
Date: Mon, 27 Sep 2010 08:43:02 +0800
Message-ID: <AANLkTikG43rGAcOROrrsHUEApgNs7mkH0e6pWaiGy8F2@mail.gmail.com>
Subject: Re: [gentoo-user] Boot Gentoo - by hand - line-by-line - command-by-command?
From: Thomas Yao <t.yao426@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 5ab82c2e-bb2d-4b10-bcce-c0d6bd31d97c
X-Archives-Hash: 2ee75827865b2529cacea3f29648dd4f

You may try Linux From Scratch and try to write the init script
yourself, it's good for self-education

Once you master the LFS you can learn more things interesting and
amazing in gentoo

On 9/27/10, Mark Knecht <markknecht@gmail.com> wrote:
> Hi,
>    I'm curious if there's a way to capture the exact set of command
> that my machine executes as it boots up. I.e. - if I boot the machine,
> letting the boot loader find the kernel but then stopping at a bash
> prompt, before anything much has been done, I'd then like to know what
> set of commands I could use from that bash prompt to make the machine
> do whatever it does normally as it boots up.
>
>    Is that possible, and is it documented anywhere? Or instead of
> capturing commands maybe just a list of things that happen and the
> bash commands I'd use to execute them myself.
>
>    I think the init scripts, at least the ones I've found under
> runlevels, are more generic than I would like to run. I'm looking for
> something more like the portion of the install guide where we chroot
> into the new build, except executing that from the command line of a
> new machine that's booted. I.e.:
>
> mount /dev/hda4 /mnt/gentoo
> mount -t proc none /mnt/gentoo/proc
> mount -o bind /dev /mnt/gentoo/dev
>
> except modified to start from nothing and bring the machine up from
> scratch. Mount /proc, mount /dev, start udev, check root filesystem,
> etc.
>
>    This is totally for self-education and nothing else really. Just
> curious about how it happens, what order things happen, etc. If anyone
> can recommend a good _basic_ book that talks about this I'd appreciate
> it.
>
> Thanks,
> Mark
>
>


-- 
@ghosTM55
Mechanism, not policy