Commit graph

31 commits

Author SHA1 Message Date
Eelco Dolstra
f4dc05da97 * /var/run: create earlier.
svn path=/nixu/trunk/; revision=7118
2006-11-24 15:31:20 +00:00
Eelco Dolstra
bb0a2b0d78 * In stage 1, fsck the root device before mounting it. If automatic
repair fails, drop the user into an emergency shell.

svn path=/nixu/trunk/; revision=7117
2006-11-24 12:13:11 +00:00
Eelco Dolstra
f0695e9fcd * Clear utmp.
svn path=/nixu/trunk/; revision=7115
2006-11-24 10:50:49 +00:00
Eelco Dolstra
9d171e0327 * Unnecessary message.
svn path=/nixu/trunk/; revision=7110
2006-11-24 00:25:44 +00:00
Eelco Dolstra
02f31e7e85 * Doh.
svn path=/nixu/trunk/; revision=7109
2006-11-24 00:24:08 +00:00
Eelco Dolstra
23d2f02841 * Debug support / quasi-single user mode.
svn path=/nixu/trunk/; revision=7108
2006-11-24 00:18:14 +00:00
Eelco Dolstra
84b1cafe4b * Fill in /etc/mtab with something sensible.
svn path=/nixu/trunk/; revision=7104
2006-11-23 22:58:25 +00:00
Eelco Dolstra
498bb32c82 * Doh.
svn path=/nixu/trunk/; revision=7101
2006-11-23 22:52:15 +00:00
Eelco Dolstra
bd62a8273e * Quick hack to allow localhost to be looked up (NIXOS-41).
svn path=/nixu/trunk/; revision=7100
2006-11-23 22:16:59 +00:00
Eelco Dolstra
0db7e06e7f * Oops.
svn path=/nixu/trunk/; revision=7098
2006-11-23 17:51:03 +00:00
Eelco Dolstra
5e8d54eef7 * Remove /etc/mtab on boot.
* Start an emergency shell if we can't remount / read-writable.

svn path=/nixu/trunk/; revision=7097
2006-11-23 17:46:55 +00:00
Eelco Dolstra
e6ebe2e2aa * Add an Upstart job for sshd. The start script automatically creates
an sshd user, a host key, etc.

svn path=/nixu/trunk/; revision=7096
2006-11-23 17:43:28 +00:00
Eelco Dolstra
a0821fbd49 * /dev should always be a ramdisk.
svn path=/nixu/trunk/; revision=7095
2006-11-23 17:32:09 +00:00
Eelco Dolstra
c8c62dba0b * Remove /etc/mtab.
svn path=/nixu/trunk/; revision=7094
2006-11-23 17:27:43 +00:00
Eelco Dolstra
183ed7a5ea * Create a symlink to /nix/var/nix/profiles from
/nix/var/nix/gcroots/, otherwise garbage collection will end
  tragically.

svn path=/nixu/trunk/; revision=7093
2006-11-23 16:46:23 +00:00
Eelco Dolstra
e6d2d50779 * Bring in /etc/profile.local.
svn path=/nixu/trunk/; revision=7092
2006-11-23 16:00:23 +00:00
Eelco Dolstra
7bba427e93 * Put the PCI module probing in an Upstart task. We now have
more-or-less "asynchronous" booting: the login prompt appears almost
  immediately, before the hardware and the network are started.

svn path=/nixu/trunk/; revision=7082
2006-11-20 17:28:08 +00:00
Eelco Dolstra
962b1df3aa * Some more upstartification.
svn path=/nixu/trunk/; revision=7081
2006-11-20 17:06:44 +00:00
Eelco Dolstra
369b48eadf * Start dhclient as an Upstart job.
svn path=/nixu/trunk/; revision=7078
2006-11-19 22:05:49 +00:00
Eelco Dolstra
fb4ab4bc8e * Nixify the Upstart jobs.
svn path=/nixu/trunk/; revision=7075
2006-11-19 20:07:45 +00:00
Eelco Dolstra
d191615e96 * Use Upstart instead of sysvinit.
svn path=/nixu/trunk/; revision=7074
2006-11-19 18:16:29 +00:00
Eelco Dolstra
e1e386cba6 * Clear the inittab.
svn path=/nixu/trunk/; revision=7066
2006-11-17 16:29:31 +00:00
Eelco Dolstra
6ae45d46ed * Put Nixpkgs and the NixOS expressions on the installation CD (the
installer needs them).

svn path=/nixu/trunk/; revision=7065
2006-11-17 15:27:31 +00:00
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
67f3ee3b64 * Probe for the NixOS installation CD.
svn path=/nixu/trunk/; revision=6985
2006-11-10 14:38:15 +00:00
Eelco Dolstra
624fe3f2d4 * Automatically bring up the network devices and start dhclient on
them.

svn path=/nixu/trunk/; revision=6976
2006-11-07 22:45:42 +00:00
Eelco Dolstra
da8cec4795 * Use udevtrigger to create device nodes for all known devices.
* Plug and play: load kernel modules for all supported PCI devices
  automatically.

svn path=/nixu/trunk/; revision=6975
2006-11-07 22:05:27 +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
1cec62ba5d * Add additional packages to the path of the interactive shell started
at the end of stage 2.
* Stage 2: set MODULE_DIR to point at a full module tree.

svn path=/nixu/trunk/; revision=6954
2006-11-04 13:25:10 +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