mount /dev/sda9 /media/flash
(where sda9 is my NEXT / install)
grub-install --root-directory=/media/flash /dev/sda9
and
grub-install --root-directory=/media/flash /dev/sda
give the same :
root@slitaz:/home/tux# grub-install --root-directory=/media/flash /dev/sda
cmp: EOF on /tmp/grub-install.img.7j727o
cmp: EOF on /tmp/grub-install.img.7j727o
cmp: EOF on /tmp/grub-install.img.7j727o
cmp: EOF on /tmp/grub-install.img.7j727o
cmp: EOF on /tmp/grub-install.img.7j727o
The file /media/flash/boot/grub/stage1 not read correctly.
thats what i have with slitaz5
with NEXT, with grub2:
root@slitaz:/home/tux# grub-install --root-directory=/media/flash /dev/sda9
Installing for i386-pc platform.
grub-install: warning: File system `ext2' doesn't support embedding.
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..
grub-install: error: will not proceed with blocklists.
root@slitaz:/home/tux# grub-install --root-directory=/media/flash /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
==> grub2
minimal bash like...
grub>