2023年12月30日发(作者:)

└─sda3 8:3 0 3G 0 partsr0 11:0 1 2.9G 0 rom /run/miso/bootmnt[manjaro@manjaro ~]$ sudo mount /dev/sda2 /mnt[manjaro@manjaro ~]$ cd /mnt/@[manjaro@manjaro @]$ sudo manjaro-chroot .sh-5.1# sudo su[manjaro /]# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSloop0 7:0 0 130.5M 1 looploop1 7:1 0 581.8M 1 looploop2 7:2 0 1.5G 1 looploop3 7:3 0 695.2M 1 loopsda 8:0 0 30G 0 disk|-sda1 8:1 0 300M 0 part|-sda2 8:2 0 26.7G 0 part /`-sda3 8:3 0 3G 0 partsr0 11:0 1 2.9G 0 rom

[manjaro /]# mount /dev/sda1 /boot/efi[manjaro /]# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSloop0 7:0 0 130.5M 1 looploop1 7:1 0 581.8M 1 looploop2 7:2 0 1.5G 1 looploop3 7:3 0 695.2M 1 loopsda 8:0 0 30G 0 disk|-sda1 8:1 0 300M 0 part /boot/efi| /boot/efi|-sda2 8:2 0 26.7G 0 part /`-sda3 8:3 0 3G 0 part

sr0 11:0 1 2.9G 0 rom

[manjaro /]# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Manjaro-xfceInstalling for x86_64-efi lation finished. No error reported.[manjaro /]# grub-mkconfig -o /boot/grub/erating grub configuration file ...Found theme: /usr/share/grub/themes/manjaro/nd linux image: /boot/vmlinuz-5.13-x86_64Found initrd image: /boot/ /boot/initramfs-5.13-x86_nd initrd fallback image: /boot/initramfs-5.13-x86_ning: os-prober will be executed to detect other bootable output will be used to detect bootable binaries on them and create new boot boot menu entry for UEFI Firmware Settings ...Detecting snapshots ...Info: Separate boot partition not detectedFound snapshot: 2021-10-12 10:33:04 | timeshift-btrfs/snapshots/2021-10-12_10-33-04/@Found snapshot: 2021-10-12 10:03:56 | timeshift-btrfs/snapshots/2021-10-12_10-03-56/@Found snapshot: 2021-10-11 23:14:18 | timeshift-btrfs/snapshots/2021-10-11_23-14-18/@Found 3 snapshot(s)Unmount /tmp/8JAqwDVa .. SuccessFound memtest86+ image: /boot/memtest86+/[manjaro /]# update-grubGenerating grub configuration file ...Found theme: /usr/share/grub/themes/manjaro/nd linux image: /boot/vmlinuz-5.13-x86_64Found initrd image: /boot/ /boot/initramfs-5.13-x86_nd initrd fallback image: /boot/initramfs-5.13-x86_ning: os-prober will be executed to detect other bootable output will be used to detect bootable binaries on them and create new boot entries.

Adding boot menu entry for UEFI Firmware Settings ...Detecting snapshots ...Info: Separate boot partition not detectedFound snapshot: 2021-10-12 10:33:04 | timeshift-btrfs/snapshots/2021-10-12_10-33-04/@Found snapshot: 2021-10-12 10:03:56 | timeshift-btrfs/snapshots/2021-10-12_10-03-56/@Found snapshot: 2021-10-11 23:14:18 | timeshift-btrfs/snapshots/2021-10-11_23-14-18/@Found 3 snapshot(s)Unmount /tmp/2UQWUC .. SuccessFound memtest86+ image: /boot/memtest86+/e[manjaro /]# ls -l /dev/disk/by-uuid/total 0lrwxrwxrwx 1 root root 9 Oct 16 02:36 2021-09-27-19-59-50-00 -> ../../sr0lrwxrwxrwx 1 root root 10 Oct 16 02:36 4a7e5641-2d0a-4405-bac6-b19df8c28da0 -> ../../sda2lrwxrwxrwx 1 root root 10 Oct 16 02:36 A0A9-5D01 -> ../../sda1lrwxrwxrwx 1 root root 10 Oct 16 02:36 f07a29bf-d167-401d-9718-09862396d3bb -> ../../sda3[manjaro /]# sudo nano /etc/fstab[manjaro /]# exitexitsh-5.1# exitexitumount: /mnt/@: target is busy.[manjaro@manjaro @]$ reboot