ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] восстановление UEFI
Date: Fri, 18 Jan 2013 20:55:41 +0200
Message-ID: <20130118185541.GA21896@osdn.org.ua> (raw)
In-Reply-To: <50F9235D.6060000@gmail.com> <CAJd6d5gEin13jBoDh9PsXAwwVe2bado6g3pwSqHBVX+YztVvLw@mail.gmail.com> <CAJXf7QPi3DLTV_Ze1VO1g4R5==GZvs1rdP=VOiLWhYWAStnfYA@mail.gmail.com>

On Fri, Jan 18, 2013 at 10:50:38AM +0200, Igor Zubkov wrote:
> > /dev/sda1   *           1  1465149167   732574583+  ee  GPT
[...]
> > Found valid GPT with protective MBR; using GPT.
[...]
> > Number  Start (sector)    End (sector)  Size       Code  Name
> >     1            2048         1026047   500.0 MiB   EF00  EFI system partition
> >     2         1026048         1107967   40.0 MiB    FFFF  Basic data partition

Уже хорошо -- значит, хотя бы разметка не снесена
(alterator-vm некоторое время как умеет GPT).

> > [root на comp-home-bush ~]# efibootmgr
> > Fatal: Couldn't open either sysfs or procfs directories for
> > accessing EFI variables.  Try 'modprobe efivars' as root.
> А если сделать перед этим modprobe efivars от рута?

Именно это и надо сделать, причём _обязательно_ загрузившись
в EFI-режиме (при этом конкретно тот rescue и почти все наши
образы с поддержкой UEFI на сей день в начале загрузки скажут
"ELILO 3.14" и ядро будут грузить им).


On Fri, Jan 18, 2013 at 01:08:15PM +0400, Ilja Raskin wrote:
> >> А если сделать перед этим modprobe efivars от рута?
> > ничего нового не происходит
> А модуль в ядре собран или отдельным пакетом? Загружается?

Грузится-то он молча и успешно, но если система грузилась не
в EFI mode, после загрузки модуля не появится /sys/firmware/efi
(а если в -- то он уже должен был быть загружен rescue,
см. /etc/modules).  Гляньте ещё http://www.altlinux.org/UEFI


On Fri, Jan 18, 2013 at 02:26:37PM +0400, Mike wrote:
> >>> Сейчас винда с uefi не грузится - говорит нет системы.
> >>> Можно ли починить загрузку винды?
> >> Восстановить загрузчик средствами винды.
> >> Затем устанавливать кентавр в режиме EFI.

BTW а 20121229 грузился в режиме EFI?  IIRC там забыли отключить
постобработку isohybrid, который заботливо снёс uefi hybrid
bootsector и заменил просто гибридным (BIOS only).

> >> Переключать загрузку ОС из EFI.

Либо менюшкой, если её предоставляет фирмварь; либо установив тот
же refind из сизифа, почитав http://rodsbooks.com/refind/ и настроив.

> > на все вопросы как?
> А вы SecureBoot отключали?

(например, у меня в фирмвари Aptio это Security > Secure Boot)

NB: win8 после этого может отказаться грузиться, насколько понимаю.
Ну и если образ диска ещё не сделали -- может быть самое время...

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  parent reply	other threads:[~2013-01-18 18:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 11:26 Бушуев Сергей
2013-01-17 18:00 ` Michael Shigorin
2013-01-18  9:30   ` Сергей Бушуев
2013-01-18  8:50     ` Igor Zubkov
2013-01-18  9:05       ` bush
2013-01-18  9:08         ` Ilja Raskin
2013-01-18  9:19           ` Бушуев Сергей
2013-01-18 10:18       ` Mike
2013-01-18 18:55   ` Michael Shigorin [this message]
2013-01-19  6:31     ` Бушуев Сергей
2013-01-19  7:54       ` REAL
2013-01-29 11:27         ` Michael Shigorin
2013-01-29 11:45           ` Бушуев Сергей
2013-01-29 14:43             ` Michael Shigorin
2013-01-29 16:25               ` Сергей Бушуев
2013-01-18  8:57 ` Mike
2013-01-18  9:20   ` Igor Zubkov
2013-01-18  9:28   ` Бушуев Сергей
2013-01-18 10:26     ` Mike
2013-01-18 10:34       ` Бушуев Сергей

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=20130118185541.GA21896@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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