ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavel Vainerman <pv@etersoft.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Обновление p8 --> sisyphus ломает grub
Date: Thu, 2 Nov 2017 17:06:44 +0300
Message-ID: <d189b722-1484-250b-9d76-8492e2b7b02f@etersoft.ru> (raw)

Добрый день.

Пытаюсь обновить p8 --> Сизиф.
Машина виртуальная.
После apt-get dist-upgrade получаю поломанный grub
(проблема повторяемая)

Во время установки есть такой лог

676: grub-efi
###################################################################################################
[ 77%]
modprobe: ERROR: could not insert 'efivars': No such device
grep: /etc/sysconfig/grub: Нет такого файла или каталога
Not booted in EFI mode, unable to update EFI GRUB
677: grub-pc
###################################################################################################
[ 77%]
Updating grub on /dev/disk/by-id/ata-VBOX_HARDDISK_VBe8c2a3a7-017b7706
Выполняется установка для платформы i386-pc.
/usr/sbin/grub-install: ошибка: не удалось найти привод GRUB для
/dev/disk/by-id/ata-VBOX_HARDDISK_VBe8c2a3a7-017b7706. Проверьте device.map.
** WARNING: grub-autoupdate failed, NEXT BOOT WILL LIKELY FAIL NOW
** WARNING: please run it by hand, record the output offline,
** WARNING: make sure you have bootable rescue CD/flash media handy
** WARNING: and try `grub-install /dev/sdX' manually

и главное почему-то grub считает что /dev/sda  ext2,
хотя это диск ext4.

[root@rx-testclient sources.list.d]# grub-probe -d /dev/sda
ext2

[root@rx-testclient sources.list.d]# mount | grep /dev/sda
/dev/sda on / type ext4 (rw,relatime,data=ordered)

И да,  /dev/disk/by-id/ata-VBOX_HARDDISK_VBe8c2a3a7-017b7706 на месте

Чтобы это могло быть?
Т.к. машина виртуальная. Я сделал snapshot до обновления. Так что могу
воспроизводить если что.


-- 
Pavel Vainerman
www.etersoft.ru


             reply	other threads:[~2017-11-02 14:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02 14:06 Pavel Vainerman [this message]
2017-11-02 14:11 ` Anton Farygin
2017-11-02 14:51 ` Pavel Vainerman
2017-11-02 19:55 ` Alexey Shabalin
2017-11-02 21:03 ` Leonid Krivoshein
2017-11-02 21:12 ` Leonid Krivoshein

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=d189b722-1484-250b-9d76-8492e2b7b02f@etersoft.ru \
    --to=pv@etersoft.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git