update howto to reflect new changes

svn path=/nixu/trunk/; revision=6274
This commit is contained in:
Armijn Hemel 2006-08-27 15:34:24 +00:00
parent 65742f6eb9
commit f7c69397b7

View File

@ -14,22 +14,34 @@ Make sure mktemp is installed. Run ./make-disk.sh. Wait.
Use your favourite tool to burn the ISO image to a CD. Use your favourite tool to burn the ISO image to a CD.
Preparing the host machine Installing
Currently NixOS can only be installed with machines that have a specific Currently NixOS can only be installed with machines that have a specific
hardware set up: hardware set up:
An ATA harddisk on the first ATA controller (hda) with: An ATA harddisk on the first ATA controller (hda) with:
- data partition (hda1) - data partition
- swap partition (hda2) - swap partition
All data on these two partitions will be wiped and the bootloader in the All data on these two partitions will be wiped and the bootloader in the
Master Boot Record (MBR) will be overwritten with GRUB. Master Boot Record (MBR) will be overwritten with GRUB.
Booting The NixOS installer will drop you into a shell, from which you can run
fdisk. Then it expects to find a file called "disklayout" with three
variables:
Insert the CD, make sure it can boot from CD and reboot. Let it run for a SWAP :: partition to use as swap
while. INSTALLDEVICE :: partition that will be /root
TARGETDRIVE :: drive on which grub will be installed
This file will be read by the install script automatically when you launch
the script:
# sh fill-disk.sh
The configuration data that grub writes to disk might not be correct. The
grub configuration writes a file to disk which assumes /dev/hda1 is the root
partition.
Configuring Configuring