[Nix-dev] NixOS on MacBook: freeze at bootloader

Johannes Raggam raggam-nl at adm.at
Thu Feb 27 11:21:49 CET 2014


ha, found the problem!

somehow the partition numbers of my harddrive were renumbered, and i
wasn't using UIDs. 'nixos-option --install' didn't work, so it the
hardware-configuration.nix wasn't updated. (if i understood the process
correctly).

after booting from sdcard and mounting the drives to /mnt and /mnt/boot,
i just had to fix /mnt/etc/nixos/hardware-configuration.nix:

  fileSystems."/" =
    { device = "/dev/sda8";
      fsType = "ext4";
      options = "rw,data=ordered,relatime";
    };

  fileSystems."/boot" =
    { device = "/dev/sda7";
      fsType = "vfat";
      options =
"rw,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro,relatime";
    };


rerun nixos-install and was done!

johannes






On Thu, 2014-02-27 at 11:04 +0100, Johannes Raggam wrote:
> hey there,
> 
> i've installed NixOS on my macbook air (with the help of cilian and
> garbas). that worked fine some weeks ago.
> 
> but now, after upgrade to OSX mavericks, i cant boot into it anymore (i
> use fedora at the moment, so i'm not hurt). it freezes at the
> bootloader. it's an EFI setup. i was using rEFIt, but removed it as i
> found out that i can choose the startup partition by holding down the
> <alt> key while starting up.
> 
> i reinstalled NixOS (latest unstable minimal ISO from yesterday or the
> day before. booting from SDCARD worked fine), followed advices and used
> seperate vfat /boot partition, ext4 /root, EFI boot.
> it still freezes after choosing the EFI boot partition from MacBooks
> built-in bootloader.
> 
> relevant config options:
> 
>   boot.loader.grub.enable = false;
>   boot.loader.gummiboot.enable = true;
>   boot.loader.efi.canTouchEfiVariables = true;
> 
> 
> any ideas?
> 
> johannes
> 
> 
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 
programmatic  web development
di(fh) johannes raggam / thet
python plone zope development
plone framework  team  member
mail: office at programmatic.pro
web:  http://programmatic.pro
      http://bluedynamics.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140227/5b3c4904/attachment.bin 


More information about the nix-dev mailing list