/ UEFI Archlinux ブートローダー再インストール

UEFI Archlinux ブートローダー再インストール

何故か?Album Player USBを立ち上げた後にSSDにインストールしたArchlinuxが起動しなくなる(悲)
UEFI Archlinux ブートローダー再インストールという事になる。
予めArchlinuxインストールCDを立ち上げてroot passwordを設定後に
sshdを起動しておき別PCからsshでログインして作業を進めると楽だと思う。
$ ssh -l root 192.168.1.14
password

root@archiso ~ # mount /dev/sda3 /mnt
root@archiso ~ # mount /dev/sda2 /mnt/boot
root@archiso ~ # mount /dev/sda1 /mnt/boot/efi
root@archiso ~ # arch-chroot /mnt /bin/bash
[root@archiso /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch --boot-directory=/boot/efi/EFI --recheck
Installing for x86_64-efi platform.
Installation finished. No error reported.
[root@archiso /]# grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-rt-lts
Found initrd image: /boot/initramfs-linux-rt-lts.img
Found fallback initrd image(s) in /boot: initramfs-linux-rt-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: initramfs-linux-fallback.img
done
[root@archiso /]# exit
exit
127 root@archiso ~ #
127 root@archiso ~ #
127 root@archiso ~ #
127 root@archiso ~ # reboot
Connection to 192.168.11.14 closed by remote host.
Connection to 192.168.11.14 closed.

— posted by くま at 08:55 pm  

この記事に対するコメントはありません

<< 2020.11 >>
SMTWTFS
1 2 3 456 7
8 9 1011 12 1314
15 16 1718 1920 21
22 232425 2627 28
29 30     
 
























T: Y: ALL: Online:
ThemePanel
Created in 0.0545 sec.