2006-08-27 14:14:59 +00:00
|
|
|
#! @bash@/bin/sh -e
|
|
|
|
|
2006-08-30 00:15:02 +00:00
|
|
|
export PATH=@bash@/bin:@coreutilsdiet@/bin:@coreutils@/bin:@findutils@/bin:@utillinux@/bin:@utillinux@/sbin:@e2fsprogs@/sbin:@grub@/sbin:@sysvinitPath@/sbin:@gnugrep@/bin:@which@/bin:@gnutar@/bin:@busybox@/bin:@busybox@/sbin:@nano@/bin
|
2006-08-27 14:14:59 +00:00
|
|
|
|
|
|
|
#tty=$1
|
|
|
|
|
|
|
|
#exec < $tty > $tty 2>&1
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo "=== Welcome to Nix! ==="
|
2006-08-27 22:31:35 +00:00
|
|
|
echo "NixOS Installation instructions"
|
|
|
|
echo ""
|
|
|
|
echo "* edit the file called 'disklayout' (vi is provided) and provide"
|
|
|
|
echo " the following name=value pairs:"
|
|
|
|
echo " * INSTALLDEVICE (root device, for example /dev/hda1)"
|
|
|
|
echo " * SWAP (swap device, for example /dev/hda2)"
|
|
|
|
echo " * TARGETDRIVE (target drive to install grub, for example /dev/hda)"
|
|
|
|
echo "* run: sh fill-disk.sh"
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo ""
|
2006-08-27 14:14:59 +00:00
|
|
|
|
|
|
|
export HOME=/
|
|
|
|
cd $HOME
|
|
|
|
|
|
|
|
exec @bash@/bin/sh
|