[Nix-dev] Installing Nixos

Vladimír Čunát vcunat at gmail.com
Mon Aug 11 20:25:36 CEST 2014


Reposting to the list:

On 08/09/2014 05:33 PM, Julio Cesar Campos wrote:
> This is installation steps were done:
>
> ------------------------------------------------------------------------------------------------------------------
>
> My Netbook is a Lenovo Ideapad S10, with 1 Giga of Ram, etc. I have
> currently installed Archlinux on.
>
> I make a bootable usb with Unetbootin, and follow the instructions below:
>
> Activate the swap space using:
>
> mkswap-L  swap/dev/sda1
> swapon/dev/sda1
>
> Now format the second partition:
>
> mkfs.ext4-L  nixos/dev/sda2
>
> Now mount the new partition:
>
> mount  /dev/disk/by-label/nixos/mnt
>
> Descriptive configuration files are at the heart of NixOS and the Nix
> Package Manager. Even the installation process needs a configuration
> file to tell NixOS what to install. To generate a default configuration
> file type:
>
> nixos-generate-config--root  /mnt
>
> Now edit the resulting file using nano:
>
> nano  /mnt/etc/nixos/configuration.nix
>
> Find the following lines and remove the “#” sign from the beginning:
>
>   * boot.loader.grub.device = “/dev/sda”
>   * services.openssh.enable = true
>   * services.xserver.enable = true
>   * services.xserver.layout = “us”
>   * services.xserver.desktopManager.kde4.enable = true;
>   * services.xserver.displayManager.kdm.enable = true;
>
> Exit nano using CTRL-X and start the installation:
>
> nixos-install
>
> Once the installation has completed, reboot your system. You will need
> to remove the CD or pick the “Boot from hard disk” option if you booted
> from the optical drive.
>
> The system should boot into the display manager; however, you can’t yet
> log in as there are no users defined, and root logins aren’t allowed on
> the desktop. Press CTRL+ALT+F1 to switch to a console.
>
> Now log in as root and add a user. Here is how to create the user “gary”


I gather you didn't get into the last paragraph and instead GRUB failed 
at that reboot, right?


Vlada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140811/242ce10f/attachment.bin 


More information about the nix-dev mailing list