Страница 1 из 1
Where is grub-install command? Solved.
Добавлено: 05 апр 2013, 01:54
benbullard79
From grub2 documentation:
https://www.gnu.org/software/grub/manua ... RUB-Legacy
if one wishes to install grub2 to root partition instead of MBR this is the command to use:
Код: Выделить всё
# grub-install --force /dev/sda17
-bash: grub-install: command not found
as you can see from provided example in ROSA this results in 'command not found'. What's up? Where is 'grub-install' command?
Код: Выделить всё
# rpm -qa | grep grub2
grub2-2.00-17-rosa2012.1.x86_64
kcm-grub2-0.5.8-4-rosa2012.1.x86_64
Please help.
Edit: In fresh install of ROSA Desktop Fresh x86_64.
Re: Where is grub-install command?
Добавлено: 05 апр 2013, 05:11
benbullard79
Turns out you can do this in systemsettings>Startup and Shutdown>Grub2 Bootloader>Advanced>Install/Recover Bootloader.
Credit to ROSA devs this seems to be an excellent addition to systemsettings. However to do what I was trying to do is way faster and simpler from cli.
Re: Where is grub-install command?
Добавлено: 05 апр 2013, 22:09
akdengi
benbullard79 писал(а):From grub2 documentation:
https://www.gnu.org/software/grub/manua ... RUB-Legacy
if one wishes to install grub2 to root partition instead of MBR this is the command to use:
Код: Выделить всё
# grub-install --force /dev/sda17
-bash: grub-install: command not found
as you can see from provided example in ROSA this results in 'command not found'. What's up? Where is 'grub-install' command?
Код: Выделить всё
# rpm -qa | grep grub2
grub2-2.00-17-rosa2012.1.x86_64
kcm-grub2-0.5.8-4-rosa2012.1.x86_64
Please help.
Edit: In fresh install of ROSA Desktop Fresh x86_64.
Re: Where is grub-install command?
Добавлено: 07 апр 2013, 03:08
benbullard79
Thanks.
Код: Выделить всё
# grub2-install --force /dev/sda17
/usr/sbin/grub2-bios-setup: warning: File system `ext2' doesn't support embedding.
/usr/sbin/grub2-bios-setup: 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..
Installation finished. No error reported.
Edit: Should note that while I choose to do this Grub2 developers
do not recommend installing to / partition.