Hi everyone. After a few years without using linux, today I installed debian.
I hace a "dual-boot" installation with windows 10, I have a partitioned nvme disk, but Im having some problems..
During the grub installation, windows was not detected... but I could finish the installation.. after reboot my pc, I cant choose between my two O.S. grub shows its rescue mode..
At least I can enter linux with the following commands:
Once logged in linux, Im trying to configure and fix grub, but at the moment with no success, I think is due to the nvme disk...
This is my partition table:
when I try to install grub in the EFI partition I got this:
(I dont know why it says ext2, I chose ext4 during the installation)
I even tried to upgrade grub, just in case..
Any help will be welcomed.
Thanks a lot and please sorry about my english, is not my primary language.
I hace a "dual-boot" installation with windows 10, I have a partitioned nvme disk, but Im having some problems..
During the grub installation, windows was not detected... but I could finish the installation.. after reboot my pc, I cant choose between my two O.S. grub shows its rescue mode..
At least I can enter linux with the following commands:
set root=(hd3,gpt6)
set prefix=(hd3,gpt6)/boot/grub
insmod normal
normal
Once logged in linux, Im trying to configure and fix grub, but at the moment with no success, I think is due to the nvme disk...
This is my partition table:
Disk /dev/nvme0n1: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: ADATA SWORDFISH
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 14AACAC3-053B-404E-8CB3-8BCA135FE662
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 206847 204800 100M EFI System
/dev/nvme0n1p2 206848 239615 32768 16M Microsoft reserved
/dev/nvme0n1p3 239616 313070864 312831249 149.2G Microsoft basic data
/dev/nvme0n1p4 487325696 488394751 1069056 522M Windows recovery environment
/dev/nvme0n1p5 313071616 315219967 2148352 1G Linux swap
/dev/nvme0n1p6 315219968 487325695 172105728 82.1G Linux filesystem
when I try to install grub in the EFI partition I got this:
Btw is trying to install it in 32bits architecture, while I have 64 bits, if I try to force the 64 bits install, I got this:sudo grub-install /dev/nvme0n1p1
Installing for i386-pc platform.
grub-install: warning: File system `fat' doesn't support embedding.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
If I try to install it where my root partition is, I got this:sudo grub-install --target=x86_64-efi /dev/nvme0n1p1
grub-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.
(I dont know why it says ext2, I chose ext4 during the installation)
And of course I can´t either install it in the "root" of the disk:sudo grub-install /dev/nvme0n1p6
Installing for i386-pc platform.
grub-install: warning: File system `ext2' doesn't support embedding.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
sudo grub-install /dev/nvme0n1
Installing for i386-pc platform.
grub-install: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists.
I even tried to upgrade grub, just in case..
Seeing grub-legacy and grub-pc conflictging I guess is a problem of my nvme disk, but Im not sure and I dont know how to proceed..sudo apt-get upgrade grub
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'grub-legacy' instead of 'grub'
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
grub-pc : Conflicts: grub-legacy but 0.97-80 is to be installed
grub2-common : Conflicts: grub-legacy but 0.97-80 is to be installed
E: Broken packages
Any help will be welcomed.
Thanks a lot and please sorry about my english, is not my primary language.