Commit graph

161 commits

Author SHA1 Message Date
Eelco Dolstra 8c2fd764e2 * Move the configuration examples to doc/.
svn path=/nixos/trunk/; revision=12723
2008-08-26 13:01:16 +00:00
Michael Raskin a6fb8cb258 Ported ISO image grub-related update
svn path=/nixos/trunk/; revision=12637
2008-08-15 15:03:50 +00:00
Eelco Dolstra 27df3ed624 * stage2_eltorito is in a different place on x86_64.
svn path=/nixos/trunk/; revision=12636
2008-08-15 14:28:52 +00:00
Eelco Dolstra a83becdee8 * When booting from the installation CD, just mount
/dev/disk/by-label/<label>.  This makes the whole
  autoDetectRootDevice/rootLabel machinery unnecessary.

svn path=/nixos/trunk/; revision=12561
2008-08-08 23:01:30 +00:00
Eelco Dolstra 1c2d81d93d * Remove "obsolete" notation.
svn path=/nixos/trunk/; revision=12557
2008-08-08 19:40:19 +00:00
Michael Raskin e7438b3525 Ported disk labelling.
svn path=/nixos/trunk/; revision=12546
2008-08-08 17:13:46 +00:00
Eelco Dolstra abbe260a80 * Don't use modprobe but insmod in the initrd. This means we don't
need module-init-tools in the initrd, since insmod is in klibc.
* Give the installation CD a label.

svn path=/nixos/trunk/; revision=12545
2008-08-08 17:07:04 +00:00
Eelco Dolstra 4d6548e94c * Use the tools from klibc in the initrd instead of the static-tools.
This makes the initrd a few megabytes smaller.
* Use run-init from klibc to delete everything in the initrd ramfs
  prior to switching to the real root FS.
* Removed the stage2Init argument.

svn path=/nixos/trunk/; revision=12544
2008-08-08 15:49:57 +00:00
Eelco Dolstra 27b329abe2 * Doh! Include the pkgs subdirectory of nixpkgs on the CD.
svn path=/nixos/trunk/; revision=12198
2008-06-27 12:28:43 +00:00
Eelco Dolstra 0739332a6c * Create /etc/nixos/nixpkgs, otherwise unpacking
/install/nixpkgs.tar.bz2 fails (but that file appears
  to be broken anyway...).

svn path=/nixos/trunk/; revision=12125
2008-06-16 19:06:59 +00:00
Michael Raskin ae4ead1a33 Added install-test.sh - automatic verification of rescue-cd-configurable.nix (currently it passes)
svn path=/nixos/trunk/; revision=12006
2008-06-07 10:52:44 +00:00
Michael Raskin 120ee1d150 Fixed rescue-cd-configurable.nix
svn path=/nixos/trunk/; revision=11999
2008-06-06 10:04:27 +00:00
Eelco Dolstra ebb43a3f67 * Make the location of Nixpkgs a function argument (defaulting
to ../../nixpkgs).  This makes the "pkgs" symlink under the 
  nixos checkout unnecessary.

svn path=/nixos/trunk/; revision=11989
2008-06-05 15:33:17 +00:00
Eelco Dolstra e7494da962 * Allow compression of ISO images.
svn path=/nixos/trunk/; revision=11987
2008-06-05 13:42:18 +00:00
Michael Raskin da13d7ed13 Fixed instantiation errors after kernel changes...
svn path=/nixos/trunk/; revision=11886
2008-05-23 06:40:16 +00:00
Michael Raskin ecef3b1f61 Passing packages list to extraModulePackages
svn path=/nixos/trunk/; revision=11884
2008-05-22 19:30:00 +00:00
Eelco Dolstra bb1ee3f190 * boot.kernel renamed to boot.kernelPackages (see the help for a
description) to allow all kernel-related packages to be overriden
  easily.  For instance, you can now say in configuration.nix

    boot = {
      kernelPackages = pkgs: pkgs.kernelPackages_2_6_25;
    };

  to use Linux 2.6.25.x.  Externel kernel module packages (like
  the NVIDIA drivers) appropriate for this kernel will then be used
  automatically.

svn path=/nixos/trunk/; revision=11880
2008-05-22 11:59:46 +00:00
Michael Raskin ad3dc29f6d Added scripts used for remote installation
svn path=/nixos/trunk/; revision=11817
2008-05-12 07:23:55 +00:00
Michael Raskin 1a6e1a43dc Added closed-install example of configurable Live DVD. Tested: virtual network of two QEmu-s, one is booted from that LiveDVD, another executes one scripted process and forces first to install NixOS.
svn path=/nixos/trunk/; revision=11816
2008-05-12 07:12:18 +00:00
Eelco Dolstra c612af3564 svn path=/nixos/trunk/; revision=11797 2008-05-09 11:28:03 +00:00
Eelco Dolstra aea8ac5852 * A root on LVM example.
svn path=/nixos/trunk/; revision=11796
2008-05-09 11:14:44 +00:00
Michael Raskin 98748a319a I have probably fixed the "separate /boot" problem. Tested in Qemu, it worked
svn path=/nixos/trunk/; revision=11789
2008-05-09 05:58:21 +00:00
Michael Raskin f49efc1039 module_aggregation renamed..
svn path=/nixos/trunk/; revision=11787
2008-05-08 16:34:50 +00:00
Eelco Dolstra 1042e4affe svn path=/nixos/trunk/; revision=11786 2008-05-08 16:03:18 +00:00
Eelco Dolstra 32e3f49182 * Updated the Nixpkgs URL.
svn path=/nixos/trunk/; revision=11737
2008-04-28 08:08:44 +00:00
Michael Raskin 2c7d02288f Let us have ddrescue on rescue disks. Like umbrella. Having it reduces chances of its use - and this is very good.
svn path=/nixos/trunk/; revision=11322
2008-03-28 12:01:59 +00:00
Michael Raskin 8fcba9ffaa Shamelessly added xfs and jfs support utilities to a pair of disk images
svn path=/nixos/trunk/; revision=11317
2008-03-28 08:06:07 +00:00
Eelco Dolstra e32a8437d5 svn path=/nixos/trunk/; revision=11203 2008-03-19 12:58:14 +00:00
Michael Raskin b615a392a2 Some updates to Live DVD building
svn path=/nixos/trunk/; revision=11044
2008-03-10 20:19:33 +00:00
Michael Raskin 0d5c0f946f Moved module list in a separat eexpression for easier maintenance
svn path=/nixos/trunk/; revision=10885
2008-02-28 12:10:05 +00:00
Michael Raskin e4215fe020 Updates to LiveDVD
svn path=/nixos/trunk/; revision=10884
2008-02-28 11:42:53 +00:00
Michael Raskin 3e2ed65cf9 Fixed rescue-cd-configurable.nix
svn path=/nixos/trunk/; revision=10883
2008-02-28 10:19:27 +00:00
Eelco Dolstra 666d0bde09 * Disable modules missing on x86_64.
svn path=/nixos/trunk/; revision=10563
2008-02-08 23:51:43 +00:00
Michael Raskin c21ba2d99e Created expression to keep in sync with rescue-cd.nix; I do not want to make creating smaller CD images more difficult.
svn path=/nixos/trunk/; revision=10559
2008-02-08 19:31:41 +00:00
Eelco Dolstra ce250ffb37 * Installation CD: include a lot of modules (SATA, PATA, Firewire,
USB, some SCSI controllers) in the initrd for mounting the CD.
* Add nix-hardware-scan to the system.
* Upstart: don't use the -v flag.
* Include the NixOS version in the ISO image filename.
* Include testdisk and ms-sys in the CD.
* Some bugfixes in the installer.

svn path=/nixos/trunk/; revision=10556
2008-02-08 15:59:15 +00:00
Eelco Dolstra 707e515f82 * Option to enable support for the WIS GO7007.
svn path=/nixos/trunk/; revision=10491
2008-02-04 10:52:58 +00:00
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