Where is grub-install command? Solved.

Non-LTS (non-Marathon) related topics
Ответить
Аватара пользователя
benbullard79
Сообщения: 42
Зарегистрирован: 10 июн 2012, 02:10
Operating system: ROSA Fresh R5
OpenMandriva Lx 2014.1
openSuSE 13.2
Откуда: Baton Rouge, LA US

Where is grub-install command? Solved.

Сообщение 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.
Последний раз редактировалось benbullard79 11 апр 2013, 04:44, всего редактировалось 3 раза.
Thanks,
Ben Bullard
Аватара пользователя
benbullard79
Сообщения: 42
Зарегистрирован: 10 июн 2012, 02:10
Operating system: ROSA Fresh R5
OpenMandriva Lx 2014.1
openSuSE 13.2
Откуда: Baton Rouge, LA US

Re: Where is grub-install command?

Сообщение 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.
Thanks,
Ben Bullard
Аватара пользователя
akdengi
Сообщения: 1381
Зарегистрирован: 12 сен 2011, 13:44

Re: Where is grub-install command?

Сообщение 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.

Код: Выделить всё

grub2-install
Аватара пользователя
benbullard79
Сообщения: 42
Зарегистрирован: 10 июн 2012, 02:10
Operating system: ROSA Fresh R5
OpenMandriva Lx 2014.1
openSuSE 13.2
Откуда: Baton Rouge, LA US

Re: Where is grub-install command?

Сообщение 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.
Thanks,
Ben Bullard
Ответить

Вернуться в «ROSA Fresh R1-R3 (2012.1)»