Страница 1 из 1

Gentoo/FreeBSD & grub

Добавлено: 2009-06-28 12:11:58
Demiurg
Поставил на ноут, систему Gentoo/FreeBSD, загрузчиr выбрал grub. grub.conf :

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

default 0
timeout 30
splashimage=(hd0,0,a)/boot/grub/play_gentoo.xpm.gz

title Gentoo
root (hd0,0,a)
kernel /boot/loader
boot
Разметка файловой системы:

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

/dev/ad2s1a     /                ufs             rw,noatime              1 1
/dev/ad2s1d              /usr            ufs             rw,noatime              2 2
/dev/ad3s1b              none           swap          sw                           0 0
/dev/ad3s1d              /var           ufs             rw,noatime               2 2
/dev/ad3s1e              /home        ufs             rw,noatime               2 2
Но при загрузке не появляется меню grub'а, приходится делать:

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

grub> find /boot/grub/stage1
(hd0,0,a)
grub> kernel (hd0,0,a)/boot/loader
[FreeBSD-a.out, loadaddr=0x200000, text=0x1000, data=0x3a000, bss=0x0, entry=0x200000]
grub> boot
ЧЯДНТ ?

Re: Gentoo/FreeBSD & grub

Добавлено: 2009-06-28 16:19:15
manefesto
grub-install ?

Re: Gentoo/FreeBSD & grub

Добавлено: 2009-06-29 8:05:01
Demiurg

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

eee ~ # sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 -> 16
eee ~ # grub-install hd0
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/ad2
(hd1)   /dev/ad3
(hd2)   /dev/da0
eee ~ #
не помогает... :)

Re: Gentoo/FreeBSD & grub

Добавлено: 2009-06-29 8:15:19
manefesto
http://freebsdwiki.org/index.php/GRUB_FreeBSD
и вообще, файл должен называться menu.lst

Re: Gentoo/FreeBSD & grub

Добавлено: 2009-06-29 8:57:32
Demiurg

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

eee ~ # ls -l /boot/grub/ | grep menu
lrwxr-xr-x  1 root  wheel       9 Jun 27 10:17 menu.lst -> grub.conf
eee ~ #
Согласно этому http://freebsdwiki.org/index.php/GRUB_FreeBSD только заменил строчку в menu.lst c boot -> makeactive, заново "засетапил", и... ничего... как было приглашение grub при загрузке так и осталось...

Re: Gentoo/FreeBSD & grub

Добавлено: 2009-06-29 8:59:15
manefesto
хз, он у тебя menu.lst не читает

Re: Gentoo/FreeBSD & grub

Добавлено: 2009-06-29 10:10:53
Demiurg

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

eee boot # rm menu.lst
eee boot # cp grub.conf menu.lst
так работает... :) спасибо за ответы...