PDA

View Full Version : Problem with Grub after fresh install (NVMe + HDD)



deryst
2019-11-04, 21:48
Hi
i post new thread but in wrong section...

Ok i use Kali long time and never had any problem with install untill today.
I have new laptop with NVMe as main (factory windows 10 install) and also i add HDD. I run new install from USB, i select one partition on HDD (200GB) and also i create one SWAP on HDD. Install process pass without error, Grub install without error. Now when i reboot my laptop i can select in bios btwin Windows Loader and Kali . When i choice WL Windows loading OK, but when i select Kali i get error message:

Welcome to GRUB:
error: no such device: 91e745dd-co98-4055-bb6w-82bc705180980
error: unknown filesystem.
grub rescue>

I dont how i can resolve it... i always try find some solution online but after spend 12h i given up.

Thanks

_defalt
2019-11-05, 16:27
Grub is pointing to wrong partition.
ls
set root=(hd0,gptx)
set prefix=(hd0,gptx)/boot/grub
insmod normal
normal

ls(LS) lists all partitions of your hard drive like this (hd0) (hd0,gpt1) (hd0,gpt2). You can make some guesses which one is your kali filesystem to replace the variable gptx.

Once you boot into kali open terminal and type:

grub-install /dev/sda
update-initramfs -u
update-grub

deryst
2019-11-05, 21:19
Problem is when i listed all partition i see only partition on NVMe drive, hdd dosen detect same like in Bios (when i go to storage section) its possible because i install hdd using DVD rom adaptor ?? So HDD not visible untill full boot windows or Live Kali...

_defalt
2019-11-06, 14:38
Check in your UEFI settings. Storage configuration> Configure SATA as AHCI should be selected. Is it selected?

Switching to AHCI will prevent windows to boot so you also have to reinstall Windows under AHCI configiration if it is not already set to AHCI. You can still boot Windows once you revert back to default settings so switching to AHCI for this experiment won't harm your personal data.

deryst
2019-11-08, 15:50
Problem resolved. From some reason Samsung 2TB HDD was invisible in bios until full boot windows or any live linux. I try my old 500GB Seagate HDD and work OK, so now i replace for another Seagate and i can set now in bios in boot section to select Kali. Thanks very much for help anyway.