LINUX.ORG.RU
решено ФорумAdmin

grub

 


0

1

В системе 2 диска в RAID1. Ставлю grub нa sda все ок, на sdb

# grub-install /dev/sda
Installing for i386-pc platform.
Installation finished. No error reported.
# grub-install /dev/sdb
Installing for i386-pc platform.
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels.  This is not supported yet..
grub-install: error: embedding is not possible, but this is required for RAID and LVM install.

Два диска совершенно идентичные.

# fdisk /dev/sda 

Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x60e716fb

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1  *          2048 1949609983 1949607936 929.7G fd Linux raid autodetect
/dev/sda2       1949609984 1953523711    3913728   1.9G fd Linux raid autodetect


Command (m for help): q

# fdisk /dev/sdb 

Welcome to fdisk (util-linux 2.25.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/sdb: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x1dac54e6

Device     Boot      Start        End    Sectors   Size Id Type
/dev/sdb1  *          2048 1949609983 1949607936 929.7G fd Linux raid autodetect
/dev/sdb2       1949609984 1953523711    3913728   1.9G fd Linux raid autodetect


Command (m for help): q        

Затирание нулями и пересборка рейда решила проблему но причина осталась неизвестна.

Spinel ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.