Имеется аппаратный raid5 из 12винтов. На нем всего один раздел в gpt, на котором собсна развернута система. Не могу установить груб на загрузку. Ни grub 0.97 с gpt патчем, ни grub2 из свна.
grub 0.97
Код: Выделить всё
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 15: File not found
grub>quit
livecd / # ls /boot/grub/stage*
/boot/grub/stage1 /boot/grub/stage2 /boot/grub/stage2.old /boot/grub/stage2_eltoritoиспользуется с таким конфигом:
Код: Выделить всё
default 0
timeout 30
title Gentoo Linux
root (hd0,1)
kernel /boot/bzImage root=/dev/sda1и grub2
Код: Выделить всё
grub-setup -v --directory=/boot/grub --device-map=/boot/grub/device.map '(hd0)'
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: changing current directory to /dev
grub-setup: info: changing current directory to i2o
grub-setup: info: changing current directory to input
grub-setup: info: changing current directory to cciss
grub-setup: info: changing current directory to ataraid
grub-setup: info: changing current directory to pts
grub-setup: info: changing current directory to shm
grub-setup: info: changing current directory to rd
grub-setup: info: /dev/sda1 starts from 34
grub-setup: info: opening the device hd0
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: Partition 0 starts from 34
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: reading /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: setting the root device to `hd0,1'
grub-setup: info: dos partition is 0, bsd partition is -1
grub-setup: info: will leave the core image on the filesystem
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from GRUB
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from GRUB again
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from GRUB again
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from GRUB again
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: info: attempting to read the core image `/boot/grub/core.img' from GRUB again
grub-setup: info: the size of hd0 is 21484142592
grub-setup: info: couldn't open the core image
grub-setup: info: error message = file not found
grub-setup: error: Cannot read `/boot/grub/core.img' correctlyиспользуемый с таким конфигом:
Код: Выделить всё
cat /boot/grub/grub.cfg
set default=0
set timeout=5
menuentry "gntoo)" {
set root=(hd0,1)
linux /boot/bzImage root=/dev/sda1 gpt
}Естевственно /boot/grub/core.img есть на месте.
Есть какие-то идеи?