[Nix-dev] grub install problem

Roelof Wobben rwobben at hotmail.com
Wed Feb 9 13:21:51 CET 2011


Hello, 


It don't work,
When I do nixos-rebuild switch --install-grub --fallback 2>&1 >>error.txt 


The error is not recorded.


Can maybe a screenshot with the error message work for you.


Roelof



> Subject: RE: [Nix-dev] grub install problem
> From: marco-oweber at gmx.de
> To: rwobben at hotmail.com
> Date: Wed, 9 Feb 2011 12:14:45 +0100
> 
> Excerpts from Roelof Wobben's message of Wed Feb 09 11:49:49 +0100 2011:
> > Could you help me with this ?
> 
> Your problem is that you have to redirect stderr to stdout before
> writing to a file:
> 
> command 2>&1 >> file
> 
> from bash 4 on you can use &>> AFAIK
> 
> >> means append. So probably &> file (shortcut for 2>&1 >  file)
> would have been what you want here.
> 
> Sorry. This curl command actually works:
> 
> curl -si -F 'content=<X' http://dpaste.com/api/v1/ | grep ^Location: | colrm 1 10
> 
> X is the filename
> 
> Marc Weber
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110209/9dc47c6b/attachment.html 


More information about the nix-dev mailing list