История изменений
Исправление saufesma, (текущая версия) :
And it works! I could successfully boot into my system.
Lucky guy!
All by Debian recomendations
user@debian:/$ cd /mnt
user@debian:/mnt$ sudo mkdir boot
user@debian:/mnt$ cd boot
user@debian:/mnt/boot$ sudo mkdir efi
user@debian:/mnt/boot$ ls
efi
user@debian:/mnt/boot$ cd /
user@debian:/$ sudo mount /dev/sda1 /mnt/boot/efi
user@debian:/$ sudo mount /dev/sda2 /mnt
user@debian:/$ for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; done
user@debian:/$ sudo chroot /mnt
root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Debian
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Debian --force
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
Cool, and there is nothing how to deal with it!
(parted) print
Model: ATA TOSHIBA MK5061GS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 2097kB 317MB 315MB fat32 boot, esp
2 317MB 491GB 491GB ext4
3 491GB 500GB 8744MB linux-swap(v1)
root@debian:/# lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs
sda
├─sda1 vfat CC3E-5EDE
├─sda2 ext4 263bf832-2e2e-48c0-9252-2c28874c4e25 416.5G 2% /
└─sda3 swap 112bcf10-8107-4533-8b28-b74779e6b684
sdb vfat FE23-C7B8
sr0
Исправление saufesma, :
And it works! I could successfully boot into my system.
Lucky guy!
All by Debian recomendations
user@debian:/$ cd /mnt
user@debian:/mnt$ sudo mkdir boot
user@debian:/mnt$ cd boot
user@debian:/mnt/boot$ sudo mkdir efi
user@debian:/mnt/boot$ ls
efi
user@debian:/mnt/boot$ cd /
user@debian:/$ sudo mount /dev/sda1 /mnt/boot/efi
user@debian:/$ sudo mount /dev/sda2 /mnt
user@debian:/$ for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; done
user@debian:/$ sudo chroot /mnt
root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Debian
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Debian --force
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
Cool, and there is nothing how to deal with it!
(parted) print
Model: ATA TOSHIBA MK5061GS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 2097kB 317MB 315MB fat32 boot, esp
2 317MB 491GB 491GB ext4
3 491GB 500GB 8744MB linux-swap(v1)
Исходная версия saufesma, :
And it works! I could successfully boot into my system.
Lucky guy!
All by Debian recomendations
user@debian:/$ cd /mnt
user@debian:/mnt$ sudo mkdir boot
user@debian:/mnt$ cd boot
user@debian:/mnt/boot$ sudo mkdir efi
user@debian:/mnt/boot$ ls
efi
user@debian:/mnt/boot$ cd /
user@debian:/$ sudo mount /dev/sda1 /mnt/boot/efi
user@debian:/$ sudo mount /dev/sda2 /mnt
user@debian:/$ for i in /dev /dev/pts /proc /sys /sys/firmware/efi/efivars /run; do sudo mount -B $i /mnt$i; done
user@debian:/$ sudo chroot /mnt
root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Debian
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
root@debian:/# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Debian --force
Installing for x86_64-efi platform.
grub-install: error: /boot/efi doesn't look like an EFI partition.
Cool, and there is nothing how to deal with it!