[Nix-dev] Grub Install Failure when using boot.loader.devices = [ "/dev/sda" "/dev/sdb" ];
Roger Qiu
roger.qiu at polycademy.com
Wed Jul 2 12:59:17 CEST 2014
Hello everybody,
When I run with:
```
boot.loader.device = "/dev/sda"
```
or
```
boot.loader.device = "/dev/sdb"
```
It works.
But when I try to install Grub on both using:
```
boot.loader.devices = [ "/dev/sda" "/dev/sdb" ];
```
This is basically the abridged error message:
```
Path '/boot/grub' is not readable by GRUB on boot. Installation is
impossible. Aborting. /nix/store/bv..etc...install-grub.pl: installation
of GRUB on /dev/sdb failed
```
Any ideas?
Additional information:
The sda and sdb are formatted via GPT using sgdisk. I used this command:
```
sgdisk -n 1:2048:+30MB -c 1:"BIOS Boot Partition" -t 1:ef02 /dev/sda
begin=`sgdisk -f /dev/sda`
sgdisk -n 2:$begin:0 -c 2:"Data Partition" -t 2:8300 /dev/sda
```
And did it for both sda and sdb.
Thanks,
Roger
--
Founder of Polycademy & SnapSearch
http://polycademy.com
https://snapsearch.io
+61420925975
More information about the nix-dev
mailing list