From: Vladimir Karpinsky <vkarpinsky@mail.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] Переезд на новые диски (RAID1)
Date: Wed, 14 Jan 2015 12:34:58 +0300
Message-ID: <54B63842.9020304@mail.ru> (raw)
In-Reply-To: <20150112092652.GC31160@imap.altlinux.org>
12.01.2015 12:26, Michael Shigorin пишет:
> Помнится, grub-probe удавалось убедить рассказывать достаточно
> подробно, что делает. Или sh -x grub-install с записью выхлопа
> в файл для дальнейшего изучения.
Сделал, но просветление не наступило. Весь лог пока не буду вставлять (там
> 200k), привожу конец:
+ path=/boot/grub
+ test -e /boot/grub
+ :
+ /usr/sbin/grub-probe -t fs /boot/grub
+ :
++ /usr/sbin/grub-probe -t abstraction /boot/grub
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some
modules may be missing from core image..
+ abstractions='diskfilter mdraid09 diskfilter mdraid09 '
+ :
+ '[' x = xy ']'
+ for abstraction in '$abstractions'
+ '[' xdiskfilter = xcryptodisk ']'
+ for abstraction in '$abstractions'
+ '[' xmdraid09 = xcryptodisk ']'
+ for abstraction in '$abstractions'
+ '[' xdiskfilter = xcryptodisk ']'
+ for abstraction in '$abstractions'
+ '[' xmdraid09 = xcryptodisk ']'
+ return 0
++ /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=device
/boot/grub
+ grub_device=/dev/md0
+ test -f /boot/grub/grubenv
++ echo /dev/md0
++ xargs /usr/sbin/grub-probe --device-map=/boot/grub/device.map
--target=fs --device
+ fs_module=ext2
+ test xext2 = x
+ partmap_module=
++ echo /dev/md0
++ xargs /usr/sbin/grub-probe --device-map=/boot/grub/device.map
--target=partmap --device
+ for x in '`echo "${grub_device}" | xargs "$grub_probe"
--device-map="${device_map}" --target=partmap --device 2> /dev/null`'
+ case "$x" in
+ partmap_module=' part_msdos'
+ for x in '`echo "${grub_device}" | xargs "$grub_probe"
--device-map="${device_map}" --target=partmap --device 2> /dev/null`'
+ case "$x" in
+ partmap_module=' part_msdos part_msdos'
++ echo /dev/md0
++ xargs /usr/sbin/grub-probe --device-map=/boot/grub/device.map
--target=abstraction --device
/usr/sbin/grub-probe: warning: Couldn't find physical volume `(null)'. Some
modules may be missing from core image..
+ devabstraction_module='diskfilter mdraid09 diskfilter mdraid09 '
+ '[' xbiosdisk = xata ']'
+ '[' xbiosdisk = xnative ']'
+ modules=' biosdisk'
+ modules=' biosdisk ext2 part_msdos part_msdos diskfilter mdraid09
diskfilter mdraid09 '
++ /usr/bin/grub-mkrelpath /boot/grub
+ relative_grubdir=/boot/grub
+ '[' x/boot/grub = x ']'
+ prefix_drive=
+ config_opt_file=
+ rm -f /boot/grub/i386-pc/load.cfg
+ '[' x '!=' x ']'
+ '[' 'xdiskfilter mdraid09 diskfilter mdraid09 ' = x ']'
+ '[' x = xy ']'
++ /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=drive
--device /dev/md0
+ prefix_drive='(mduuid/a429018db45d289542891b3741128c9a)'
+ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
+ mkimage_target=i386-pc
+ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
+ imgext=img
+ '[' x = x ']'
+ /usr/bin/grub-mkimage -d /usr/lib64/grub/i386-pc -O i386-pc
--output=/boot/grub/i386-pc/core.img
'--prefix=(mduuid/a429018db45d289542891b3741128c9a)/boot/grub' biosdisk
ext2 part_msdos part_msdos diskfilter mdraid09 diskfilter mdraid09
+ '[' i386-pc = mipsel-loongson ']'
+ '[' i386-pc = i386-ieee1275 ']'
+ '[' i386-pc = powerpc-ieee1275 ']'
+ '[' i386-pc = i386-efi ']'
+ '[' i386-pc = x86_64-efi ']'
+ '[' i386-pc = i386-pc ']'
+ sync
+ sleep 2
+ /usr/sbin/grub-bios-setup --directory=/boot/grub/i386-pc
--device-map=/boot/grub/device.map /dev/sda
+ gettext 'Installation finished. No error reported.'
Installation finished. No error reported.+ echo
+ exit 0
Да ещё: на md0 файловая система ext4 (как и на старых дисках), м.б. это важно.
--
С уважением,
Владимир.
next prev parent reply other threads:[~2015-01-14 9:34 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-08 11:12 [Comm] Переезд на новый диск Vladimir Karpinsky
2014-11-09 15:38 ` Michael Shigorin
2014-11-09 15:47 ` Vladimir Karpinsky
2014-11-09 15:49 ` Michael Shigorin
2014-11-09 15:54 ` Vladimir Karpinsky
2014-11-09 15:49 ` Vladimir Karpinsky
2014-11-10 8:14 ` Vladimir Karpinsky
2014-11-10 8:34 ` Vladimir Karpinsky
2014-11-10 11:46 ` Vladimir Karpinsky
2014-11-10 13:35 ` Андрій Добровольський
2014-11-10 16:20 ` Vladimir Karpinsky
2014-11-10 16:39 ` Андрій Добровольський
2014-11-10 8:35 ` Gennadii Redko
2014-11-10 9:06 ` Vladimir Karpinsky
2014-11-10 10:50 ` Gennadii Redko
2015-01-10 16:23 ` [Comm] Переезд на новые диски (RAID1) Vladimir Karpinsky
2015-01-10 17:27 ` alexei
2015-01-10 17:58 ` Vladimir Karpinsky
2015-01-10 18:11 ` alexei
2015-01-11 14:30 ` Vladimir Karpinsky
2015-01-12 9:26 ` Michael Shigorin
2015-01-12 9:38 ` Vladimir Karpinsky
2015-01-12 10:46 ` Vladimir Karpinsky
2015-01-12 11:16 ` Denis G. Samsonenko
2015-01-12 11:20 ` Michael Shigorin
2015-01-12 12:02 ` Vladimir Karpinsky
2015-01-14 9:34 ` Vladimir Karpinsky [this message]
2015-04-16 8:52 ` Vladimir Karpinsky
2015-04-16 8:59 ` alexei
2015-04-16 8:59 ` Anton Gorlov
2015-04-16 9:31 ` Vladimir Karpinsky
2015-04-16 9:56 ` alexei
2015-04-16 10:03 ` Vladimir Karpinsky
2015-04-16 10:09 ` alexei
2015-04-16 10:32 ` Vladimir Karpinsky
2015-04-16 10:44 ` alexei
2015-04-16 16:01 ` Vladimir Karpinsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54B63842.9020304@mail.ru \
--to=vkarpinsky@mail.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git