Commit graph

125 commits

Author SHA1 Message Date
Michael Raskin b8cc335fbb Reformatted rescue-cd-configurable.nix
svn path=/nixos/trunk/; revision=10401
2008-01-30 09:42:48 +00:00
Eelco Dolstra 9fd5d70968 * The CD is now a true live CD: you can run Nix operations in it
thanks to unionfs.  For instance, nix-env and nixos-rebuild work.
  The tricky part was to build a Nix database (in the tmpfs/unionfs)
  which is now necessary to prevent store paths on the CD from being
  deleted right away because they otherwise wouldn't be valid.
  
* nixos-install: use the /etc/nixos/configuration.nix from the target
  file system (don't copy it anymore).  Since the user is supposed to
  mount the target file system on /mnt anyway, we may as well require
  that configuration.nix is placed in /mnt/etc/nixos.  This also makes
  upgrading / reinstalling much easier, since it will automatically
  use the right configuration.nix.

svn path=/nixos/trunk/; revision=10399
2008-01-30 01:28:56 +00:00
Michael Raskin 76a6498196 Catching up with rescue-cd.nix
svn path=/nixos/trunk/; revision=10391
2008-01-29 22:37:24 +00:00
Eelco Dolstra 2da50038e4 * Use aufs instead of unionfs, it seems to be more stable.
svn path=/nixos/trunk/; revision=10390
2008-01-29 18:53:15 +00:00
Eelco Dolstra 49e8829053 * Use unionfs to provide a real Live CD, i.e., the files on the CD
appear writable (though all writes go to a tmpfs).  This allows you
  to run Nix operations on the Live CD.  However, we're not quite
  there yet since the CD doesn't have a valid Nix database.  So for
  instance a garbage collect will cause everything to be deleted,
  hanging the system.

svn path=/nixos/trunk/; revision=10276
2008-01-24 16:56:09 +00:00
Michael Raskin 7fa31be440 Tried to do offline install CD, not DVD. Failure, but some parts could be useful.
svn path=/nixos/trunk/; revision=10248
2008-01-22 17:55:57 +00:00
Wouter den Breejen ca2b1e3b77 Added boot.kernelModules argument to rescue-cd
svn path=/nixos/trunk/; revision=10227
2008-01-19 13:47:49 +00:00
Michael Raskin 7749d93524 Added extraInitrdKernelModules option to CD
svn path=/nixos/trunk/; revision=10182
2008-01-16 21:56:31 +00:00
Eelco Dolstra 622734b58b * Generate /etc/ssh/ssh_config, set ForwardX11 and XAuthLocation.
svn path=/nixos/trunk/; revision=10177
2008-01-16 13:59:03 +00:00
Michael Raskin ec727d660a Corrections to make-iso9660-image.sh for bigger path lists.
svn path=/nixos/trunk/; revision=10156
2008-01-15 15:39:34 +00:00
Wouter den Breejen 18ed3e20d1 Added NVIDIA option to Live-dvd-X
svn path=/nixos/trunk/; revision=10137
2008-01-13 17:29:06 +00:00
Michael Raskin 4475a74fb8 LiveDVD with X and sources made.
svn path=/nixos/trunk/; revision=10119
2008-01-11 16:59:39 +00:00
Michael Raskin a11779f912 Gw6c now can be configured not to start automatically
svn path=/nixos/trunk/; revision=10116
2008-01-11 06:36:15 +00:00
Michael Raskin fb92b4666d Fixed some bugs in rescue-cd-configurable, fixed live-dvd. Tested: QEmu + kQemu + no networking installs OK
svn path=/nixos/trunk/; revision=10104
2008-01-09 14:33:41 +00:00
Michael Raskin df0879e105 Made small bootable (qemu-tested) CD with rescue-cd-configurable.nix ; strangely enough it includes stdenv though.
svn path=/nixos/trunk/; revision=10102
2008-01-09 08:51:25 +00:00
Michael Raskin db4cef85a3 Added configurable Rescue CD expression. Untested. Testing and fixes extremely welcome.
svn path=/nixos/trunk/; revision=10090
2008-01-07 18:33:07 +00:00
Michael Raskin 5a29acf6a0 Added module aggregation, also changed non-root shell prompt colour to green
svn path=/nixos/trunk/; revision=10084
2008-01-06 18:45:13 +00:00
Eelco Dolstra af75f317a4 * Compatibility hack for building the ISO on Nix <= 0.11.
svn path=/nixos/trunk/; revision=10080
2008-01-05 23:27:15 +00:00
Eelco Dolstra 7ea8d224f4 svn path=/nixos/trunk/; revision=10078 2008-01-04 17:26:04 +00:00
Michael Raskin 808f4ad781 LiveDVD synchronized with rescue CD.
svn path=/nixos/trunk/; revision=10077
2008-01-04 17:06:14 +00:00
Eelco Dolstra 56107c81b0 * Put some help text in /etc/issue on the CD.
svn path=/nixos/trunk/; revision=10076
2008-01-04 17:05:48 +00:00
Eelco Dolstra 3abf5072ce * Installation CD: start a web browser showing the NixOS manual on
tty7.
* Add w3m to the installation CD's path since it's needed for the
  manual anyway.

svn path=/nixos/trunk/; revision=10074
2008-01-04 16:11:12 +00:00
Eelco Dolstra f499a74998 * Use cdrkit instead of cdrtools.
svn path=/nixos/trunk/; revision=10073
2008-01-04 15:17:54 +00:00
Eelco Dolstra fddddb3f35 * Add a Grub splash screen.
svn path=/nixos/trunk/; revision=10063
2008-01-03 17:07:28 +00:00
Eelco Dolstra 4760aa9d4c * Add Memtest86+ to the CD - useful.
svn path=/nixos/trunk/; revision=10060
2008-01-03 15:24:34 +00:00
Eelco Dolstra dc9b332fcd * Use Grub instead of isolinux on the boot CD.
svn path=/nixos/trunk/; revision=10058
2008-01-03 15:06:55 +00:00
Eelco Dolstra 93efa40b58 * Put Subversion on the installation CD so that the user can run
"nixos-checkout" to use the latest NixOS/Nixpkgs expressions (rather
  than what's on the CD).

svn path=/nixos/trunk/; revision=10057
2008-01-03 13:34:16 +00:00
Michael Raskin c6cf1481b0 Duplicated rescue-cd.nix change in live-dvd.nix
svn path=/nixos/trunk/; revision=10054
2008-01-02 17:03:10 +00:00
Eelco Dolstra c00448493b * Use vim instead of vimDiet on the CD because ncurses on dietlibc is
broken on x86_64 (apparently because dietlibc on x86_64 doesn't have
  sin() / cos()).

svn path=/nixos/trunk/; revision=10052
2008-01-02 16:09:55 +00:00
Michael Raskin 0b4ee455d9 A bit extended LiveDVD
svn path=/nixos/trunk/; revision=10042
2008-01-01 15:47:35 +00:00
Michael Raskin 78b288e98a Allowed sudo for LiveDVD. No point in it, but it gets cached on DVD in this case
svn path=/nixos/trunk/; revision=9989
2007-12-31 15:53:42 +00:00
Michael Raskin 05d23c076b I hope it is the final LiveDVD
svn path=/nixos/trunk/; revision=9988
2007-12-31 14:15:34 +00:00
Michael Raskin 8ffef5e73a Started doing LiveDVD - a complete system on disk, capable to install itself without Internet.
svn path=/nixos/trunk/; revision=9970
2007-12-30 09:38:04 +00:00
Eelco Dolstra 2fc94b76fe * Eliminate all calls to config.get.
svn path=/nixos/trunk/; revision=9619
2007-11-09 18:49:45 +00:00
Eelco Dolstra 5bb4e343b4 * Configuration options networking.defaultMailServer to enable direct mail
delivery without a local mail server (via ssmtp).
* Add vimDiet to the CD, not the system path in general.

svn path=/nixos/trunk/; revision=9607
2007-11-08 18:15:12 +00:00
Eelco Dolstra 8f7d294cdc svn path=/nixos/trunk/; revision=9488 2007-10-19 15:09:34 +00:00
Eelco Dolstra ee2b3dccd8 * Use the latest Nixpkgs for the CD.
svn path=/nixos/trunk/; revision=9480
2007-10-19 11:55:24 +00:00
Eelco Dolstra 0d1aa83fea svn path=/nixos/trunk/; revision=9275 2007-09-06 21:10:15 +00:00
Eelco Dolstra 2a4417d637 * make-etc / activate-configuration: allow /etc files to be installed
as regular files instead of symlinks to the store.
* Sudo configuration, enabled through security.sudo.enable (on by
  default).  The contents of the sudoers file is specified in
  security.sudo.configFile.  The default sudoers file allows members
  of the new "wheel" group to run any command.

svn path=/nixos/trunk/; revision=9138
2007-08-16 15:09:06 +00:00
Eelco Dolstra 7243eb1d1d * Create /bin on the CD to suppress the /bin/sh symlink creation
error.
* Put the top-level system config on the CD, otherwise root doesn't
  get a working login shell on the CD (and the system PATH is broken
  as well).

svn path=/nixos/trunk/; revision=8658
2007-05-09 17:32:41 +00:00
Eelco Dolstra 14b1e6c758 * Use the latest Nixpkgs on the installation CD.
svn path=/nixos/trunk/; revision=8650
2007-05-02 21:53:23 +00:00
Eelco Dolstra 3d85bc56ff svn path=/nixos/trunk/; revision=8369 2007-03-19 23:00:48 +00:00
Eelco Dolstra 36f01930ed * Take the target platform as a parameter.
* Put the platform name in the name of the ISO image.

svn path=/nixos/trunk/; revision=8364
2007-03-19 20:28:09 +00:00
Eelco Dolstra 0828400b36 svn path=/nixos/trunk/; revision=8036 2007-02-23 21:50:32 +00:00
Eelco Dolstra 7fac47a98b svn path=/nixos/trunk/; revision=7884 2007-02-08 18:23:57 +00:00
Eelco Dolstra 5d02654a3c * Splashutils now works on x86_64.
svn path=/nixos/trunk/; revision=7873
2007-02-06 22:49:20 +00:00
Eelco Dolstra 06853a6083 svn path=/nixos/trunk/; revision=7872 2007-02-06 22:23:56 +00:00
Eelco Dolstra 98a3eaf6b7 svn path=/nixos/trunk/; revision=7865 2007-02-06 18:31:32 +00:00
Eelco Dolstra ea9a82042c * Set ownership.
svn path=/nixos/trunk/; revision=7849
2007-02-05 21:18:02 +00:00
Eelco Dolstra b674f74c2d * Installer fixes.
svn path=/nixos/trunk/; revision=7848
2007-02-05 21:06:59 +00:00