Friday, May 10, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 36301  / 3 Years ago, sun, july 11, 2021, 4:50:53

I have two SSDs.The first one has Ubuntu 14.04 LTS and Windows 8.1 Pro.The second one has Kali Linux installed.Since I installed Kali Linux after Ubuntu and Windows 8.1 Pro it's bootloader now is in use.The problem is when I remove the second SSD I am not able to boot on the operating systems of the first SSD,because grub can't find the second SSD and grub-rescue launches instead.Is it possible somehow to make this triple boot system able to work even when the second SSD is missing?



I tried grub-install /dev/sda1 (sda1 is the partition in which Ubuntu is installed) but I get an error which says:



attempting to install grub to a partitionless disk or to a partition. this is a BAD IDEA.



I tried also grub-install /dev/sda which didn't gave any errors or warnings but when I tested it by removing the second SSD grub-rescue launched again for the same aforementioned reason.



I tried grub-install --force /dev/sda , grub-install --force /dev/sda1 , grub-setup /dev/sda , grub-setup /dev/sda1 , grub-setup --force /dev/sda1 , grub-setup --force /dev/sda but with no luck.


More From » grub2

 Answers
6

Boot-Repair is one of the easier ways to install or repair install of grub2's boot loader (or Windows) to MBR. For BIOS based systems, but Boot-Repair can also work on UEFI based systems also.



https://help.ubuntu.com/community/Boot-Repair



But if you have more than one drive and different operating systems in each drive best not to use Auto-Repair. Auto-Repair will install one grub to every MBR. Better to keep each operating system and its boot loader on separate drives, so each drive could be booted without the other.



Use Advanced options, choose operating system, and choose which drive to install boot loader into.


[#24972] Monday, July 12, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
laiuct

Total Points: 44
Total Questions: 105
Total Answers: 107

Location: Seychelles
Member since Mon, Feb 15, 2021
3 Years ago
;