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 <[email protected]> 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 <[email protected]>: > >> 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 <[email protected]> >> wrote: >> > On 2 March 2015 at 19:18, Tony Su <[email protected]> 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 >> [email protected] >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> > > > > -- > Sincerely, > Arseniy Seroka > > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
