[Nix-dev] nixOS not installing using graphical iso

Domen Kožar domen at dev.si
Mon Mar 2 20:33:08 CET 2015


I've seen this one too many times, could we detect the problem sooner by
distinguishing between a partition and a block device?

On Mon, Mar 2, 2015 at 8:23 PM, Arseniy Seroka <ars.seroka at gmail.com> wrote:

> The problem is with  boot.loader.grub.device = "/dev/sda2";
> Change to  boot.loader.grub.device = "/dev/sda";
>
> 2015-03-02 22:20 GMT+03:00 Tony Su <tonysu at su-networking.com>:
>
>>  Domen, including in the steps I described at the top is a link to
>> another pastebin which contains my configuration file.
>>
>> Bjorn, cool. I'll try modifying now.
>>
>> Tony
>>
>> On Mon, Mar 2, 2015 at 10:56 AM, Bjørn Forsman <bjorn.forsman at gmail.com>
>> wrote:
>> > On 2 March 2015 at 19:18, Tony Su <tonysu at su-networking.com> wrote:
>> >> I've posted on the following Pastebin
>> >> http://pastebin.com/QXhLzNLg
>> >>
>> >> The installation steps,
>> >> Followed by the exact error which causes the installation error as
>> >> follows when the installation attempts to write to the ext4 partition
>> >> but recognizes it as an ext2 partition
>> >>
>> >>
>> >>
>> /nix/store/ndzya2b420gjkgjvylj8lj1cg00lv157-grub-2.02-git-1de3a4/sbin/grub-install:
>> >> warning: File system `ext2' doesn't support embedding.
>> >>
>> /nix/store/ndzya2b420gjkgjvylj8lj1cg00lv157-grub-2.02-git-1de3a4/sbin/grub-install:
>> >> warning: Embedding is not possible.  GRUB can only be installed in
>> >> this setup by using blocklists.  However, blocklists are UNRELIABLE
>> >> and their use is discouraged..
>> >>
>> /nix/store/ndzya2b420gjkgjvylj8lj1cg00lv157-grub-2.02-git-1de3a4/sbin/grub-install:
>> >> error: will not proceed with blocklists.
>> >> /nix/store/xcni2yv1dkbi07028rn7ha4cqiz3fv7b-install-grub.pl:
>> >> installation of GRUB on /dev/sda2 failed
>> >
>> > I've seen this before. It happens if you pass a partition (/dev/sda1)
>> > instead of a disk (/dev/sda) to grub.
>> >
>> > - Bjørn
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
>
>
> --
> Sincerely,
> Arseniy Seroka
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150302/d05b6ed9/attachment-0001.html 


More information about the nix-dev mailing list