[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Перенос GRUB



Добрый день.
Возникла необходимость перенести /boot на отдельный раздел (отдельный LUN на дисковом массиве).
Что сделано:
Создал LUN, система его увидела, создал primary раздел, создал файловую систему:
fdisk -l /dev/mapper/3600a0b800013d01700000ee24b97e7ad

Disk /dev/mapper/3600a0b800013d01700000ee24b97e7ad: 524 MB, 524288000 bytes
17 heads, 59 sectors/track, 1020 cylinders
Units = cylinders of 1003 * 512 = 513536 bytes
Disk identifier: 0x6d7c8e98

Device Boot Start End Blocks Id System /dev/mapper/3600a0b800013d01700000ee24b97e7ad1 1 1020 511500+ 83 Linux

Файловую систему смонтировал, скопировал содержимое /boot:
cat /etc/mtab
-cut-
/dev/mapper/3600a0b800013d01700000ee24b97e7ad-part1 /root/tmp ext3 rw 0 0

ls /root/tmp/
config-2.6.18-5-686 initrd.img-2.6.18-5-686 initrd.img-2.6.29-bpo.2-686.bak System.map-2.6.26-2-686 vmlinuz-2.6.29-bpo.2-686 config-2.6.26-1-686 initrd.img-2.6.26-1-686 load-kernel-2.6.18-5-686.sh System.map-2.6.29-bpo.2-686 config-2.6.26-2-686 initrd.img-2.6.26-2-686 lost+found vmlinuz-2.6.18-5-686 config-2.6.29-bpo.2-686 initrd.img-2.6.26-2-686.bak System.map-2.6.18-5-686 vmlinuz-2.6.26-1-686 grub initrd.img-2.6.29-bpo.2-686 System.map-2.6.26-1-686 vmlinuz-2.6.26-2-686

Загвоздка с установкой grub.

grub-install --root-directory=tmp /dev/mapper/3600a0b800013d01700000ee24b97e7ad grub-probe: error: no mapping exists for `3600a0b800013d01700000ee24b97e7ad-part1'
/usr/sbin/grub-install: line 374: [: =: unary operator expected
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
Unknown partition table signature
The file tmp/boot/grub/stage1 not read correctly.

Что не так?




Reply to: