Lluís Batlle i Rossell
81655b7247
Have a more featured initrd and crashDump for the pc system tarball.
...
svn path=/nixos/trunk/; revision=33274
2012-03-19 19:01:52 +00:00
Shea Levy
fac0fef5d8
Whoops
...
svn path=/nixos/trunk/; revision=33264
2012-03-19 17:25:50 +00:00
Shea Levy
53580d514a
You cant modprobe efivars from within the chroot, so modprobe efivars when booting an efi-compatible install CD
...
svn path=/nixos/trunk/; revision=33241
2012-03-18 18:55:47 +00:00
Shea Levy
b82c253b24
Add a kernel patch for the efi boot stub to read a config file when booted without arguments, and base removable media booting off of that patch
...
The patch is currently being discussed on LKML and hopefully will be included
in mainline in some form in the future. Note that booting from the livecd has
to do a lot of work before anything is output to the console, so if the drive
is still busy don't assume the boot has hanged
svn path=/nixos/trunk/; revision=33235
2012-03-18 17:14:52 +00:00
Shea Levy
097c656361
iso-image: Make efi-bootable cds actually bootable.
...
The image passed to genisofs needs to be a FAT image with the right filesystem
layout, not an EFI executable image
svn path=/nixos/trunk/; revision=33162
2012-03-16 16:45:40 +00:00
Shea Levy
d9e28e909c
Move NixosBootPkg into NixOS
...
svn path=/nixos/trunk/; revision=33149
2012-03-16 11:53:50 +00:00
Shea Levy
c61d919941
Typographical conventions
...
svn path=/nixos/trunk/; revision=33148
2012-03-16 11:31:33 +00:00
Shea Levy
358b699c20
installation-cd-efi: Only build a minimal cd
...
svn path=/nixos/trunk/; revision=33147
2012-03-16 11:25:09 +00:00
Shea Levy
a315eefca1
Restore old installation-cd-new-kernel.nix and create a new installation-cd-efi.nix
...
svn path=/nixos/trunk/; revision=33146
2012-03-16 11:22:05 +00:00
Shea Levy
8efda48496
Enable building an efi-bootable ISO
...
svn path=/nixos/trunk/; revision=33140
2012-03-16 05:37:24 +00:00
Lluís Batlle i Rossell
29ca7f2c80
Adding VIA_RHINE to the system tarball pc. I need to boot one with PXE and nfsroot with via rhine.
...
svn path=/nixos/trunk/; revision=32994
2012-03-11 16:39:49 +00:00
Eelco Dolstra
9d89ca0c03
* Modularise vfat support. Also add fsck.vfat to the initrd. This
...
prevents errors when booting from VFAT (e.g. an ISO image converted
using unetbootin).
svn path=/nixos/trunk/; revision=32956
2012-03-09 16:17:37 +00:00
Lluís Batlle i Rossell
0b8e992d3d
Setting the kernel 3.2 for the new-kernel nixos iso.
...
svn path=/nixos/trunk/; revision=32785
2012-03-04 21:01:20 +00:00
Eelco Dolstra
0d4eb37e16
* Fix the NixOS jobset.
...
svn path=/nixos/trunk/; revision=32783
2012-03-04 20:57:34 +00:00
Lluís Batlle i Rossell
97e0131291
Adding support for 3c59x NICs to the system-tarball-pc.
...
svn path=/nixos/trunk/; revision=32229
2012-02-11 21:13:10 +00:00
Eelco Dolstra
6b6cee46c7
* By popular demand, provide an ISO with a more recent kernel.
...
svn path=/nixos/trunk/; revision=30344
2011-11-08 19:51:39 +00:00
Eelco Dolstra
06843a45ef
* Fix auto-login.
...
svn path=/nixos/trunk/; revision=30341
2011-11-08 19:02:51 +00:00
Eelco Dolstra
dd28c62879
* My grep skills are lacking.
...
svn path=/nixos/trunk/; revision=30335
2011-11-08 16:39:13 +00:00
Eelco Dolstra
b69dd8759c
* minimal.nix: don't include base.nix. Also note it's not currently used.
...
svn path=/nixos/trunk/; revision=30333
2011-11-08 16:29:40 +00:00
Eelco Dolstra
295dafed8a
* Refactoring: graphical.nix no longer includes base.nix so that it
...
just does what it says (enable a "graphical" configuration).
* Enable KDM in the graphical CD. The "auto" display manager doesn't
properly handle shutdowns etc.
svn path=/nixos/trunk/; revision=30331
2011-11-08 16:17:37 +00:00
Eelco Dolstra
ba7f635f8b
* Move the hardware bits of base.nix into a separate module,
...
all-hardware.nix. This allows base.nix (which should probably be
renamed to something more descriptive) to be reused without getting
the hardware configuration of the installation CD.
svn path=/nixos/trunk/; revision=30327
2011-11-08 15:58:59 +00:00
Eelco Dolstra
3e30d87c26
* aufs2 -> aufs.
...
svn path=/nixos/trunk/; revision=30323
2011-11-08 15:12:11 +00:00
Eelco Dolstra
848485a043
* Remove installation-cd-rescue as it's not used, and the other CDs
...
should also contain all appropriate rescue tools.
svn path=/nixos/trunk/; revision=30320
2011-11-08 14:29:35 +00:00
Eelco Dolstra
b024940384
* Enable upower on the graphical ISO.
...
svn path=/nixos/trunk/; revision=30156
2011-10-31 21:08:22 +00:00
Peter Simons
20b364f4de
Reverting revisions 30103-30106: "always set nixpkgs.config.{state,store}Dir", etc.
...
After the change from revision 30103, nixos-rebuild suddenly consumed
freaky amounts of memory. I had to abort the process after it had
allocated well in excess of 30GB(!) of RAM. I'm not sure what is causing
this behavior, but undoing that assignment fixes the problem. The other
two commits needed to be revoked, too, because they depend on 30103.
svn path=/nixos/trunk/; revision=30127
2011-10-30 15:19:58 +00:00
Shea Levy
09cf6ce70c
find modules | fgrep .nix | fgrep -v .svn | fgrep -v nixpkgs.nix | xargs sed -i -e 's|/nix/var|${config.nixpkgs.config.nix.stateDir}|g' -e 's|/nix/store|${config.nixpkgs.config.nix.storeDir}|g'
...
Don't assume /nix/store or /nix/var in NixOS modules, this is configurable
svn path=/nixos/trunk/; revision=30104
2011-10-29 21:03:57 +00:00
Shea Levy
3a201ef6a7
Enable building ISOs for aufs3 kernels
...
svn path=/nixos/trunk/; revision=29538
2011-09-28 22:43:53 +00:00
Peter Simons
eb6e1310b8
strip trailing whitespace; no functional change
...
svn path=/nixos/trunk/; revision=29285
2011-09-14 18:20:50 +00:00
Lluís Batlle i Rossell
4bc0bfec4c
Making the system-tarball-pc boot fine with PXE, and include help files and a
...
readme file as examples for an easy PXE setup.
This allows booting the NixOS in the system tarball, and thus allows installing nixos.
svn path=/nixos/trunk/; revision=28585
2011-08-15 14:37:00 +00:00
Lluís Batlle i Rossell
8f6a4be721
Trying to make the system tarball for pc closer to PXE boot.
...
svn path=/nixos/trunk/; revision=28573
2011-08-14 22:01:58 +00:00
Eelco Dolstra
ee3269cbbd
* Put "minimal" or "graphical" in the ISO name to distinguish between
...
the files.
svn path=/nixos/trunk/; revision=26901
2011-04-20 10:48:52 +00:00
Shea Levy
8dd6f42a91
Fixed formatting
...
svn path=/nixos/trunk/; revision=26647
2011-03-31 23:06:36 +00:00
Shea Levy
f269206972
Update iso-image.nix to work with kernels that use AUFS 2.1 instead of AUFS 2. Older kernels are unaffected.
...
svn path=/nixos/trunk/; revision=26646
2011-03-31 23:03:54 +00:00
Eelco Dolstra
6ee609a0a3
* On the installation CD, set the overcommit heuristic to "always
...
overcommit". This makes it less likely that the installer fails
randomly in low memory environments.
svn path=/nixos/trunk/; revision=26369
2011-03-16 15:17:54 +00:00
Eelco Dolstra
6646268c95
* This should no longer be needed.
...
svn path=/nixos/trunk/; revision=26331
2011-03-15 18:47:56 +00:00
Eelco Dolstra
d8b69f2fad
* grub-mkimage now requires a format flag. Also, the "sh" module has
...
disappeared. Hopefully it's not important :-)
svn path=/nixos/trunk/; revision=26234
2011-03-09 16:26:03 +00:00
Eelco Dolstra
34dea57f8a
* Add wicd to the NixOS CD.
...
svn path=/nixos/trunk/; revision=26083
2011-02-23 19:11:32 +00:00
Eelco Dolstra
8361444f9b
* Disable compositing for now in the graphical installation CD. It
...
seems to cause problems with KDE 4.5 on some graphics drivers (such
as Cirrus and VGA in QEMU). (NixOS/121)
svn path=/nixos/trunk/; revision=25659
2011-01-21 13:38:30 +00:00
Ludovic Courtès
ef54cd3d1f
system-tarball-sheevaplug: Add hint about the serial console parameters.
...
svn path=/nixos/trunk/; revision=25583
2011-01-15 22:42:07 +00:00
Ludovic Courtès
c56e039107
system-tarball-sheevaplug: Fix `kernelparams.txt'.
...
This is a followup to r23775 ("Substitute the path of the system
derivation directly in the stage 2 init script.").
svn path=/nixos/trunk/; revision=25582
2011-01-15 22:38:28 +00:00
Lluís Batlle i Rossell
8c27201ce0
Fixing mkOverride and openssh things on system-tarballs
...
svn path=/nixos/branches/stdenv-updates/; revision=24554
2010-10-31 19:34:39 +00:00
Lluís Batlle i Rossell
51d0ccdf3c
Updating from trunk (to catch cron changes)
...
I had some merge problems with the system-tarball; I hope I've resolved them.
svn path=/nixos/branches/stdenv-updates/; revision=24201
2010-10-10 11:46:57 +00:00
Nicolas Pierron
fe7c1eb16b
Remove duplicated definitions.
...
svn path=/nixos/trunk/; revision=23921
2010-09-25 09:44:48 +00:00
Nicolas Pierron
e20ef7564e
Update live-dvd configuration.
...
svn path=/nixos/trunk/; revision=23919
2010-09-25 09:33:17 +00:00
Nicolas Pierron
5fb80fcc4b
Extract rescue profile from the the corresponding CD.
...
svn path=/nixos/trunk/; revision=23917
2010-09-25 09:33:09 +00:00
Nicolas Pierron
9936a6f525
Simplify system-tarball-pc.nix. Factor detected / undetected devices into
...
the instalaltion-device profile.
svn path=/nixos/trunk/; revision=23916
2010-09-25 09:33:03 +00:00
Nicolas Pierron
f3cc01bd3b
Extract graphical and minimal profiles from the installation CDs.
...
svn path=/nixos/trunk/; revision=23915
2010-09-25 09:32:57 +00:00
Nicolas Pierron
59429aa449
Change the policy used to select files added in the import list of the
...
generated configuration. Use all files listed as modules of eval-config.
svn path=/nixos/trunk/; revision=23914
2010-09-25 09:32:52 +00:00
Nicolas Pierron
d2d139e920
Move the generation of the dummy configuration file into the installation
...
device profile.
TODO: The current configuration does not reproduce exactly the CD
configuration, fix it.
svn path=/nixos/trunk/; revision=23913
2010-09-25 09:32:48 +00:00
Nicolas Pierron
112cd0c4d4
Add an installation device profile, and use it it the basic installation CD.
...
svn path=/nixos/trunk/; revision=23912
2010-09-25 09:32:43 +00:00
Nicolas Pierron
cf103b8d4d
Add 2 index file to define the default case for detected and not-detected
...
devices. These are used to replace hand made listings in the basic
installation CD.
The configuration file, which is generated by nixos-hardware-scan, enables
not-detected devices by default.
svn path=/nixos/trunk/; revision=23911
2010-09-25 09:32:37 +00:00
Nicolas Pierron
c90a7b9be4
Remove duplicated (modules-list) includes from the basic installation cd.
...
svn path=/nixos/trunk/; revision=23910
2010-09-25 09:32:32 +00:00
Nicolas Pierron
d304d12f37
Extract a base profile from the basic installation cd.
...
svn path=/nixos/trunk/; revision=23909
2010-09-25 09:32:27 +00:00
Lluís Batlle i Rossell
c1e4586ed1
Again trying to get the kernelFile paths right
...
svn path=/nixos/branches/stdenv-updates/; revision=23836
2010-09-17 17:25:46 +00:00
Lluís Batlle i Rossell
743b75fbaf
Making the fuloong2f system-tarball more specific for the fuloong, so, helping in how
...
to use the system more easily.
svn path=/nixos/branches/stdenv-updates/; revision=23826
2010-09-16 19:26:34 +00:00
Lluís Batlle i Rossell
3b216865d2
Writing better some sheevaplug system-tarball lines (kernel parameters in a single line, for example)
...
svn path=/nixos/branches/stdenv-updates/; revision=23825
2010-09-16 19:25:29 +00:00
Lluís Batlle i Rossell
83d012ba13
Trying to fix again system-tarball-pc (again, the kernel file name)
...
svn path=/nixos/branches/stdenv-updates/; revision=23824
2010-09-16 19:24:52 +00:00
Lluís Batlle i Rossell
7672c36a70
Trying to get system-tarball-pc build properly.
...
svn path=/nixos/branches/stdenv-updates/; revision=23814
2010-09-15 21:36:56 +00:00
Eelco Dolstra
c4f910f550
* Substitute the path of the system derivation directly in the stage 2
...
init script. This removes the need for the `systemConfig' boot
parameter; `init=<stage-2-init>' is enough. However, the GRUB menu
builder still needs to add `systemConfig' to the kernel command line
for compatibility with old configurations.
svn path=/nixos/trunk/; revision=23775
2010-09-13 22:10:25 +00:00
Lluís Batlle i Rossell
245df33c6c
Making the system tarballs of fuloong and sheevaplug reference the proper nixpkgs, and not that of /etc/...
...
svn path=/nixos/branches/stdenv-updates/; revision=23772
2010-09-13 20:52:49 +00:00
Lluís Batlle i Rossell
9ba735714a
Adding a system-tarball expression for the sheevaplug (which a previous commit already put a reference to)
...
svn path=/nixos/branches/stdenv-updates/; revision=23690
2010-09-08 17:15:31 +00:00
Lluís Batlle i Rossell
ccf7852e11
Updating the system-tarball work, having just tested that of the fuloong2f.
...
svn path=/nixos/branches/stdenv-updates/; revision=23689
2010-09-08 16:53:36 +00:00
Nicolas Pierron
c9dc3651da
Replace mkOverride by its alias mkOverrideTemplate to remove the unused
...
template argument of mkOverride later.
svn path=/nixos/trunk/; revision=23631
2010-09-03 19:10:59 +00:00
Michael Raskin
597e083d82
Adding an option to include build dependencies into ISO image
...
svn path=/nixos/trunk/; revision=23502
2010-08-29 12:11:31 +00:00
Eelco Dolstra
cbc05c1480
* Enable wpa_supplicant on the installation CD.
...
svn path=/nixos/trunk/; revision=23034
2010-08-08 13:55:35 +00:00
Eelco Dolstra
e8e7ee356c
* In the installation CD, pass the label of the CD through the
...
root=... kernel command line parameter, instead of hard-coding it in
`fileSystems'. This is to allow CD-to-USB converters such as
UNetbootin to rewrite the kernel command line to the label or UUID
of the USB stick.
svn path=/nixos/trunk/; revision=23024
2010-08-07 14:16:18 +00:00
Eelco Dolstra
d7d2d5e3d5
* Add some NLS modules required to mount FAT filesystems. We need
...
this to boot the NixOS installer from a USB stick.
svn path=/nixos/trunk/; revision=23019
2010-08-06 23:09:37 +00:00
Eelco Dolstra
05fc10f3a8
* Add dosfstools to the installation CD (for
...
{mkfs,fsck}.{vfat,msdos}).
svn path=/nixos/trunk/; revision=23006
2010-08-06 18:52:00 +00:00
Eelco Dolstra
baf54c517d
* Fix the terminal_output command. (This used to work but not with
...
the latest GRUB I guess.)
svn path=/nixos/trunk/; revision=22575
2010-07-13 11:48:40 +00:00
Eelco Dolstra
ca1910e4b0
* Seems that we don't need the aufs2 mount helper.
...
svn path=/nixos/trunk/; revision=22038
2010-05-28 09:35:24 +00:00
Eelco Dolstra
f9f224972a
* Use AUFS2.
...
svn path=/nixos/trunk/; revision=22033
2010-05-28 07:09:34 +00:00
Yury G. Kudryashov
2dfd9b51ae
gnupg2 is now called gnupg
...
svn path=/nixos/trunk/; revision=21889
2010-05-19 21:11:46 +00:00
Eelco Dolstra
c1e313b5e1
* Remove obsolete references to kernelPackages in Nixpkgs.
...
svn path=/nixos/trunk/; revision=20647
2010-03-16 12:10:06 +00:00
Ludovic Courtès
8e16742b79
Update users of `services.sshd'.
...
svn path=/nixos/trunk/; revision=20575
2010-03-11 17:02:53 +00:00
Ludovic Courtès
bcd3cd85f3
installation-cd: Add an `installer.basePackages' option.
...
svn path=/nixos/trunk/; revision=20573
2010-03-11 17:02:36 +00:00
Lluís Batlle i Rossell
093b51a562
Removing references to linux kernel 'vmlinuz', and making them point to 'bzImage'.
...
That should match with a related change in nixpkgs.
svn path=/nixos/trunk/; revision=20095
2010-02-18 11:35:39 +00:00
Lluís Batlle i Rossell
1dd3162d7c
First attempt at trying to get a tarball of a bootable nixos system.
...
What I want with this derivation is to allow the sheevaplug nixos to
build a tarball with all the needed files to boot. Then, this can be
unpacked into an SD card, or into a NFS/TFTP server, and then the
user can boot the system with help of the uboot console.
By now, I have only tried to build the tarball in a PC, in order
to develop the nix expressions quicker.
There is nothing written specialy for the Sheevaplug in all this,
by now.
svn path=/nixos/trunk/; revision=20035
2010-02-15 23:27:51 +00:00
Lluís Batlle i Rossell
13ee735395
Making nixos work well with the new names 'linuxPackages' in stdenv-updates, additionally
...
to the nixpkgs trunk 'kernelPackages'.
Seeing a strange kernelPackages mentioned in installation-cd-rescue (2.6.31_something) I
update that to 2.6.32.
svn path=/nixos/trunk/; revision=19443
2010-01-14 19:50:49 +00:00
Eelco Dolstra
5c66611f3e
svn path=/nixos/trunk/; revision=19333
2010-01-10 18:34:32 +00:00
Eelco Dolstra
39796e26b4
* Removed the boot.isLiveCD option. Moved the code for mounting a
...
tmpfs on top of the CD to iso-image.nix.
svn path=/nixos/trunk/; revision=19318
2010-01-09 15:13:06 +00:00
Eelco Dolstra
83478a0800
* Add klibc and klibcShrunk to the CD because they're always needed
...
during an installation.
svn path=/nixos/trunk/; revision=19273
2010-01-06 20:51:10 +00:00
Eelco Dolstra
1b21115f61
* Support creating a virtual disk in the test driver.
...
svn path=/nixos/trunk/; revision=19263
2010-01-06 14:37:23 +00:00
Eelco Dolstra
1da72333d9
* Put the NixOS boot at the top so that it's the default.
...
svn path=/nixos/trunk/; revision=19255
2010-01-06 12:24:20 +00:00
Eelco Dolstra
790368e315
* Removed installation-cd-minimal-fresh-kernel.nix since the kernel in
...
installation-cd-minimal.nix is now 2.6.32. Added most of its extra
tools to installation-cd-base.nix.
* Put memtest86 at the bottom of the GRUB menu. (There is currently
no good way to do this other than to change the module inclusion
order.)
svn path=/nixos/trunk/; revision=19188
2010-01-03 17:13:30 +00:00
Eelco Dolstra
21216b0461
* Move some kernel modules around.
...
svn path=/nixos/trunk/; revision=19187
2010-01-03 16:29:17 +00:00
Eelco Dolstra
64c75274e1
* Use Linux 2.6.32 on the installation CD.
...
svn path=/nixos/trunk/; revision=19166
2010-01-01 16:26:01 +00:00
Eelco Dolstra
aa445933a7
* Include some more firmware in the installation CD.
...
svn path=/nixos/trunk/; revision=19007
2009-12-16 23:52:02 +00:00
Marc Weber
4b5864666e
* refactoring kvm test and bootstrapping image.
...
expose makeInfo (used by test now)
expose config hack
* Adding tests to release.nix
* fixes
* removing dependency on perl
refactoring details:
Move all configuration modules used by the NixOS installation test script
into one directory.
svn path=/nixos/trunk/; revision=18982
2009-12-15 23:26:52 +00:00
Eelco Dolstra
6c9059e717
* Added an option `boot.initrd.availableKernelModules' that specifies
...
modules that should be added to the initrd, but should only be
loaded on demand (e.g. by the kernel or by udev). This is
especially useful in the installation CD, where we now only load the
modules needed by the hardware.
* Enable automatic modprobing by udev in the initrd.
svn path=/nixos/trunk/; revision=18975
2009-12-15 16:38:20 +00:00
Eelco Dolstra
a612fd0d5e
* Obsoleted boot.initrd.extraKernelModules (use
...
boot.initrd.kernelModules instead).
svn path=/nixos/trunk/; revision=18969
2009-12-15 14:05:01 +00:00
Marc Weber
401fd84ae1
kvm installation test update + NixOS installation archive
...
You can run the kvm nixos installation test by:
nix-build --no-out-link tests/test-nixos-install-from-cd.nix
It boots the installed system.
It still fails sshd isn't started (yet)
adding nixos-bootstrapping-archive:
You can install NixOS easily using any live cd now.
See README-BOOTSTRAP-NIXOS
svn path=/nixos/trunk/; revision=18950
2009-12-15 06:37:32 +00:00
Marc Weber
4d7e344f69
Adding initial version of the nixos cd insallation test script using
...
qemu_kvm. Installation doesn't take place yet. VM is started
printing a remote controlled "Hello".
This serves as example how to run a vm within a bulid job.
svn path=/nixos/trunk/; revision=18887
2009-12-11 00:51:13 +00:00
Marc Weber
086c3d6328
making default and timeout of grub overridable
...
also updating grub option names to current names
svn path=/nixos/trunk/; revision=18886
2009-12-11 00:51:07 +00:00
Eelco Dolstra
aa9d0a067e
* Sync with the trunk.
...
svn path=/nixos/branches/upstart-0.6/; revision=18408
2009-11-18 11:50:06 +00:00
Michael Raskin
f9958cbb44
Update kernel version for fresh-kernel
...
svn path=/nixos/trunk/; revision=18379
2009-11-17 09:00:49 +00:00
Eelco Dolstra
c1b008b4e3
* Don't build the Grub menu builder script on the ISO. Then we don't
...
the /init and /system symlinks on the CD (since it removes the
cyclic dependency between building the Grub menu and the system
derivation).
svn path=/nixos/branches/upstart-0.6/; revision=18344
2009-11-14 16:12:02 +00:00
Eelco Dolstra
7621b40d56
* Provide a 640x480 background image for GRUB 2.
...
* Turn on the graphical GRUB boot screen for the installation CD.
svn path=/nixos/branches/upstart-0.6/; revision=18340
2009-11-13 16:45:41 +00:00
Eelco Dolstra
091631b433
* Use Grub 2 on the installation CD. No graphics yet.
...
svn path=/nixos/branches/upstart-0.6/; revision=18325
2009-11-10 21:42:38 +00:00
Michael Raskin
35abca4e7a
Forward-port sshd fixes to iso-minimal-fresh-kernel. By the way, maybe we should finalyy decide what to do with kernel update and corresponding ISO update (to fresh-kernel proposal or otherwise)
...
svn path=/nixos/trunk/; revision=17840
2009-10-16 04:27:59 +00:00
Eelco Dolstra
da5f745603
* You need an override here, otherwise bad things happen.
...
svn path=/nixos/trunk/; revision=17831
2009-10-15 14:32:15 +00:00