установка grub-загрузчика
Добавлено: 2009-01-17 12:12:33
как установить grub-загрузчик?
Где ты ничего не можешь сделать - ты ничего не должен хотеть
https://forum.lissyara.su/
А что после прочтения man grub не стало ясноweec писал(а):как установить grub-загрузчик?
обычно достаточноweec писал(а):как установить grub-загрузчик?
Код: Выделить всё
grub-install /dev/hda
Код: Выделить всё
# grub
grub> root (hd0,0) (указание расположения раздела с /boot, пользуемся TAB чтобы увидеть список разделов)
grub> setup (hd0) (установка GRUB в MBR)
grub> quit
Код: Выделить всё
title FreeBSD
root (hd0,4,a)
kernel /boot/loader
boot
Код: Выделить всё
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (hd0,1,a)
Filesystem type is ufs2, partition type 0xa5
grub> setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/ufs2_stage1_5" exists... yes
Running "embed /boot/grub/ufs2_stage1_5 (hd0)"... failed (this is not fatal)
Running "embed /boot/grub/ufs2_stage1_5 (hd0,1,a)"... failed (this is not fatal)
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed