You are not logged in.

#1 2022-09-07 11:38:50

Heisenberg32
Member
Registered: 2022-04-18
Posts: 23

[Solved] GRUB and different hard drives

hi everyone,
I have a pc with two ssd, in the main ssd I installed arch linux and windows 11, in the other ssd I use it for w11 storage. I would like to install another OS in the second ssd, but how can I show the OS installed, in the second ssd, on GRUB?

Last edited by Heisenberg32 (2022-09-08 17:22:51)

Offline

#2 2022-09-07 11:51:28

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] GRUB and different hard drives


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2022-09-07 12:44:10

Heisenberg32
Member
Registered: 2022-04-18
Posts: 23

Re: [Solved] GRUB and different hard drives

so if I had to install another arch (or another distro) in the second ssd, I have to follow the same guide and after the installation I have to update grub in the main ssd?

Last edited by Heisenberg32 (2022-09-07 12:44:58)

Offline

#4 2022-09-07 16:07:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [Solved] GRUB and different hard drives

Yes, make sure you have the drive where your other OS kernels/bootable images are mounted somewhere so that os-prober/grub-mkconfig can detect the additional entries it has to generate.

Offline

#5 2022-09-08 15:02:47

Heisenberg32
Member
Registered: 2022-04-18
Posts: 23

Re: [Solved] GRUB and different hard drives

V1del wrote:

Yes, make sure you have the drive where your other OS kernels/bootable images are mounted somewhere so that os-prober/grub-mkconfig can detect the additional entries it has to generate.

I did it, it was easy, it was enough to mount the partition with second os (the second os is another installation of arch) on /mtn and run update of grub, all of this on the main os. Anyway, don't I need to install grub and microcode in the second os, becose I installed them in the main installation, right? (sorry for stupid question, but I am still learning).

Offline

#6 2022-09-08 16:13:12

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,263

Re: [Solved] GRUB and different hard drives

That should be the case yes, not sure whether it will autoadd the initrd entry for the ucode but I'm thinking it should.

Offline

#7 2022-09-09 03:37:36

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,178

Re: [Solved] GRUB and different hard drives

I don't think you want to install grub in the second OS. You could, but I think it would confuse matters and provide no benefit. Microcode is different. But it is usually easiest if you have at most one boot loader (e.g. grub).

Note: I'm assuming you're booting UEFI because you have Windows 11. If not, you should ignore this post completely.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB