You are not logged in.

#1 2021-01-31 00:46:41

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

[Solved] GRUB menu (?) for SSD boot

I have one HD, storing all / (and /home) in under 512 GB.
I have migrated to two SSDs, one for /home and one for everything else, 250 GB each.
Each has a unique LABEL value, but I could used UUID if needed.

How would I do the menuentry to do all cold boots from the HDD and all warm boots from the boot SSD?
Or am I overthinking it?

Thanks in advance.

Last edited by OrigBitmancer (2022-02-09 04:16:59)

Offline

#2 2021-02-04 18:06:28

ua4000
Member
Registered: 2015-10-14
Posts: 562

Re: [Solved] GRUB menu (?) for SSD boot

Detecting other operating systems can be done by os-prober package.
Or you write your own boot menu entry for grub, https://wiki.archlinux.org/index.php/GRUB#Dual-booting, which I advise.

What I don't understand is your question about cold boots and warm boots - what do you mean here ?
Are you talking about suspend/resume ?

Offline

#3 2021-02-06 07:09:50

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] GRUB menu (?) for SSD boot

A cold boot is from power cycle to active session.
A warm boot is a rapid reboot, without power cycling.
Neither is an exact suspend or resume.

Let me add:
I will use disk labels: "oldHD" for the old HD, "SSDboot" for the new SSD boot drive.

Last edited by OrigBitmancer (2021-02-06 07:13:28)

Offline

#4 2021-02-06 10:27:19

ua4000
Member
Registered: 2015-10-14
Posts: 562

Re: [Solved] GRUB menu (?) for SSD boot

I'm not aware, that grub can decide on it's own if it's a cold or warm start.

But maybe this one can solve your task:

       grub-reboot - set the default boot entry for GRUB, for the next boot only

So: setup your grub.cfg with a menu entry for "oldHD" and "SSDboot", make one default, and choose with grub-reboot the other entry for the next boot only.

Offline

#5 2021-02-07 05:13:47

OrigBitmancer
Member
Registered: 2019-01-22
Posts: 144

Re: [Solved] GRUB menu (?) for SSD boot

ua4000 wrote:

I'm not aware, that grub can decide on it's own if it's a cold or warm start.

But maybe this one can solve your task:

       grub-reboot - set the default boot entry for GRUB, for the next boot only

So: setup your grub.cfg with a menu entry for "oldHD" and "SSDboot", make one default, and choose with grub-reboot the other entry for the next boot only.

1) Aha!

2) I bet that is it. Thanks!

Offline

Board footer

Powered by FluxBB