Commit graph

12 commits

Author SHA1 Message Date
Eelco Dolstra 49f8402876 * Boot into a fully functional stage 2.
* Stage 2 init: handle non-read-only roots.

svn path=/nixu/trunk/; revision=7014
2006-11-13 11:41:27 +00:00
Eelco Dolstra 0785dfb9f8 * Lots of refactoring; put the CD image generation in rescue-cd.nix.
Support booting from something other than a CD.  Add some parameters
  to specify the root device.

svn path=/nixu/trunk/; revision=7000
2006-11-12 18:48:47 +00:00
Eelco Dolstra 67f3ee3b64 * Probe for the NixOS installation CD.
svn path=/nixu/trunk/; revision=6985
2006-11-10 14:38:15 +00:00
Eelco Dolstra 8a43fcd57c * Stage 1: clean up better (unmount /proc and /sys, remount new root
to /).
* Stage 2: use sysvinit to create a bunch of mingetty's on virtual
  consoles 1-6.  Show a nice welcoming message.  Start syslogd and log
  everything to tty10.

svn path=/nixu/trunk/; revision=6963
2006-11-06 22:21:50 +00:00
Eelco Dolstra db08678bd4 * Create dummy mount points in the ISO image for /proc etc.
svn path=/nixu/trunk/; revision=6946
2006-11-04 00:18:22 +00:00
Eelco Dolstra 1691c66673 * Nix expression for stage 2.
* Start stage 2 from stage 1.

svn path=/nixu/trunk/; revision=6945
2006-11-04 00:01:13 +00:00
Eelco Dolstra a94dd5c8b1 * Given a kernel build (with modules in $kernel/lib/modules/VERSION),
`modules-closure.nix' produces a module tree in
  $out/lib/modules/VERSION that contains only the modules identified
  by `rootModules', plus their dependencies.  It also generates an
  appropriate modules.dep.  This is useful for initrds, as we
  obviously don't want a copy of the entire kernel module tree in the
  initial RAM disk.

svn path=/nixu/trunk/; revision=6939
2006-11-03 11:47:40 +00:00
Eelco Dolstra 6eb94a9bfd * Load some modules, mount the install CD.
svn path=/nixu/trunk/; revision=6936
2006-11-03 09:45:06 +00:00
Eelco Dolstra 23381ed03f * Add the module tools, util-linux and the kernel modules to the
initrd.  Of course, the next step is to only add the kernel modules
  that we're going to need.

svn path=/nixu/trunk/; revision=6934
2006-11-03 00:36:08 +00:00
Eelco Dolstra 707dd20538 * Make device nodes in the stage 1 init (copied from ../init.sh).
svn path=/nixu/trunk/; revision=6932
2006-11-02 23:58:06 +00:00
Eelco Dolstra ae4b6973bb * Oops.
svn path=/nixu/trunk/; revision=6930
2006-11-02 22:50:30 +00:00
Eelco Dolstra 2d31e1b6d6 * A minimal boot script for stage 1 of the boot (loading kernel
modules).  The closure of the boot script is all we need in the
  initrd.

svn path=/nixu/trunk/; revision=6929
2006-11-02 22:48:01 +00:00