NixOS Installation Guide: Difference between revisions
imported>Ixxie No edit summary |
imported>Ixxie No edit summary |
||
| Line 14: | Line 14: | ||
First, download a [http://nixos.org/nixos/download.html NixOS ISO image] or [[Creating a Nix OS live CD|create a custom ISO]]. Then plug in a USB stick large enough to accomodate the image. Then follow the platform instructions: | First, download a [http://nixos.org/nixos/download.html NixOS ISO image] or [[Creating a Nix OS live CD|create a custom ISO]]. Then plug in a USB stick large enough to accomodate the image. Then follow the platform instructions: | ||
On Linux: | |||
*Find the right device with <code>fdisk -l</code>, let's say <code>/dev/sdb</code>. | |||
*Burn with: <code>cp nixos-xxx.iso /dev/sdb</code> | |||
{{Note|do not use /dev/sdb1 or partitions of the disk, use the whole disk /dev/sdb.}} | {{Note|do not use /dev/sdb1 or partitions of the disk, use the whole disk /dev/sdb.}} | ||
| Line 77: | Line 72: | ||
{{Note|For EFI support you may need to change the label of the FAT filesystem. You can do this on Linux with mlabel, and on OS X with diskutil: `sudo diskutil rename OLDNAME NIXOS_ISO`.}} | {{Note|For EFI support you may need to change the label of the FAT filesystem. You can do this on Linux with mlabel, and on OS X with diskutil: `sudo diskutil rename OLDNAME NIXOS_ISO`.}} | ||
== Using syslinux == | === Using syslinux === | ||
=== Using syslinux.cfg === | ==== Using syslinux.cfg ==== | ||
If you have trouble booting from a USB drive or sdcard with Unetbootin (I just got a blinking cursor instead of a bootloader on an Asus eee 1000) the procedure described on http://knoppix.net/wiki/Bootable_USB_Key should work. After preparing the sdcard with mkdiskimage and syslinux you can mount it and copy all the content from the NixOS iso: | If you have trouble booting from a USB drive or sdcard with Unetbootin (I just got a blinking cursor instead of a bootloader on an Asus eee 1000) the procedure described on http://knoppix.net/wiki/Bootable_USB_Key should work. After preparing the sdcard with mkdiskimage and syslinux you can mount it and copy all the content from the NixOS iso: | ||
| Line 122: | Line 117: | ||
</pre> | </pre> | ||
== | === Using Command-line Tools === | ||
<ol> | <ol> | ||