You are not logged in.
Pages: 1
Hi everyone,
I had some problem with my grub since an update on windows10
I have a dual boot with Arch on one side and Windows on the other one.
Now every time I start my computer, the grub go in rescue mode, so I have to do
set prefix=(hd0,gpt6)/grub
insmode normal
normalThen from my research, apparently I only had to do
update-grub in order to make it work.
But I still go to rescue mode with this.
So I tried to reinstall grub by following the wiki. So my esp is sda1
parted /dev/sda print
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition boot, esp
2 106MB 123MB 16.8MB Microsoft reserved partition msftres
3 123MB 789GB 789GB ntfs Basic data partition msftdata
4 789GB 790GB 922MB ntfs hidden, diag
5 790GB 790GB 1049kB bios_grub
6 790GB 790GB 315MB ext2
7 790GB 792GB 2147MB linux-swap(v1)
8 792GB 1000GB 207GB ext4
9 1000GB 1000GB 524MB ntfs Basic data partition hidden, diagSo I tried to mount sda1 on /boot then grub-install but I get
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub
Installing for x86_64-efi platform.
grub-install: error: failed to get canonical path of `/boot/grub'.and I try to mount on /boot/efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
Installing for x86_64-efi platform.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda1.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda1.
grub-install: warning: disk does not exist, so falling back to partition device /dev/sda1.
grub-install: error: disk `hostdisk//dev/sda1' not found.After further research I saw that sda6 is mounted on /boot
Finally I don't really know what to do, I'm feeling i'm doing something wrong but can't find what
Thank you !
Offline
I couldn't even begin to guess what windows10 did, but it could have changed partition ordering/numbering.
Regardless, though, you should not us block device names for your bootloader (or fstab) switch then to UUIDs:
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1