ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Перенос UEFI диска на другой комп
Date: Fri, 26 Jul 2019 02:28:30 +0300
Message-ID: <46becccf-2202-7cde-9f1e-72ffffd8ae69@gmail.com> (raw)
In-Reply-To: <CAK1jUOvP71t-OZ3EUci4TZf01y9X002+0hLKiu0tbY4QGT2u_w@mail.gmail.com>

Бодрых стуков!

25.07.2019 17:06, Dmitriy Rusetskiy пишет:
> Добрый день!
> Случилась следующая ситуация:
> На компе установлен SSD с AltLinux sisyhpus.
> Загрузчик UEFI.
> Вышла из строя мат. плата.
> Заменил комп и переставил диск с поломанного.
> Настроил в Bios UEFI.
> Далее сделал как написано на AltWiki(https://www.altlinux.org/UEFI):
> 1. Загрузился со спасательной флешки в UEFI режиме
> 2. Подмонтировал систему (mount-system)
> 3. chroot /mnt/system1
> 4. grub-install

Здесь точно ошибка:
1) Нужно было проверить, смонтирован ли /boot/efi в чруте и запускать с 
определёнными параметрами для UEFI
2) Поскольку плата новая, обязательно выполнить make-initrd -k <версия ядра>

Детали смотрите в https://www.altlinux.org/Rescue/Recovery

Грузитесь с ALT Rescue с удалённым управлением по SSH (нужно добавить в 
параметры загрузки после TAB и TAB: ip=dhcp port=22 rootpw=AUTO) и 
копируйте в/в из нормальной консоли, чтобы не мучиться. А получить (до 
захода в чрут) желательно вот чего:

(set -x
uname -a
mount-system
cat /mnt/system1/etc/os-release
grep /sys/firmware/efi/efivars /proc/mounts
efibootmgr
efibootmgr -v
fdisk -l
lsblk -f
cat /mnt/system1/etc/fstab) 2>&1 |tee report.log

Это всего одна команда. И report.log "в студию"!


> 5. exit
> 6. umount -al
> 7. reboot
> Перезагружаюсь - нет загрузочых девайсов.
>
> Потом мучился с различными вариациями и гуугле советами -
> результат всегда один и тот же.
> При выборе источника загрузки (F12) Bios показывает почему-то пустую 
> строку без имени
> можно ее выбрать но результат тот же.
> efibootmmgr показывает что метка altlinux есть.
>
> Может я что-то делаю не так?
> Поможите разобраться. Или возможна-ли установка grub в legacy режиме?
>
>
> BIOS:
> Model Name     H110M-S2
> Bios Version   F24
> Bios Date      04/12/2018
> Bios ID        8A29AG0O
>
>
>
>
> _______________________________________________
> Sisyphus mailing list
> Sisyphus@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sisyphus

-- 
Best regards,
Leonid Krivoshein.



      parent reply	other threads:[~2019-07-25 23:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-25 14:24 ` Nikolai Kostrigin
2019-07-25 14:26   ` Nikolai Kostrigin
2019-07-25 15:22       ` Nikolai Kostrigin
2019-07-28 15:58                   ` [sisyphus] Fwd: " Leonid Krivoshein
2019-07-25 16:45 ` [sisyphus] " Michael Shigorin
2019-07-25 17:34     ` Michael Shigorin
2019-07-28 13:50           ` [sisyphus] Fwd: " Leonid Krivoshein
2019-07-28 19:07               ` Leonid Krivoshein
2019-07-29 13:49                   ` Leonid Krivoshein
2019-07-29 14:00                     ` Michael Shigorin
2019-07-29 14:09                       ` Leonid Krivoshein
2019-07-29 14:14                       ` Leonid Krivoshein
2019-07-29 17:10                       ` Leonid Krivoshein
2019-07-29 19:24                           ` Leonid Krivoshein
2019-07-29 13:59                   ` Leonid Krivoshein
2019-07-29 22:39           ` Leonid Krivoshein
2019-07-31  9:17                 ` Leonid Krivoshein
2019-08-01 22:26                     ` Leonid Krivoshein
2019-08-01 22:30                       ` Leonid Krivoshein
2019-08-02  7:02                         ` Nikolai Kostrigin
2019-07-25 23:28 ` Leonid Krivoshein [this message]

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=46becccf-2202-7cde-9f1e-72ffffd8ae69@gmail.com \
    --to=klark.devel@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